/* ================================
   GLOBAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #111827;
    line-height: 1.6;
}

button {
    font-family: inherit;
}


/* ================================
   NAVBAR
================================ */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 7%;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* LOGO */

.logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}


/* MENU */

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #bfdbfe;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;

    background:
        radial-gradient(circle at top right, #dbeafe, transparent 35%),
        linear-gradient(135deg, #eff6ff, #ffffff);
}

.hero-content {
    max-width: 900px;
}

.hero-tag {
    display: inline-block;
    padding: 7px 18px;
    margin-bottom: 20px;

    background: #dbeafe;
    color: #1d4ed8;

    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.hero h1 span {
    display: block;
    color: #2563eb;
}

.hero-description {
    max-width: 650px;
    margin: 25px auto;

    color: #6b7280;
    font-size: 18px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.primary-btn,
.secondary-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.primary-btn {
    background: #2563eb;
    color: white;
    border: 2px solid #2563eb;
}

.primary-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.secondary-btn {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.secondary-btn:hover {
    background: #eff6ff;
    transform: translateY(-3px);
}


/* ================================
   COMMON SECTION
================================ */

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.small-heading {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 36px;
    color: #111827;
    margin-bottom: 10px;
}

.section-heading p {
    color: #6b7280;
}


/* ================================
   COURSES
================================ */

.courses {
    padding: 90px 7%;
    background: white;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.course-card {
    padding: 32px 25px;
    text-align: center;

    background: white;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);

    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.15);
    border-color: #93c5fd;
}

.course-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.course-card p {
    color: #6b7280;
    font-size: 14px;
    min-height: 45px;
}

.course-card button {
    margin-top: 20px;
    padding: 9px 18px;

    border: none;
    border-radius: 8px;

    background: #eff6ff;
    color: #2563eb;

    font-weight: 600;
    cursor: pointer;
}

.course-card button:hover {
    background: #2563eb;
    color: white;
}


/* ================================
   FEATURES
================================ */

.features-section {
    padding: 90px 7%;
    background: #f5f7fb;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    padding: 35px 25px;
    text-align: center;

    background: white;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.card p {
    color: #6b7280;
    font-size: 14px;
}


/* ================================
   WHY SECTION
================================ */

.why-section {
    padding: 100px 7%;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
}

.why-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.why-content .small-heading {
    color: #bfdbfe;
}

.why-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.why-content > p {
    color: #dbeafe;
    max-width: 650px;
    margin: auto;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;

    max-width: 650px;
    margin: 35px auto 0;
}

.why-points div {
    padding: 15px;

    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;

    font-size: 14px;
}


/* ================================
   MOCK TEST
================================ */

.mock-test {
    padding: 90px 7%;
    text-align: center;
    background: #f5f7fb;
}

#timer {
    color: #dc2626;
    margin-bottom: 5px;
}

#progress {
    color: #6b7280;
    margin-bottom: 25px;
}

.question-box {
    max-width: 700px;
    margin: 20px auto;
    padding: 30px;

    background: white;

    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.question-box h3 {
    margin-bottom: 20px;
}

.question-box button {
    margin: 7px;
    padding: 11px 25px;

    border: none;
    border-radius: 8px;

    background: #2563eb;
    color: white;

    cursor: pointer;
    transition: 0.3s;
}

.question-box button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.result {
    margin-top: 15px;
    font-weight: 700;
}

.result-btn {
    margin-top: 20px;

    padding: 13px 28px;

    border: none;
    border-radius: 10px;

    background: #111827;
    color: white;

    font-weight: 600;
    cursor: pointer;
}

.result-btn:hover {
    background: #374151;
}


/* ================================
   FOOTER
================================ */

.footer {
    padding: 45px 20px;
    text-align: center;

    background: #111827;
    color: white;
}

.footer .logo {
    margin-bottom: 10px;
}

.footer p {
    color: #9ca3af;
    font-size: 14px;
}

.footer .copyright {
    margin-top: 15px;
    font-size: 12px;
}


/* ================================
   RESPONSIVE / MOBILE
================================ */

@media (max-width: 1000px) {

    .course-grid,
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar {
        padding: 18px 4%;
    }

    .nav-links {
        gap: 18px;
    }
}


@media (max-width: 700px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    .hero {
        min-height: 550px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .course-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .why-content h2 {
        font-size: 30px;
    }

    .why-points {
        grid-template-columns: 1fr;
    }

    .question-box {
        width: 100%;
    }
}/* ================================
   MOCK TEST PAGE
================================ */

.mock-area {
    padding: 90px 7%;
    background: #f5f7fb;
    text-align: center;
}

.test-timer {
    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 22px;

    background: #fee2e2;
    color: #dc2626;

    border-radius: 50px;

    font-size: 16px;
    font-weight: 700;
}

.test-question {
    width: 100%;
    max-width: 750px;

    margin: 0 auto;
    padding: 40px;

    background: white;

    border-radius: 20px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.test-question h3 {
    font-size: 22px;
    margin-bottom: 30px;
    color: #111827;
}


/* OPTIONS */

#options-container {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 14px;

    width: 100%;
}

.test-option {
    width: 80%;
    max-width: 550px;

    padding: 14px 20px;

    border: 2px solid #e5e7eb;
    border-radius: 10px;

    background: white;
    color: #111827;

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    transition: 0.25s;
}

.test-option:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
}


/* ANSWER RESULT */

#answer-result {
    min-height: 28px;

    margin-top: 22px;

    font-size: 17px;
    font-weight: 700;
}


/* NEXT BUTTON */

#next-btn {
    margin-top: 15px;

    padding: 12px 28px;

    border: none;
    border-radius: 10px;

    background: #2563eb;
    color: white;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

#next-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}


/* RESULT CARD */

#test-result {
    display: none;

    max-width: 600px;

    margin: 30px auto 0;

    padding: 40px;

    background: white;

    border-radius: 20px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

    text-align: center;
}

#test-result h2 {
    margin-bottom: 15px;
}

#score-text {
    font-size: 20px;
    font-weight: 700;

    margin-bottom: 25px;
}

#test-result button {
    padding: 12px 25px;

    border: none;
    border-radius: 10px;

    background: #2563eb;
    color: white;

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;
}

#test-result button:hover {
    background: #1d4ed8;
}


/* MOBILE */

@media (max-width: 700px) {

    .test-question {
        padding: 25px 18px;
    }

    .test-option {
        width: 100%;
    }

}