/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

/* Navbar */
.custom-nav{
    background:rgba(0,0,0,.25);
    backdrop-filter:blur(12px);
    transition:.4s;
    padding:15px 0;
}

.navbar-brand{
    color:#fff !important;
    font-size:30px;
}

.nav-link{
    color:#fff !important;
    margin:0 10px;
    font-weight:500;
    position:relative;
}

.nav-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#ff4da6;
    transition:.4s;
}

.nav-link:hover::after{
    width:100%;
}

/* Hero Section */
.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.video-bg{
    position:absolute;
    top:50%;
    left:50%;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:translate(-50%,-50%);
    z-index:-2;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:linear-gradient(rgba(64,0,128,.55),rgba(0,0,0,.55));
    z-index:-1;
}

/* Hero Text */
.hero h5{
    font-size:22px;
    letter-spacing:2px;
    animation:fadeDown 1s ease;
}

.hero h1{
    font-size:70px;
    font-weight:800;
    animation:fadeUp 1.2s ease;
}

.hero p{
    font-size:20px;
    max-width:650px;
    animation:fadeUp 1.5s ease;
}

/* Buttons */
.btn-pink{
    background:#ff4da6;
    color:#fff;
    padding:12px 28px;
    border-radius:50px;
    transition:.4s;
}

.btn-pink:hover{
    background:#fff;
    color:#ff4da6;
}

.btn-light{
    border-radius:50px;
    padding:12px 28px;
}

/* Animations */
@keyframes fadeDown{
    from{
        opacity:0;
        transform:translateY(-40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Responsive */
@media(max-width:991px){

.hero h1{
    font-size:50px;
}

.hero p{
    font-size:18px;
}

.navbar{
    background:#4b0082;
}

}

@media(max-width:768px){

.hero{
    text-align:center;
}

.hero h1{
    font-size:38px;
}

.hero h5{
    font-size:18px;
}

.hero p{
    font-size:16px;
}

.btn-pink,
.btn-light{
    display:block;
    width:220px;
    margin:10px auto;
}

}

@media(max-width:576px){

.hero h1{
    font-size:32px;
}

.hero p{
    font-size:15px;
}

}
/* About Section */

#about{
    background:#f8f9ff;
}

.about-box{
    background:#fff;
    padding:25px;
    border-radius:20px;
    text-align:center;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    
    
}

.about-box i{
    font-size:40px;
    color:#ff4da6;
    margin-bottom:15px;
}

.about-box h5{
    font-weight:600;
}

.about-box:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}
/* WHY CHOOSE US */

.why-us{
    background:linear-gradient(135deg,#5b2be0,#ff4da6);
    color:white;
}

.feature-card{
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    border-radius:20px;
    padding:35px 25px;
    text-align:center;
    transition:.4s;
    height:100%;
}

.feature-card:hover{
    transform:translateY(-10px);
    background:white;
    color:#5b2be0;
}

.feature-card i{
    font-size:45px;
    margin-bottom:20px;
    color:#ffd54f;
}

.feature-card:hover i{
    color:#ff4da6;
}

.counter{
    font-size:50px;
    font-weight:700;
}

.why-us p{
    margin-bottom:0;
}/* COURSES */

.course-card{
    border-radius:20px;
    overflow:hidden;
    transition:.4s;
}

.course-card img{
    height:250px;
    object-fit:cover;
    transition:.5s;
}

.course-card:hover{
    transform:translateY(-12px);
}

.course-card:hover img{
    transform:scale(1.08);
}

.course-card .card-body{
    padding:30px;
}

.course-card h4{
    font-weight:700;
    margin-bottom:15px;
}
/* ================= GALLERY ================= */

.gallery{
    background:#fff;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.gallery-item img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.5s;
}

.gallery-overlay{
    position:absolute;
    inset:0;
    background:rgba(91,43,224,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.4s;
}

.gallery-overlay h4{
    color:#fff;
    font-weight:700;
    letter-spacing:1px;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

.gallery-item:hover .gallery-overlay{
    opacity:1;
}
/* ================= FACULTY ================= */

.faculty{
    background:#f8f9fa;
}

.teacher-card{
    background:#fff;
    padding:30px 20px;
    border-radius:20px;
    text-align:center;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.teacher-card:hover{
    transform:translateY(-10px);
}

.teacher-card img{
    width:180px;
    height:180px;
    
    border:6px solid #ff4da6;
}

.teacher-card h4{
    font-weight:700;
    margin-top:20px;
}

.teacher-card p{
    color:#777;
}

.social-icons{
    margin-top:15px;
}

.social-icons a{
    display:inline-flex;
    width:40px;
    height:40px;
    justify-content:center;
    align-items:center;
    background:#ff4da6;
    color:#fff;
    border-radius:50%;
    margin:5px;
    text-decoration:none;
    transition:.3s;
}

.social-icons a:hover{
    background:#5b2be0;
    transform:scale(1.1);
}
/* ================= TESTIMONIAL ================= */

.testimonial{
background:linear-gradient(135deg,#5b2be0,#ff4da6);
}

.review-card{
background:#fff;
padding:30px;
border-radius:20px;
text-align:center;
transition:.4s;
height:100%;
}

.review-card:hover{
transform:translateY(-10px);
}

/* ================= ADMISSION ================= */

.admission{
background:#f8f9fa;
}

.admission-box{
background:#fff;
padding:40px;
border-radius:25px;
box-shadow:0 20px 40px rgba(0,0,0,.1);
}

.form-control,
.form-select{
padding:15px;
border-radius:12px;
}

.form-control:focus,
.form-select:focus{
box-shadow:none;
border-color:#ff4da6;
}
/* CONTACT */

.contact{
background:#fff;
}

/* FOOTER */

.footer{
background:#1c1c3b;
color:#fff;
padding:60px 0 20px;
}

.footer ul{
padding:0;
list-style:none;
}

.footer ul li{
margin:10px 0;
}

.footer a{
color:#fff;
text-decoration:none;
}

.footer a:hover{
color:#ff4da6;
}

.footer-social a{

display:inline-flex;
justify-content:center;
align-items:center;

width:45px;
height:45px;

background:#ff4da6;

border-radius:50%;

margin-right:10px;

color:white;

transition:.3s;
}

.footer-social a:hover{

background:#fff;

color:#ff4da6;

}

/* Scroll Button */

.top-btn{

position:fixed;

right:20px;

bottom:20px;

width:50px;

height:50px;

background:#ff4da6;

color:white;

display:flex;

justify-content:center;

align-items:center;

border-radius:50%;

text-decoration:none;

box-shadow:0 10px 20px rgba(0,0,0,.2);

transition:.3s;

}

.top-btn:hover{

background:#5b2be0;

color:white;

}
