:root {
    --primary: #003b73;
    --primary-dark: #002b54;
    --secondary: #f4b41a;
    --light-bg: #f7f9fc;
    --dark: #102a43;
    --text: #52606d;
    --white: #ffffff;
    --border: #e5e7eb;
}


/*GLOBAL*/

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    color: var(--dark);
    background: var(--white);
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 100px 0;
}

/*NAVBAR */
.main-navbar {
    background: rgba(0, 43, 84, 0.96);
    backdrop-filter: blur(12px);
    padding: 14px 0;

    transition: all 0.3s ease;
}

.navbar-brand {
    color: white;
}

.brand-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--secondary);
    color: var(--primary);

    border-radius: 10px;

    font-size: 22px;
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    margin: 0 7px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

.btn-login {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    padding: 9px 20px;
    border-radius: 8px;
}

.btn-login:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

/*HERO*/
.hero-section {
    position: relative;
    min-height: 100vh;

    background:
        linear-gradient(
            120deg,
            #002b54,
            #00509d
        );

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(244,180,26,0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(255,255,255,0.08),
            transparent 30%
        );
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 15px;

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 50px;

    background: rgba(255,255,255,0.08);

    color: rgba(255,255,255,0.9);

    font-size: 13px;
}

.highlight-text {
    color: var(--secondary);
}

.hero-description {
    color: rgba(255,255,255,0.78);
    max-width: 650px;
    line-height: 1.8;
}

.btn-primary-custom {
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: var(--primary);
    font-weight: 700;
    padding: 13px 25px;
    border-radius: 9px;
}

.btn-primary-custom:hover {
    background: white;
    border-color: white;
    color: var(--primary);
}

.hero-stats h3 {
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 2px;
}

.hero-stats p {
    color: rgba(255,255,255,0.65);
    margin: 0;
    font-size: 13px;
}

/* QUIZ PREVIEW */
.quiz-preview-card {
    background: white;
    border-radius: 18px;
    padding: 28px;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.25);

    transform: rotate(1deg);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header small {
    color: #7b8794;
    font-size: 10px;
    letter-spacing: 1px;
}

.quiz-status {
    background: #e8f7ef;
    color: #198754;
    border-radius: 50px;
    padding: 5px 10px;
    font-size: 11px;
}

.quiz-status i {
    font-size: 7px;
}

.question-number {
    color: #7b8794;
    font-size: 12px;
}

.question-text {
    line-height: 1.6;
}

.answer-option {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    margin: 9px 0;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #52606d;
}

.answer-option span {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1f5f9;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;
}

.correct-preview {
    border-color: #198754;
    background: #eefaf3;
    color: #146c43;
}

.correct-preview span {
    background: #198754;
    color: white;
}

.preview-footer {
    margin-top: 20px;

    display: flex;
    justify-content: space-between;

    color: #7b8794;
    font-size: 12px;
}

/*SECTION HEADINGS*/
.section-label {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 12px;
}

.section-title {
    font-weight: 800;
    font-size: 40px;
    color: var(--dark);
}

.section-title span {
    color: var(--primary);
}

.section-description {
    max-width: 600px;
}

/* ABOUT*/
.about-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 18px;

    border: 1px solid var(--border);

    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.about-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f0f8;
    color: var(--primary);

    border-radius: 12px;

    font-size: 23px;

    margin-bottom: 15px;
}

/*FEATURES */
.features-section {
    background: var(--light-bg);
}

.feature-card {
    height: 100%;

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 30px;

    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf2fa;
    color: var(--primary);

    border-radius: 12px;

    font-size: 25px;

    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text);
    line-height: 1.7;
}

/*ROLE CARDS*/
.role-card {
    height: 100%;

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: white;

    box-shadow: 0 8px 25px rgba(0,0,0,0.04);

    transition: 0.3s ease;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.09);
}

.role-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf2fa;
    color: var(--primary);

    border-radius: 15px;

    font-size: 28px;

    margin-bottom: 20px;
}

.role-card p {
    color: var(--text);
    line-height: 1.7;
}

.role-card ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.role-card li {
    margin-bottom: 13px;
    color: var(--text);
}

.role-card li i {
    color: #198754;
    margin-right: 8px;
}

/*CTA*/
.cta-section {
    padding: 90px 0;

    background:
        linear-gradient(
            120deg,
            #002b54,
            #00509d
        );
}

.cta-icon {
    font-size: 45px;
    color: var(--secondary);
}

/* FOOTER */
.footer {
    background: #071c2d;
    padding: 65px 0 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-line {
    border-color: rgba(255,255,255,0.1);
    margin: 35px 0 20px;
}

/*RESPONSIVE*/
@media (max-width: 991px) {

    .section-padding {
        padding: 75px 0;
    }

    .section-title {
        font-size: 32px;
    }

}

@media (max-width: 576px) {

    .hero-section .display-3 {
        font-size: 42px;
    }

    .hero-stats {
        margin-top: 35px !important;
    }

    .section-title {
        font-size: 29px;
    }

}
