:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #facc15;
    --accent-dark: #eab308;
    --white: #ffffff;
    --text: #cbd5e1;
    --heading: #f8fafc;
    --card: rgba(15, 23, 42, 0.7);
    --border: rgba(255,255,255,0.08);
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --shadow: 0 20px 50px rgba(0,0,0,0.35);
    --radius: 24px;
    --transition: all .35s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Outfit',sans-serif;
    background:#020617;
    color:var(--text);
    overflow-x:hidden;
    line-height:1.7;
}

body::before{
    content:'';
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,.15), transparent 30%),
        radial-gradient(circle at bottom right, rgba(168,85,247,.12), transparent 30%);
    pointer-events:none;
    z-index:-1;
}

img{
    max-width:100%;
}

.container{
    width:min(1180px, calc(100% - 2rem));
    margin-inline:auto;
}

.section{
    padding:7rem 0;
    position:relative;
}

.section-header{
    text-align:center;
    margin-bottom:4rem;
}

.section-subtitle{
    display:inline-block;
    padding:.5rem 1rem;
    border:1px solid rgba(250,204,21,.3);
    border-radius:100px;
    color:var(--accent);
    background:rgba(250,204,21,.08);
    font-size:.9rem;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.section-title{
    font-size:clamp(2.2rem,5vw,4rem);
    color:var(--heading);
    line-height:1.1;
    margin-top:1rem;
    font-family:'Sora',sans-serif;
}

.section-description{
    max-width:700px;
    margin:1rem auto 0;
    font-size:1.1rem;
}

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    backdrop-filter:blur(18px);
    background:rgba(2,6,23,.7);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.nav{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.nav__logo{
    text-decoration:none;
    font-size:1.5rem;
    font-weight:800;
}

.logo-text{
    color:#fff;
}

.logo-accent{
    color:var(--accent);
}

.nav__list{
    display:flex;
    gap:2rem;
    list-style:none;
}

.nav__link{
    text-decoration:none;
    color:#e2e8f0;
    font-weight:500;
    transition:var(--transition);
    position:relative;
}

.nav__link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:var(--transition);
}

.nav__link:hover::after{
    width:100%;
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.hero__container{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:4rem;
    padding-top:5rem;
}

.hero__badge{
    display:inline-flex;
    align-items:center;
    gap:.7rem;
    padding:.8rem 1.2rem;
    border-radius:100px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    margin-bottom:2rem;
    color:#fff;
}

.hero__title{
    font-size:clamp(3rem,8vw,6rem);
    line-height:.95;
    color:var(--heading);
    font-family:'Sora',sans-serif;
}

.gradient-text{
    background:linear-gradient(135deg,#facc15,#f97316);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero__description{
    margin-top:2rem;
    max-width:620px;
    font-size:1.15rem;
}

.hero__features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1rem;
    margin:2.5rem 0;
}

.hero__feature{
    display:flex;
    align-items:center;
    gap:.8rem;
    padding:1rem;
    background:rgba(255,255,255,.04);
    border-radius:16px;
    border:1px solid rgba(255,255,255,.06);
}

.hero__feature svg{
    color:var(--accent);
}

.hero__buttons{
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    gap:.7rem;
    padding:1rem 1.7rem;
    border-radius:16px;
    text-decoration:none;
    font-weight:700;
    transition:var(--transition);
}

.btn-primary{
    background:var(--gradient);
    color:#fff;
    box-shadow:0 15px 35px rgba(37,99,235,.35);
}

.btn-primary:hover{
    transform:translateY(-4px);
}

.btn-secondary{
    background:rgba(255,255,255,.05);
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
}

.hero__image-wrapper{
    background:linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border-radius:32px;
    padding:2rem;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:var(--shadow);
}

.scroll-indicator{
    position:absolute;
    bottom:2rem;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:.5rem;
    color:#94a3b8;
    animation:bounce 2s infinite;
}

@keyframes bounce{
    0%,100%{transform:translate(-50%,0)}
    50%{transform:translate(-50%,8px)}
}

.about__features,
.courses__grid,
.tech-grid{
    display:grid;
    gap:2rem;
}

.about__features{
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    margin-top:3rem;
}

.about__feature-card,
.course-card,
.tech-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    backdrop-filter:blur(12px);
    transition:var(--transition);
}

.about__feature-card{
    padding:2rem;
}

.about__feature-card:hover,
.course-card:hover,
.tech-card:hover{
    transform:translateY(-10px);
    border-color:rgba(250,204,21,.3);
}

.feature-icon{
    width:70px;
    height:70px;
    border-radius:20px;
    display:grid;
    place-items:center;
    background:var(--gradient);
    color:#fff;
    margin-bottom:1.5rem;
}

.about__feature-card h3,
.course-card__title,
.tech-card__name{
    color:#fff;
}

.stats-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:1.5rem;
    margin-top:4rem;
}

.stat-item{
    text-align:center;
    padding:2rem;
    background:rgba(255,255,255,.04);
    border-radius:20px;
}

.stat-number{
    font-size:3rem;
    font-weight:800;
    color:var(--accent);
}

.courses__grid{
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}

.course-card{
    position:relative;
    padding:2rem;
    overflow:hidden;
}

.course-card--featured{
    border:1px solid rgba(250,204,21,.4);
}

.course-card__label{
    position:absolute;
    top:1rem;
    right:-2.5rem;
    background:var(--accent);
    color:#000;
    padding:.6rem 3rem;
    transform:rotate(35deg);
    font-size:.75rem;
    font-weight:800;
}

.course-card__icon{
    width:80px;
    height:80px;
    display:grid;
    place-items:center;
    border-radius:22px;
    background:rgba(255,255,255,.05);
    color:var(--accent);
    margin-bottom:1.5rem;
}

.course-card__description{
    margin:1rem 0 1.5rem;
}

.course-card__tech{
    display:flex;
    flex-wrap:wrap;
    gap:.7rem;
}

.tech-badge,
.course-badge{
    padding:.55rem .9rem;
    border-radius:100px;
    background:rgba(250,204,21,.08);
    border:1px solid rgba(250,204,21,.18);
    color:var(--accent);
    font-size:.85rem;
}

.course-card__footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:2rem;
}

.btn-text{
    color:#fff;
    text-decoration:none;
    font-weight:700;
}

.tech-grid{
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
}

.tech-card{
    padding:2rem 1rem;
    text-align:center;
}

.tech-card__icon{
    width:90px;
    height:90px;
    margin:0 auto 1rem;
    border-radius:24px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.05);
    color:var(--accent);
}

.tech-card svg{
    width:42px;
    height:42px;
}

.tech-text{
    font-size:1.5rem;
    font-weight:800;
}

.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:all .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.nav__toggle,
.nav__close{
    display:none;
    cursor:pointer;
    color:#fff;
}

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(var(--accent), #f97316);
    border-radius:20px;
}

@media screen and (max-width: 992px){
    .hero__container{
        grid-template-columns:1fr;
    }

    .hero__image{
        order:-1;
    }
}

@media screen and (max-width: 768px){
    .nav__menu{
        position:fixed;
        top:0;
        right:-100%;
        width:80%;
        height:100vh;
        background:#020617;
        padding:6rem 2rem;
        transition:var(--transition);
    }

    .show-menu{
        right:0;
    }

    .nav__list{
        flex-direction:column;
    }

    .nav__toggle,
    .nav__close{
        display:block;
    }

    .nav__close{
        position:absolute;
        top:1.5rem;
        right:1.5rem;
    }

    .hero__features{
        grid-template-columns:1fr;
    }

    .section{
        padding:5rem 0;
    }
}

/* =========================================================
   SECTION FIXES
   ADD THIS AT THE VERY END OF YOUR CSS
========================================================= */

/* RESET ISSUE FIXES */

#reviews *,
#faq *,
#contact *{
    box-sizing:border-box;
}

#reviews svg,
#faq svg,
#contact svg{
    max-width:100%;
}

/* =========================================================
   REVIEWS SECTION
========================================================= */

#reviews{
    padding:120px 0;
    position:relative;
    overflow:hidden;
}

.reviews-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
    margin-top:70px;
}

.review-card{
    position:relative;
    background:rgba(10,14,35,.95);
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    padding:35px;
    transition:all .35s ease;
    overflow:hidden;
}

.review-card:hover{
    transform:translateY(-8px);
    border-color:rgba(255,196,0,.3);
    box-shadow:0 20px 50px rgba(0,0,0,.35);
}

.review-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:1px;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,196,0,.8),
        transparent
    );
}

.review-card h3,
.review-card h4{
    color:#fff;
    font-size:22px;
    margin-bottom:6px;
    font-weight:700;
}

.review-card h5,
.review-card .role{
    color:#ffc400;
    font-size:15px;
    margin-bottom:18px;
    font-weight:500;
}

.review-card p{
    color:#cfd3e1;
    line-height:1.9;
    font-size:16px;
    margin:0;
}

.review-stars{
    display:flex;
    gap:4px;
    margin-bottom:18px;
    color:#ffc400;
    font-size:18px;
}

/* =========================================================
   FAQ SECTION
========================================================= */

#faq{
    padding:120px 0;
}

.faq-container{
    max-width:1000px;
    margin:70px auto 0;
}

.faq-item{
    background:rgba(10,14,35,.92);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    overflow:hidden;
    margin-bottom:24px;
    transition:.3s ease;
}

.faq-item:hover{
    border-color:rgba(255,196,0,.25);
}

.faq-question{
    width:100%;
    background:transparent !important;
    border:none !important;
    outline:none !important;
    box-shadow:none !important;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    padding:28px 32px;
    cursor:pointer;

    color:#fff !important;
    font-size:21px;
    line-height:1.5;
    font-weight:600;
    text-align:left;
}

.faq-question::-moz-focus-inner{
    border:0;
}

.faq-question:focus{
    outline:none !important;
}

.faq-question span{
    flex:1;
}

.faq-question i,
.faq-question svg{
    width:22px !important;
    height:22px !important;
    min-width:22px;
    color:#ffc400;
    flex-shrink:0;
}

.faq-answer{
    padding:0 32px 30px;
    color:#cfd3e1;
    line-height:1.9;
    font-size:17px;
}

.faq-answer p{
    margin:0;
}

/* REMOVE DEFAULT BUTTON LOOK */

.faq-question,
.faq-question:hover,
.faq-question:active{
    appearance:none;
    -webkit-appearance:none;
}

/* =========================================================
   CONTACT SECTION
========================================================= */

#contact{
    padding:120px 0;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:70px;
    align-items:start;
    margin-top:70px;
}

.contact-info{
    width:100%;
}

.contact-info h3{
    font-size:34px;
    color:#fff;
    margin-bottom:20px;
}

.contact-info > p{
    color:#cfd3e1;
    line-height:1.8;
    margin-bottom:35px;
}

.contact-item{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:30px;
}

.contact-item svg{
    width:24px !important;
    height:24px !important;
    min-width:24px;
    color:#ffc400;
    margin-top:3px;
}

.contact-item h4{
    color:#fff;
    margin-bottom:5px;
    font-size:18px;
}

.contact-item a,
.contact-item p,
.contact-item span{
    color:#cfd3e1;
    text-decoration:none;
    line-height:1.7;
}

/* =========================================================
   SOCIAL ICONS FIX
========================================================= */

.social-links{
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:25px;
    flex-wrap:wrap;
}

.social-links a{
    width:60px;
    height:60px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);

    transition:.35s ease;
}

.social-links a:hover{
    transform:translateY(-5px);
    border-color:#ffc400;
    background:linear-gradient(
        135deg,
        #3b82f6,
        #7c3aed
    );
}

.social-links svg,
.social-links i{
    width:24px !important;
    height:24px !important;
    max-width:24px !important;
    max-height:24px !important;
    color:#fff;
}

/* PREVENT MASSIVE ICON BUG */

.social-links *{
    flex-shrink:0;
}

.social-links svg path{
    transform:none !important;
}

/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form{
    width:100%;
    background:rgba(10,14,35,.95);
    border:1px solid rgba(255,255,255,.08);
    border-radius:32px;
    padding:40px;
}

.contact-form .form-group{
    margin-bottom:24px;
}

.contact-form label{
    display:block;
    color:#fff;
    margin-bottom:10px;
    font-weight:500;
    font-size:15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
    width:100% !important;
    background:rgba(255,255,255,.04) !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:16px !important;

    padding:18px 20px !important;

    color:#fff !important;
    font-size:16px !important;

    outline:none !important;
    box-shadow:none !important;

    transition:.3s ease;
}

.contact-form textarea{
    min-height:170px;
    resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
    border-color:#ffc400 !important;
    box-shadow:0 0 0 4px rgba(255,196,0,.08) !important;
}

.contact-form button{
    border:none;
    cursor:pointer;
}

/* =========================================================
   MOBILE RESPONSIVE FIXES
========================================================= */

@media(max-width:992px){

    .reviews-grid{
        grid-template-columns:1fr;
    }

    .contact-wrapper{
        grid-template-columns:1fr;
        gap:50px;
    }
}

@media(max-width:768px){

    #reviews,
    #faq,
    #contact{
        padding:90px 0;
    }

    .review-card{
        padding:25px;
        border-radius:22px;
    }

    .faq-question{
        padding:22px;
        font-size:18px;
    }

    .faq-answer{
        padding:0 22px 24px;
        font-size:15px;
    }

    .contact-form{
        padding:28px 22px;
        border-radius:24px;
    }

    .social-links a{
        width:52px;
        height:52px;
    }
}

@media(max-width:576px){

    .faq-question{
        font-size:16px;
        line-height:1.5;
    }

    .review-card h3{
        font-size:20px;
    }

    .review-card p{
        font-size:15px;
    }

    .contact-info h3{
        font-size:28px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select{
        padding:16px !important;
    }
}