html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    /*line-height: 1.6;*/
    background: #f8f9fa;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    /*padding: 10px 0;*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
   /* width: 100%; */
    padding: 0 15px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #007bff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

/* Hover underline animation */
.nav-links li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #007bff;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #007bff;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn, .btn-outline {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
    font-weight: 500;
}

.btn {
    background: #007bff;
    color: #fff;
    cursor: pointer;
}

.btn:hover {
    background: #0056b3;
}

.btn-outline {
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: #fff;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.quiz-cta h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.quiz-cta p {
    font-size: 16px;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #007bff;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #f1f1f1;
    transform: scale(1.05);
}

.cta-subtext {
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.9;
}

/* ===== SECTION ===== */
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

/* ===== BLOG / ARTICLES ===== */
.blogs {
    padding: 60px 20px;
    background: #f8f9fb;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Card */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: left;
    overflow: hidden;
}

/* Hover */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Article title */
.card p {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    word-wrap: break-word;
}

/* Tag */
.tag {
    display: inline-block;
    background: #e8f0fe;
    color: #007bff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* ===== TABLE ===== */
#marksheet {
    border-collapse: collapse;
    width: 100%;
}

#marksheet td, #marksheet th {
    border: 1px solid #ddd;
    padding: 12px;
}

#marksheet tr:nth-child(even) {
    background-color: #f2f2f2;
}

#marksheet tr:hover {
    background-color: #ddd;
}

#marksheet th {
    /*background-color: #04AA6D;*/
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* DEFAULT (DESKTOP) */
.nav-links {
    display: block;
}

.nav-links ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li a {
    font-size: 14px;
    color: #333;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #007bff;
    padding-left: 5px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

     .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Show hamburger */
    .hamburger {
        display: block;
        font-size: 26px;
        cursor: pointer;
    }

    /* Hide menu */
    .nav-links {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Show when active */
    .nav-links.active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-links li a {
        display: block;
        padding: 15px 20px;
        border-top: 1px solid #eee;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 24px;
    }
}