/*
Theme Name: Gurbani Kanth Muqabla
*/

@font-face {
    font-family: 'Opti Futura DemiBold';
    src: url('https://static.wixstatic.com/ufonts/78a938_49173f6690a5467ea5fa135d27c9e43a/woff2/file.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------
   DESIGN SYSTEM & EXACT WIX COLOR PALETTE
--------------------------------------------------------- */
:root {
    --bg-cream: #F6F3EB;
    --bg-ice-blue: #EDF1F4;
    --color-navy: #22344a;
    --color-gold: #B08B4F;
    --color-gold-hover: #96743e;
    --text-dark: #22344a;
    --text-muted: #667085;
    --border-light: rgba(180, 137, 67, 0.35);

    --font-serif: 'Fraunces', 'Playfair Display', 'Bodoni Moda', 'Didot', 'Georgia', serif;
    --font-sans: 'Epilogue', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-gurmukhi: 'Mukta Mahee', 'Noto Sans Gurmukhi', sans-serif;

    --container-max: 1150px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

img, iframe, svg {
    max-width: 100%;
}

/* ---------------------------------------------------------
   HEADER & NAVIGATION
--------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--color-gold);
    padding: 1.15rem 0;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.site-logo .logo-text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3.8vw, 1.65rem);
    font-weight: 600;
    font-variation-settings: 'opsz' 24, 'wght' 600;
    color: var(--color-navy);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.75rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-register-header {
    background-color: var(--color-navy);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.35rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(34, 52, 74, 0.15);
}

.btn-register-header:hover {
    background-color: var(--color-gold);
    color: #FFFFFF;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    width: 38px;
    height: 38px;
    padding: 8px 7px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
    border-color: var(--color-gold);
    background: rgba(176, 139, 79, 0.08);
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   SHARED SECTION HEADERS & GOLD PLUS DIVIDER
--------------------------------------------------------- */
.section {
    padding: clamp(3.5rem, 6vw, 5rem) 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.section-cream {
    background-color: var(--bg-cream);
}

.section-ice-blue {
    background-color: var(--bg-ice-blue);
}

.section-container {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.eyebrow-tag {
    display: block;
    text-align: center;
    font-family: 'Jost', 'Opti Futura DemiBold', var(--font-sans);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 4.5vw, 2.375rem);
    font-weight: 500;
    font-variation-settings: 'opsz' 120, 'wght' 500;
    color: var(--color-navy);
    text-align: center;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #8e98a8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.55;
}

/* Gold Plus Crosshair Divider */
.gold-divider-wrapper {
    width: 106px;
    height: 35px;
    margin: 1rem auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-divider-svg {
    width: 106px;
    height: 35px;
    display: block;
}

/* ---------------------------------------------------------
   1. HERO SECTION
--------------------------------------------------------- */
.hero-section {
    background-color: var(--bg-cream);
    padding: clamp(3rem, 7vw, 5.5rem) 1.25rem clamp(3.5rem, 8vw, 6rem);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.hero-section .section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 6.5vw, 4.75rem);
    font-weight: 500;
    font-variation-settings: 'opsz' 120, 'wght' 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #22344a;
    text-transform: none;
    font-style: normal;
    margin: 0.5rem auto 1.25rem;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.hero-description {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.65;
    color: #8e98a8;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   2. SCHEDULE SECTION & 4-COLUMN BAR
--------------------------------------------------------- */
#schedule .section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.schedule-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2.5rem;
    width: 100%;
    box-shadow: 0 8px 30px rgba(34, 52, 74, 0.08);
}

.sched-col {
    padding: 2.2rem 1.25rem;
    min-height: 165px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.sched-col-navy {
    background-color: var(--color-navy);
    color: #FFFFFF;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.sched-col-navy:last-child {
    border-right: none;
}

.sched-col-gold {
    background-color: var(--color-gold);
    color: #FFFFFF;
}

.sched-col-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 400;
    font-variation-settings: 'opsz' 120, 'wght' 400;
    margin: 0 0 0.65rem 0;
    line-height: 1.2;
}

.sched-col-navy .sched-col-title {
    color: #ABC1DB;
}

.sched-col-gold .sched-col-title {
    color: #FFFFFF;
}

.sched-col-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.45;
    margin: 0;
    color: #FFFFFF;
}

.sched-col-text a {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ---------------------------------------------------------
   3. GROUPS SECTION (HORIZONTAL ROWS)
--------------------------------------------------------- */
#groups .section-container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.groups-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-light);
    width: 100%;
}

.group-row {
    display: grid;
    grid-template-columns: 55px 130px 1fr auto;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
    gap: 1.5rem;
    width: 100%;
}

.group-number {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 400;
    font-variation-settings: 'opsz' 144, 'wght' 400;
    color: var(--color-gold);
    line-height: 1;
}

.group-years {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--color-navy);
}

.group-banis-text {
    font-family: var(--font-gurmukhi);
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    color: #898989;
}

.group-action-col {
    display: flex;
    justify-content: flex-end;
}

.btn-download-syllabus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 1.25rem;
    white-space: nowrap;
    background-color: transparent;
    border: 1.5px solid var(--color-navy);
    border-radius: 6px;
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-download-syllabus:hover {
    background-color: var(--color-navy);
    color: #FFFFFF;
}

.btn-download-syllabus svg {
    width: 14px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   4. OVERVIEW SECTION (MINIMALIST DASHED ROWS)
--------------------------------------------------------- */
#overview .section-container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.overview-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-light);
    margin-top: 2.5rem;
    width: 100%;
}

.overview-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
}

.overview-dash {
    width: 32px;
    height: 2px;
    background-color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 11px;
}

.overview-text {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #898989;
    margin: 0;
}

/* ---------------------------------------------------------
   5. FAQ SECTION & SEARCH
--------------------------------------------------------- */
#faq .section-container {
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

.faq-search-box {
    max-width: 100%;
    width: 100%;
    margin: 2.5rem 0 2rem;
    position: relative;
}

.faq-search-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.faq-input-wrapper {
    position: relative;
    width: 100%;
}

.faq-search-input {
    width: 100%;
    height: 45px;
    padding: 0 1.25rem 0 3.2rem;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 15px;
    background-color: #FFFFFF;
    color: var(--color-navy);
    outline: none;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.faq-search-input:hover,
.faq-search-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(176, 139, 79, 0.2);
}

.search-icon-svg {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    pointer-events: none;
}

.faq-wrapper {
    width: 100%;
}

.faq-category-title {
    font-family: 'Opti Futura DemiBold', 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin: 2.5rem 0 1.25rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 1.35rem 0;
    width: 100%;
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    gap: 1rem;
}

.faq-plus-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: transparent;
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.faq-plus-circle svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    flex-shrink: 0;
}

.faq-item.active .faq-plus-circle {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.faq-no-results {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: #898989;
    margin: 3.5rem 0 2rem 0;
}

.faq-answer {
    display: none;
    padding-top: 0.85rem;
    padding-bottom: 0.25rem;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: #898989;
    line-height: 1.6;
}

.faq-answer strong,
.faq-answer b {
    font-weight: 700;
    color: #6b7582;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ---------------------------------------------------------
   6. LOCATION & FOOTER
--------------------------------------------------------- */
.location-map-wrapper {
    margin-top: 2rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.location-map-wrapper iframe {
    border-radius: 6px;
    display: block;
    width: 100%;
}

.site-footer {
    background-color: var(--color-navy);
    color: #FAF7F0;
    padding: 1.75rem 1.5rem;
    text-align: center;
    width: 100%;
}

.footer-text {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    color: #FAF7F0;
    margin: 0;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   7. REGISTRATION PAGE / VIEW
--------------------------------------------------------- */
.section-registration {
    padding: 3rem 1.25rem 6rem;
    min-height: 80vh;
}

.registration-top-bar {
    margin-bottom: 2rem;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    background: #FFFFFF;
    border: 1px solid rgba(176, 139, 79, 0.35);
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-back-home:hover {
    background-color: var(--color-navy);
    color: #FFFFFF;
    border-color: var(--color-navy);
    transform: translateX(-3px);
}

.registration-header-block {
    text-align: center;
    margin-bottom: 2.5rem;
}

.registration-notice-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background-color: #FAF5E9;
    border: 1px solid rgba(176, 139, 79, 0.4);
    border-left: 4px solid var(--color-gold);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 0 auto 2.5rem;
    max-width: var(--container-max);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-navy);
    line-height: 1.5;
}

.notice-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.registration-layout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
    width: 100%;
}

.reg-card {
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid rgba(176, 139, 79, 0.25);
    box-shadow: 0 4px 24px rgba(34, 52, 74, 0.06);
    overflow: hidden;
}

/* Form Card */
.form-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background-color: var(--color-navy);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(176, 139, 79, 0.3);
}

.form-card-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.live-status-dot {
    width: 9px;
    height: 9px;
    background-color: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    display: inline-block;
}

.form-card-heading {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.btn-open-external {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: #EDF1F4;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.85rem;
    border-radius: 3px;
    transition: var(--transition-fast);
}

.btn-open-external:hover {
    background: var(--color-gold);
    color: #FFFFFF;
}

.jotform-embed-wrapper {
    position: relative;
    width: 100%;
    min-height: 800px;
    background: #FFFFFF;
}

.jotform-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-navy);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(176, 139, 79, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#jotform-iframe {
    width: 100%;
    height: 850px;
    min-height: 750px;
    border: none;
    display: block;
}

/* Sidebar & Cards */
.registration-side-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qr-card {
    padding: 2rem 1.75rem;
    text-align: center;
    background: #FFFFFF;
}

.qr-badge {
    display: inline-block;
    font-family: 'Jost', var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(176, 139, 79, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.qr-heading {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 0.5rem;
}

.qr-sub {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0 0 1.5rem;
}

.qr-image-wrapper {
    display: inline-block;
    padding: 0.85rem;
    background: #FFFFFF;
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(176, 139, 79, 0.15);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-fast);
}

.qr-image-wrapper:hover {
    transform: scale(1.03);
}

.qr-image {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    border-radius: 4px;
}

.btn-qr-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background-color: var(--color-navy);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.btn-qr-link:hover {
    background-color: var(--color-gold);
    color: #FFFFFF;
}

/* Info Sidebar Card */
.info-sidebar-card {
    padding: 1.75rem;
    background: var(--bg-ice-blue);
    border: 1px solid rgba(34, 52, 74, 0.1);
}

.info-sidebar-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(176, 139, 79, 0.3);
}

.reg-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.reg-info-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

.info-label {
    font-weight: 600;
    color: var(--color-navy);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-val {
    color: #556272;
    line-height: 1.4;
}

.info-val a {
    color: var(--color-gold);
    text-decoration: underline;
    font-weight: 500;
}

.info-val a:hover {
    color: var(--color-navy);
}

/* ---------------------------------------------------------
   ADMIN STATUS NOTIFICATION BANNER
--------------------------------------------------------- */
.admin-status-banner {
    background-color: #1a2636;
    border-bottom: 2px solid var(--color-gold);
    color: #e5eaf2;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 10000;
    width: 100%;
    box-sizing: border-box;
}

.admin-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.admin-banner-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.admin-banner-badge {
    background: rgba(176, 139, 79, 0.2);
    border: 1px solid var(--color-gold);
    color: #ffd88a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.admin-banner-text {
    color: #d1d9e6;
}

.admin-banner-text strong {
    color: #ffffff;
}

.admin-banner-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.admin-banner-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.admin-banner-btn.primary {
    background-color: var(--color-gold);
    color: #ffffff;
}

.admin-banner-btn.primary:hover {
    background-color: var(--color-gold-hover);
}

.admin-banner-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-banner-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---------------------------------------------------------
   CLOSED MODE HEADER & STATUS PILL
--------------------------------------------------------- */
.header-closed-mode .header-container {
    justify-content: space-between;
}

.header-closed-badge-wrap {
    display: flex;
    align-items: center;
}

.header-closed-status-pill {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(176, 139, 79, 0.1);
    border: 1px solid rgba(176, 139, 79, 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
}

/* ---------------------------------------------------------
   CLOSED MODE NOTICE CARD & SECTION
--------------------------------------------------------- */
.section-closed-mode {
    min-height: calc(80vh - 120px);
    display: flex;
    align-items: center;
    padding: clamp(3.5rem, 6vw, 5rem) 1.25rem;
}

.closed-notice-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(34, 52, 74, 0.06);
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
    text-align: center;
    box-sizing: border-box;
}

.closed-badge-wrap {
    margin-bottom: 1.25rem;
}

.closed-tag {
    background: rgba(176, 139, 79, 0.12);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    display: inline-block;
}

.closed-title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 4.5vw, 2.5rem);
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.22;
    margin: 0.5rem 0 1.25rem;
    letter-spacing: -0.01em;
}

.closed-message-box {
    margin: 1.75rem auto 2.25rem;
    max-width: 680px;
    width: 100%;
}

.closed-message-main {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.closed-message-note {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.closed-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 2.25rem auto;
    text-align: left;
    width: 100%;
}

.closed-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #fbf9f4;
    border: 1px solid rgba(176, 139, 79, 0.22);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
}

.closed-info-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--color-gold);
}

.closed-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.closed-info-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
}

.closed-info-val {
    font-size: 0.95rem;
    color: var(--color-navy);
    line-height: 1.45;
}

.closed-actions {
    margin-top: 2rem;
}

.btn-closed-action {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--color-gold);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.95rem 2rem;
    border-radius: 6px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 14px rgba(176, 139, 79, 0.25);
}

.btn-closed-action:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(176, 139, 79, 0.35);
    color: #ffffff;
}

/* ---------------------------------------------------------
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET FIXES)
--------------------------------------------------------- */
@media (max-width: 900px) {
    .header-container {
        padding: 0 1.25rem;
    }

    .header-right {
        gap: 1rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .main-nav.mobile-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #F6F3EB;
        border-bottom: 2px solid var(--color-gold);
        padding: 1.5rem 1.75rem;
        box-shadow: 0 12px 30px rgba(34, 52, 74, 0.15);
        z-index: 9999;
    }

    .main-nav.mobile-open .nav-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav.mobile-open .nav-link {
        font-size: 1.05rem;
        font-weight: 600;
        padding: 0.5rem 0;
        display: block;
        border-bottom: 1px solid rgba(176, 139, 79, 0.15);
    }

    .main-nav.mobile-open .nav-link:last-child {
        border-bottom: none;
    }

    .schedule-bar-grid {
        grid-template-columns: 1fr;
        border-radius: 8px;
    }

    .sched-col {
        padding: 1.75rem 1.25rem;
        min-height: auto;
    }

    .sched-col-navy {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .registration-layout-grid {
        grid-template-columns: 1fr;
    }

    .registration-side-col {
        order: -1;
    }

    #jotform-iframe {
        height: 700px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.9rem 0;
    }

    .header-container {
        padding: 0 1rem;
        align-items: center;
    }

    .site-logo {
        flex-shrink: 0;
    }

    .site-logo .logo-text {
        font-size: 1.15rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .header-right {
        gap: 0.65rem;
    }

    .btn-register-header {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }

    /* Hero Section Mobile Sizing */
    .hero-section {
        padding: 2.75rem 1rem 3.5rem;
    }

    .hero-section .section-title {
        font-size: clamp(1.75rem, 6.5vw, 2.25rem);
        line-height: 1.18;
        letter-spacing: -0.01em;
        margin: 0.5rem auto 1rem;
        max-width: 100%;
        word-break: normal;
        overflow-wrap: normal;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.55;
        padding: 0 0.5rem;
    }

    /* Balanced & Symmetrical Groups Layout on Mobile */
    #groups .section-container {
        padding: 0 1rem;
    }

    .group-row {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "num years"
            "banis banis"
            "btn btn";
        row-gap: 0.85rem;
        column-gap: 1rem;
        padding: 1.65rem 0;
        align-items: center;
        width: 100%;
    }

    .group-number {
        grid-area: num;
        font-size: 2.25rem;
        line-height: 1;
        color: var(--color-gold);
    }

    .group-years {
        grid-area: years;
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.2;
        color: var(--color-navy);
        text-align: right;
    }

    .group-banis-text {
        grid-area: banis;
        font-size: 16px;
        line-height: 1.65;
        color: #556272;
        text-align: left;
        width: 100%;
        padding: 0.25rem 0;
    }

    .group-action-col {
        grid-area: btn;
        width: 100%;
        margin-top: 0.35rem;
    }

    .btn-download-syllabus {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 14px;
        border-radius: 6px;
        background-color: transparent;
        border: 1.5px solid var(--color-navy);
        box-shadow: none;
    }

    .overview-row {
        padding: 1.5rem 0;
        gap: 1rem;
    }

    .overview-dash {
        width: 20px;
        margin-top: 8px;
    }

    .overview-text {
        font-size: 15px;
        line-height: 1.55;
    }

    .faq-question-btn {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14.5px;
    }

    .closed-notice-card {
        padding: 2.5rem 1.25rem;
    }

    .closed-title {
        font-size: 1.85rem;
    }

    .closed-message-main {
        font-size: 1.1rem;
    }

    .closed-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .admin-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .admin-banner-links {
        width: 100%;
        justify-content: flex-start;
    }
}