/* GLOBAL FONT */
/* ================= HEADER UNIVERSAL STABILITY ================= */

/* Allow both horizontal & vertical scroll safely */
html, body {
    overflow-x: auto;
    overflow-y: auto;
}

/* Constrain header content visually on large screens */
.header-wrapper {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Prevent nav from stretching uncontrollably */
.nav-grid {
    max-width: 360px;
}

/* Lock button sizing logic */
.nav-btn {
    max-width: 160px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

/* HEADER BASE */
.irs-header {
    background-color: #7a3f3f;
    padding: 14px 0;
}

/* MAIN LAYOUT */
.header-wrapper {
    width: 95%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* LOGO BLOCK */
.logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 260px;
}

/* GOLD BADGE */
.logo-badge {
    width: 82px;
    height: 82px;

    /* Real gold metallic gradient */
    background: linear-gradient(
        145deg,
        #fff2b2 0%,
        #f4d06f 25%,
        #d4af37 50%,
        #b8962e 75%,
        #f9e08c 100%
    );

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Depth + shine */
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.6),
        inset 0 -3px 6px rgba(0,0,0,0.25),
        0 8px 18px rgba(0,0,0,0.35);
}

.logo-badge img {
    width: 55px;
}

/* LOGO TEXT */
.logo-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
}

/* NAV GRID – EQUAL SPACE GUARANTEED */
.nav-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

/* NAV BUTTONS */
.nav-btn {
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s ease;
}

/* HOVER */
.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

/* HIGHLIGHT */
.nav-btn.highlight {
    background-color: #c79b3b;
    color: #2b1b0e;
    font-weight: 600;
}

.nav-btn.highlight:hover {
    background-color: #e0b654;
}

/* ===============================
   HERO BASE
================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;

}

/* ===============================
   VIDEO BACKGROUND
================================ */
.video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.3s ease-in-out, transform 8s ease;
}

.bg-video.active {
    opacity: 1;
    transform: scale(1);
}

/* ===============================
   FLASH EFFECT
================================ */
.video-flash {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 45%,
        rgba(255,255,255,0.45) 50%,
        transparent 55%
    );
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.flash-animate {
    animation: flashSwipe 1.1s ease-out;
}

@keyframes flashSwipe {
    0% { opacity: 0; }
    30% { opacity: 1; }
    100% { opacity: 0; }
}

/* ===============================
   DARK OVERLAY
================================ */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5,5,5,0.85),
        rgba(5,5,5,0.55),
        rgba(5,5,5,0.35)
    );
    z-index: 2;
}

/* ===============================
   CONTENT LAYOUT (KEY FIX)
================================ */
.hero-content-wrapper {
    position: relative;
    z-index: 4;
    height: 100%;
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;   /* NEW */
    margin: 0 auto;            /* NEW */
    padding-left: 0;           /* REMOVE left bias */
}

.hero-content {
    color: #fff;
    max-width: 375px;
    text-align: center;   /* NEW */
    width: 100%;
    max-width: 420px;
    padding: 10px 0;
}

/* ===============================
   TYPOGRAPHY & LOGOS
================================ */
.hero-main-logo {
    width: min(80vw, 420px);
    margin-bottom: 26px;
    transform: scale(1.03);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55));
    max-width: 420px;
}

.hero-subtitle {
    font-size: 20px;         /* More authority */
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: #c8a36a;
    margin: 22px 0;
}

.hero-organised {
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 18px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.hero-sge-logo {
    width: 89px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.hero-meta {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 20px;
}

.hero-theme {
    font-size: 16px;
    line-height: 1.6;
    color: #e6c28b;
    margin-top: 26px;
}

.hero-content > * {
    margin-left: auto;
    margin-right: auto;
}


/* ================= EVENT ROAD MAP ================= */

.event-roadmap {
    background: #EEE0D0;
    padding: 6rem 2rem 8rem;

    overflow-x: auto;
    overflow-y: visible;

    width: 100%;
}

.roadmap-title {
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 3rem;
    color: #7a3f3f;
}

/* Wrapper gives equal margins */
.roadmap-wrapper {
    position: relative;

    width: max-content;
    min-width: 1400px;  /* 👈 THIS is the scroll extension */
    padding-right: 6rem; /* 👈 gives breathing space near FINISH */
}

/* ================= CATEGORY LABELS ================= */

.category-label {
    position: absolute;
    top: -2.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-transform: uppercase;
}

.category-label.day1 { left: 30%; color: #c9660a; }
.category-label.day2 { left: 70%; color: #9e6208d3; }
.category-label.day3 { left: 70%; color: #754803d3; }

/* ================= ROAD LINE ================= */

.road-line {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: center;
    gap: 0;
    position: relative;
    padding: 2.5rem 0;
}

/* Base line */
.road-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        #eb8c3f 0%,
        #c9660a 45%,
        #9e6208d3 85%
    );
    z-index: 0;
    border-radius: 2px;
}

/* ================= START / END CAPS ================= */

.road-cap {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    background: #111;
    color: #fff;
    z-index: 2;
    justify-self: center;
}

.road-cap.start {
    background: linear-gradient(135deg, #f31606fa, #ff0101);
    box-shadow: #111;
}

.road-cap.end {
    background: linear-gradient(135deg, #38ce12, #35fa04);
    box-shadow: #111;
}

/* ================= NODE SPACING FIX ================= */

.event-node {
    justify-self: center;
    z-index: 2;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .roadmap-wrapper {
        overflow-x: auto;
    }

    .road-line {
        min-width: 900px;
    }

    .category-label {
        display: none;
    }
}

/* ================= FIX: EVENT NODES ================= */

.event-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    line-height: 1;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* CATEGORY COLORS */
.event-node.pre {
    background: #eb8c3f;
}

.event-node.day1 {
    background: #c9660a;
}

.event-node.day2 {
    background: #9e6208d3;
}

.event-node.day3 {
    background: #754803d3;
}


/* HOVER FEEDBACK */
.event-node:hover {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px rgba(0,0,0,0.08);
}

/* ================= PIN TOOLTIP ================= */

.event-node::after {
    content: attr(data-icon);
    position: static;
    transform: none;
    background: none;
    width: auto;
    height: auto;
    box-shadow: none;
    font-size: 16px;
}
/* Tooltip text */
.event-node::before {
    content:
        "Event: " attr(data-event) "\A"
        "Time: " attr(data-time) "\A"
        "Day: " attr(data-day) "\A"
        "Venue: " attr(data-venue);

    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);

    min-width: 220px;
    max-width: 320px;
    width: max-content;

    background: #ffffff;
    color: #111;
    padding: 1rem 1.2rem;

    font-size: 0.75rem;
    line-height: 1.65;
    text-align: center;

    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(0,0,0,0.28);

    white-space: pre-line;

    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.event-node::before {
    max-height: 120vh;              /* extend vertical space safely */
    overflow-y: auto;              /* scroll only if content exceeds */
    overscroll-behavior: contain;  /* prevents page scroll hijack */
}

.event-node::before::first-line {
    font-weight: 700;
    font-size: 0.85rem;
    color: #000;
    text-align: center;
}

.event-node::before {
    text-transform: none;
}

.event-node::before strong,
.event-node::before b {
    color: #b08a3c;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.event-node::before .label {
    display: inline-block;
    min-width: 90px;
    font-weight: 600;
    color: #b08a3c; /* golden brown */
}

.event-node::before .value {
    font-weight: 500;
    color: #111;
}

:root {
    --event-popup-width: 150px;
    --event-popup-padding: 1.1rem 1.3rem;
}

.event-node::before {
    width: var(--event-popup-width);
    padding: var(--event-popup-padding);
}

.event-node::before strong {
    color: #b08a3c;          /* Golden brown */
    font-weight: 600;
}

/* Hover activation */
.event-node:hover::before {
    opacity: 1;
}

.event-node::before {
    overflow: visible;
}


:root { 
    --card-bg: #EEE0D0; 
    --shadow-glow: rgba(150, 110, 70, 0.35); 
    --shadow-soft: rgba(150, 110, 70, 0.18); 
    --accent-color: #6b4a2d; 
    --text-color: #2b2b2b; 
    --button-bg: #7a3f3f; 
    --button-bg-hover: #8a623f; 
    --button-text: #ffffff; } 
    
/* ================================ EVENT CARD BASE ================================ */ 

.event-card { 
    width: 95%; 
    margin: 2.5rem auto; 
    background-color: var(--card-bg); 
    box-shadow: 0 8px 24px var(--shadow-soft), 0 0 18px var(--shadow-glow); 
    border-radius: 14px; overflow: hidden; 
} 

/* ================================ CARD INNER LAYOUT ================================ */ 

.event-card-inner { 
    display: flex; 
    width: 100%; 
    min-height: auto; 
} 

/* Direction Control */ 

.event-card-inner.image-left { 
    flex-direction: row; 
} 

.event-card-inner.image-right { 
    flex-direction: row-reverse; 
} 

/* ================================ IMAGE SECTION ================================ */ 

.event-image { flex: 0 0 38%; max-width: 38%; } 

.event-image img { 
    width: 100%; 
    height: 100%; 
    padding-left: 15px; 
    padding-right: 15px; 
    padding-top: 15px; 
    padding-bottom: 15px; 
    border-radius: 5px; 
    object-fit: contain; 
    display: block; 
} 

/* ================================ CONTENT SECTION ================================ */ 

.event-content { 
    flex: 1; 
    padding: 2.2rem 2.5rem; 
    color: var(--text-color); 
} 

.event-title { 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin-bottom: 1.2rem; 
    color: var(--accent-color); 
    text-align: center;
} 

/* Text justification everywhere */ 

.event-content p, .event-content li { text-align: justify; line-height: 1.65; font-size: 1rem; } 

/* ================================ DESCRIPTION BLOCK ================================ */ 

.event-description p { margin-bottom: 1rem; } 

/* ================================ ASTRONOMY-STYLE STAR BULLETS ================================ */ 

.event-content ul { 
    list-style: none; 
    padding-left: 0; 
    margin: 1rem 0 1.5rem; 
} 

.event-content ul li { 
    position: relative; 
    padding-left: 1.8rem; 
    margin-bottom: 0.7rem; 
} 

/* Professional star bullet */ 

.event-content ul li::before { 
    content: "✦"; 
    position: absolute; 
    left: 0; 
    top: 0.1rem; 
    color: var(--accent-color); 
    font-size: 1.1rem; 
    text-shadow: 0 0 6px rgba(107, 74, 45, 0.4); 
} 

/* Subtle hover effect for bullet lines */ 

.event-content ul li:hover { transform: translateX(4px); transition: transform 0.25s ease; } 

/* ================================ PRIZES & CONTACT HEADINGS ================================ */ 

.event-prizes h4, .event-contact h4 { 
    margin-top: 1.8rem; 
    margin-bottom: 0.6rem; 
    font-size: 1.15rem; 
    color: var(--accent-color); 
} 

.event-prizes a{
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.event-prizes a:hover{
    text-decoration: underline;
}

/* ================================ CONTACT TEXT ================================ */ 

.event-contact p { margin: 0.35rem 0; font-weight: 500; } 

/* Placeholder styling */ 

.placeholder { opacity: 0.65; font-style: italic; } 

/* ================================ REGISTER BUTTON (GLOBAL) ================================ */ 

.event-action { margin-top: 2rem;text-align: center;} 

.register-btn { 
    display: inline-block; 
    padding: 0.7rem 1.6rem; 
    background-color: var(--button-bg); 
    color: var(--button-text); 
    font-weight: 600; 
    text-decoration: none; 
    border-radius: 999px; 
    transition: all 0.25s ease; 
    box-shadow: 0 4px 12px #7a3f3f; 
} 

.register-closed-btn {
    display: none;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #9a9a9a, #7f7f7f);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.35);
    cursor: not-allowed;
    -webkit-user-select: none;
}

.register-btn:hover { 
    background-color: var(--button-bg-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 18px rgba(107, 74, 45, 0.55); 
} 

/* ================================ RESPONSIVE BEHAVIOR ================================ */ 

@media (max-width: 900px) { 
    .event-card-inner { flex-direction: column !important; } 
    .event-image { max-width: 100%; flex: none; height: 240px; } 
    .event-content { padding: 1.8rem; } 
} 
    
/* ================================ PREMIUM CARD HOVER EFFECT (APPENDED — SAFE TO LOCK) ================================ */ 

.event-card { transition: transform 0.35s ease, box-shadow 0.35s ease; } 

.event-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 14px 32px rgba(150, 110, 70, 0.28), 0 0 28px rgba(170, 125, 80, 0.45); }
    
/* ================================ CENTRAL NAVIGATOR ================================ */ 

.event-navigator {
     display: flex; 
     justify-content: center; 
     gap: 1.2rem; margin: 3rem 0; 
}

.nav-dot { 
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    background-color: rgba(107, 74, 45, 0.35); 
    cursor: pointer; 
    transition: all 0.25s ease; 
} 
.nav-dot:hover { 
    transform: scale(1.4); 
    background-color: #6b4a2d; 
} 

.nav-dot.active { 
    background-color: #6b4a2d; box-shadow: 0 0 10px rgba(107, 74, 45, 0.7); 
}

/* ===============================
   ABOUT THE EVENTS - TITLE CARD
================================ */

.events-about-card {
    width: 100%;
    background-color: #EEE0D0;
    padding: 3.5rem 3rem;
    margin: 3rem 0;
    border-radius: 18px;

    /* same visual gap + shadow logic as event cards */
    box-shadow:
        0 0 0 6px rgba(233, 155, 20, 0.15),
        0 18px 40px rgba(110, 85, 45, 0.25);

    box-sizing: border-box;
}

.events-about-title {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #4b3521; /* solid academic brown */
    text-align: center;
    margin-bottom: 1.8rem;
    letter-spacing: 0.4px;
}

.events-about-text {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5a4630;
    text-align: justify;
}

/* Mobile refinement */
@media (max-width: 768px) {
    .events-about-card {
        padding: 2.5rem 1.5rem;
    }

    .events-about-text {
        font-size: 1rem;
    }
}

#Theme {
    text-align: center;
    font-weight: 600;
    margin-top: 1.2rem;
    color: #4b3521;
    letter-spacing: 0.3px;
}

.intro-theme {
    text-align: center;
    font-weight: 600;
    margin-top: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.footer {
    background-color: #8b3a3a;
    color: #ffffff;
    width: 100%;
    padding: 14px 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-text {
    font-weight: 600;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a i {
    font-size: 16px;
}

.footer a:hover i {
    opacity: 0.75;
}

.separator {
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.9;
}

/* ===============================
   FIXED BUTTONS — GLOBAL
================================ */

.fixed-scroll-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.scroll-btn {
    background: #7a3f3f;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* ===============================
   EVENT NAVIGATOR — BOTTOM RIGHT
================================ */

.fixed-event-navigator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.fixed-event-navigator summary {
    list-style: none;
    cursor: pointer;
    background: #7a3f3f;
    color: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.fixed-event-navigator summary::-webkit-details-marker {
    display: none;
}

.nav-popup {
    margin-top: 12px;
    background: #EEE0D0;
    padding: 18px 20px;
    width: 260px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===============================
   NAV SECTIONS
================================ */

.nav-section h4 {
    margin: 0 0 6px;
    font-size: 0.85rem;
    color: #4b3521;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-section a {
    display: block;
    padding: 6px 4px;
    font-size: 0.9rem;
    color: #5a4630;
    text-decoration: none;
    border-radius: 6px;
}

.nav-section a:hover {
    background: rgba(139,106,63,0.15);
}

/* ===============================
   MOBILE ADJUSTMENTS
================================ */

@media (max-width: 768px) {
    .nav-popup {
        width: 220px;
        font-size: 0.85rem;
    }

    .fixed-scroll-controls {
        left: 10px;
        bottom: 10px;
    }

    .fixed-event-navigator {
        right: 10px;
        bottom: 10px;
    }
}

/* ================= HOSTEL ACCOMMODATION CARD FIX ================= */

#hostel-accommodation {
width: 95%;
    margin: 2.5rem auto;
    background-color: var(--card-bg);
    border-radius: 14px;

    /* CRITICAL FIX */
    display: block;
    position: relative;
    overflow: hidden;      /* contains vertical growth */

    box-shadow:
        0 8px 24px var(--shadow-soft),
        0 0 18px var(--shadow-glow);
}

/* Center the heading */
#hostel-accommodation .event-title {
    text-align: center;
    margin-bottom: 1.4rem;
    color: var(--accent-color);
}
/* Justify paragraph text + improve readability */
#hostel-accommodation .event-description {
    text-align: justify;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 1rem;
}
/* Ensure consistent paragraph width & spacing */
#hostel-accommodation .event-card-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.6rem 2.6rem 3rem;
    box-sizing: border-box;
}

/* Center the button container */
#hostel-accommodation .event-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}


/* Improve button breathing space */
/* ================= MATCH EVENT REGISTER BUTTON ================= */

#hostel-accommodation .event-button {
    background: linear-gradient(135deg, #7a3f3f, #5e2d2d);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.75rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    text-align: center;
    white-space: normal;

    box-shadow: 0 6px 14px rgba(122, 63, 63, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover interaction (same premium feel) */
#hostel-accommodation .event-button:hover {
transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(122, 63, 63, 0.45);
}

#hostel-accommodation .event-content {
    overflow-y: auto;
    padding-right: 6px;
}

#hostel-accommodation .event-footer {
    margin-top: auto;
    text-align: center;
}

/* ================================ EVENT COUNTDOWN CLOCK ================================ */

.event-countdown {
    margin-top: 1.8rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #f4e6d6, #e6d3bd);
    box-shadow: inset 0 0 12px rgba(107, 74, 45, 0.25);
    text-align: center;
}

.countdown-label {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.time-box {
    background: #2b2b2b;
    color: #ffffff;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    min-width: 70px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.time-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: "Courier New", monospace;
}

.time-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Expired state */
.event-countdown.expired {
    background: #ddd;
    box-shadow: none;
}

.event-countdown.expired .time-box {
    background: #777;
}

/* ================= EVENT PRIZE POOL ================= */
.event-prize-pool {
    margin-top: 1.8rem;
    padding: 1rem 1.4rem;
    border-radius: 10px;
    background: linear-gradient(145deg, #f1ddc7, #e6cfae);
    box-shadow: inset 0 0 10px rgba(107, 74, 45, 0.25);
    text-align: center;
}

.event-prize-pool h4 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.event-prize-pool p {
    margin: 0;
    font-size: 1.05rem;
    text-align: center;
    font-weight: 600;
    color: #2b2b2b;
}

/* ================================ GEOHORIZON MAIN COUNTDOWN ================================ */

.geohorizon-countdown {
    margin: 3rem auto;
    padding: 2rem;
    max-width: 900px;
    border-radius: 18px;
    background: linear-gradient(145deg, #f3e4d2, #e4d1ba);
    box-shadow: 0 14px 32px rgba(150, 110, 70, 0.35);
    text-align: center;
}

.geohorizon-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    letter-spacing: 0.6px;
}

.geohorizon-dates {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1.2rem;
}

.geohorizon-status {
    font-size: 1.1rem;
    font-weight: 700;
    color: #7a3f3f;
    margin-bottom: 1.2rem;
    letter-spacing: 0.4px;
}

/* Reuse existing countdown styles */
.geohorizon-countdown .countdown-timer {
    justify-content: center;
}


/* ================= MOBILE VIEW FIXES ================= */

/* ================= MOBILE HEADER FIX ================= */
@media (max-width: 768px) {

    .header-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .nav-grid {
        justify-content: center;
        flex-wrap: nowrap;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {

    .header-wrapper {
        gap: 24px;
    }

    .nav-grid {
        justify-content: flex-end;
    }
}

@media (min-width: 1101px) {

    .header-wrapper {
        justify-content: space-between;
    }

    .nav-grid {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {

    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-theme {
        font-size: 14px;
    }
}

@media (max-height: 650px) {
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 1024px) {
    .event-roadmap {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .roadmap-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    #hostel-accommodation .event-card-content {
        padding: 2rem 1.4rem 2.4rem;
    }
}