/* ==========================================================================
   IDCK - International Development Center of Knowledge
   Comprehensive Modern Design System & Stylesheet
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-900: #041f17;
    --primary-800: #062c21;
    --primary-700: #0a4231;
    --primary-600: #0f5942;
    --primary-500: #147255;
    --primary-400: #1f9470;
    --primary-100: #e6f4ef;
    --primary-50: #f0f9f5;

    --gold-600: #b38b1f;
    --gold-500: #d4af37;
    --gold-400: #eac54f;
    --gold-300: #f5d77f;
    --gold-100: #fcf6e5;

    --accent-blue: #0284c7;
    --accent-purple: #7c3aed;
    --success: #10b981;
    --danger: #ef4444;

    --bg-page: #f8faf9;
    --bg-surface: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --border-gold: rgba(212, 175, 55, 0.4);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 8px 24px -4px rgba(212, 175, 55, 0.35);
    --shadow-glow: 0 0 35px rgba(20, 114, 85, 0.25);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-900);
    font-weight: 700;
    line-height: 1.25;
}

.font-serif {
    font-family: 'Cinzel', Georgia, serif;
}

.text-gold {
    color: var(--gold-500) !important;
}

.text-primary-dark {
    color: var(--primary-800) !important;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #b38b1f 0%, #d4af37 50%, #f7df94 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.top-notice-bar {
    background: linear-gradient(90deg, var(--primary-900), var(--primary-800));
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.825rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.notice-badge {
    background: var(--gold-500);
    color: var(--primary-900);
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    margin-right: 8px;
    display: inline-block;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(10, 66, 49, 0.08);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold-500);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-img {
    transform: rotate(6deg) scale(1.05);
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-acronym {
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-800);
    letter-spacing: 1px;
    line-height: 1;
}

.brand-fullname {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.93rem;
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-700);
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-800);
    cursor: pointer;
}

/* Candidate Drawer Card (Top of Hamburger Menu) */
.nav-drawer-user-card {
    background: linear-gradient(135deg, #041f17 0%, #0a4231 100%);
    border: 1px solid var(--gold-500);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.drawer-user-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.18);
    border: 2px solid var(--gold-500);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.drawer-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.drawer-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drawer-user-name {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-user-roll {
    font-size: 0.78rem;
    color: rgba(243, 244, 246, 0.85);
    font-weight: 600;
}

.drawer-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.nav-item-icon {
    margin-right: 8px;
    width: 18px;
    text-align: center;
    color: var(--gold-600);
}

/* Sign Out Row at Bottom of Pages */
.nav-drawer-signout-row {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 2px solid #f3f4f6;
    width: 100%;
}

.btn-drawer-signout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1.5px solid #dc2626;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-drawer-signout:hover {
    background: #dc2626;
    color: #ffffff;
}

/* On desktop when guest vs logged in */
@media (min-width: 992px) {
    .site-navbar:not(.candidate-logged-navbar) .nav-drawer-user-card,
    .site-navbar:not(.candidate-logged-navbar) .nav-drawer-signout-row {
        display: none !important;
    }
    .site-navbar:not(.candidate-logged-navbar) .nav-item-icon {
        display: none;
    }

    .candidate-logged-navbar .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(10, 66, 49, 0.06);
        border: 1.5px solid rgba(212, 175, 55, 0.45);
        border-radius: var(--radius-md);
        color: var(--primary-800);
        font-size: 1.3rem;
        cursor: pointer;
        transition: all var(--transition-fast);
    }
    .candidate-logged-navbar .mobile-toggle:hover {
        background: rgba(10, 66, 49, 0.12);
        color: var(--primary-900);
        border-color: var(--gold-500);
    }
    .candidate-logged-navbar .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 1.5rem;
        left: auto;
        width: 360px;
        background: #ffffff;
        flex-direction: column;
        padding: 1.25rem 1.4rem;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border-light);
        border-top: 3px solid var(--gold-500);
        border-radius: 14px;
        display: none;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        z-index: 9999;
        gap: 0;
    }
    .candidate-logged-navbar .nav-menu.open {
        display: flex;
        animation: mobileNavSlide 0.25s ease-out;
    }
    .candidate-logged-navbar .nav-menu li {
        width: 100%;
    }
    .candidate-logged-navbar .nav-link {
        display: flex;
        align-items: center;
        padding: 0.7rem 0.5rem;
        font-size: 0.95rem;
        font-weight: 700;
        border-bottom: 1px solid #f3f4f6;
        color: var(--primary-900);
    }
    .candidate-logged-navbar .nav-link:hover {
        color: var(--gold-600);
        background: #f9fafb;
        border-radius: 6px;
        padding-left: 0.75rem;
    }
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.65rem 1.4rem;
    font-size: 0.925rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all var(--transition-fast);
    line-height: 1.3;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--primary-900);
    box-shadow: var(--shadow-gold);
    border: 1px solid var(--gold-300);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -4px rgba(212, 175, 55, 0.5);
}

.btn-primary {
    background: var(--primary-700);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(10, 66, 49, 0.25);
}

.btn-primary:hover {
    background: var(--primary-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 66, 49, 0.35);
}

.btn-signin {
    background: var(--primary-800);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 14px rgba(10, 66, 49, 0.25);
}

.btn-signin:hover {
    background: var(--primary-900);
    color: var(--gold-300);
    border-color: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 66, 49, 0.4);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-500);
    border: 2px solid var(--gold-500);
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
    border-color: var(--gold-400);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-800);
    border: 2px solid var(--primary-700);
}

.btn-outline-primary:hover {
    background: var(--primary-800);
    color: #ffffff;
    border-color: var(--primary-800);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    background: radial-gradient(circle at top right, #0e503c 0%, var(--primary-900) 65%);
    color: #ffffff;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

.hero-overlay-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-glow-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    filter: blur(50px);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gold-300);
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 3.1rem;
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--gold-300);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.25rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust-bar {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-stat h4 {
    font-size: 1.3rem;
    color: var(--gold-400);
    font-weight: 800;
}

.trust-stat p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual / Emblem Card */
.hero-visual-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--primary-400), var(--gold-300));
}

.emblem-ring-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-emblem {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 4px solid var(--gold-500);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.4);
    object-fit: cover;
    animation: gentle-pulse 4s infinite ease-in-out;
}

@keyframes gentle-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 45px rgba(212, 175, 55, 0.6);
    }
}

.event-ticker {
    background: rgba(212, 175, 55, 0.15);
    border: 1px dashed var(--gold-400);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
}

.event-ticker span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gold-300);
    letter-spacing: 1px;
    font-weight: 700;
}

.event-ticker strong {
    font-size: 1.1rem;
    color: #ffffff;
    display: block;
    margin: 4px 0;
}

/* ==========================================================================
   Spotlight Event Section (General Knowledge Quiz Under 10)
   ========================================================================== */
.section-spotlight {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.event-featured-card {
    background: linear-gradient(145deg, #073527 0%, #032017 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gold-500);
    box-shadow: 0 25px 50px -12px rgba(10, 66, 49, 0.35);
    color: #ffffff;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    position: relative;
}

.event-poster-col {
    position: relative;
    background: #061d15;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.event-poster-img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-fast);
}

.event-poster-img:hover {
    transform: scale(1.02);
}

.event-details-col {
    padding: 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold-500);
    color: var(--gold-300);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
}

.event-headline {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.event-motto {
    font-size: 1.1rem;
    color: var(--gold-300);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Event Info Highlights Grid */
.event-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--gold-400);
    margin-top: 2px;
}

.info-content label {
    font-size: 0.725rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    font-weight: 700;
    display: block;
}

.info-content span {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.prize-box-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.prize-box-highlight .prize-text h3 {
    font-size: 1.45rem;
    color: var(--gold-300);
    font-weight: 800;
}

.prize-box-highlight .prize-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.countdown-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 2rem;
}

.countdown-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 0.5rem;
}

.countdown-boxes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.time-box {
    text-align: center;
    min-width: 60px;
}

.time-box .num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold-400);
    display: block;
    line-height: 1;
}

.time-box .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    display: block;
}

.event-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--gold-600);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-900);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Interactive Quiz Arena ("Learn While You Play")
   ========================================================================== */
.section-quiz-arena {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #f0f7f4 0%, #e8f2ee 100%);
    position: relative;
}

.quiz-container-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(10, 66, 49, 0.1);
    padding: 2.5rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.quiz-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-tabs-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-btn {
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid rgba(10, 66, 49, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cat-btn.active,
.cat-btn:hover {
    background: var(--primary-700);
    color: #ffffff;
    border-color: var(--primary-700);
}

.quiz-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.quiz-timer-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quiz-score-badge {
    background: var(--primary-100);
    color: var(--primary-800);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}

.quiz-progress-track {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--gold-500), var(--primary-500));
    transition: width 0.4s ease;
}

.quiz-question-box {
    margin-bottom: 2rem;
}

.question-num-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--gold-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.question-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-900);
    line-height: 1.4;
}

.quiz-options-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 2rem;
}

.option-choice-btn {
    background: #f9fafb;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.4rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all var(--transition-fast);
}

.option-choice-btn .opt-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.option-choice-btn:hover:not(:disabled) {
    border-color: var(--primary-500);
    background: #f0f9f5;
}

.option-choice-btn.correct {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
}

.option-choice-btn.correct .opt-letter {
    background: #10b981;
    color: #fff;
}

.option-choice-btn.wrong {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #991b1b !important;
}

.option-choice-btn.wrong .opt-letter {
    background: #ef4444;
    color: #fff;
}

/* Instant Explanation Box */
.explanation-card {
    display: none;
    background: #f0fdf4;
    border-left: 5px solid var(--primary-600);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
}

.explanation-card.active {
    display: block;
}

.explanation-card h5 {
    color: var(--primary-800);
    font-size: 0.95rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.explanation-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
}

.quiz-footer-actions {
    display: flex;
    justify-content: flex-end;
}

/* Quiz Completion Screen */
.quiz-complete-card {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}

.completion-emblem {
    font-size: 3.5rem;
    color: var(--gold-500);
    margin-bottom: 1rem;
}

/* ==========================================================================
   About IDCK Section (Based on ABOUT US IDCK.docx)
   ========================================================================== */
.section-about {
    padding: 6rem 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.3rem;
    margin-bottom: 1.25rem;
    color: var(--primary-900);
}

.about-intro-highlight {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-paragraphs p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* Mission & Vision Split */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mv-card {
    background: var(--primary-50);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border-top: 4px solid var(--primary-700);
}

.mv-card.vision {
    border-top-color: var(--gold-500);
}

.mv-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mv-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* About Visual Collage */
.about-visual-collage {
    position: relative;
}

.about-main-box {
    background: linear-gradient(145deg, var(--primary-900), var(--primary-800));
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    border: 2px solid var(--gold-500);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.about-main-box h3 {
    color: var(--gold-300);
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.about-quote {
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--gold-500);
    padding-left: 1rem;
}

.promise-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.promise-box h5 {
    color: var(--gold-400);
    font-size: 0.95rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promise-box p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* ==========================================================================
   What We Offer (4 Key Pillars from Docx)
   ========================================================================== */
.section-pillars {
    padding: 5rem 0;
    background: var(--bg-page);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background var(--transition-fast);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(10, 66, 49, 0.2);
}

.pillar-card:hover::before {
    background: linear-gradient(90deg, var(--gold-500), var(--primary-600));
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-50);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
    background: var(--primary-700);
    color: #ffffff;
}

.pillar-card h3 {
    font-size: 1.2rem;
    color: var(--primary-900);
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */
.section-categories {
    padding: 5.5rem 0;
    background: #ffffff;
}

.categories-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cat-showcase-card {
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-light);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.cat-showcase-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
    transform: translateY(-4px);
}

.cat-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
}

.cat-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.cat-showcase-card h4 {
    font-size: 1.15rem;
    color: var(--primary-900);
}

.cat-showcase-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.cat-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   Leaderboard Section
   ========================================================================== */
.section-leaderboard {
    padding: 5.5rem 0;
    background: var(--bg-page);
}

.leaderboard-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 2px solid var(--border-light);
    letter-spacing: 0.5px;
}

.leaderboard-table td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.rank-cell {
    font-weight: 800;
    width: 60px;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
}

.rank-1 {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.rank-2 {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.rank-3 {
    background: #fed7aa;
    color: #9a3412;
    border: 1px solid #fdba74;
}

/* ==========================================================================
   Registration Modal & Ticket Admit Card
   ========================================================================== */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 44, 33, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-backdrop.active {
    display: flex;
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 720px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
    color: #ffffff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--gold-500);
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header p {
    font-size: 0.8rem;
    color: var(--gold-300);
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

/* Registration Form Grid */
.reg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-field label span {
    color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
    background: #fafafa;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary-600);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 66, 49, 0.12);
}

.fee-notice-card {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fee-notice-card i {
    font-size: 1.5rem;
    color: #ca8a04;
}

.fee-notice-card p {
    font-size: 0.85rem;
    color: #854d0e;
    margin: 0;
}

/* Admit Card Slip / Success State */
.admit-card-ticket {
    display: none;
    background: #ffffff;
    border: 2px dashed var(--gold-500);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 1rem;
    position: relative;
    background-color: #fffefb;
}

.ticket-header {
    text-align: center;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.ticket-roll-badge {
    background: var(--primary-800);
    color: var(--gold-300);
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin: 8px 0;
    border: 1px solid var(--gold-500);
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.ticket-info-grid .field-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

.ticket-info-grid .field-val {
    font-weight: 700;
    color: var(--primary-900);
}

/* Auth Views & Switcher in Modal */
.auth-view-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-icon-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(10, 66, 49, 0.1);
    color: var(--primary-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.auth-view-header h4 {
    font-size: 1.35rem;
    color: var(--primary-900);
    margin-bottom: 6px;
    font-weight: 800;
}

.auth-view-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.input-with-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon-wrapper .input-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 1.1rem;
    pointer-events: none;
}

.input-with-icon-wrapper input {
    padding-left: 44px !important;
    width: 100%;
}

.field-hint {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-switch-box {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #cbd5e1;
    text-align: center;
}

.auth-switch-content span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-switch-content p {
    font-size: 0.925rem;
    color: var(--text-primary);
    margin: 4px 0 10px;
}

.signin-alert-box {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.signin-alert-box.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.signin-alert-box.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.section-contact {
    padding: 6rem 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
}

.contact-info-panel {
    background: var(--primary-900);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info-panel h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-details-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-item h5 {
    color: var(--gold-300);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-word;
}

/* Contact Form Card & Row */
.contact-form-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-card .form-field {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contact-form-card .form-field input,
.contact-form-card .form-field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #ffffff;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    z-index: 1500;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1) rotate(8deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--primary-900);
    color: rgba(255, 255, 255, 0.75);
    padding: 4.5rem 0 2rem;
    border-top: 3px solid var(--gold-500);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand-col p {
    font-size: 0.925rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gold-500);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom-bar {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Toast Notification */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1f2937;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-msg.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-success {
    background: #065f46;
    border: 1px solid #10b981;
}

.toast-error {
    background: #991b1b;
    border: 1px solid #ef4444;
}

/* Print Specific for Admit Card */
@media print {
    body * {
        visibility: hidden;
    }

    #admit-card-ticket,
    #admit-card-ticket * {
        visibility: visible;
    }

    #admit-card-ticket {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: 2px solid #000;
        background: #fff;
    }
}

/* Note: Comprehensive mobile & tablet responsive rules are consolidated at the end of this stylesheet */

/* ==========================================================================
   Live Quiz Portal & Subdomain Gateway (tick.idck.pk)
   ========================================================================== */
.live-portal-pill {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
    transition: all var(--transition-fast);
}

.live-portal-pill:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.btn-live {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.35);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.btn-live:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
}

.section-portal-notice-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -30px;
}

.portal-notice-card {
    background: linear-gradient(135deg, rgba(10, 66, 49, 0.95), rgba(6, 44, 33, 0.98));
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-xl);
}

.portal-notice-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.portal-notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */
.section-schedule {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.schedule-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.schedule-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-400);
}

.schedule-card.featured {
    border: 2px solid var(--gold-500);
    background: linear-gradient(180deg, #ffffff 0%, var(--primary-50) 100%);
    box-shadow: var(--shadow-gold);
}

.schedule-featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--gold-500);
    color: var(--primary-900);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.schedule-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-100);
    color: var(--primary-800);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.schedule-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-900);
}

.schedule-meta-list {
    list-style: none;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.schedule-meta-list li i {
    color: var(--gold-600);
    margin-top: 3px;
    width: 16px;
}

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-pill.open {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.status-pill.upcoming {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-pill.announced {
    background: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

/* ==========================================================================
   Official Results Portal Section
   ========================================================================== */
.section-results {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-page) 0%, #edf4f0 100%);
    position: relative;
}

.results-search-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.search-form-row {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 260px;
}

.search-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrap input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.search-input-wrap input:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(10, 66, 49, 0.1);
}

/* Scorecard / Result Display */
.candidate-scorecard {
    background: #ffffff;
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-xl);
    text-align: left;
    position: relative;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scorecard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-100);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.scorecard-candidate-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
    background: var(--primary-50);
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.scorecard-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.stat-metric-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.stat-metric-box label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.stat-metric-box .metric-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-800);
}

.award-highlight-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.award-icon-emblem {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--primary-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Merit List Table */
.merit-table-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 2.5rem;
}

.merit-table {
    width: 100%;
    border-collapse: collapse;
}

.merit-table th {
    background: var(--primary-800);
    color: #ffffff;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.merit-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.925rem;
}

.merit-table tr:hover td {
    background: var(--primary-50);
}

.pos-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.pos-badge.gold {
    background: linear-gradient(135deg, #fef08a, #d4af37);
    color: #78350f;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
}

.pos-badge.silver {
    background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
    color: #334155;
}

.pos-badge.bronze {
    background: linear-gradient(135deg, #fed7aa, #f97316);
    color: #7c2d12;
}

/* ==========================================================================
   Event Details, Syllabus & Tabs
   ========================================================================== */
.section-details {
    padding: 5rem 0;
    background: #ffffff;
}

.details-tab-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.details-tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.details-tab-btn:hover {
    color: var(--primary-700);
}

.details-tab-btn.active {
    color: var(--primary-800);
    border-bottom-color: var(--gold-500);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.syllabus-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.module-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-fast);
}

.module-card:hover {
    border-color: var(--gold-400);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.module-card h4 {
    color: var(--primary-800);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.prize-tier-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-fast);
    position: relative;
}

.prize-tier-card.champion {
    border: 2px solid var(--gold-500);
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
    box-shadow: var(--shadow-gold);
    transform: scale(1.03);
}

.prize-tier-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.prize-tier-icon.gold {
    background: rgba(212, 175, 55, 0.2);
    color: #b45309;
}

.prize-tier-icon.silver {
    background: rgba(148, 163, 184, 0.2);
    color: #475569;
}

.prize-tier-icon.bronze {
    background: rgba(249, 115, 22, 0.2);
    color: #c2410c;
}

.prize-tier-icon.all {
    background: rgba(16, 185, 129, 0.2);
    color: #047857;
}

.journey-steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.journey-step-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-number-tag {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-700);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Architecture
   ========================================================================== */

/* Tablet Breakpoint (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual-card {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .section-portal-notice-wrapper {
        margin-top: 2.5rem !important;
    }

    .event-featured-card {
        grid-template-columns: 1fr;
    }

    .event-poster-col {
        padding: 1.5rem;
    }

    .event-poster-img {
        max-height: 400px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile Devices & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    /* Prevent any horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    /* Top Notice Bar */
    .top-notice-bar {
        padding: 0.5rem 0.75rem;
        font-size: 0.78rem;
    }

    .top-notice-bar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px !important;
    }

    .top-notice-bar .container > div {
        justify-content: center;
        width: 100%;
    }

    /* Site Navbar */
    .site-navbar {
        position: sticky;
        top: 0;
    }

    .navbar-inner {
        height: 68px;
    }

    .brand-logo-img {
        width: 44px;
        height: 44px;
    }

    .brand-acronym {
        font-size: 1.35rem;
    }

    .brand-fullname {
        font-size: 0.64rem;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(10, 66, 49, 0.06);
        border: 1px solid rgba(10, 66, 49, 0.15);
        border-radius: var(--radius-md);
        color: var(--primary-800);
        font-size: 1.25rem;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .mobile-toggle:hover {
        background: rgba(10, 66, 49, 0.12);
        color: var(--primary-900);
    }

    /* Pinned Slide-down Mobile Navigation Menu */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1.25rem 1.5rem 1.75rem;
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
        border-top: 1px solid var(--border-light);
        border-bottom: 3px solid var(--gold-500);
        display: none;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        gap: 0;
    }

    .nav-menu.open {
        display: flex;
        animation: mobileNavSlide 0.25s ease-out;
    }

    @keyframes mobileNavSlide {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.8rem 0.6rem;
        font-size: 0.98rem;
        font-weight: 700;
        border-bottom: 1px solid #f3f4f6;
        color: var(--primary-900);
        transition: all 0.2s;
    }

    .nav-link:hover {
        background: #f9fafb;
        color: var(--gold-600);
        padding-left: 0.85rem;
    }

    .nav-drawer-guest-card {
        padding-bottom: 0.75rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #f3f4f6;
    }

    /* Hero Section */
    .hero-section {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-desc {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.25rem;
    }

    .hero-trust-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
        padding-top: 1.25rem;
    }

    .trust-stat {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-md);
        padding: 0.75rem 0.5rem;
        text-align: center;
    }

    .trust-stat h4 {
        font-size: 1.2rem;
    }

    .trust-stat p {
        font-size: 0.72rem;
    }

    /* Portal Notice Banner */
    .section-portal-notice-wrapper {
        margin-top: 2rem !important;
    }

    .portal-notice-card {
        padding: 1.5rem 1.15rem;
        margin: 0 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .portal-notice-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 1.25rem;
    }

    .portal-notice-inner .btn {
        width: 100%;
        justify-content: center;
    }

    /* Featured Event Spotlight */
    .section-event-spotlight {
        padding: 3.5rem 0;
    }

    .event-details-col {
        padding: 2rem 1.25rem;
    }

    .event-headline {
        font-size: 1.75rem;
    }

    .event-motto {
        font-size: 1rem;
    }

    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .prize-box-highlight {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }

    .countdown-boxes {
        gap: 0.5rem;
    }

    .time-box {
        min-width: 50px;
    }

    .time-box .num {
        font-size: 1.4rem;
    }

    .event-actions-bar {
        flex-direction: column;
        width: 100%;
    }

    .event-actions-bar .btn {
        width: 100%;
        justify-content: center;
    }

    /* Schedule Section */
    .section-schedule {
        padding: 3.5rem 0;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.75rem;
    }

    .schedule-card {
        padding: 1.5rem 1.25rem;
    }

    /* Details Section & Segmented Touch Tabs */
    .section-details {
        padding: 3.5rem 0;
    }

    .details-tab-nav {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 8px;
        margin-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 2px solid var(--border-light);
    }

    .details-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .details-tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
        border-radius: var(--radius-full);
        background: #ffffff;
        border: 1px solid var(--border-light);
    }

    .details-tab-btn.active {
        background: var(--primary-700);
        color: #ffffff;
        border-color: var(--primary-700);
    }

    .tab-pane > div {
        padding: 1.5rem 1.25rem !important;
    }

    .syllabus-modules-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .prize-tiers-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .journey-steps-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Results Section */
    .section-results {
        padding: 3.5rem 0;
    }

    .results-search-card {
        padding: 1.75rem 1.25rem;
    }

    .search-form-row {
        flex-direction: column;
        gap: 10px;
    }

    .search-form-row .btn {
        width: 100%;
        justify-content: center;
    }

    .candidate-scorecard {
        padding: 1.5rem 1.25rem;
    }

    .scorecard-candidate-meta {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    /* About Section */
    .section-about {
        padding: 3.5rem 0;
    }

    .about-content h2 {
        font-size: 1.85rem;
    }

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

    .about-main-box {
        padding: 2rem 1.5rem;
    }

    /* Pillars Section */
    .section-pillars {
        padding: 3.5rem 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Contact Section */
    .section-contact {
        padding: 3.5rem 0;
        overflow: hidden;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-info-panel,
    .contact-form-card {
        padding: 1.75rem 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
        word-break: break-word;
    }

    .contact-form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    .contact-form-card .form-field {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form-card .form-field input,
    .contact-form-card .form-field textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form-card .btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .site-footer {
        padding: 3.5rem 0 1.5rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Registration Modal Dialog */
    .modal-backdrop {
        padding: 0.75rem;
        align-items: flex-start;
    }

    .modal-dialog {
        width: 100%;
        max-width: 100%;
        margin: 1rem auto;
        border-radius: var(--radius-lg);
    }

    .modal-header {
        padding: 1.25rem 1rem;
    }

    .modal-header h3 {
        font-size: 1.15rem;
    }

    .modal-body {
        padding: 1.25rem 1rem;
        max-height: calc(90vh - 70px);
    }

    .reg-form-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .admit-card-ticket {
        padding: 1.25rem 1rem;
    }

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

    .admit-card-ticket .no-print {
        flex-direction: column;
        gap: 8px;
    }

    .admit-card-ticket .no-print .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Very Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }

    .navbar-inner {
        height: 64px;
    }

    .brand-logo-img {
        width: 38px;
        height: 38px;
    }

    .brand-acronym {
        font-size: 1.2rem;
    }

    .brand-fullname {
        font-size: 0.58rem;
    }

    .nav-actions .open-register-modal-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.78rem;
        gap: 4px;
    }

    .nav-actions .btn-signin {
        padding: 0.45rem 0.75rem;
        font-size: 0.78rem;
        gap: 4px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .event-headline {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Print Stylesheet - Strictly Print 1 Single Page Admit Pass Slip
   ========================================================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 10mm 14mm;
    }

    /* Hide the entire background website */
    body > *:not(#registration-modal) {
        display: none !important;
        visibility: hidden !important;
    }

    header,
    nav,
    main,
    section,
    footer,
    .navbar,
    .whatsapp-floating-btn,
    .modal-header,
    .modal-close-btn,
    .auth-view-container,
    .no-print,
    #auth-signin-view,
    #auth-register-view,
    #app-toast {
        display: none !important;
        visibility: hidden !important;
    }

    /* Reset HTML & Body */
    html, body {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        color: #000000 !important;
        overflow: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Modal Backdrop container becomes simple print wrapper */
    #registration-modal.modal-backdrop,
    .modal-backdrop {
        position: static !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #ffffff !important;
        overflow: visible !important;
        box-shadow: none !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    /* Modal Dialog container */
    .modal-dialog {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: #ffffff !important;
        animation: none !important;
        transform: none !important;
        overflow: visible !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    .modal-body {
        padding: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        background: #ffffff !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    /* Single Page Admit Card Ticket Slip */
    #admit-card-ticket.admit-card-ticket,
    .admit-card-ticket {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 24px 28px !important;
        background: #ffffff !important;
        border: 2px dashed #0a4231 !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        page-break-before: avoid !important;
        page-break-after: avoid !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    #admit-card-ticket * {
        visibility: visible !important;
    }

    .ticket-header {
        text-align: center !important;
        border-bottom: 2px solid #0a4231 !important;
        padding-bottom: 12px !important;
        margin-bottom: 16px !important;
    }

    .ticket-header img {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        border: 2px solid #d4af37 !important;
        display: inline-block !important;
    }

    .ticket-header h4 {
        color: #0a4231 !important;
        font-size: 1.45rem !important;
        font-weight: 800 !important;
        margin: 0 !important;
    }

    .ticket-header p {
        color: #854d0e !important;
        font-weight: 700 !important;
        font-size: 0.88rem !important;
        margin: 4px 0 8px !important;
    }

    .ticket-roll-badge {
        background: #0a4231 !important;
        color: #d4af37 !important;
        font-family: monospace !important;
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        padding: 6px 20px !important;
        border-radius: 20px !important;
        display: inline-block !important;
        margin: 6px 0 !important;
        border: 2px solid #d4af37 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .ticket-info-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px 24px !important;
        font-size: 0.95rem !important;
        margin-bottom: 16px !important;
    }

    .ticket-info-grid .field-label {
        font-size: 0.75rem !important;
        color: #475569 !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        display: block !important;
        margin-bottom: 2px !important;
    }

    .ticket-info-grid .field-val {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
    }

    /* Verification Footer watermark */
    .admit-card-ticket::after {
        content: "OFFICIAL VERIFIED IDCK ADMIT PASS — VALID FOR VENUE ENTRY — KEEP SAFE (idck.pk)";
        display: block !important;
        text-align: center !important;
        margin-top: 16px !important;
        padding-top: 10px !important;
        border-top: 1px dashed #94a3b8 !important;
        font-size: 0.75rem !important;
        color: #475569 !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
    }
}

/* ==========================================================================
   Special Announcement: Allama Muhammad Iqbal Life Quiz 2026
   ========================================================================== */
.section-iqbal-quiz {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 40%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.section-iqbal-quiz::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #10b981, #d4af37, #0a4231, #d4af37, #10b981);
}

.iqbal-announcement-card {
    background: linear-gradient(145deg, #062319 0%, #03150f 100%);
    border-radius: var(--radius-xl, 20px);
    border: 2px solid var(--gold-500);
    box-shadow: 0 25px 60px -15px rgba(6, 35, 25, 0.45), 0 0 35px rgba(212, 175, 55, 0.2);
    color: #ffffff;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    position: relative;
}

.iqbal-poster-col {
    position: relative;
    background: #020d09;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.25rem;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.iqbal-poster-img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    border-radius: var(--radius-lg, 14px);
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.iqbal-poster-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.35);
}

.iqbal-content-col {
    padding: 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.collab-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light, #fde68a);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 1rem;
    width: fit-content;
}

.iqbal-title {
    font-size: 2rem;
    font-family: 'Cinzel', serif;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.iqbal-subtitle {
    color: #34d399;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.iqbal-desc-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
}

.iqbal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.5rem;
}

.iqbal-spec-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.iqbal-spec-item.full {
    grid-column: 1 / -1;
}

.iqbal-spec-icon {
    width: 36px;
    height: 36px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.iqbal-spec-text label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.iqbal-spec-text span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.iqbal-prize-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(16, 185, 129, 0.2) 100%);
    border: 1px solid var(--gold-400);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 10px;
}

.iqbal-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991px) {
    .iqbal-announcement-card {
        grid-template-columns: 1fr;
    }
    .iqbal-poster-col {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        padding: 1.5rem;
    }
    .iqbal-content-col {
        padding: 2rem 1.5rem;
    }
    .iqbal-specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Compact Laptop-Friendly Event Cards & Expandable Details Drawer
   ========================================================================== */
.event-featured-card, .iqbal-announcement-card {
    grid-template-columns: 320px 1fr !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.event-featured-card .event-poster-col,
.iqbal-announcement-card .iqbal-poster-col {
    padding: 1.25rem !important;
}

.event-featured-card .event-poster-img,
.iqbal-announcement-card .iqbal-poster-img {
    max-height: 340px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
}

.event-featured-card .event-details-col,
.iqbal-announcement-card .iqbal-content-col {
    padding: 1.4rem 1.75rem !important;
    justify-content: center !important;
}

.event-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.event-compact-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light, #fde68a);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-compact-fee {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #34d399;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
}

.event-compact-title {
    font-size: 1.65rem !important;
    font-family: 'Cinzel', serif;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.event-compact-subtitle {
    color: var(--gold-300, #fde68a);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.event-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 0.85rem;
}

.event-compact-grid .grid-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-compact-grid .grid-item.full {
    grid-column: 1 / -1;
}

.event-compact-grid .grid-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.event-compact-grid .grid-text label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.event-compact-grid .grid-text span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    display: block;
}

.event-compact-countdown {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 6px 14px;
    margin-bottom: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.event-compact-countdown .cd-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-300, #fde68a);
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-compact-countdown .cd-boxes {
    display: flex;
    gap: 6px;
}

.event-compact-countdown .cd-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 2px 7px;
    text-align: center;
    min-width: 40px;
}

.event-compact-countdown .cd-box .num {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    display: block;
    font-family: monospace;
}

.event-compact-countdown .cd-box .label {
    font-size: 0.58rem;
    text-transform: uppercase;
    color: var(--gold-400);
    display: block;
}

.event-compact-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-toggle-details {
    background: rgba(255, 255, 255, 0.08);
    color: #fde68a;
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-toggle-details:hover, .btn-toggle-details.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: #ffffff;
}

.event-details-drawer {
    display: none;
    max-width: 1100px;
    margin: 1rem auto 0 auto;
    background: linear-gradient(145deg, #051e15 0%, #020f0a 100%);
    border: 1px solid var(--gold-500);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    animation: drawerSlideDown 0.3s ease forwards;
}

@keyframes drawerSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.drawer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem;
    margin-bottom: 1rem;
}

.drawer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    padding: 1.1rem;
}

.drawer-card h4 {
    font-size: 0.95rem;
    color: var(--gold-light, #fde68a);
    font-weight: 800;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-card p, .drawer-card ul {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0;
}

.drawer-card ul {
    padding-left: 1.2rem;
}

.drawer-card ul li {
    margin-bottom: 0.35rem;
}

@media (max-width: 991px) {
    .event-featured-card, .iqbal-announcement-card {
        grid-template-columns: 1fr !important;
    }
    .event-compact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Schedule Card Countdown Box (High Contrast, Bold, Ultra Clear)
   ========================================================================== */
.schedule-card-countdown,
.schedule-card.featured .schedule-card-countdown {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%) !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(6, 44, 33, 0.4) !important;
}

.sched-cd-header,
.schedule-card.featured .sched-cd-header {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #fef08a !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sched-cd-header i {
    color: #facc15 !important;
}

.sched-cd-boxes {
    display: flex;
    gap: 6px;
}

.sched-cd-box,
.schedule-card.featured .sched-cd-box {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(250, 204, 21, 0.6) !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    text-align: center;
    min-width: 44px !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3) !important;
}

.sched-cd-box .num,
.schedule-card.featured .sched-cd-box .num {
    font-size: 1.12rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.1;
    display: block;
    font-family: monospace;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.sched-cd-box .label,
.schedule-card.featured .sched-cd-box .label {
    font-size: 0.6rem !important;
    text-transform: uppercase;
    color: #fef08a !important;
    font-weight: 800 !important;
    display: block;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Event Action Button Grids (Mobile 2-Column Responsive Layout)
   ========================================================================== */
.event-compact-actions.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.event-compact-actions.grid-2x2 > * {
    width: 100% !important;
    margin: 0 !important;
    padding: 0.55rem 0.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
}

.event-compact-actions.iqbal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.event-compact-actions.iqbal-actions .btn-full-row {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
}

.event-compact-actions.iqbal-actions .actions-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.event-compact-actions.iqbal-actions .actions-sub-row > * {
    width: 100% !important;
    margin: 0 !important;
    padding: 0.55rem 0.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
}

/* Footer Dual Columns (Quick Links & Platforms Side-by-Side on Mobile) */
.footer-dual-cols {
    display: contents;
}

@media (max-width: 768px) {
    .footer-dual-cols {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }
    .footer-dual-cols .footer-col {
        min-width: 0 !important;
    }
    .footer-dual-cols .footer-col h4 {
        font-size: 1.05rem !important;
        margin-bottom: 0.75rem !important;
    }
    .footer-dual-cols .footer-links li a {
        font-size: 0.85rem !important;
        line-height: 1.35 !important;
        display: block !important;
        word-break: break-word !important;
    }
}

/* Schedule Card Actions (2-Column Button Grid) */
.schedule-card-actions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    width: 100%;
}

.schedule-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.schedule-actions-grid > * {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}