/* ================= GLOBAL ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
    background:#fff;
}

/* ================= TOP BAR ================= */
.topbar{
    background:#2f5fd0;
    color:#fff;
    padding:10px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.top-btn{
    background:#ff7a18;
    padding:6px 18px;
    border-radius:4px;
    cursor:pointer;
    transition:.3s;
}
.top-btn:hover{
    background:#e86a0f;
}

/* ================= NAVBAR ================= */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 60px;
    background:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

/* LOGO */
.logo-area{
    display:flex;
    align-items:center;
    gap:16px;
}
.logo-area img{
    height:70px;
}
.logo-text{
    display:flex;
    flex-direction:column;
}
.academy-name{
    font-size:26px;
    font-weight:700;
    color:#2f5fd0;
}
.academy-tagline{
    font-size:14px;
    color:#666;
    font-style:italic;
}

/* MENU */
.navbar nav a{
    margin-left:22px;
    text-decoration:none;
    color:#000;
    font-weight:500;
    font-size:16px;
    position:relative;
}
.navbar nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:2px;
    background:#2f5fd0;
    transition:.3s;
}
.navbar nav a:hover{
    color:#2f5fd0;
}
.navbar nav a:hover::after{
    width:100%;
}

/* ================= NOTICE BAR ================= */
.notice-bar{
    display:flex;
    align-items:center;
    background:linear-gradient(90deg,#ff4f8b,#ff7eb3);
    color:#fff;
    height:48px;
    overflow:hidden;
    font-size:15px;
}

.notice-marquee{
    flex:1;
    overflow:hidden;
}

.notice-track{
    display:flex;
    gap:60px;
    white-space:nowrap;
    animation:scrollNotice 26s linear infinite;
}

.notice-track span{
    display:inline-flex;
    align-items:center;
    font-weight:500;
}

.notice-marquee:hover .notice-track{
    animation-play-state:paused;
}

@keyframes scrollNotice{
    0%{ transform:translateX(0); }
    100%{ transform:translateX(-50%); }
}

/* ================= HERO ================= */
.hero-slider{
    position:relative;
    height:90vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    visibility:hidden;
    transition:opacity 1s ease;
}
.slide.active{
    opacity:1;
    visibility:visible;
}

/* ===== ONLY REQUIRED ADDITION (BANNER 1 FIX) ===== */
.hero-slider .slide:first-child{
    background-size:contain;
    background-position:center;
    background-repeat:no-repeat;
}
/* ================================================= */

/* OVERLAY */
.overlay{
    width:100%;
    height:100%;
    background:linear-gradient(
        to right,
        rgba(0,0,0,.75),
        rgba(0,0,0,.45),
        rgba(0,0,0,.2)
    );
    padding:120px 100px;
    color:#fff;
    animation:fadeUp 1.2s ease;
}

.overlay h4{
    margin-bottom:10px;
}

.overlay h1{
    font-size:52px;
    margin-bottom:15px;
}
.overlay h1 span{
    color:#2f5fd0;
}

.overlay p{
    max-width:520px;
    margin-bottom:25px;
}

/* BUTTON */
.btn{
    background:#ff7a18;
    padding:12px 32px;
    color:#fff;
    border-radius:4px;
    text-decoration:none;
    display:inline-block;
    transition:.3s;
}
.btn:hover{
    background:#e86a0f;
    transform:translateY(-2px);
}

/* SLIDER ARROWS */
.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:40px;
    color:#fff;
    cursor:pointer;
    opacity:.8;
}
.arrow:hover{ opacity:1; }
.arrow.left{ left:20px; }
.arrow.right{ right:20px; }

/* REGISTER FLOAT */
.register-float{
    position:fixed;
    right:-48px;
    top:50%;
    transform:rotate(-90deg);
    background:#2f5fd0;
    color:#fff;
    padding:12px 26px;
    cursor:pointer;
    z-index:999;
}

/* ================= FEATURES ================= */
.features{
    background:#2f5fd0;
    padding:60px;
    display:flex;
    justify-content:center;
    gap:30px;
}
.feature-box{
    background:#fff;
    padding:35px;
    border-radius:12px;
    width:260px;
    text-align:center;
    transition:.3s;
}
.feature-box:hover{
    transform:translateY(-10px);
}

/* ================= ABOUT (VISIBLE LOGO WATERMARK) ================= */
.about{
    padding:80px;
    background:#f9f9f9;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.about::before{
    content:"";
    position:absolute;
    inset:0;
    background:url("images/logo.png") center no-repeat;
    background-size:420px;
    opacity:0.12;
    z-index:0;
}

.about *{
    position:relative;
    z-index:1;
}

.about h4{
    color:#ff7a18;
}

/* ================= COURSES ================= */
.courses{
    padding:80px;
    text-align:center;
}
.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:40px;
}
.course-card{
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    transition:.4s;
}
.course-card:hover{
    transform:translateY(-10px);
    background:#2f5fd0;
    color:#fff;
}

/* ================= CAREERS ================= */
.careers{
    background:#2f5fd0;
    color:#fff;
    padding:60px;
    text-align:center;
}

/* ================= CONTACT ================= */
.contact-section{
    padding:90px 60px;
    background:#f5f7fb;
    text-align:center;
}
.section-title{
    font-size:36px;
    color:#2f5fd0;
}
.section-subtitle{
    margin:10px 0 50px;
    color:#555;
}
.contact-wrapper{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}
.contact-card{
    background:#fff;
    padding:40px;
    width:420px;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.contact-card h3{
    color:#ff7a18;
    margin-bottom:25px;
}
.contact-card form{
    display:flex;
    flex-direction:column;
    gap:18px;
}
.contact-card input{
    padding:14px;
    border-radius:6px;
    border:1px solid #ccc;
}
.full-btn{
    width:100%;
}

/* ================= FOOTER ================= */
.footer{
    background:#111;
    color:#fff;
    padding:40px;
    text-align:center;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float{
    position:fixed;
    bottom:25px;
    left:25px;
    width:55px;
    height:55px;
    background:#25d366;
    color:#fff;
    font-size:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    text-decoration:none;
    box-shadow:0 6px 18px rgba(0,0,0,.3);
    z-index:999;
    transition:.3s;
}
.whatsapp-float:hover{
    transform:scale(1.1);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp{
    from{ opacity:0; transform:translateY(40px); }
    to{ opacity:1; transform:translateY(0); }
}

/* ================= SCROLL REVEAL ================= */
.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:1s ease;
}
.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* ================= MOBILE FIX ONLY ================= */
@media(max-width:768px){

    /* Fix horizontal scroll */
    body{
        overflow-x:hidden;
    }

    /* TOP BAR MOBILE */
    .topbar{
        padding:8px 15px;
        flex-direction:column;
        gap:5px;
        text-align:center;
    }

    /* NAVBAR FIX */
    .navbar{
        flex-direction:column;
        gap:10px;
        padding:15px 20px;
        text-align:center;
    }

    /* LOGO FIX */
    .logo-area{
        justify-content:center;
        flex-direction:column;
        gap:6px;
    }

    .logo-area img{
        height:55px;
    }

    .academy-name{
        font-size:20px;
    }

    .academy-tagline{
        font-size:12px;
    }

    /* NAV LINKS FIX */
    .navbar nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .navbar nav a{
        margin:5px 10px;
        font-size:14px;
    }

    /* HERO TEXT FIX */
    .overlay{
        padding:70px 25px;
        text-align:center;
    }

    .overlay h1{
        font-size:32px;
        line-height:1.2;
    }

    .overlay p{
        font-size:14px;
    }

    /* FEATURES STACK */
    .features,
    .contact-wrapper{
        flex-direction:column;
        align-items:center;
    }

    /* NOTICE BAR */
    .notice-bar{
        font-size:13px;
        height:44px;
    }

    /* HERO IMAGE MOBILE */
    .hero-slider{
        height:70vh;
    }

    .hero-slider .slide:first-child{
        background-size:contain;
        background-position:center top;
    }

    /* HIDE SIDE REGISTER */
    .register-float{
        display:none;
    }
}
