/* =========================
   LARGE TABLETS / SMALL LAPTOPS
========================= */


@media (max-width: 1100px) {


    .hero h1 {

        font-size:55px;

    }


    .stats .container {

        grid-template-columns:repeat(2,1fr);

    }


    .cards {

        grid-template-columns:repeat(2,1fr);

    }


    .why-grid {

        grid-template-columns:repeat(2,1fr);

    }


}



/* =========================
   TABLETS
========================= */


@media (max-width: 900px) {


    section {

        padding:70px 0;

    }



    /* Navigation */


    .navbar {

        padding:15px 5%;

    }


    .menu-btn {

        display:block;
        color:var(--crimson);

    }



    .nav-links {


        position:absolute;

        top:90px;
        left:0;

        width:100%;

        background:white;

        flex-direction:column;

        align-items:center;

        padding:30px 0;

        gap:25px;

        box-shadow:var(--shadow);

        transform:translateY(-150%);

        transition:.4s ease;


    }


    .nav-links.show {

        transform:translateY(0);

    }



    .nav-links a {

        color:var(--black);

    }



    /* Hero */


    .hero {

        height:auto;
        min-height:850px;

    }


    .hero-content {

        text-align:center;

    }


    .hero h1 {

        font-size:48px;

    }



    .hero-buttons {

        justify-content:center;

    }



    /* About */


    .grid-2 {

        grid-template-columns:1fr;
        gap:40px;

    }


    .about-preview img {

        max-width:600px;
        margin:auto;

    }



    /* Footer */


    .footer-grid {

        grid-template-columns:1fr 1fr;

    }


    .director-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero {
        min-height: 480px;
        height: auto;
        padding: 150px 0 70px;
    }

    .hero-content {
        width: 92%;
    }

}



/* =========================
   MOBILE DEVICES
========================= */


@media (max-width:600px) {



    h2 {

        font-size:32px;

    }



    h3 {

        font-size:22px;

    }



    .container {

        width:92%;

    }



    /* Logo */


    .logo img {

        width:45px;
        height:45px;

    }


    .logo h2 {

        font-size:20px;

    }


    .logo span {

        font-size:10px;

    }



    /* Hero */


    .hero {

        min-height:750px;

    }



    .hero-content {

        padding-top:80px;

    }


    .hero-tag {

        font-size:12px;

    }


    .hero h1 {

        font-size:36px;

    }



    .hero p {

        font-size:15px;

    }



    .hero-buttons {

        flex-direction:column;
        align-items:center;

    }



    .btn {

        width:220px;
        text-align:center;

    }



    /* Statistics */


    .stats {

        margin-top:0;

    }


    .stats .container {

        grid-template-columns:1fr;

    }


    .stat-card {

        padding:25px;

    }


    .stat-card h2 {

        font-size:38px;

    }



    /* Cards */


    .cards {

        grid-template-columns:1fr;

    }



    .card {

        padding:30px 20px;

    }



    /* Programmes */


    .programme-card img {

        height:220px;

    }



    /* Why Section */


    .why-grid {

        grid-template-columns:1fr;

    }



    /* CTA */


    .cta h2 {

        font-size:30px;

    }



    /* Footer */


    .footer-grid {

        grid-template-columns:1fr;

        text-align:center;

    }


    footer {

        padding-top:50px;

    }



    /* Scroll Button */


    #topBtn {

        right:20px;
        bottom:20px;

    }



}



/* =========================
   VERY SMALL DEVICES
========================= */


@media (max-width:380px) {



    .hero h1 {

        font-size:32px;

    }


    .hero-buttons .btn {

        width:190px;

    }


}

@media(max-width:900px){

    .director-grid{

        grid-template-columns:1fr 1fr;

    }

}


@media(max-width:600px){

    .director-grid{

        grid-template-columns:1fr;

    }

    .director-card img {

        height: 300px;
    }

    .page-hero {
        min-height: 520px;
        padding: 130px 0 60px;
    }

    .page-hero .hero-content {
        text-align: left;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .navbar {
        min-height: 72px;
    }

    .nav-links {
        top: 72px;
    }
}