:root {
    --primary-blue: #224CCD;
    --white: #FFFFFF;
    --text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    --header-bg: #FFFFFF;
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, var(--primary-blue) 100%);
    --font-main: 'DM Sans', sans-serif;

    /* Additional Figma Variables */
    --cream_clr: rgba(255, 255, 255, 1);
    --primary_clr_bg: rgba(255, 255, 255, 1);
    --light_bg: rgba(255, 255, 255, 1);
    --stroke_clr_bg: rgba(50, 45, 41, 1);
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../assets/fonts/DM_Sans/DMSans-Medium.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../assets/fonts/DM_Sans/DMSans-SemiBold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../assets/fonts/DM_Sans/DMSans-Bold.ttf') format('truetype');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    /* Ensure font-family inheritance across all elements */
}

body {
    font-family: var(--font-main);
    color: var(--white);
    line-height: normal;
    overflow: hidden;
    /* Prevent scrolling as requested */
    background-color: #000;
    height: 100vh;
    --sb-track-color: #ffffff;
    --sb-thumb-color: rgba(176, 182, 237, 1);
    --sb-size: 9px;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar (Hidden but defined for safety) */
body::-webkit-scrollbar {
    width: 0;
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 10px;
}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

/* Layout container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 135px;

}

/* Header Styles */
header {
    background-color: var(--header-bg);
    padding: 6px 100px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 10px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.logo-left img,
.logo-right img {
    height: 50px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Fixed height for no-scroll */
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 0;
    background-size: cover;
    background-position: center top;
    /* Start at top to fill header corners */
    background-repeat: no-repeat;
    background-color: var(--primary-blue);
    /* Primary blue fallback */
    overflow: hidden;
    /* Default background (Web) */
    background-image: var(--gradient-overlay), url('../assets/images/bg-web.png');
}

/* Container within hero */
.hero .container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer Styles (Now outside Hero) */
footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 1320px;
    /* Static width as requested */
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    z-index: 10;
}

@media (max-width: 1023px) {
    .hero {
        background-image: var(--gradient-overlay), url('../assets/images/bg-tab.png');
    }
}

/* Badges and Typography */
.badge {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 40px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(34, 76, 205, 0.4);
}

h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: var(--text-shadow);
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--white);
}

.sub-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: var(--text-shadow);
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.event-details {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 761px;
    height: 44px;
    padding: 8px 12px;
    background: #FFFFFF61;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 15px;
    margin: 0 auto 40px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    color: var(--white);
    letter-spacing: 0%;
    text-align: center;
}

.event-icon {
    height: 28px;
    width: 28px;
    object-fit: contain;
}

.separator {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    opacity: 1;
}

.description {
    width: 1078px;
    height: 84px;
    max-width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    margin: 0 auto 88px;
    /* Precise 88px gap below paragraph */
    text-align: center;
    opacity: 1;
}

/* Footer Styles */
footer {
    position: relative;
    /* Normal flow for precise spacing */
    margin-bottom: 30px;
    /* Distance from bottom of the page */
    margin-left: 100px;
    margin-right: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    z-index: 10;
}

footer p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Tablet Adjustments (768px - 1400px) */
@media (min-width: 768px) and (max-width: 1400px) {
    header {
        padding: 6px 40px;
    }

    .hero {
        padding: 100px 20px 0;
        height: 100vh;
        overflow: hidden;
        background-position: center center;
        /* ← was: center top — fixes building position */
        justify-content: center;
        /* ← ensures content stays vertically centered */
    }

    .hero .container {
        width: 100%;
        max-width: 730px;
        margin: 0 auto;
        padding-top: 80px;
        /* ← pushes content down from header */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .badge {
        margin-bottom: 13.5px;
    }

    h1 {
        font-family: 'DM Sans', sans-serif;
        font-weight: 700;
        font-size: 48px;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        width: 100%;
        max-width: 730px;
        height: auto;
        min-height: 53px;
        margin: 0 auto 13.5px;
        opacity: 1;
    }

    .sub-title {
        font-family: 'DM Sans', sans-serif;
        font-weight: 600;
        font-size: 28px;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        width: 100%;
        max-width: 543px;
        height: auto;
        min-height: 36px;
        margin: 0 auto 13.5px;
    }

    .event-details {
        margin: 0 auto 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 699px;
        height: 44px;
        padding: 8px 12px;
        gap: 15px;
        border-radius: 40px;
    }

    .event-item {
        font-size: 18px;
        font-weight: 700;
    }

    .event-icon {
        height: 20px;
    }

    .separator {
        font-size: 18px;
    }

    .description {
        font-family: 'DM Sans', sans-serif;
        font-weight: 500;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0%;
        text-align: center;
        width: 100%;
        max-width: 730px;
        margin: 0 auto 55px;
        /* ← 100px gap before footer */
    }

    footer {
        width: 699px;
        max-width: calc(100% - 40px);
        left: 0;
        right: 0;
        margin: 0 auto;
        position: relative;
        /* ← ensure it sits in normal flow inside container */
        bottom: auto;
    }
}


/* Mobile Adjustments (Below 767px) */
@media (max-width: 767px) {
    body {
        overflow-y: auto !important;
        height: auto !important;
    }

    .hero {
        background-image: var(--gradient-overlay), url('../assets/images/bg-mob.png');
    }

    header {
        padding: 6px 20px;
        height: 70px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .logo-left img,
    .logo-right img {
        height: 32px;
        width: auto;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        /* Space for fixed header */
        padding-bottom: 40px;
        overflow: visible;
        background-position: center top;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        padding-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        overflow: visible;
    }

    .badge {
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: normal;
        padding: 8px 20px;
        border-radius: 50px;
        margin-bottom: 25px;
        display: inline-block;
        white-space: nowrap;
    }

    h1 {
        font-family: 'DM Sans', sans-serif;
        font-weight: 700;
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: 0%;
        text-align: center;
        width: 100%;
        max-width: 264px;
        height: auto;
        min-height: 72px;
        margin: 0 auto 15px;
    }

    .sub-title {
        font-family: 'DM Sans', sans-serif;
        font-weight: 600;
        font-size: 20px;
        line-height: 1.4;
        letter-spacing: 0%;
        text-align: center;
        width: 100%;
        max-width: 264px;
        height: auto;
        min-height: 52px;
        margin: 0 auto 45px;
    }

    /* In your @media (max-width: 767px) block, replace the event-item rules with: */

    .event-details {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* ← centers the fixed-width pills */
        gap: 16px;
        width: 100%;
        margin-bottom: 30px;
        background: none;
        border: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
    }

    .event-item {
        background: #FFFFFF61;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 40px;
        padding: 8px 12px;
        font-family: 'DM Sans', sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 100%;
        /* ← Figma spec */
        letter-spacing: 0%;
        display: flex;
        align-items: center;
        justify-content: center;
        /* gap: 24px; */
        color: var(--white);
        text-align: center;
        /* Remove width: 100% / max-width: 100% from base .event-item */
    }

    .event-item.date {
        width: 185px;
        height: 44px;
    }

    .event-item.venue {
        width: 292px;
        height: 58px;
        line-height: 100%;
        /* ← override any inherited line-height */
    }

    .event-item span {
        text-align: center;
        display: block;
        font-size: 16px;
        font-weight: 700;
        line-height: 100%;
        letter-spacing: 0%;
    }

    .event-item.date {
        width: 185px;
        height: 44px;
    }

    .event-item.venue {
        width: 292px;
        height: 58px;
        line-height: 1.3;
    }

    .event-icon {
        height: 18px;
        width: auto;
        flex-shrink: 0;
    }

    .separator {
        display: none;
    }

    .description {
        font-family: 'DM Sans', sans-serif;
        font-weight: 500;
        font-size: 14px;
        line-height: 1.8;
        letter-spacing: 0%;
        text-align: center;
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 144px;
        margin: 0 auto 104px;
        padding-top: 20px;
    }

    footer {
        width: 100%;
        max-width: 340px;
        margin: 0 auto 20px;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        flex-shrink: 0;
        padding: 12px;
    }

    footer p {
        font-family: 'DM Sans', sans-serif;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0%;
    }
}