*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
}

/* HERO */
.hero{
    position:relative;
    min-height:100vh;
    width:100%;
    overflow:hidden;
    /*background:url('../img/banner.jpg') center/cover no-repeat;*/
}

/* VIDEO */
.hero-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

/* OVERLAY */
.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.30);
    z-index:2;
}

/* CONTENT WRAPPER */
.hero-inner{
    position:relative;
    z-index:3;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:60px 6%;
    text-align:center;
    color:#fff;
}

/* TITLE */
.hero h4{
    letter-spacing:3px;
    font-weight:400;
    margin-bottom:10px;
}

.hero h1{
    font-size:42px;
    font-weight:700;
}

.hero span{
    color:#ffc107;
}

/* GRID */
.institutions{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

/* CARD */
.card{
    display:block;
    background:#fff;
    color:#a61124;
    border-radius:12px;
    overflow:hidden;
    text-decoration:none;
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
    transition:all .3s ease;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.35);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-content{
    padding:18px;
}

.card-content h2{
    font-size:18px;
    line-height:1.4;
}

/* TAGLINE */
.tagline{
    margin-top:40px;
}

.tagline h2{
    font-size:24px;
    letter-spacing:3px;
}

.tagline span{
    color:#ffc107;
}







/* ===================================== */
/* RESPONSIVE BREAKPOINTS */
/* ===================================== */

/* 1200px → 2 Cards per Row */
@media (max-width:1200px){
    .institutions{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Tablet */
@media (max-width:768px){

    .hero h1{
        font-size:26px;
    }

    .institutions{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .card img{
        height:180px;
    }

    .card-content h2{
        font-size:15px;
    }

    .tagline h2{
        font-size:16px;
    }
}

/* Mobile */
@media (max-width:480px){

    .institutions{
        grid-template-columns:1fr;
    }

    .card img{
        display:none;
    }

    .hero h1{
        font-size:20px;
    }

    .hero-inner{
        padding:150px 5%;
    }
}
/* Fix for 1024×768 devices */
@media (max-width: 1200px) and (max-height: 800px){

    .hero-inner{
        padding:30px 4%;
    }

    .hero h1{
        font-size:30px;
    }

    .hero h4{
        font-size:14px;
    }

    .institutions{
        gap:15px;
    }

    .card img{
        height:180px;
    }

    .card-content h2{
        font-size:15px;
    }

    .tagline h2{
        font-size:18px;
    }
}
