/* ==========================================================
   FORGEX STYLE.CSS
   PART 1
   RESET • GLOBAL • NAVBAR • HERO
========================================================== */

/* ==========================
        GOOGLE FONT
========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================
          RESET
========================== */

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

html{
    scroll-behavior:smooth;
}

/* ==========================
       ROOT VARIABLES
========================== */

:root{

    --bg:#0F172A;
    --surface:#1E293B;
    --surface-light:#334155;

    --primary:#2563EB;
    --primary-hover:#1D4ED8;

    --secondary:#38BDF8;

    --green:#22C55E;
    --yellow:#FACC15;
    --red:#EF4444;

    --text:#FFFFFF;
    --text-light:#CBD5E1;
    --text-muted:#94A3B8;

    --radius:18px;

    --shadow:
    0 15px 40px rgba(0,0,0,.30);

}

/* ==========================
          BODY
========================== */

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

}

/* ==========================
       SCROLLBAR
========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111827;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--secondary);

}

/* ==========================
      COMMON CONTAINER
========================== */

.container{

    width:90%;

    max-width:1400px;

    margin:auto;

}

/* ==========================
         LINKS
========================== */

a{

    text-decoration:none;

    color:inherit;

}

img{

    max-width:100%;

    display:block;

}

/* ==========================
      COMMON BUTTONS
========================== */

.primary-btn{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:15px 30px;

    border-radius:12px;

    transition:.35s;

    font-weight:600;

}

.primary-btn:hover{

    background:var(--primary-hover);

    transform:translateY(-3px);

}

.secondary-btn{

    display:inline-block;

    border:2px solid var(--primary);

    color:white;

    padding:15px 30px;

    border-radius:12px;

    transition:.35s;

}

.secondary-btn:hover{

    background:var(--primary);

}

button{

    cursor:pointer;

    border:none;

    outline:none;

    font-family:inherit;

}

/* ==========================
         HEADER
========================== */

header{

    position:sticky;

    top:0;

    width:100%;

    z-index:999;

    background:rgba(15,23,42,.95);

    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

/* ==========================
         NAVBAR
========================== */

.navbar{

    width:90%;

    max-width:1400px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 0;

}

.brand{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-container{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-container img{

    width:70px;

}

.brand-text h1{

    font-size:32px;

    font-weight:700;

}

.brand-text span{

    color:var(--secondary);

}

.tagline{

    color:var(--text-muted);

    font-size:14px;

}

.nav-links{

    list-style:none;

    display:flex;

    gap:35px;

    align-items:center;

}

.nav-links a{

    color:white;

    transition:.3s;

    position:relative;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.3s;

}

.nav-links a:hover{

    color:var(--secondary);

}

.nav-links a:hover::after{

    width:100%;

}

.auth-buttons{

    display:flex;

    gap:15px;

}

.login-btn{

    color:white;

    padding:12px 22px;

    transition:.3s;

}

.login-btn:hover{

    color:var(--secondary);

}

.signup-btn{

    background:var(--primary);

    color:white;

    padding:12px 24px;

    border-radius:10px;

    transition:.3s;

}

.signup-btn:hover{

    background:var(--primary-hover);

}

/* ==========================
         HERO
========================== */

.hero{

    width:90%;

    max-width:1400px;

    margin:auto;

    min-height:90vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

}

.hero-content{

    flex:1;

}

.hero-badge{

    display:inline-block;

    background:rgba(37,99,235,.15);

    color:var(--secondary);

    padding:10px 20px;

    border-radius:30px;

    margin-bottom:25px;

    font-size:14px;

}

.hero-content h1{

    font-size:60px;

    line-height:1.2;

    margin-bottom:25px;

}

.hero-content p{

    color:var(--text-muted);

    line-height:1.9;

    font-size:18px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.hero-stats{

    display:flex;

    gap:45px;

    margin-top:45px;

}

.hero-stats h3{

    color:var(--secondary);

    font-size:32px;

}

.hero-stats p{

    color:var(--text-muted);

    margin-top:6px;

}

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-image img{

    max-width:500px;

    animation:float 5s ease-in-out infinite;

}

@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0px);

    }

}
/* ==========================================================
   FORGEX STYLE.CSS
   PART 2
   FEATURES • COURSES • CHALLENGES • DEVELOPER • CONTACT • FOOTER
========================================================== */

/* ==========================
      COMMON SECTIONS
========================== */

section{

    padding:100px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:42px;

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:var(--text-muted);

    line-height:1.8;

    font-size:17px;

}

/* ==========================
        FEATURES
========================== */

.features{

    width:90%;

    max-width:1400px;

    margin:auto;

}

.feature-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.feature-card{

    background:var(--surface);

    padding:35px;

    border-radius:var(--radius);

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

}

.feature-card:hover{

    transform:translateY(-10px);

    border-color:var(--secondary);

    box-shadow:

    0 0 20px rgba(56,189,248,.25);

}

.feature-icon{

    font-size:48px;

    margin-bottom:20px;

}

.feature-card h3{

    margin-bottom:15px;

    font-size:24px;

}

.feature-card p{

    color:var(--text-light);

    line-height:1.8;

}

/* ==========================
        COURSES
========================== */

.courses{

    width:90%;

    max-width:1400px;

    margin:auto;

}

.course-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));

    gap:35px;

}

.course-card{

    background:var(--surface);

    padding:35px;

    border-radius:var(--radius);

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

}

.course-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:

    0 0 20px rgba(59,130,246,.25),

    0 0 40px rgba(59,130,246,.20),

    0 0 80px rgba(59,130,246,.12);

}

.course-icon{

    font-size:52px;

    margin-bottom:20px;

}

.course-card h3{

    margin-bottom:15px;

    font-size:28px;

}

.course-card p{

    color:var(--text-light);

    margin-bottom:20px;

    line-height:1.8;

}

.course-card ul{

    list-style:none;

    margin-bottom:25px;

}

.course-card li{

    margin-bottom:10px;

    color:var(--text-muted);

}

.course-btn{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:12px 24px;

    border-radius:10px;

    transition:.3s;

}

.course-btn:hover{

    background:var(--primary-hover);

}

/* ==========================
      CHALLENGES
========================== */

.challenges{

    width:90%;

    max-width:1400px;

    margin:auto;

}

.challenge-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.challenge-card{

    background:var(--surface);

    padding:35px;

    border-radius:var(--radius);

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

}

.challenge-card:hover{

    transform:translateY(-10px);

    border-color:var(--green);

    box-shadow:

    0 0 20px rgba(59,130,246,.25),

    0 0 40px rgba(59,130,246,.20),

    0 0 80px rgba(59,130,246,.12);;

}

.challenge-badge{

    display:inline-block;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    margin-bottom:20px;

    background:#F97316;

    color:white;

}

.weekly{

    background:#22C55E;

}

.coming{

    background:#7C3AED;

}

.challenge-card h3{

    margin-bottom:18px;

}

.challenge-card p{

    color:var(--text-light);

    line-height:1.8;

}

.challenge-info{

    display:flex;

    justify-content:space-between;

    margin:25px 0;

    color:var(--text-muted);

}

.challenge-btn{

    display:inline-block;

    padding:12px 22px;

    border-radius:10px;

    background:var(--primary);

    color:white;

}

/* ==========================
    MEET DEVELOPER
========================== */

.developer{

    width:90%;

    max-width:1400px;

    margin:auto;

}

.developer-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.developer-image img{

    width:100%;

    max-width:380px;

    margin:auto;

    border-top-left-radius:200px;

    border-top-right-radius:200px;

    border-bottom-left-radius:200px;

    border-bottom-right-radius:200px;

    box-shadow:

    0 0 35px rgba(37,99,235,.35);

}

.developer-badge{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:20px;

}

.developer-content h2{

    font-size:42px;

    margin-bottom:20px;

}

.developer-content p{

    color:var(--text-light);

    line-height:1.9;

    margin-bottom:18px;

}

.developer-skills{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin:30px 0;

}

.developer-skills span{

    background:var(--surface);

    color:var(--secondary);

    padding:10px 18px;

    border-radius:30px;

}

.developer-buttons{

    display:flex;

    gap:20px;

}

/* ==========================
         CONTACT
========================== */

.contact{

    width:90%;

    max-width:1400px;

    margin:auto;

}

.contact-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

}

.contact-info h3{

    font-size:34px;

    margin-bottom:20px;

}

.contact-info p{

    color:var(--text-light);

    line-height:1.8;

}

.info-box{

    margin-top:25px;

}

.info-box h4{

    color:var(--secondary);

    margin-bottom:8px;

}

.social-links{

    display:flex;

    gap:18px;

    margin-top:35px;

    flex-wrap:wrap;

}

.social-links a{

    padding:14px 28px;

    border-radius:14px;

    background:#2563eb;

    color:white;

    font-weight:600;

    text-decoration:none;

    transition:.35s;

}

.social-links a:hover{

    transform:translateY(-4px);

    background:#3b82f6;

}

.contact-form form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact-form input,

.contact-form textarea{

    background:var(--surface);

    color:white;

    border:none;

    border-radius:12px;

    padding:16px;

    outline:none;

    resize:none;

}

.contact-form input:focus,

.contact-form textarea:focus{

    outline:2px solid var(--secondary);

}

.contact-form button{

    width:220px;

    background:var(--primary);

    color:white;

    padding:15px;

    border-radius:12px;

    transition:.3s;

}

.contact-form button:hover{

    background:var(--primary-hover);

}

/* ==========================
          FOOTER
========================== */

footer{

    background:#111827;

    padding:70px 0 30px;

    margin-top:80px;

}

.footer-container{

    width:90%;

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

}

.footer-brand h2{

    font-size:34px;

    margin-bottom:15px;

}

.footer-brand span{

    color:var(--secondary);

}

.footer-brand p{

    color:var(--text-muted);

    line-height:1.8;

}

.footer-links h3{

    margin-bottom:20px;

}

.footer-links ul{

    list-style:none;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:var(--text-muted);

    transition:.3s;

}

.footer-links a:hover{

    color:var(--secondary);

}

footer hr{

    margin:50px 0 25px;

    border:none;

    height:1px;

    background:#334155;

}

.footer-bottom{

    text-align:center;

    color:var(--text-muted);

}
/* ==========================================================
   FORGEX STYLE.CSS
   PART 3A
   LOGIN • SIGNUP • DASHBOARD
========================================================== */

/* ==========================
      AUTH PAGES
========================== */

.login-page,
.signup-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    background:var(--bg);

}

.login-container,
.signup-container{

    width:100%;

    max-width:430px;

    background:var(--surface);

    border-radius:20px;

    padding:40px;

    text-align:center;

    box-shadow:var(--shadow);

}

.login-logo,
.signup-logo{

    width:110px;

    margin:0 auto 20px;

}

.login-container h1,
.signup-container h1{

    font-size:34px;

    margin-bottom:10px;

}

.login-container p,
.signup-container p{

    color:var(--text-muted);

    margin-bottom:30px;

}

.login-container form,
.signup-container form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.login-container input,
.signup-container input{

    background:var(--surface-light);

    color:white;

    border:none;

    outline:none;

    padding:15px;

    border-radius:12px;

    font-size:15px;

}

.login-container input:focus,
.signup-container input:focus{

    outline:2px solid var(--secondary);

}

.login-container button,
.signup-container button{

    background:var(--primary);

    color:white;

    padding:15px;

    border-radius:12px;

    font-size:16px;

    transition:.3s;

}

.login-container button:hover,
.signup-container button:hover{

    background:var(--primary-hover);

}

.signup-text,
.login-text{

    margin-top:25px;

}

.signup-text a,
.login-text a{

    color:var(--secondary);

    font-weight:600;

}

.back-home{

    display:inline-block;

    margin-top:20px;

    color:var(--text-muted);

}

/* ==========================
      DASHBOARD
========================== */

.dashboard-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 5%;

    background:#111827;

    position:sticky;

    top:0;

    z-index:999;

}

.dashboard-logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.dashboard-logo img{

    width:65px;

}

.dashboard-logo span{

    color:var(--secondary);

}

.logout-btn{

    background:var(--red);

    color:white;

    padding:12px 24px;

    border-radius:10px;

    transition:.3s;

}

.logout-btn:hover{

    background:#dc2626;

}

.dashboard{

    width:90%;

    max-width:1400px;

    margin:auto;

    padding:60px 0;

}

/* ==========================
      WELCOME CARD
========================== */

.welcome-card{

    background:var(--surface);

    border-radius:20px;

    padding:35px;

    margin-bottom:40px;

    text-align:center;

}

.welcome-card h1{

    font-size:42px;

    margin-bottom:12px;

}

.welcome-card span{

    color:var(--secondary);

}

.welcome-card p{

    color:var(--text-muted);

}

/* ==========================
      STATS GRID
========================== */

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:25px;

    margin-bottom:50px;

}

.stat-card{

    background:var(--surface);

    border-radius:18px;

    padding:30px;

    text-align:center;

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

}

.stat-card:hover{

    transform:translateY(-8px);

    border-color:var(--secondary);

    box-shadow:

    0 0 20px rgba(56,189,248,.30);

}

.stat-card h3{

    color:var(--text-muted);

    margin-bottom:15px;

}

.stat-card h2{

    font-size:32px;

    color:var(--secondary);

}

/* ==========================
     PROGRESS BAR
========================== */

.progress-section{

    background:var(--surface);

    padding:30px;

    border-radius:20px;

    margin-bottom:50px;

}

.progress-section h2{

    margin-bottom:20px;

}

.progress-bar{

    width:100%;

    height:18px;

    background:#334155;

    border-radius:30px;

    overflow:hidden;

}

.progress-fill{

    width:0;

    height:100%;

    background:linear-gradient(
        90deg,
        #22C55E,
        #38BDF8
    );

    transition:1s;

}

#progressText{

    margin-top:15px;

    font-weight:600;

    color:var(--secondary);

}

/* ==========================
     COURSE CARDS
========================== */

.dashboard-cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

    margin-top:35px;

}

.dashboard .course-card{

    background:var(--surface);

    border-radius:18px;

    padding:30px;

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

    position:relative;

    overflow:hidden;

}

.dashboard .course-card:hover{

    transform:translateY(-10px);

    border-color:var(--secondary);

    box-shadow:

    0 0 20px rgba(56,189,248,.25),

    0 0 40px rgba(56,189,248,.15);

}

.dashboard .course-card h3{

    margin-bottom:15px;

}

.dashboard .course-card p{

    color:var(--text-light);

    margin-bottom:25px;

}

.dashboard .course-card a{

    color:var(--secondary);

    font-weight:600;

}

.dashboard .course-card.disabled{

    opacity:.6;

    pointer-events:none;

}
/* ==========================================================
   FORGEX STYLE.CSS
   PART 3B
   HISTORY • LEADERBOARD • DASHBOARD EFFECTS
========================================================== */

/* ==========================
        HISTORY
========================== */

.history-section{

    margin-top:60px;

}

.history-section h2{

    margin-bottom:25px;

    font-size:32px;

}

#historyList{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:20px;

}

.history-card{

    background:var(--surface);

    padding:25px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.06);

    transition:.35s;

}

.history-card:hover{

    transform:translateY(-6px);

    border-color:var(--secondary);

    box-shadow:
    0 0 20px rgba(56,189,248,.20);

}

.history-card h3{

    color:var(--secondary);

    margin-bottom:10px;

}

.history-card p{

    color:var(--text-muted);

}

/* ==========================
        LEADERBOARD
========================== */

.leaderboard{

    margin-top:70px;

}

.leaderboard h2{

    margin-bottom:30px;

    font-size:34px;

}

#leaderboardList{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.leaderboard-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:var(--surface);

    padding:22px;

    border-radius:16px;

    transition:.35s;

    border:1px solid rgba(255,255,255,.05);

}

.leaderboard-item:hover{

    border-color:#FACC15;

    box-shadow:
    0 0 20px rgba(250,204,21,.30);

}

.rank{

    font-size:22px;

    font-weight:bold;

    color:#FACC15;

}

.student-info{

    flex:1;

    margin-left:25px;

}

.student-info h3{

    margin-bottom:5px;

}

.student-info p{

    color:var(--text-muted);

}

.score{

    color:var(--secondary);

    font-size:22px;

    font-weight:700;

}

/* ==========================
      COURSE GLOW EFFECT
========================== */

.dashboard .course-card::before{

    content:"";

    position:absolute;

    inset:-100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.10),
        transparent
    );

    transition:.7s;

}

.dashboard .course-card:hover::before{

    inset:100%;

}

/* ==========================
      COURSE TITLE
========================== */

.dashboard .course-card h3{

    font-size:24px;

    margin-bottom:15px;

}

.dashboard .course-card p{

    line-height:1.8;

}

/* ==========================
        SECTION TITLE
========================== */

.courses-dashboard h2{

    font-size:36px;

    margin-bottom:20px;

}

/* ==========================
        DASHBOARD FADE
========================== */

.dashboard section{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================
      RESPONSIVE
========================== */

@media(max-width:992px){

.dashboard{

    padding:40px 0;

}

.dashboard-header{

    padding:18px 25px;

}

.dashboard-logo img{

    width:55px;

}

.dashboard-logo h2{

    font-size:24px;

}

.welcome-card h1{

    font-size:34px;

}

.stats-grid{

    grid-template-columns:1fr;

}

.dashboard-cards{

    grid-template-columns:1fr;

}

#historyList{

    grid-template-columns:1fr;

}

}

@media(max-width:768px){

.dashboard-header{

    flex-direction:column;

    gap:20px;

}

.logout-btn{

    width:100%;

    text-align:center;

}

.progress-section{

    padding:22px;

}

.welcome-card{

    padding:25px;

}

.welcome-card h1{

    font-size:28px;

}

.courses-dashboard h2,

.history-section h2,

.leaderboard h2{

    font-size:28px;

}

}

@media(max-width:500px){

.dashboard{

    width:94%;

}

.dashboard-logo{

    flex-direction:column;

}

.dashboard-logo h2{

    text-align:center;

}

.stat-card h2{

    font-size:28px;

}

.progress-bar{

    height:14px;

}

}
/* ==========================================================
   FORGEX STYLE.CSS
   PART 4
   QUIZ • RESULT • REVIEW • UNIVERSAL RESPONSIVE
========================================================== */

/* ==========================
           QUIZ
========================== */

.quiz-container{

    width:90%;
    max-width:900px;

    margin:60px auto;

    background:var(--surface);

    border-radius:20px;

    padding:40px;

    box-shadow:var(--shadow);

}

.quiz-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}

.quiz-header h2{

    font-size:32px;

}

#timer{

    background:#111827;

    color:var(--yellow);

    padding:12px 18px;

    border-radius:12px;

    font-weight:700;

}

.progress{

    margin-bottom:25px;

}

#questionNumber{

    color:var(--text-muted);

    font-size:17px;

}

.question-box{

    background:#111827;

    padding:25px;

    border-radius:16px;

    margin-bottom:30px;

}

#question{

    font-size:28px;

    line-height:1.6;

}

.options{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.option-btn{

    background:var(--surface-light);

    color:white;

    padding:18px;

    border-radius:14px;

    text-align:left;

    transition:.3s;

    border:2px solid transparent;

    font-size:16px;

}

.option-btn:hover{

    border-color:var(--secondary);

    transform:translateX(5px);

}

.option-btn.selected{

    background:var(--primary);

    border-color:var(--secondary);

    box-shadow:
    0 0 20px rgba(56,189,248,.30);

}

.button-group{

    display:flex;

    justify-content:space-between;

    gap:15px;

    margin-top:35px;

}

.button-group button{

    flex:1;

    padding:15px;

    border-radius:12px;

    color:white;

    background:var(--primary);

    transition:.3s;

}

.button-group button:hover{

    background:var(--primary-hover);

}

#submitBtn{

    background:var(--green);

}

#submitBtn:hover{

    background:#16A34A;

}

/* ==========================
        RESULT
========================== */

.result-container{

    width:90%;

    max-width:800px;

    margin:60px auto;

    background:var(--surface);

    padding:40px;

    border-radius:20px;

    box-shadow:var(--shadow);

    text-align:center;

}

.result-card{

    background:#111827;

    border-radius:18px;

    padding:35px;

    margin-top:30px;

}

.result-card h3{

    margin-top:20px;

    color:var(--secondary);

}

.result-card p{

    font-size:22px;

    margin-top:8px;

}

#status{

    margin-top:25px;

    font-size:32px;

    font-weight:700;

}

.result-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:35px;

}

/* ==========================
         REVIEW
========================== */

.review-container{

    width:90%;

    max-width:1000px;

    margin:60px auto;

}

.review-container h1{

    margin-bottom:40px;

}

.review-card{

    background:var(--surface);

    border-radius:18px;

    padding:30px;

    margin-bottom:25px;

    border-left:5px solid var(--secondary);

}

.review-card h3{

    color:var(--secondary);

    margin-bottom:15px;

}

.review-card p{

    margin:12px 0;

    color:var(--text-light);

    line-height:1.8;

}

.review-card strong{

    color:white;

}

.empty-review{

    text-align:center;

    background:var(--surface);

    padding:40px;

    border-radius:18px;

    color:var(--green);

    font-size:22px;

}

/* ==========================
      UNIVERSAL CARDS
========================== */

.card{

    background:var(--surface);

    border-radius:18px;

    padding:30px;

}

/* ==========================
      UNIVERSAL ANIMATION
========================== */

.fade{

    animation:fade .6s ease;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================
      MOBILE
========================== */

@media(max-width:768px){

.hero{

    flex-direction:column;

    text-align:center;

}

.hero-buttons{

    justify-content:center;

}

.hero-stats{

    justify-content:center;

    flex-wrap:wrap;

}

.developer-container{

    grid-template-columns:1fr;

}

.contact-container{

    grid-template-columns:1fr;

}

.footer-container{

    grid-template-columns:1fr;

}

.quiz-header{

    flex-direction:column;

    gap:15px;

}

.button-group{

    flex-direction:column;

}

.result-buttons{

    flex-direction:column;

}

.review-card{

    padding:20px;

}

}

@media(max-width:500px){

.hero-content h1{

    font-size:42px;

}

.section-title h2{

    font-size:32px;

}

#question{

    font-size:22px;

}

.quiz-container{

    padding:25px;

}

.result-container{

    padding:25px;

}

}
/* ==========================================================
   RESPONSIVE DESIGN
   APPEND THIS AT THE END OF style.css
========================================================== */

/* Hide hamburger on desktop */

.menu-toggle{

    display:none;

    font-size:32px;

    color:#ffffff;

    cursor:pointer;

    user-select:none;

}

/* Smooth navbar transition */

.nav-links{

    transition:all .35s ease;

}

.nav-links li{
    margin:18px 0;
}


/* ==========================================================
   LARGE TABLETS
========================================================== */

@media (max-width:1024px){

.hero{

    gap:40px;

    padding:70px 5%;

}

.hero-content h1{

    font-size:3rem;

}

.feature-container,
.course-container,
.challenge-container{

    grid-template-columns:repeat(2,1fr);

}

.developer-container,
.contact-container{

    grid-template-columns:1fr;

    gap:50px;

}

.footer-container{

    grid-template-columns:repeat(2,1fr);

}

}

/* ==========================================================
   TABLETS
========================================================== */

@media (max-width:1024px){

.navbar{

    position:relative;

    padding:18px 5%;

}

.menu-toggle{

    display:block;

}

.nav-links{

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    background:#111827;

    flex-direction:column;

    align-items:center;

    gap:25px;

    padding:25px 0;

    display:none;

    border-top:1px solid rgba(255,255,255,.08);

}

.nav-links.active{

    display:flex;

    animation:slideDown .35s ease;

}
@keyframes slideDown{

    from{

        opacity:0;

        transform:translateY(-15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.auth-buttons{

    margin-left:auto;

    margin-right:20px;

}

.hero{

    flex-direction:column;

    text-align:center;

}

.hero-content{

    order:1;

}

.hero-image{

    order:2;

}

.hero-image img{

    width:90%;

    max-width:420px;

}

.hero-buttons{

    justify-content:center;

    flex-wrap:wrap;

}

.hero-stats{

    justify-content:center;

    flex-wrap:wrap;

}

.feature-container,
.course-container,
.challenge-container{

    grid-template-columns:1fr;

}

.developer-container{

    grid-template-columns:1fr;

    text-align:center;

}

.developer-skills{

    justify-content:center;

}

.developer-buttons{

    justify-content:center;

    flex-wrap:wrap;

}

.contact-container{

    grid-template-columns:1fr;

}

.footer-container{

    grid-template-columns:1fr;

    text-align:center;

}

.social-links{

    justify-content:center;

}

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:480px){

.navbar{

    padding:15px 20px;

}

.logo-container img{

    width:45px;

}

.brand-text h1{

    font-size:1.5rem;

}

.badge,
.version{

    display:none;

}

.tagline{

    display:none;

}

.auth-buttons{

    gap:8px;

}

.login-btn,
.signup-btn{

    padding:8px 14px;

    font-size:.85rem;

}

.hero{

    padding:50px 20px;

}

.hero-content h1{

    font-size:2.2rem;

    line-height:1.25;

}

.hero-content p{

    font-size:.95rem;

}

.hero-buttons{

    flex-direction:column;

    align-items:center;

}

.primary-btn,
.secondary-btn{

    width:100%;

    max-width:260px;

}

.hero-stats{

    flex-direction:column;

    gap:20px;

}

.section-title h2{

    font-size:2rem;

}

.feature-card,
.course-card,
.challenge-card{

    padding:25px;

}

.developer-image img{

    width:220px;

    height:220px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

}

.footer-bottom{

    text-align:center;

    font-size:.9rem;

}

}

/* ==========================================================
   EXTRA SMALL DEVICES
========================================================== */

@media (max-width:360px){

.hero-content h1{

    font-size:1.9rem;

}

.brand-text h1{

    font-size:1.3rem;

}

.login-btn,
.signup-btn{

    padding:7px 10px;

    font-size:.8rem;

}

.menu-toggle{

    font-size:28px;

}

}
/* =====================================
   MOBILE NAV AUTH
===================================== */

.mobile-auth{

    display:none;

}

@media (max-width:768px){

    .auth-buttons{

        display:none;

    }

    .mobile-auth{

        display:block;

        width:100%;

        text-align:center;

    }

    .mobile-auth a{

        display:block;

        width:90%;

        margin:10px auto;

        padding:14px;

        border-radius:10px;

        text-decoration:none;

        font-weight:600;

        background:#1E293B;

        color:#fff;

        transition:.3s;

    }

    .mobile-auth a:hover{

        background:#38BDF8;

        color:#000;

    }

}

/* Mobile Responsive */

@media (max-width:768px){

    .mobile-login{

    background:linear-gradient(135deg,#2563EB,#38BDF8);

    color:white;

    border:none;

    border-radius:12px;

    padding:14px;

    width:100%;

    font-weight:600;

}

.mobile-signup{

    background:transparent;

    color:#38BDF8;

    border:2px solid #38BDF8;

    border-radius:12px;

    padding:14px;

    width:100%;

    font-weight:600;

}

.nav-links li{

    margin:18px 0;

}
}
/* ==========================================================
   AUTHENTICATION PAGES
   Login | Signup | Forgot Password
========================================================== */

.auth-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;

    background:linear-gradient(
        135deg,
        #0F172A,
        #111827
    );

}

.auth-card{

    width:100%;

    max-width:460px;

    background:#1E293B;

    border-radius:20px;

    padding:40px;

    box-shadow:0 0 30px rgba(56,189,248,.15);

    border:1px solid rgba(56,189,248,.15);

}

.auth-logo{

    display:block;

    width:90px;

    margin:0 auto 20px;

}

.auth-card h1{

    color:#ffffff;

    text-align:center;

    margin-bottom:10px;

}

.auth-card p{

    text-align:center;

    color:#CBD5E1;

    margin-bottom:25px;

}

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    color:#E2E8F0;

    font-weight:600;

}

.input-group input{

    width:100%;

    padding:14px;

    border-radius:12px;

    border:2px solid #334155;

    background:#0F172A;

    color:#ffffff;

    font-size:16px;

    transition:.3s;

}

.input-group input:focus{

    border-color:#38BDF8;

    outline:none;

    box-shadow:0 0 12px rgba(56,189,248,.35);

}

.password-box{

    position:relative;

}

.password-box input{

    padding-right:55px;

}

.toggle-password{

    position:absolute;

    top:50%;

    right:12px;

    transform:translateY(-50%);

    border:none;

    background:none;

    cursor:pointer;

    font-size:20px;

}

.login-options{

    display:flex;

    justify-content:flex-end;

    margin-bottom:20px;

}

.forgot-link{

    color:#38BDF8;

    text-decoration:none;

    font-size:.95rem;

}

.forgot-link:hover{

    text-decoration:underline;

}

.auth-btn{

    width:100%;

    margin-top:10px;

}

.auth-footer{

    margin-top:25px;

    text-align:center;

}

.auth-footer p{

    margin-bottom:15px;

}

.auth-footer a{

    color:#38BDF8;

    text-decoration:none;

    font-weight:600;

}

.back-home{

    display:inline-block;

    margin-top:10px;

}

/* ==========================================================
   RESPONSIVE AUTH
========================================================== */

@media(max-width:768px){

.auth-card{

    padding:30px;

}

.auth-logo{

    width:75px;

}

.auth-card h1{

    font-size:2rem;

}

}

@media(max-width:480px){

.auth-card{

    padding:25px 20px;

}

.auth-card h1{

    font-size:1.7rem;

}

.input-group input{

    padding:12px;

}

.toggle-password{

    font-size:18px;

}

}
/* ======================================
   RESULT STATUS
====================================== */

.motivation-text{

    margin-top:20px;

    color:#cbd5e1;

    font-size:1rem;

    line-height:1.7;

    text-align:center;

    max-width:450px;

    margin-left:auto;

    margin-right:auto;

}

.result-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:35px;

}
.result-buttons{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}