/* =========================
   BASIC RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    scroll-margin-top: 80px;
}


/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 6%;

    background: #0b2545;
    color: white;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #f59e0b;
}

.navbar {
    display: flex;
    gap: 22px;
    align-items: center;
}

.navbar a {
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.navbar a:hover {
    color: #f59e0b;
}


/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    background:
        linear-gradient(
            90deg,
            rgba(5, 24, 45, 0.96),
            rgba(11, 37, 69, 0.82),
            rgba(11, 37, 69, 0.45)
        ),
        linear-gradient(135deg, #0b2545, #1d4e89);

    color: white;
}

.hero-content {
    max-width: 760px;
}

.hero-small {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #f59e0b;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #f59e0b;
}

.hero-description {
    max-width: 650px;
    font-size: 19px;
    color: #e5e7eb;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-btn {
    background: #f59e0b;
    color: #111827;
}

.primary-btn:hover {
    background: #d97706;
    color: white;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid white;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: #0b2545;
}


/* =========================
   COMMON SECTION
========================= */

.section {
    padding: 85px 8%;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading p {
    color: #f59e0b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 38px;
    color: #0b2545;
}


/* =========================
   QUICK ACCESS
========================= */

.quick-access {
    padding: 75px 8%;
    background: #f8fafc;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.quick-card {
    padding: 30px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    transition: 0.3s;
}

.quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 55px;
    height: 42px;

    padding: 0 10px;
    margin-bottom: 20px;

    background: #0b2545;
    color: white;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 800;
}

.quick-card h3 {
    color: #0b2545;
    margin-bottom: 8px;
}

.quick-card p {
    color: #64748b;
    font-size: 14px;
}


/* =========================
   EXAMS
========================= */

.exam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.exam-card {
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: white;

    transition: 0.3s;
}

.exam-card:hover {
    transform: translateY(-5px);
    border-color: #f59e0b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.exam-card h3 {
    color: #0b2545;
    font-size: 23px;
    margin-bottom: 10px;
}

.exam-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
}

.exam-card a {
    color: #d97706;
    font-weight: 700;
}


/* =========================
   LIGHT SECTION
========================= */

.light-section {
    background: #f8fafc;
}


/* =========================
   SUBJECTS
========================= */

.subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.subject-grid a {
    padding: 18px;

    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 7px;

    color: #0b2545;
    font-weight: 600;

    transition: 0.3s;
}

.subject-grid a:hover {
    background: #0b2545;
    color: white;
    transform: translateY(-2px);
}


/* =========================
   MCQs
========================= */

.mcq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mcq-card {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;
    gap: 20px;

    padding: 22px;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    background: white;
}

.mcq-card > span {
    font-size: 22px;
    font-weight: 800;
    color: #f59e0b;
}

.mcq-card h3 {
    color: #0b2545;
    font-size: 16px;
    margin-bottom: 5px;
}

.mcq-card p {
    color: #64748b;
    font-size: 14px;
}

.mcq-card a {
    color: #d97706;
    font-weight: 700;
}

.center-button {
    text-align: center;
    margin-top: 35px;
}


/* =========================
   NOTES / RESOURCES
========================= */

.resource-grid,
.pyq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.resource-card,
.pyq-card {
    padding: 30px;

    border-radius: 10px;
    background: white;
    border: 1px solid #e5e7eb;
}

.resource-card h3,
.pyq-card h3 {
    color: #0b2545;
    margin-bottom: 10px;
}

.resource-card p,
.pyq-card p {
    color: #64748b;
    margin-bottom: 18px;
}

.resource-card a,
.pyq-card a {
    color: #d97706;
    font-weight: 700;
}


/* =========================
   COLLEGE RESOURCES
========================= */

.college-section {
    background: #0b2545;
    color: white;
}

.college-section .section-heading h2 {
    color: white;
}

.college-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.college-grid a {
    padding: 20px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 7px;

    font-weight: 600;

    transition: 0.3s;
}

.college-grid a:hover {
    background: #f59e0b;
    color: #111827;
}


/* =========================
   UPDATES
========================= */

.update-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;

    padding: 18px 20px;

    border: 1px solid #e5e7eb;
    border-radius: 7px;
}

.update span {
    color: #d97706;
    font-size: 12px;
    font-weight: 800;
}

.update p {
    color: #334155;
}

.update a {
    color: #0b2545;
    font-weight: 700;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 85px 8%;
    text-align: center;
    background: #f8fafc;
}

.contact-section .section-heading {
    margin-bottom: 20px;
}

.contact-section p {
    color: #64748b;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 45px 8%;

    background: #071a30;
    color: white;

    text-align: center;
}

.footer-logo {
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 10px;
}

footer > p {
    color: #cbd5e1;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 22px 0;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 14px;
}

.footer-links a:hover {
    color: #f59e0b;
}

.copyright {
    margin-top: 20px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 12px;
    }

    .navbar a {
        font-size: 12px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .exam-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subject-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .college-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .header {
        flex-direction: column;
        gap: 15px;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar a {
        font-size: 12px;
    }

    .hero {
        min-height: 540px;
        padding: 60px 7%;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 16px;
    }

    .quick-grid,
    .exam-grid,
    .resource-grid,
    .pyq-grid {
        grid-template-columns: 1fr;
    }

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .college-grid {
        grid-template-columns: 1fr;
    }

    .mcq-card {
        grid-template-columns: 45px 1fr;
    }

    .mcq-card a {
        grid-column: 2;
    }

    .update {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

}/* Compact Section Spacing */

.section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.quick-access {
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-heading {
    margin-bottom: 25px;
}