*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f4f6f3;
    color:#1b1b1b;
    overflow-x:hidden;
}


.hero{
    width:100%;
    height:90vh;

    background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('banner.jpg');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;

    position:relative;
}

.hero-content{
    max-width:900px;
    padding:20px;
    animation:fadeUp 1.2s ease;
}

.hero h1{
    font-size:70px;
    color:white;
    font-weight:800;
    margin-bottom:20px;
    line-height:1.1;
}

.hero p{
    font-size:20px;
    color:#e3efe6;
    line-height:1.8;
}

.hero-btn{
    margin-top:35px;
    display:inline-block;
    padding:16px 40px;
    background:#5d9c59;
    color:white;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:0.4s;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.hero-btn:hover{
    background:#3e7a3b;
    transform:translateY(-5px);
}



.section-title{
    text-align:center;
    padding-top:80px;
    margin-bottom:15px;
}

.section-title h2{
    font-size:48px;
    color:#1f4f32;
    margin-bottom:15px;
}

.section-title p{
    color:#66756a;
    font-size:18px;
}



.college-container{
    width:90%;
    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px,1fr));
    gap:35px;

    padding:70px 0 100px;
}

.college-card{
    position:relative;
    height:500px;
    overflow:hidden;
    border-radius:30px;
    cursor:pointer;

    box-shadow:0 15px 40px rgba(0,0,0,0.15);

    transition:0.5s;
    background:white;
}

.college-card:hover{
    transform:translateY(-12px) scale(1.03);
    box-shadow:0 25px 55px rgba(0,0,0,0.25);
}

.college-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.6s;
}

.college-card:hover img{
    transform:scale(1.12);
}

/* OVERLAY */

.overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.96),
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.1)
    );

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:35px;

    transition:0.5s;
}

/* TAG */

.mini-tag{
    position:absolute;
    top:25px;
    left:25px;

    background:rgba(255,255,255,0.18);
    backdrop-filter:blur(10px);

    padding:10px 18px;
    border-radius:50px;

    color:white;
    font-size:13px;
    font-weight:500;
    letter-spacing:1px;
}

/* HOVER INFO */

.info-box{
    transform:translateY(140px);
    transition:0.5s;
}

.college-card:hover .info-box{
    transform:translateY(0);
}

.info-box h3{
    color:white;
    font-size:34px;
    margin-bottom:15px;
    font-weight:700;
}

.info-box p{
    color:#dce5dd;
    line-height:1.9;
    font-size:15px;
    margin-bottom:22px;
}

.learn-btn{
    display:inline-block;
    padding:14px 28px;

    background:white;
    color:#1f4f32;

    text-decoration:none;
    border-radius:40px;

    font-weight:600;
    transition:0.4s;
}

.learn-btn:hover{
    background:#7dbd6f;
    color:white;
}



.mission{
    width:100%;
    background:white;
    padding:100px 10%;
}

.mission-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:30px;
    margin-top:50px;
}

.mission-box{
    background:#f5faf5;
    border-radius:25px;
    padding:40px 30px;
    transition:0.4s;
    border:1px solid #dbe7dc;
}

.mission-box:hover{
    transform:translateY(-10px);
    background:#e7f4e8;
}

.mission-box h4{
    font-size:24px;
    margin-bottom:15px;
    color:#245536;
}

.mission-box p{
    color:#5f6f63;
    line-height:1.8;
    font-size:15px;
}



footer{
    background:#16311f;
    padding:40px;
    text-align:center;
    color:#d5e2d8;
}

footer h3{
    margin-bottom:12px;
    font-size:24px;
}



@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}



@media(max-width:768px){

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:16px;
    }

    .section-title h2{
        font-size:36px;
    }

    .college-card{
        height:420px;
    }

}