nav {
    background-color: #102f49;
    padding: 0 20px;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    text-decoration: underline;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    color: #222222;
}
html {
    scroll-behavior: smooth;
}
#download-entry {
    scroll-margin-top: 100px;
}

#syllabus-download {
    scroll-margin-top: 100px;
}

.hero {
    min-height: 520px;

    background-image:
        linear-gradient(rgba(8, 35, 55, 0.72), rgba(8, 35, 55, 0.72)),
        url("images/hero.png");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    color: white;
}

.hero-kicker {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 800px;
    font-size: 64px;
    line-height: 1.05;
}

.hero-text {
    max-width: 650px;
    margin: 24px 0;
    font-size: 22px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.primary-button {
    background-color: white;
    color: #173f5f;
}

.secondary-button {
    border: 2px solid white;
    color: white;
}

.primary-button:hover {
    background-color: #eeeeee;
}

.secondary-button:hover {
    background-color: white;
    color: #173f5f;
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.welcome {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.welcome h2 {
    font-size: 32px;
}

.welcome p {
    font-size: 18px;
    line-height: 1.6;
}

button {
    background-color: #173f5f;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 17px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #20639b;
}

#message {
    font-weight: bold;
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666666;
}
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-intro {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.contact-intro h1 {
    margin-bottom: 15px;
    font-size: 42px;
    color: #102f49;
}

.contact-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: #555555;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.contact-card {
    padding: 28px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.contact-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #102f49;
}

.contact-card h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #555555;
}

.contact-card p {
    margin: 10px 0;
    line-height: 1.5;
}

.contact-card a {
    color: #102f49;
}

.contact-note {
    font-size: 14px;
    font-style: italic;
    color: #777777;
}

.general-enquiry {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 70px;
    padding: 45px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.form-introduction h2 {
    margin-top: 0;
    font-size: 32px;
    color: #102f49;
}

.form-introduction p {
    font-size: 17px;
    line-height: 1.6;
    color: #555555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
    color: #102f49;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #b9c1c7;
    border-radius: 5px;
    font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #102f49;
    border-color: #102f49;
}

.contact-form button {
    padding: 14px 24px;
    border: none;
    border-radius: 5px;
    background-color: #102f49;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #1c4d72;
}

@media (max-width: 750px) {
    .contact-details,
    .general-enquiry {
        grid-template-columns: 1fr;
    }

    .general-enquiry {
        padding: 30px 22px;
    }
}
/* CONTACT PAGE */

.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 24px 70px;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-intro h1 {
    margin-bottom: 12px;
    font-size: 42px;
    color: #102f49;
}

.contact-intro p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}


/* Contact cards */

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-card {
    padding: 26px;
    background-color: #ffffff;
    border: 1px solid #dde3e8;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(16, 47, 73, 0.08);
}

.contact-card h2 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 1.3;
    color: #102f49;
}

.contact-card h3 {
    margin: 0 0 18px;
    font-size: 18px;
}

.contact-card p {
    margin: 9px 0;
    line-height: 1.5;
}

.contact-card a {
    color: #174f78;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-note {
    margin-top: 14px;
    font-size: 14px;
    font-style: italic;
    color: #6b7280;
}


/* General enquiry section */

.general-enquiry {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 45px;
    align-items: start;

    margin-top: 55px;
    padding: 38px;

    background-color: #ffffff;
    border: 1px solid #dde3e8;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(16, 47, 73, 0.08);
}

.form-introduction h2 {
    margin: 0 0 14px;
    font-size: 30px;
    color: #102f49;
}

.form-introduction p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}


/* Form layout */

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #102f49;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 12px 13px;
    border: 1px solid #aeb8c0;
    border-radius: 6px;

    font: inherit;
    background-color: #ffffff;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #174f78;
    box-shadow: 0 0 0 3px rgba(23, 79, 120, 0.15);
}

.contact-form button {
    display: inline-block;
    padding: 13px 24px;

    border: none;
    border-radius: 6px;

    background-color: #174f78;
    color: #ffffff;

    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #102f49;
}


/* Mobile layout */

@media (max-width: 760px) {
    .contact-details,
    .general-enquiry {
        grid-template-columns: 1fr;
    }

    .contact-page {
        padding: 35px 16px 55px;
    }

    .general-enquiry {
        gap: 28px;
        padding: 25px 20px;
    }

    .contact-intro h1 {
        font-size: 34px;
    }
}
/* ==================================================
   ABOUT PAGE
   ================================================== */

.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}


/* Page introduction */

.about-intro {
    max-width: 800px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-label {
    margin: 0 0 10px;
    color: #b07a2a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-intro h1 {
    margin: 0 0 18px;
    color: #102f49;
    font-size: 46px;
    line-height: 1.15;
}

.about-lead {
    margin: 0;
    color: #555;
    font-size: 20px;
    line-height: 1.65;
}


/* General section layout */

.about-section {
    margin-bottom: 75px;
}

.about-section h2 {
    margin: 0 0 18px;
    color: #102f49;
    font-size: 34px;
    line-height: 1.25;
}

.about-section p {
    color: #50575d;
    font-size: 17px;
    line-height: 1.7;
}


/* Purpose section */

.about-purpose {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 55px;
    align-items: center;
}

.about-text p {
    margin: 0 0 17px;
}

.about-highlight {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
    background-color: #102f49;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 82px;
    font-weight: 700;
    line-height: 1;
}

.highlight-text {
    display: block;
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.45;
}


/* Cards */

.section-heading {
    max-width: 700px;
    margin-bottom: 30px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    padding: 30px;
    background-color: white;
    border: 1px solid #dce2e7;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(16, 47, 73, 0.08);
}

.about-icon {
    margin-bottom: 18px;
    color: #b07a2a;
    font-size: 40px;
}

.about-card h3 {
    margin: 0 0 13px;
    color: #102f49;
    font-size: 21px;
}

.about-card p {
    margin: 0;
    font-size: 16px;
}


/* Venue */

.venue-section {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
}

.venue-section address {
    color: #50575d;
    font-size: 17px;
    font-style: normal;
    line-height: 1.7;
}

.venue-panel {
    padding: 34px;
    background-color: #f0eadf;
    border-left: 5px solid #b07a2a;
    border-radius: 8px;
}

.venue-panel p {
    margin: 0 0 10px;
    color: #7c5a25;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.venue-panel strong {
    color: #102f49;
    font-size: 25px;
    line-height: 1.45;
}


/* Committee */

.committee-section {
    max-width: 750px;
}

.text-link {
    color: #174f78;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}


/* Call to action */

.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 40px;
    background-color: #102f49;
    border-radius: 12px;
    color: white;
}

.about-cta h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.about-cta p {
    margin: 0;
    color: #dce6ed;
    line-height: 1.6;
}

.about-cta .section-label {
    color: #e2ba78;
}

.about-cta-buttons {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.button-primary {
    background-color: white;
    color: #102f49;
}

.button-primary:hover {
    background-color: #edf1f4;
}

.button-secondary {
    border: 1px solid white;
    color: white;
}

.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Mobile */

@media (max-width: 800px) {
    .about-purpose,
    .venue-section {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-cta-buttons {
        flex-wrap: wrap;
    }

    .about-intro h1 {
        font-size: 37px;
    }
}

@media (max-width: 500px) {
    .about-page {
        padding: 40px 16px 60px;
    }

    .about-section {
        margin-bottom: 55px;
    }

    .about-highlight {
        min-height: auto;
    }

    .about-cta {
        padding: 28px 22px;
    }

    .about-cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        text-align: center;
    }
}/* ==================================================
   SYLLABUS PAGE
   ================================================== */

.syllabus-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 90px;
}


/* Introduction and download */

.syllabus-intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.syllabus-intro h1 {
    margin: 0 0 18px;
    color: #102f49;
    font-size: 48px;
    line-height: 1.15;
}

.syllabus-lead {
    margin: 0 auto 32px;
    color: #555d63;
    font-size: 19px;
    line-height: 1.7;
}

.syllabus-download {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    padding: 17px 25px;
    background-color: #102f49;
    border-radius: 8px;
    color: white;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(16, 47, 73, 0.18);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.syllabus-download:hover {
    background-color: #174563;
    transform: translateY(-2px);
}

.download-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    font-size: 25px;
}

.syllabus-download strong,
.syllabus-download small {
    display: block;
}

.syllabus-download strong {
    font-size: 17px;
}

.syllabus-download small {
    margin-top: 3px;
    color: #cbd9e2;
    font-size: 13px;
}


/* Or divider */

.syllabus-divider {
    display: flex;
    max-width: 700px;
    align-items: center;
    gap: 20px;
    margin: 55px auto;
    color: #858b90;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.syllabus-divider::before,
.syllabus-divider::after {
    height: 1px;
    flex: 1;
    background-color: #d9dee2;
    content: "";
}


/* Explore section */

.syllabus-explore .section-heading {
    max-width: 700px;
    margin: 0 auto 34px;
    text-align: center;
}

.syllabus-explore h2 {
    margin: 0 0 14px;
    color: #102f49;
    font-size: 34px;
}

.syllabus-explore .section-heading > p:last-child {
    margin: 0;
    color: #596168;
    font-size: 17px;
    line-height: 1.65;
}


/* Discipline cards */

.discipline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.discipline-card {
    display: block;
    padding: 29px;
    background-color: white;
    border: 1px solid #dce2e7;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(16, 47, 73, 0.07);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.discipline-card:hover {
    border-color: #b07a2a;
    box-shadow: 0 10px 24px rgba(16, 47, 73, 0.12);
    transform: translateY(-4px);
}

.discipline-icon {
    display: block;
    margin-bottom: 17px;
    color: #b07a2a;
    font-size: 38px;
    line-height: 1;
}

.discipline-card h3 {
    margin: 0 0 10px;
    color: #102f49;
    font-size: 22px;
}

.discipline-card p {
    min-height: 52px;
    margin: 0 0 19px;
    color: #5b6268;
    font-size: 15px;
    line-height: 1.6;
}

.card-link {
    color: #174f78;
    font-size: 14px;
    font-weight: 700;
}


/* Mobile */

@media (max-width: 850px) {
    .discipline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .syllabus-page {
        padding: 42px 16px 65px;
    }

    .syllabus-intro h1 {
        font-size: 38px;
    }

    .syllabus-download {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .discipline-grid {
        grid-template-columns: 1fr;
    }

    .discipline-card p {
        min-height: auto;
    }
}
/* ==========================
   ENTER PAGE
========================== */

.enter-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

.enter-hero,
.submit-entry {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section-label {
    color: #8c1d40;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.enter-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #222;
}

.enter-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 35px;
}

.submit-entry h2 {
    margin-bottom: 20px;
    color: #222;
}

.entry-email {
    margin: 25px 0;
    font-size: 1.2rem;
    line-height: 1.8;
}

.entry-email a {
    color: #8c1d40;
    text-decoration: none;
    font-weight: 600;
}

.entry-email a:hover {
    text-decoration: underline;
}

.entry-note {
    margin-top: 20px;
    color: #666;
    font-style: italic;
}
/* ==========================
   SCROLL INDICATOR
========================== */

#scroll-indicator {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}

#scroll-indicator.show {
    animation: indicatorFade 3.5s ease forwards;
}

.scroll-chevron {
    position: absolute;
    bottom: 30px;
    width: 64px;
    height: 64px;

    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;

    filter:
        drop-shadow(0 2px 2px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 8px rgba(0, 0, 0, 0.75));

    animation: chevronBounce 1s ease-in-out infinite;
}

.scroll-chevron-left {
    left: 60px;
}

.scroll-chevron-right {
    right: 60px;
}

@keyframes chevronBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes indicatorFade {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }    
}
#entry-download-button {
    display: inline-block;
    transform-origin: center;
}
#entry-download-button.pulse-entry-button {
    animation: entryButtonPulse 0.45s ease-in-out 1;
}

@keyframes entryButtonPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}
.plan-grid,
.discipline-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/*
.plan-grid {
    margin-bottom: 40px;
}
*/
.discipline-heading {
    padding-top: 70px;
}

@media (max-width: 900px) {
    .plan-grid,
    .discipline-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .plan-grid,
    .discipline-grid-four {
        grid-template-columns: 1fr;
    }
}
/* =========================
   MOBILE LAYOUT
   ========================= */

@media (max-width: 768px) {

    /* Navigation */
    .nav-container {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }

    .nav-logo img {
        max-width: 180px;
        height: auto;
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 14px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 2px;
    }

    /* Hero */
    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 55px 20px;
        text-align: center;
    }

    .hero-kicker {
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 1.05;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Hero buttons */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* General page spacing */
    main,
    section {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Card grids */
    .plan-grid,
    .discipline-grid,
    .card-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Prevent form fields overflowing */
    input,
    select,
    textarea,
    button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Footer */
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}