*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --navy:#020617;
    --blue:#0f46ff;
    --sky:#00d4ff;
    --pink:#ff007a;
    --orange:#ffb000;
    --green:#25d366;
    --white:#ffffff;
    --muted:#dbeafe;
    --text:#eaf2ff;
    --dark-text:#0b1220;
    --glass:rgba(255,255,255,.12);
    --border:rgba(255,255,255,.22);
    --shadow:0 24px 70px rgba(0,0,0,.32);
    --radius:28px;
}

html{scroll-behavior:smooth;}

body{
    font-family:'Poppins',sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0,212,255,.28), transparent 34%),
        radial-gradient(circle at top right, rgba(255,0,122,.28), transparent 30%),
        linear-gradient(135deg,#020617 0%,#071952 42%,#111827 100%);
    color:var(--text);
    overflow-x:hidden;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size:48px 48px;
    mask-image:linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
    z-index:-1;
}

img{max-width:100%;}
a{text-decoration:none;color:inherit;}

/* HEADER */
header{
    width:100%;
    padding:14px 8%;
    background:rgba(2,6,23,.68);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    border-bottom:1px solid var(--border);
    box-shadow:0 10px 35px rgba(0,0,0,.18);
    transition:.35s ease;
}

header.scrolled{
    padding:10px 8%;
    background:rgba(2,6,23,.92);
}

.logo{display:flex;align-items:center;gap:12px;}
.logo img{
    width:58px;height:58px;object-fit:contain;border-radius:18px;
    filter:drop-shadow(0 0 16px rgba(0,212,255,.28));
}
.logo-text{
    font-size:28px;font-weight:900;letter-spacing:-.8px;color:#fff;
    text-shadow:0 0 20px rgba(255, 255, 255, 0.2);
}
.logo-text span{
    background:white;
    -webkit-background-clip:text;background-clip:text;color:transparent;
}

nav{display:flex;align-items:center;gap:10px;}
nav a{
    color:#e0f2fe;
    padding:10px 14px;
    border-radius:999px;
    font-weight:650;
    font-size:15px;
    transition:.28s ease;
}
nav a:hover{background:rgba(255,255,255,.12);color:#fff;transform:translateY(-2px);}
.nav-btn,
.btn.primary{
    border:0;
    color:white!important;
    background:linear-gradient(135deg,var(--pink),#ff3d00,var(--orange));
    box-shadow:0 14px 32px rgba(255,0,122,.32);
}
.nav-btn:hover,.btn.primary:hover{transform:translateY(-3px) scale(1.02);filter:saturate(1.18);}

.menu-toggle{display:none;}

/* HERO */
.hero{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    background:
    linear-gradient(110deg, rgba(2,6,23,.92), rgba(7,25,82,.72), rgba(255,0,122,.16)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=2070&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding:160px 8% 90px;
}
.hero::before,.student-page::before{
    content:"";
    position:absolute;
    width:420px;height:420px;border-radius:50%;
    right:-120px;top:120px;
    background:radial-gradient(circle, rgba(0,212,255,.45), transparent 65%);
    filter:blur(10px);
    animation:floatGlow 7s ease-in-out infinite alternate;
}
@keyframes floatGlow{from{transform:translateY(0)}to{transform:translateY(45px)}}

.hero-content,.student-content{
    position:relative;
    max-width:920px;
    z-index:1;
}
.tagline{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#fff;
    font-weight:900;
    letter-spacing:2px;
    margin-bottom:20px;
    padding:10px 16px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.04));
    box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.tagline::before{content:"✦";color:var(--orange);}
.hero h1,.student-content h1{
    font-size:clamp(34px,5.8vw,74px);
    line-height:1.15;
    color:#fff;
    margin-bottom:26px;
    letter-spacing:-1.6px;
    text-shadow:0 18px 45px rgba(0,0,0,.45);
    max-width:980px;
    text-wrap:balance;
}
.hero h1::first-line,.student-content h1::first-line{
    color:#fff;
}
.hero-text,.student-content p{
    font-size:19px;
    color:#e2e8f0;
    line-height:1.85;
    margin-bottom:24px;
    max-width:780px;
}

/* BUTTONS */
.hero-buttons,.contact-buttons{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:30px;}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:15px 30px;
    border-radius:999px;
    font-weight:850;
    transition:.3s ease;
    min-height:52px;
}
.btn.secondary{
    border:2px solid rgba(255,255,255,.55);
    color:#fff;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
}
.btn.secondary:hover{background:#fff;color:#071952;transform:translateY(-3px);}

/* GENERAL SECTIONS */
section{padding:76px 8%;position:relative;}
.section-title{
    text-align:center;
    font-size:clamp(30px,4.5vw,54px);
    color:#fff;
    margin-bottom:12px;
    letter-spacing:-1.4px;
}
.section-subtitle{
    text-align:center;
    color:#cbd5e1;
    margin:0 auto 55px;
    font-size:17px;
    max-width:780px;
}

/* STATS */
.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
    padding:44px 8% 70px;
    background:linear-gradient(180deg,rgba(2,6,23,.35),rgba(2,6,23,0));
    align-items:stretch;
}
.stat-link{display:block;color:inherit;text-decoration:none;height:100%;}
.stats div,
.course-card,
.faq,.review,.qr-box,.google-review-embed,.about-box,.instructor-card{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.16);
    background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:var(--shadow);
}
.stats div{
    height:100%;
    min-height:170px;
    padding:34px 24px;
    border-radius:var(--radius);
    text-align:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transition:.35s ease;
}
.stats div::before,.course-card::before,.instructor-card::before,.faq::before,.qr-box::before{
    content:"";position:absolute;inset:0 0 auto 0;height:4px;
    background:linear-gradient(90deg,var(--sky),var(--pink),var(--orange));
}
.stats div:hover,.course-card:hover,.instructor-card:hover,.faq:hover,.qr-box:hover{transform:translateY(-10px);border-color:rgba(255,255,255,.34);}
.stats h2{font-size:46px;color:#fff;margin-bottom:8px;text-shadow:0 0 24px rgba(0,212,255,.55);}
.stats p{color:#dbeafe;font-weight:650;}

/* COURSES */
#courses{background:linear-gradient(180deg,rgba(15,70,255,.08),rgba(255,0,122,.06));}
.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:stretch;}
.course-link{display:block;height:100%;color:inherit;text-decoration:none;}
.course-card{
    height:100%;
    padding:36px;
    border-radius:var(--radius);
    transition:.35s ease;
}
.course-card i{
    width:72px;height:72px;border-radius:22px;
    display:inline-flex;align-items:center;justify-content:center;
    font-size:34px;color:#fff;margin-bottom:22px;
    background:linear-gradient(135deg,var(--blue),var(--sky));
    box-shadow:0 16px 35px rgba(0,212,255,.22);
}
.course-card:nth-child(odd) i{background:linear-gradient(135deg,var(--pink),var(--orange));}
.course-card h3{font-size:24px;color:#fff;margin-bottom:14px;}
.course-card p{color:#cbd5e1;line-height:1.75;}

/* ABOUT */
.academy-intro,.about{display:grid;grid-template-columns:1.35fr .85fr;gap:42px;align-items:center;}
.academy-left h2,.about-text h2{font-size:clamp(32px,4vw,50px);color:#fff;margin-bottom:24px;line-height:1.2;}
.academy-left p,.about-text p{color:#dbeafe;line-height:1.85;font-size:17px;margin-bottom:16px;text-align:left;}
.features,.academy-points{margin-top:28px;display:grid;grid-template-columns:repeat(2,1fr);gap:15px;}
.features p,.academy-points p{
    background:rgba(255,255,255,.12);
    color:#eff6ff;
    border:1px solid rgba(255,255,255,.14);
    padding:15px 16px;
    border-radius:16px;
    box-shadow:0 14px 35px rgba(0,0,0,.16);
    margin:0;
}
.features i,.academy-points i{color:#4ade80;margin-right:10px;}
.about-box{color:white;padding:38px;border-radius:var(--radius);}
.about-box h3{font-size:30px;margin-bottom:20px;}
.about-box ul{list-style:none;columns:1;}
.about-box li{margin:13px 0;font-size:16px;color:#e0f2fe;}
.about-box li::before{content:"✓";color:#4ade80;font-weight:900;margin-right:10px;}
.qr-box{padding:34px;border-radius:var(--radius);text-align:center;max-width:340px;width:100%;}
.qr-box img{width:220px;margin-bottom:18px;border-radius:18px;}
.qr-box h3{color:#fff;margin-bottom:10px;font-size:26px;}
.qr-box p{color:#cbd5e1;line-height:1.7;}

/* INSTRUCTORS */
.instructors,.testimonials{background:rgba(255,255,255,.04);}
.instructor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:50px;}
.instructor-card{border-radius:var(--radius);text-align:center;padding:28px 18px;transition:.35s ease;}
.instructor-card img{width:62%;height:285px;object-fit:cover;border-radius:24px;box-shadow:0 18px 45px rgba(0,0,0,.28);}
.instructor-card h3{color:#fff;margin-top:20px;margin-bottom:10px;font-size:22px;}
.instructor-card p{color:#cbd5e1;line-height:1.7;font-size:15px;}

/* GALLERY */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.gallery-grid img{width:100%;height:270px;object-fit:cover;border-radius:24px;transition:.35s ease;box-shadow:0 18px 45px rgba(0,0,0,.25);}
.gallery-grid img:hover{transform:scale(1.045) rotate(.4deg);filter:saturate(1.25);}

/* REVIEWS / FAQ */
.google-review-embed{padding:18px;border-radius:var(--radius);}
.google-review-embed iframe{border:none;border-radius:22px;background:white;}
.faq-box{max-width:940px;margin:auto;}
.faq{margin-bottom:18px;padding:24px 26px;border-radius:22px;transition:.3s ease;cursor:pointer;}
.faq h3{color:#fff;margin-bottom:8px;display:flex;justify-content:space-between;gap:12px;}
.faq h3::after{content:"+";color:var(--orange);font-size:24px;line-height:1;}
.faq.active h3::after{content:"−";}
.faq p{color:#cbd5e1;line-height:1.7;}

/* CONTACT */
.contact{
    text-align:center;
    background:
        radial-gradient(circle at 20% 20%,rgba(0,212,255,.26),transparent 35%),
        linear-gradient(135deg,#0f46ff,#7c3aed,#ff007a);
    color:white;
    border-radius:34px;
    margin:45px 8% 35px;
    box-shadow:0 24px 70px rgba(255,0,122,.25);
}
.contact h2{font-size:clamp(30px,4vw,48px);margin-bottom:24px;}
.contact p{font-size:18px;margin:14px 0;color:#fff;}
.contact .btn{width:100%;max-width:520px;}
.contact-buttons{flex-direction:column;justify-content:center;}

/* STUDENT / COURSE DETAIL PAGES */
.student-page{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    padding:175px 8% 95px;
    display:flex;
    align-items:center;
    background:
        linear-gradient(115deg,rgba(2,6,23,.94),rgba(15,70,255,.68),rgba(255,0,122,.16)),
        url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f");
    background-size:cover;
    background-position:center;
}
.student-content{
    padding:36px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:34px;
    background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.04));
    backdrop-filter:blur(18px);
    box-shadow:var(--shadow);
}
.student-content h2{color:#fff!important;}

/* WHATSAPP & FOOTER */
.whatsapp{
    position:fixed;right:24px;bottom:24px;background:#25d366;color:white;
    width:64px;height:64px;border-radius:50%;display:flex;justify-content:center;align-items:center;
    font-size:32px;z-index:1000;box-shadow:0 12px 35px rgba(37,211,102,.38);
    animation:pulse 1.8s infinite;
}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
footer{background:#020617;color:#cbd5e1;text-align:center;padding:28px;border-top:1px solid rgba(255,255,255,.12);}

.reveal{opacity:0;transform:translateY(26px);transition:.7s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}

/* TABLET */
@media(max-width:1000px){
    header{padding:12px 5%;}
    .menu-toggle{
        display:inline-flex;align-items:center;justify-content:center;
        width:46px;height:46px;border-radius:14px;border:1px solid rgba(255,255,255,.2);
        color:white;background:rgba(255,255,255,.10);font-size:22px;cursor:pointer;
    }
    nav{
        position:absolute;top:86px;left:5%;right:5%;
        display:grid;grid-template-columns:1fr;
        background:rgba(2,6,23,.96);border:1px solid rgba(255,255,255,.16);
        border-radius:24px;padding:14px;box-shadow:var(--shadow);
        opacity:0;visibility:hidden;transform:translateY(-12px);transition:.28s ease;
    }
    nav.open{opacity:1;visibility:visible;transform:translateY(0);}
    nav a{margin:0;text-align:center;}
    .hero{padding:155px 6% 75px;text-align:center;justify-content:center;}
    .hero-content,.student-content{margin:auto;}
    .hero-text,.student-content p{text-align:center;margin-left:auto;margin-right:auto;}
    .hero-buttons{justify-content:center;}
    .stats{grid-template-columns:repeat(2,1fr);padding:38px 6% 62px;}
    .course-grid,.instructor-grid{grid-template-columns:repeat(2,1fr);}
    .academy-intro,.about{grid-template-columns:1fr;text-align:center;}
    .academy-left p,.about-text p{text-align:center;}
    .features,.academy-points{grid-template-columns:1fr;}
    .gallery-grid{grid-template-columns:repeat(2,1fr);}
    section{padding:62px 6%;}
    .student-page{padding:150px 6% 70px;text-align:center;}
    .contact{margin:36px 6% 32px;}
}

/* MOBILE */
@media(max-width:560px){
    header{padding:10px 4%;}
    .logo img{width:46px;height:46px;}
    .logo-text{font-size:19px;letter-spacing:-.4px;}
    nav{top:74px;left:4%;right:4%;}
    .hero{padding:135px 5% 70px;min-height:92vh;}
    .tagline{font-size:12px;letter-spacing:1px;padding:9px 12px;}
    .hero h1,.student-content h1{letter-spacing:-1.2px;}
    .hero-text,.student-content p{font-size:15.5px;line-height:1.75;}
    .hero-buttons,.contact-buttons{flex-direction:column;align-items:stretch;}
    .btn{width:100%;padding:14px 22px;}
    .stats,.course-grid,.instructor-grid,.gallery-grid{grid-template-columns:1fr;}
    .stats{padding:30px 5% 48px;}
    section{padding:50px 5%;}
    .course-card{padding:28px;}
    .section-subtitle{margin-bottom:36px;}
    .student-page{padding:120px 5% 55px;}
    .student-content{padding:24px;border-radius:26px;}
    .instructor-card img{width:76%;height:285px;}
    .gallery-grid img{height:210px;}
    .contact{margin:25px 5% 28px;border-radius:26px;}
    .whatsapp{width:56px;height:56px;font-size:28px;right:16px;bottom:16px;}
}


/* FIX: prevent hero title overlap on desktop and mobile */
.hero h1,
.student-content h1{
    overflow:visible;
    word-break:normal;
}
@media(max-width:900px){
    .hero h1,.student-content h1{
        font-size:clamp(34px,9vw,48px);
        line-height:1.18;
        letter-spacing:-0.8px;
    }
}
@media(max-width:480px){
    .hero h1,.student-content h1{
        font-size:32px;
        line-height:1.22;
        letter-spacing:-0.4px;
    }
}

/* HOVER MOTION ONLY */

.course-card{
    transition:0.35s ease;
}

.course-card:hover{
    transform:translateY(-18px) scale(1.04);
    box-shadow:
    0 30px 80px rgba(0,212,255,.35),
    0 0 35px rgba(255,0,122,.35);
}

.course-card:hover i{
    transform:rotate(8deg) scale(1.15);
}

.course-card i{
    transition:0.35s ease;
}
.contact-email{
    word-break:break-word;
    overflow-wrap:anywhere;
}

@media(max-width:560px){

    .contact{
        padding:45px 20px;
        margin:25px 5% 28px;
    }

    .contact h2{
        font-size:32px;
        line-height:1.3;
    }

    .contact p{
        font-size:14px;
        line-height:1.7;
    }

    .contact .btn{
        font-size:15px;
        padding:14px 16px;
    }
}

/* CONTACT - DARK GLASS WEBSITE MATCH */

.contact-new{
    margin:45px 8% 35px !important;
    padding:80px 7% !important;
    text-align:center !important;
    color:#fff !important;
    border-radius:34px !important;
    border:1px solid rgba(255,255,255,.16) !important;
    background:
    radial-gradient(circle at top left,rgba(0,212,255,.22),transparent 35%),
    radial-gradient(circle at bottom right,rgba(255,0,122,.25),transparent 35%),
    linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.05)) !important;
    backdrop-filter:blur(18px) !important;
    box-shadow:0 24px 70px rgba(0,0,0,.32) !important;
}

.contact-new h2{
    font-size:clamp(32px,4vw,54px) !important;
    margin-bottom:30px !important;
    font-weight:900 !important;
}

.contact-new p{
    font-size:20px !important;
    margin:16px 0 !important;
    font-weight:600 !important;
    color:#eaf2ff !important;
}

.contact-new .btn{
    max-width:620px !important;
    width:100% !important;
    min-height:64px !important;
    font-size:19px !important;
}

@media(max-width:560px){
    .contact-new{
        margin:25px 5% 28px !important;
        padding:50px 22px !important;
    }

    .contact-new h2{
        font-size:31px !important;
        line-height:1.35 !important;
    }

    .contact-new p{
        font-size:15px !important;
        overflow-wrap:anywhere !important;
    }

    .contact-new .btn{
        font-size:15px !important;
        min-height:56px !important;
    }
}

/* PHONE DESKTOP SITE ALIGNMENT FIX */

html,
body{
    width:100%;
    overflow-x:hidden;
}

*{
    max-width:100%;
}

/* FIX ALL SECTIONS */

section{
    width:100%;
    overflow:hidden;
}

/* STATS FIX */

.stats{
    align-items:stretch !important;
}

.stats .stat-link{
    display:flex !important;
    height:100% !important;
}

.stats .stat-link div{
    width:100% !important;
}

/* COURSE FIX */

.course-grid{
    align-items:stretch !important;
}

.course-link{
    display:flex !important;
    height:100% !important;
}

.course-card{
    width:100% !important;
}

/* CONTACT FIX */

.contact,
.contact-new{
    width:auto !important;
    max-width:none !important;
    overflow:hidden !important;
}

/* PHONE DESKTOP MODE */

@media screen and (max-width:900px){

    body{
        min-width:100% !important;
    }

    header{
        width:100% !important;
    }

    .hero,
    .student-page{
        width:100% !important;
        overflow:hidden !important;
    }

    .hero-content,
    .student-content{
        width:100% !important;
        max-width:100% !important;
    }

    .hero h1{
        width:100% !important;
        word-break:break-word !important;
    }

    .stats,
    .course-grid,
    .gallery-grid,
    .instructor-grid{
        grid-template-columns:1fr !important;
    }

    .stats div,
    .course-card,
    .instructor-card{
        width:100% !important;
    }

    .contact,
    .contact-new{
        margin:25px 5% 30px !important;
        padding:45px 18px !important;
    }
}

/* FAQ OPEN CLOSE */

.faq{
    cursor:pointer;
}

.faq h3{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.faq-icon{
    font-size:28px;
    font-weight:700;
}

.faq p{
    display:none;
    margin-top:15px;
}

.faq.active p{
    display:block;
}

/* REDUCE SECTION GAPS */

section{
    padding-top:40px !important;
    padding-bottom:40px !important;
}

.section-title{
    margin-bottom:8px !important;
}

.section-subtitle{
    margin-bottom:25px !important;
}

/* MOBILE */

@media(max-width:900px){

    section{
        padding-top:30px !important;
        padding-bottom:30px !important;
    }

}

@media(max-width:560px){

    section{
        padding-top:22px !important;
        padding-bottom:22px !important;
    }

    .section-subtitle{
        margin-bottom:18px !important;
    }

}
/* SMALL MOBILE NAVBAR */

@media(max-width:560px){

    header{
        padding:8px 4% !important;
        min-height:62px !important;
    }

    .logo{
        gap:8px !important;
    }

    .logo img{
        width:38px !important;
        height:38px !important;
    }

    .logo-text{
        font-size:16px !important;
        line-height:1.1 !important;
    }

    .menu-toggle{
        width:38px !important;
        height:38px !important;
        font-size:18px !important;
    }

    nav{
        top:65px !important;
        padding:10px !important;
        border-radius:18px !important;
    }

    nav a{
        font-size:13px !important;
        padding:10px 12px !important;
    }

    .hero{
        padding-top:105px !important;
    }

}
/* SMALLER NAVBAR DESKTOP + MOBILE */

header{
    padding:10px 6% !important;
    min-height:72px !important;
}

.logo{
    gap:10px !important;
}

.logo img{
    width:46px !important;
    height:46px !important;
}

.logo-text{
    font-size:22px !important;
    line-height:1.1 !important;
}

nav{
    gap:6px !important;
}

nav a{
    font-size:14px !important;
    padding:8px 12px !important;
}

.nav-btn{
    padding:10px 18px !important;
}

/* HERO TOP FIX */

.hero{
    padding-top:120px !important;
}

/* MOBILE */

@media(max-width:560px){

    header{
        padding:8px 4% !important;
        min-height:60px !important;
    }

    .logo img{
        width:36px !important;
        height:36px !important;
    }

    .logo-text{
        font-size:15px !important;
    }

    nav{
        top:62px !important;
    }

    nav a{
        font-size:13px !important;
        padding:9px 10px !important;
    }

    .hero{
        padding-top:95px !important;
    }

}