
/*==============================
  GOOGLE FONTS
===============================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');


/*==============================
  CSS VARIABLES
===============================*/

:root{

    --primary:#0B1F3A;
    --secondary:#F4B400;
    --accent:#16A34A;

    --white:#FFFFFF;
    --light:#F8FAFC;
    --dark:#1F2937;
    --gray:#6B7280;

    --heading:'Poppins',sans-serif;
    --body:'Inter',sans-serif;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --radius:12px;

    --transition:.35s ease;

}


/*==============================
  RESET
===============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/*==============================
  GLOBAL
===============================*/

html{
    scroll-behavior:smooth;
}

body{

    font-family:var(--body);
    background:var(--light);
    color:var(--dark);
    overflow-x:hidden;

}


img{

    max-width:100%;
    display:block;

}


ul{

    list-style:none;

}


a{

    text-decoration:none;
    color:inherit;

}


section{

    padding:90px 8%;

}


.container{

    width:min(1200px,100%);
    margin:auto;

}


h1,h2,h3,h4{

    font-family:var(--heading);

}


p{

    line-height:1.8;
    color:var(--gray);

}

/*==============================
 NAVIGATION
===============================*/

header{

    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(10px);

    box-shadow:var(--shadow);

}


.navbar{

    width:min(1200px,92%);
    margin:auto;

    height:80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


.logo img{

    height:60px;

    width:auto;

}


.nav-links{

    display:flex;

    gap:35px;

}


.nav-links a{

    font-weight:600;

    transition:var(--transition);

}


.nav-links a:hover,
.nav-links .active{

    color:var(--secondary);

}


.apply-btn{

    background:var(--secondary);

    color:var(--primary);

    padding:12px 26px;

    border-radius:50px;

    font-weight:700;

    transition:var(--transition);

}


.apply-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(244,180,0,.35);

}


.menu-toggle{

    display:none;

    font-size:1.6rem;

    cursor:pointer;

}

/*==============================
 HERO SECTION
===============================*/



#hero{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/*==============================
 HERO SLIDER
===============================*/

.hero-slider{
    position: absolute;
    inset: 0;
}

.slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active{
    opacity: 1;
}

.slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*======================================
 HERO OVERLAY
======================================*/

.hero-overlay{

    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(11,31,58,.88),
        rgba(11,31,58,.65),
        rgba(11,31,58,.45)
    );

    z-index:2;

}

/*======================================
 HERO CONTENT
======================================*/

.hero-content{

    position:relative;

    z-index:3;

    max-width:700px;

    height:120%;

    margin-left:8%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-start;

}

.hero-badge{

    display:inline-block;

    background:rgba(255,255,255,.15);

    color:white;

    padding:12px 22px;

    border-radius:50px;

    backdrop-filter:blur(10px);

    font-weight:600;

    margin-bottom:25px;

}

.hero-content h1{

    font-size:clamp(3rem,6vw,5.5rem);

    font-family:var(--heading);

    line-height:1.1;

    color:white;

    margin-bottom:25px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btn-primary{

    background:var(--secondary);

    color:var(--primary);

    padding:16px 34px;

    border-radius:50px;

    font-weight:700;

    transition:.35s;

}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(244,180,0,.35);

}

.btn-secondary{

    border:2px solid white;

    color:white;

    padding:16px 34px;

    border-radius:50px;

    font-weight:700;

    transition:.35s;

}

.btn-secondary:hover{

    background:white;

    color:var(--primary);

}

/*======================================
 MOBILE NAVIGATION
======================================*/

.menu-toggle{

    display:none;

    width:52px;
    height:52px;

    border:none;
    background:#fff;

    border-radius:14px;

    cursor:pointer;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    position:relative;

    transition:.35s ease;

}

/* Hamburger Lines */

.menu-toggle span{

    position:absolute;

    left:12px;

    width:28px;

    height:3px;

    background:var(--primary);

    border-radius:10px;

    transition:.35s ease;

}

/*======================================
 HAMBURGER ANIMATION
======================================*/

.menu-toggle.active span:nth-child(1){

    transform:rotate(45deg);

    top:24px;

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:rotate(-45deg);

    top:24px;

}

.menu-toggle span:nth-child(1){

    top:16px;

}

.menu-toggle span:nth-child(2){

    top:24px;

}

.menu-toggle span:nth-child(3){

    top:32px;

}

.menu-toggle:hover{

    transform:translateY(-2px);

}

.menu-toggle:hover span{

    width:30px;

}


/*==============================
 MOBILE
===============================*/

@media (max-width:992px){

    .navbar{

        height:80px;

    }

    .menu-toggle{

        display:flex;

        justify-content:center;

        align-items:center;

    }

    .nav-links{

        position:fixed;

        top:80px;

        right:-100%;

        width:280px;

        height:calc(100vh - 80px);

        background:#fff;

        display:flex;

        flex-direction:column;

        justify-content:flex-start;

        align-items:center;

        gap:30px;

        padding-top:50px;

        transition:.4s ease;

        box-shadow:-10px 0 30px rgba(0,0,0,.1);

    }

    .nav-links.active{

        right:0;

    }

    .apply-btn{

        display:none;

    }

}


/*======================================
  REUSABLE CONTAINER
======================================*/

.container{

    width:min(1200px, 92%);

    margin:auto;

}

/*======================================
  STATISTICS SECTION
======================================*/

#stats{

    padding:100px 0;

    background:#f8fafc;

}

.section-title{

    text-align:center;

    max-width:700px;

    margin:0 auto 70px;

}

.section-title span{

    display:inline-block;

    color:var(--primary);

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:2px;

    margin-bottom:15px;

}

.section-title h2{

    font-size:clamp(2rem,4vw,3rem);

    margin-bottom:20px;

    color:var(--dark);

}

.section-title p{

    color:#666;

    line-height:1.8;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));

    gap:30px;

}

/*======================================
  STAT CARD
======================================*/

.stat-card{

    background:#fff;

    border-radius:24px;

    padding:45px 30px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:all .35s ease;

    position:relative;

    overflow:hidden;

    border:1px solid rgba(0,0,0,.05);

}

.stat-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.stat-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:var(--primary);

}



.stat-card i{

    width:80px;

    height:80px;

    background:rgba(10,71,140,.08);

    color:var(--primary);

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

    margin:0 auto 25px;

    transition:.35s ease;

}

.stat-card:hover i{

    transform:rotate(12deg) scale(1.1);

}

.stat-card h3{

    font-size:2.8rem;

    color:var(--primary);

    margin-bottom:10px;

    font-family:var(--heading);

}

.stat-card p{

    color:#666;

    font-size:1rem;

    line-height:1.7;

}

/*======================================
  ABOUT SECTION
======================================*/

#about{

    padding:50px 0;

    background:#f8fafc;

    overflow:hidden;

}

.about-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.about-image{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:580px;

}

.shape-bg{

    position:absolute;

    width:430px;

    height:430px;

    background:linear-gradient(
        135deg,
        #0A478C,
        #1E63B5
    );

    border-radius:56% 44% 65% 35% /
                  38% 60% 40% 62%;

    top:40px;

    left:10px;

    z-index:1;

}

.shape-dots{

    position:absolute;

    width:150px;

    height:150px;

    right:15px;

    bottom:40px;

    background-image:radial-gradient(
        var(--primary) 2px,
        transparent 2px
    );

    background-size:18px 18px;

    opacity:.18;

    z-index:1;

}

.about-image img{

    position:relative;

    width:100%;

    max-width:500px;

    border-radius:30px;

    border:10px solid white;

    object-fit:cover;

    box-shadow:

        0 35px 70px rgba(15,23,42,.15),

        0 0 80px rgba(10,71,140,.10);

    z-index:2;

    transition:.45s ease;

}

.about-image:hover img{

    transform:

        translateY(-10px)

        rotate(-1deg);

}

.section-badge{

    display:inline-block;

    background:#EAF3FF;

    color:var(--primary);

    padding:10px 24px;

    border-radius:50px;

    font-weight:600;

    margin-bottom:22px;

}

.about-content h2{

    font-size:clamp(2.4rem,5vw,3.7rem);

    line-height:1.15;

    margin-bottom:25px;

    color:#122033;

    font-family:var(--heading);

}

.about-content p{

    color:#5f6c7b;

    line-height:1.9;

    margin-bottom:35px;

    max-width:580px;

}

.about-features{

    display:grid;

    gap:18px;

    margin-bottom:40px;

}

.feature{

    display:flex;

    align-items:center;

    gap:15px;

}

.feature i{

    color:var(--primary);

    font-size:1.2rem;

}

.feature span{

    font-weight:500;

    color:#23354D;

}

.about-container{

    grid-template-columns:1fr;

}

.primary-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    background:var(--primary);

    color:#fff;

    padding:16px 34px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.35s ease;

    box-shadow:0 15px 35px rgba(10,71,140,.18);

}

.primary-btn i{

    transition:.35s ease;

}

.primary-btn:hover{

    transform:translateY(-4px);

    background:#0c5ab0;

    box-shadow:0 20px 45px rgba(10,71,140,.28);

}

.primary-btn:hover i{

    transform:translateX(6px);

}

/*======================================
        COURSES SECTION
======================================*/

#courses{

    padding:50px 0;

    background:#2fcae6;

}

/*--------------------------------------
  Section Heading
--------------------------------------*/

#courses .section-badge{

    display:inline-block;

    background:#EAF3FF;

    color:var(--primary);

    padding:10px 24px;

    border-radius:50px;

    font-weight:600;

    margin:0 auto 20px;

}

#courses .section-title{

    font-size:clamp(2.3rem,5vw,3.5rem);

    font-family:var(--heading);

    color:var(--dark);

    text-align:center;

    margin-bottom:20px;

}

#courses .section-description{

    max-width:700px;

    margin:0 auto 70px;

    text-align:center;

    color:var(--gray);

    line-height:1.9;

}

/*--------------------------------------
  Courses Grid
--------------------------------------*/

.courses-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

/*--------------------------------------
  Course Card
--------------------------------------*/

.course-card{

    position:relative;

    background:#fff;

    padding:40px;

    border-radius:24px;

    border:1px solid rgba(10,71,140,.08);

    box-shadow:0 15px 45px rgba(0,0,0,.06);

    overflow:hidden;

    transition:.35s ease;

}

.course-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:var(--primary);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s ease;

}

.course-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 70px rgba(10,71,140,.15);

}

.course-card:hover::before{

    transform:scaleX(1);

}

/*--------------------------------------
  Icon
--------------------------------------*/

.course-icon{

    width:75px;

    height:75px;

    border-radius:20px;

    background:#EAF3FF;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:25px;

}

.course-icon i{

    font-size:2rem;

    color:var(--primary);

}

/*--------------------------------------
  Typography
--------------------------------------*/

.course-card h3{

    font-size:1.4rem;

    color:#122033;

    margin-bottom:18px;

}

.course-card p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:30px;

}

/*--------------------------------------
  Duration
--------------------------------------*/

.course-meta{

    margin-bottom:30px;

}

.course-meta span{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#555;

    font-weight:600;

}

/*--------------------------------------
  Learn More Link
--------------------------------------*/

.course-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

    transition:.3s ease;

}

.course-link:hover{

    gap:18px;

}

/*--------------------------------------
  Bottom Button
--------------------------------------*/

.courses-btn{

    text-align:center;

    margin-top:70px;

}

/*======================================
        RESPONSIVE
======================================*/

@media (max-width:992px){

    .about-container{

        grid-template-columns:1fr;

        gap:60px;

           .gallery-grid{

    grid-template-columns:1fr;

}
.gallery-grid{

    display:grid;

    grid-template-columns:1fr;

    gap:25px;

}
    }

    .courses-grid{

        grid-template-columns:1fr;

    }
    .accreditation-grid{

    grid-template-columns:1fr;
  

}
 

}

/*======================================
        ACCREDITATION
======================================*/

#accreditation{

    padding:0px 0;

    background:#F8FAFD;

}

#accreditation .section-badge{

    display:block;

    width:fit-content;

    margin:0 auto 20px;

    background:#EAF3FF;

    color:var(--primary);

    padding:10px 24px;

    border-radius:40px;

    font-weight:600;

}

#accreditation .section-title{

    text-align:center;

    font-size:clamp(2.2rem,5vw,3.5rem);

    color:var(--dark);

    margin-bottom:20px;

}

#accreditation .section-description{

    max-width:700px;

    margin:0 auto 70px;

    text-align:center;

    color:var(--gray);

    line-height:1.8;

}

.accreditation-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.accreditation-card{

    background:#fff;

    padding:40px;

    border-radius:22px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    transition:.35s ease;

}

.accreditation-card:hover{

    transform:translateY(-10px);

}

.accreditation-card img{

    width:100px;

    height:100px;

    object-fit:contain;

    margin-bottom:25px;

}

.accreditation-card p{

    color:var(--gray);

    line-height:1.8;

}

.accreditation-grid{

    grid-template-columns:1fr;

}



/*======================================
        GALLERY
======================================*/

#gallery{

    padding:90px 0;

    background:#fff;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.gallery-item{

    overflow:hidden;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.gallery-item img{

    width:100%;

    height:300px;

    object-fit:cover;

    display:block;

    transition:.4s ease;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.gallery-btn{

    margin-top:50px;

    text-align:center;

}

@media(max-width:992px){

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .gallery-grid{

        grid-template-columns:1fr;

    }

}

/*======================================
        TESTIMONIALS
======================================*/

#testimonials{

    padding:90px 0;

    background:#F8FAFC;

}

.testimonial-slider{

    max-width:850px;

    margin:auto;

    position:relative;

}

.testimonial-card{

    display:none;

    background:#fff;

    padding:45px;

    border-radius:24px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

    animation:fade .6s ease;

}

.testimonial-card.active{

    display:block;

}

.testimonial-top{

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:25px;

}

.testimonial-top img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid var(--secondary);

}

.testimonial-top h3{

    color:var(--primary);

    margin-bottom:5px;

}

.testimonial-top span{

    color:#777;

    font-size:.95rem;

}

.stars{

    color:#F4B400;

    margin-bottom:20px;

    font-size:1.2rem;

}

.testimonial-card p{

    font-size:1.08rem;

    line-height:1.9;

    color:#555;

    font-style:italic;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*======================================
        BLOG
======================================*/

#blog{

    padding:90px 0;

    background:#fff;

}

.blog-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.blog-card{

    background:#fff;

    padding:35px;

    border-radius:24px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    border:1px solid rgba(10,71,140,.08);

    transition:.35s ease;

}

.blog-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(0,0,0,.12);

}

.blog-icon{

    width:75px;

    height:75px;

    border-radius:20px;

    background:#EAF3FF;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:25px;

}

.blog-icon i{

    font-size:2rem;

    color:var(--primary);

}

.blog-date{

    display:inline-block;

    background:#F4B400;

    color:#fff;

    padding:8px 18px;

    border-radius:50px;

    font-size:.85rem;

    font-weight:600;

    margin-bottom:18px;

}

.blog-card h3{

    margin-bottom:18px;

    color:var(--primary);

    font-size:1.45rem;

}

.blog-card p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:25px;

}

.blog-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--primary);

    font-weight:600;

    transition:.3s;

}

.blog-link:hover{

    gap:18px;

}

@media(max-width:992px){

    .blog-grid{

        grid-template-columns:1fr;

    }

}

/*======================================
        CONTACT CTA
======================================*/

#contact{

    padding:90px 0;

    background:#F8FAFC;

}

.contact-box{

    background:#fff;

    border-radius:30px;

    padding:70px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

    text-align:center;

}

.contact-box h2{

    font-size:clamp(2.3rem,5vw,3.5rem);

    color:var(--primary);

    margin:20px 0;

}

.contact-box p{

    max-width:700px;

    margin:0 auto 50px;

    line-height:1.8;

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-bottom:50px;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:20px;

    background:#F8FAFC;

    padding:25px;

    border-radius:20px;

    text-align:left;

    transition:.35s ease;

}

.contact-item:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.contact-icon{

    width:65px;

    height:65px;

    border-radius:18px;

    background:#EAF3FF;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-shrink:0;

}

.contact-icon i{

    font-size:1.6rem;

    color:var(--primary);

}

.contact-item h3{

    margin-bottom:8px;

    color:var(--primary);

}

.contact-item span{

    color:var(--gray);

    line-height:1.7;

}

.contact-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

@media(max-width:992px){

    .contact-box{

        padding:40px 30px;

    }

    .contact-grid{

        grid-template-columns:1fr;

    }

}

/*======================================
            FOOTER
======================================*/

#footer{

    background:var(--primary);

    color:#fff;

    padding:80px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.2fr;

    gap:50px;

}

.footer-logo{

    width:130px;

    margin-bottom:20px;

}

.footer-column p{

    color:rgba(255,255,255,.75);

    line-height:1.9;

}

.footer-column h3{

    color:var(--secondary);

    margin-bottom:25px;

    font-size:1.2rem;

}

.footer-column ul{

    display:flex;

    flex-direction:column;

    gap:15px;

}

.footer-column ul li{

    color:rgba(255,255,255,.8);

    transition:.3s;

}

.footer-column ul li i{

    color:var(--secondary);

    margin-right:10px;

    width:20px;

}

.footer-column a{

    color:rgba(255,255,255,.8);

    transition:.3s;

}

.footer-column a:hover{

    color:var(--secondary);

    padding-left:6px;

}

.footer-social{

    margin-top:30px;

}

.footer-social a{

    width:48px;

    height:48px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    display:inline-flex;

    justify-content:center;

    align-items:center;

    margin-right:12px;

    transition:.35s ease;

}

.footer-social a:hover{

    background:var(--secondary);

    color:var(--primary);

    transform:translateY(-5px);

}

.footer-bottom{

    margin-top:60px;

    border-top:1px solid rgba(255,255,255,.1);

    padding-top:25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}

.footer-bottom p{

    color:rgba(255,255,255,.7);

}

.footer-bottom a{

    color:var(--secondary);

    font-weight:600;

}

.footer-bottom a:hover{

    text-decoration:underline;

}

/*==============================
    Responsive
==============================*/

@media(max-width:992px){

    .footer-grid{

        grid-template-columns:1fr;

        gap:40px;

    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;

    }

}

/*======================================
        FLOATING BUTTONS
======================================*/

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    background:#25D366;

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

    text-decoration:none;

    box-shadow:0 12px 30px rgba(37,211,102,.35);

    z-index:999;

    transition:.35s ease;

}

.whatsapp-float:hover{

    transform:translateY(-6px) scale(1.08);

}

/*----------------------------*/

#backToTop{

    position:fixed;

    right:25px;

    bottom:105px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    font-size:1.2rem;

    cursor:pointer;

    box-shadow:0 12px 30px rgba(0,0,0,.18);

    opacity:0;

    visibility:hidden;

    transition:.35s ease;

    z-index:998;

}

#backToTop.show{

    opacity:1;

    visibility:visible;

}

#backToTop:hover{

    background:var(--secondary);

    color:var(--primary);

    transform:translateY(-5px);

}

/*----------------------------*/

@media(max-width:768px){

    .whatsapp-float{

        width:58px;

        height:58px;

        right:18px;

        bottom:18px;

    }

    #backToTop{

        width:50px;

        height:50px;

        right:18px;

        bottom:90px;

    }

}



/*======================================
        COURSES HERO  page
======================================*/



#courses-hero{

    padding:190px 8% 120px;

    background:linear-gradient(rgba(11,31,58,.93),
               rgba(11,31,58,.90)),
               url(images/college-bg.jpg);

    background-size:cover;

    background-position:center;

    text-align:center;

    color:#fff;

}

#courses-hero .container{

    max-width:850px;

}

#courses-hero .section-badge{

    margin-bottom:25px;

}

#courses-hero h1{

    font-size:clamp(2.8rem,6vw,4.8rem);

    line-height:1.1;

    margin-bottom:25px;

    color:#fff;

}

#courses-hero p{

    color:rgba(255,255,255,.85);

    font-size:1.1rem;

    line-height:1.9;

    max-width:700px;

    margin:0 auto 45px;

}

#courses-hero .hero-buttons{

    justify-content:center;

}

/*======================================
            APPLY HERO page
======================================*/

#apply-hero{

    padding:180px 8% 120px;

    background:
    linear-gradient(rgba(11,31,58,.88),
    rgba(11,31,58,.88)),
    url("images/happy\ applying\ student.jpg");

    background-size:cover;

    background-position:center;

    text-align:center;

    color:#fff;

}

#apply-hero .container{

    max-width:850px;

}

#apply-hero h1{

    font-size:clamp(3rem,6vw,4.8rem);

    color:#fff;

    margin:25px 0;

}

#apply-hero p{

    color:rgba(255,255,255,.88);

    font-size:1.1rem;

    line-height:1.9;

    max-width:700px;

    margin:auto;

}

/*======================================
        APPLICATION SECTION
======================================*/

#application{

    padding:90px 0;

    background:#F8FAFC;

}

.application-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.application-info img{

    width:100%;

    border-radius:24px;

    margin-bottom:30px;

    box-shadow:0 20px 45px rgba(0,0,0,.10);

}

.application-info h2{

    color:var(--primary);

    margin-bottom:20px;

    font-size:2.2rem;

}

.application-info p{

    margin-bottom:35px;

}

.apply-features{

    display:grid;

    gap:18px;

}

.apply-feature{

    display:flex;

    align-items:center;

    gap:15px;

}

.apply-feature i{

    color:var(--accent);

    font-size:1.2rem;

}

.application-form{

    background:#fff;

    padding:45px;

    border-radius:24px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.application-form h2{

    color:var(--primary);

    margin:20px 0 30px;

}

.application-form form{

    display:grid;

    gap:20px;

}

.application-form input,
.application-form select,
.application-form textarea{

    width:100%;

    padding:16px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:1rem;

    font-family:var(--body);

    transition:.3s ease;

}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(11,31,58,.10);

}

.application-form textarea{

    resize:vertical;

    min-height:140px;

}

.application-form button{

    width:100%;

    border:none;

    cursor:pointer;

}

@media(max-width:992px){

    .application-container{

        grid-template-columns:1fr;

    }

}
/* Extra mobile improvements for Application Form */
@media (max-width: 768px) {

    #application {
        padding: 50px 0;
    }

    .application-form {
        padding: 30px 20px;          /* Less padding on small screens */
        border-radius: 16px;
    }

    .application-info h2 {
        font-size: 1.8rem;
    }

    .application-form input,
    .application-form select,
    .application-form textarea {
        padding: 14px;
        font-size: 16px;             /* Prevents iPhone zoom */
    }

    .application-container {
        gap: 40px;
    }
}

@media (max-width: 480px) {

    .application-form {
        padding: 25px 15px;
    }

    .application-info h2 {
        font-size: 1.6rem;
    }
}

/*======================================
        PAGE NAVIGATION
======================================*/

.page-header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:#fff;

    box-shadow:0 5px 20px rgba(0,0,0,.08);

    z-index:999;

}

.page-nav{

    height:75px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.page-logo{

    height:55px;

}

.home-link{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:600;

    color:var(--primary);

    transition:.3s;

}

.home-link:hover{

    color:var(--secondary);

}

.application-form select{

    appearance:none;

    -webkit-appearance:none;

    background:#fff;

    cursor:pointer;

}

.application-form option{

    white-space:normal;

}





/*======================================
        PAGE FOOTER
======================================*/

.page-footer{

    background:var(--primary);

    color:#fff;

    padding:30px 8%;

    text-align:center;

}

.page-footer p{

    color:#fff;

    margin-bottom:10px;

}

.page-footer a{

    color:var(--secondary);

    font-weight:600;

}

.home-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#F3F7FC;

    color:var(--primary);

    transition:.35s;

    font-size:1.15rem;

}

.home-btn:hover{

    background:var(--secondary);

    transform:translateY(-3px);

}

/*======================================
        COURSE LIST
======================================*/

#course-list{

    padding:90px 0;

    background:#F8FAFC;

}

.course-category{

    margin-bottom:80px;

}

.course-category:last-child{

    margin-bottom:0;

}

.course-category h2{

    display:flex;

    align-items:center;

    gap:15px;

    font-size:2rem;

    color:var(--primary);

    margin-bottom:40px;

    font-family:var(--heading);

    padding-bottom:15px;

    border-bottom:3px solid #E8EDF5;

}

.course-category h2 i{

    width:60px;

    height:60px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:18px;

    background:var(--primary);

    color:#fff;

    font-size:1.5rem;

}

/*======================================
        COURSE GRID
======================================*/

.courses-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

/*======================================
        COURSE CARD
======================================*/

.course-item{

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:0 12px 35px rgba(0,0,0,.07);

    transition:.35s ease;

    border:1px solid rgba(0,0,0,.05);

    display:flex;

    flex-direction:column;

    height:100%;

    position:relative;

    overflow:hidden;

}

.course-item::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:var(--secondary);

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.course-item:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(11,31,58,.15);

}

.course-item:hover::before{

    transform:scaleX(1);

}

/*======================================
        ICON
======================================*/

.course-item .course-icon{

    width:80px;

    height:80px;

    border-radius:20px;

    background:#EDF5FF;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:25px;

    transition:.35s;

}

.course-item:hover .course-icon{

    background:var(--primary);

    transform:rotate(8deg);

}

.course-item .course-icon i{

    font-size:2rem;

    color:var(--primary);

    transition:.35s;

}

.course-item:hover .course-icon i{

    color:#fff;

}

/*======================================
        TEXT
======================================*/

.course-item h3{

    font-size:1.4rem;

    color:#122033;

    margin-bottom:18px;

    line-height:1.4;

}

.course-item p{

    color:#6B7280;

    line-height:1.8;

    margin-bottom:30px;

    flex:1;

}

/*======================================
        APPLY BUTTON
======================================*/

.course-item a{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--primary);

    font-weight:700;

    transition:.3s;

}

.course-item a i{

    transition:.3s;

}

.course-item:hover a{

    color:var(--secondary);

}

.course-item:hover a i{

    transform:translateX(6px);

}

/*======================================
        MOBILE
======================================*/

@media(max-width:992px){

    .course-category{

        margin-bottom:60px;

    }

    .course-category h2{

        font-size:1.6rem;

    }

    .course-category h2 i{

        width:50px;

        height:50px;

        font-size:1.2rem;

    }

    .courses-grid{

        grid-template-columns:1fr;

    }

}

/*======================================
        ABOUT PAGE HERO
=======================================*/

#about-hero{

    padding:180px 0 110px;

    background:linear-gradient(
        135deg,
        var(--primary),
        #123C73
    );

    text-align:center;

    color:#fff;

}

#about-hero .section-badge{

    background:rgba(255,255,255,.15);

    color:#fff;

}

#about-hero h1{

    font-size:clamp(2.8rem,6vw,4.8rem);

    margin:30px 0;

    line-height:1.15;

}

#about-hero p{

    max-width:760px;

    margin:auto;

    color:rgba(255,255,255,.9);

    font-size:1.1rem;

    line-height:1.9;

}


/*======================================
            OUR STORY
=======================================*/

#our-story{

    padding:110px 0;

    background:#fff;

}

.story-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.story-image img{

    width:100%;

    border-radius:25px;

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}

.story-content h2{

    font-size:clamp(2rem,4vw,3rem);

    margin:20px 0;

    color:var(--primary);

}

.story-content p{

    margin-bottom:20px;

}


/*======================================
        MISSION VISION VALUES
=======================================*/

#mission{

    padding:110px 0;

    background:#F8FAFC;

}

.cards-3{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.info-card{

    background:#fff;

    padding:45px 35px;

    border-radius:22px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.info-card:hover{

    transform:translateY(-10px);

}

.info-card i{

    width:80px;

    height:80px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    margin-bottom:25px;

    background:#EAF3FF;

    color:var(--primary);

    font-size:2rem;

}

.info-card h3{

    margin-bottom:18px;

    color:var(--primary);

}


/*======================================
            WHY US
=======================================*/

#why-us{

    padding:110px 0;

    background:#fff;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:70px;

}

.why-card{

    background:#fff;

    border-radius:22px;

    padding:40px 25px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.why-card:hover{

    transform:translateY(-10px);

}

.why-card i{

    font-size:2.4rem;

    color:var(--secondary);

    margin-bottom:25px;

}

.why-card h3{

    color:var(--primary);

}


/*======================================
            ABOUT CTA
=======================================*/

#about-cta{

    padding:110px 0;

    background:linear-gradient(
        135deg,
        var(--primary),
        #123C73
    );

    text-align:center;

}

#about-cta h2{

    color:#fff;

    font-size:clamp(2rem,4vw,3.2rem);

    margin-bottom:20px;

}

#about-cta p{

    max-width:650px;

    margin:auto;

    margin-bottom:40px;

    color:rgba(255,255,255,.9);

}


/*======================================
            RESPONSIVE
=======================================*/

@media(max-width:992px){

    .story-grid{

        grid-template-columns:1fr;

    }

    .cards-3{

        grid-template-columns:1fr;

    }

    .why-grid{

        grid-template-columns:1fr;

    }

}

/*======================================
        GALLERY PAGE
=======================================*/

#gallery-page{

    padding:110px 0;
    background:#fff;

}

.gallery-filter{

    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin:50px 0;

}

.gallery-filter button{

    border:none;
    background:#EEF4FB;
    color:var(--primary);
    padding:14px 28px;
    border-radius:50px;
    font-weight:600;
    cursor:pointer;
    transition:.35s;

}

.gallery-filter button:hover,
.gallery-filter .active{

    background:var(--secondary);

}

.gallery-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

}

.gallery-item{

    position:relative;
    overflow:hidden;
    border-radius:20px;
    box-shadow:var(--shadow);

}

.gallery-item img{

    display:block;
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.45s;

}

.gallery-overlay{

    position:absolute;
    inset:0;
    background:rgba(11,31,58,.75);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    transition:.35s;

}

.gallery-overlay h3{

    color:#fff;
    font-size:1.3rem;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}

/*======================================
        MOBILE
=======================================*/


@media (max-width:768px){

    .gallery-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .gallery-item img{

        width:100%;

        height:auto;

        object-fit:contain;

        border-radius:20px;

    }

}

/*======================================
            CONTACT HERO
=======================================*/

#contact-hero{

    padding:180px 0 110px;

    background:linear-gradient(135deg,var(--primary),#123C73);

    text-align:center;

    color:#fff;

}

#contact-hero .section-badge{

    background:rgba(255,255,255,.15);

    color:#fff;

}

#contact-hero h1{

    font-size:clamp(2.8rem,5vw,4.5rem);

    margin:25px 0;

}

#contact-hero p{

    max-width:700px;

    margin:auto;

    line-height:1.8;

    color:rgba(255,255,255,.9);

}


/*======================================
        CONTACT SECTION
=======================================*/

#contact-page{

    padding:110px 0;

    background:#fff;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1.2fr;

    gap:60px;

    align-items:start;

}


/*======================================
        CONTACT INFO
=======================================*/

.contact-info{

    display:grid;

    gap:25px;

}

.contact-card{

    background:#fff;

    padding:35px;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-8px);

}

.contact-card i{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#EEF4FB;

    color:var(--primary);

    font-size:1.8rem;

    margin-bottom:20px;

}

.contact-card h3{

    margin-bottom:10px;

    color:var(--primary);

}

.contact-card p{

    color:#666;

    line-height:1.7;

}


/*======================================
        CONTACT FORM
=======================================*/

.contact-form-box{

    background:#fff;
    padding:45px;
    border-radius:25px;
    box-shadow:var(--shadow);

}

.contact-form-box h2{

    margin:20px 0 30px;

    color:var(--primary);

}

.contact-form-box form{

    display:flex;
    flex-direction:column;
    gap:20px;

}

.contact-form-box input,
.contact-form-box textarea{

    width:100%;
    padding:18px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:1rem;
    outline:none;
    transition:.3s;

}

.contact-form-box input:focus,
.contact-form-box textarea:focus{
    border-color:var(--secondary);
}
.contact-form-box textarea{
    resize:vertical;
}
/*======================================
            MAP
=======================================*/
#map-section{
    padding:0;
}
#map-section iframe{
    width:100%;
    height:450px;
    border:none;
}
/*======================================
        CONTACT CTA
=======================================*/
#contact-cta{
    padding:100px 0;
    text-align:center;
    background:#F8FAFC;
}
#contact-cta h2{
    color:var(--primary);
    font-size:clamp(2rem,4vw,3rem);
    margin-bottom:20px;
}
#contact-cta p{
    max-width:650px;
    margin:auto;
    margin-bottom:35px;
}
/*======================================
        RESPONSIVE
=======================================*/
@media(max-width:992px){
.contact-grid{
grid-template-columns:1fr;
}
.contact-form-box{
padding:30px;
}
#map-section iframe{
height:300px;
}
}
/* ====================== SUCCESS MESSAGE ====================== */
.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #28a745;           /* Green background */
    color: white;                  /* White text */
    padding: 35px 45px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 10000;
    max-width: 420px;
    border: 3px solid #218838;
}

.success-message.show {
    display: block;
    animation: successPop 0.4s ease forwards;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.7);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.success-message i {
    font-size: 3.8rem;
    color: white;
    margin-bottom: 15px;
    display: block;
}

.success-message h3 {
    color: white;
    margin: 10px 0 15px 0;
    font-size: 1.6rem;
}

.success-message p {
    color: white;
    opacity: 0.95;
    line-height: 1.5;
}

/* ========================================
   MOBILE FIXES - Final Polish
======================================== */

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Fix Floating WhatsApp + Back to Top */
.whatsapp-float {
    right: 18px !important;
    bottom: 25px !important;
    left: auto !important;
    z-index: 9999 !important;
}

#backToTop {
    right: 18px !important;
    bottom: 95px !important;
    left: auto !important;
}

/* Fix Contact section on Home page */
#contact .contact-grid,
.contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
}

.contact-item {
    width: 100% !important;
    max-width: 100% !important;
}

/* Prevent content from sliding under fixed header */
section {
    overflow-x: hidden;
}

/* Hero content safety */
.hero-content {
    max-width: 100%;
    padding-right: 20px;
}

/* Make sure hamburger is always visible on mobile */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex !important;
        z-index: 1001;
    }

    .nav-links {
        right: -100%;
        width: 280px;
        max-width: 85vw;
    }

    .nav-links.active {
        right: 0;
    }
}

/* Extra protection against horizontal scroll */
img, video, iframe, .container, .hero-content, .about-container {
    max-width: 100%;
}

/* Fix Contact Cards on Mobile */
@media (max-width: 768px) {

    .contact-card,
    .contact-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        word-break: break-word;
    }

    .contact-card p,
    .contact-item span,
    .contact-item div {
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    /* Make sure the grid is single column */
    .contact-grid,
    #contact .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 10px;
    }

    /* Prevent any horizontal overflow */
    .contact-info,
    .contact-form-box {
        max-width: 100%;
        overflow: hidden;
    }
}