﻿/* Global Styles */
:root {
    --primary-red: #FF003C;
    --primary-red-rgb: 255, 0, 60;
    --primary-blue: #00FFFF;
    --primary-blue-rgb: 0, 255, 255;
    --dark-bg: #1a1a1a;
    --light-bg: #FFFFFF;
    --white: #ffffff;
    --text-color: #333333;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c01b23;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.containerHeader {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c01b23;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    box-shadow: 1px 5px 12px #00000099;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    filter: drop-shadow(2px 4px 15px black);
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    z-index: 1000;
    padding: 10px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: inset 4px 9px 25px rgb(0 126 255 / 16%), 4px 9px 34px rgb(119 94 94 / 49%);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    padding: 15px 30px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    transition: all 0.3s ease;
}

.nav-menu ul {
    display: flex;
    gap: 5px;
    /* Reduced gap for pill buttons */
    background: #00000012;
    padding: 5px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: var(--primary-red);
    box-shadow: 0 4px 15px rgba(226, 32, 41, 0.4);
}

/* Header CTA Button Adjustment */
.header-cta .btn {
    border-radius: 25px;
    padding: 10px 25px;
    box-shadow: 0 4px 15px rgba(226, 32, 41, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    /* Header height */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img,
.hero-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-bg video.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff003c42, #00ffff33);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo img {
    height: 140px;
    margin-bottom: 20px;

    padding: 10px;
    border-radius: 10px;

    filter: drop-shadow(2px 4px 6px black);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 10px;

    color: var(--primary-blue);
    text-shadow: 1px 7px 10px #00000057;
}

.hero-title-location {
    font-size: 3rem;
    margin-bottom: 10px;

    color: #fff;
    text-shadow: 1px 7px 10px #00000057;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    font-style: italic;
    color: var(--primary-blue);
}

.hero-actions {
    margin-bottom: 40px;
}

/* Neon Countdown Timer */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-family: 'Orbitron', 'Outfit', sans-serif;
}

.time-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.time-card:hover {
    transform: translateY(-5px);
}

/* Neon Blue Style (Days & Minutes) */
.time-card.style-blue {
    border-color: var(--primary-blue);
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.time-card.style-blue .number {
    color: var(--primary-blue);
    text-shadow:
        0 0 0px var(--primary-blue),
        0 0 2px var(--primary-blue);
}

/* Neon Red Style (Hours & Seconds) */
.time-card.style-red {
    border-color: var(--primary-red);
    box-shadow:
        0 0 10px rgba(255, 0, 60, 0.2),
        inset 0 0 20px rgba(255, 0, 60, 0.1);
}

.time-card.style-red .number {
    color: var(--primary-red);
    text-shadow:
        0 0 0px var(--primary-red),
        0 0 2px var(--primary-red);
}

.time-card .number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.time-card .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ccc;
    opacity: 0.9;
}

/* Countdown Responsive */
@media (max-width: 768px) {
    .countdown-wrapper {
        gap: 15px;
    }

    .time-card {
        width: 110px;
        padding: 20px 10px;
    }

    .time-card .number {
        font-size: 2.5rem;
    }

    .time-card .label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .time-card {
        width: 45%;
        padding: 15px 5px;
    }

    .time-card .number {
        font-size: 2rem;
    }
}

.accreditation-badge {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.accreditation-badge img {
    width: 100px;
    height: 100px;
}



/* Chairman Section */

.chairman-section {

    height: 100vh;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    background-image: url(../img/chairman-section-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chairman-grid {
    display: grid;
    grid-template-columns: 0.6fr;
    gap: 50px;
    justify-content: center;
    align-items: center;
    /* background-image: radial-gradient(#00ffff26, #ff003c05); */
    /* background-color: #ffffff; */
    padding: 60px 30px;
    border-radius: 20px;
    /* box-shadow: 11px 18px 65px #000000bd; */
    /* filter: blur(0px); */
    /* backdrop-filter: blur(20px); */
    text-align: center;
}

.photo-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 5px solid var(--white);
    animation: float-magical 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float-magical {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: translateY(-15px);
        box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
        /* Stronger shadow when lifted */
    }
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px;
    font-style: italic;
    filter: drop-shadow(2px 4px 8px black);
}

.chairman-signature .name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
    filter: drop-shadow(2px 4px 14px black);
}

.chairman-signature .title {
    font-size: 0.9rem;
    color: #ffffff;
    filter: drop-shadow(2px 4px 14px black);
}

/* Audience Section - Wheel Design */
:root {
    --wheel-radius: 250px;
    --item-size: 120px;
}

.scroll-wheel-section {
    position: relative;
    height: 400vh;
    background-color: transparent;
}

.scroll-wheel-section .audience-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-wheel-section.in-view .audience-bg {
    opacity: 1;
}

.scroll-wheel-section .audience-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-wheel-section .audience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, #c01b23cc, #007effaa);
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1300px;
    align-items: center;
    gap: 10px;
}

/* Wheel Area (Left) */
.wheel-area {
    position: relative;
    max-height: 800px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
}

/* Rotating Wheel */
.wheel {
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: calc(var(--wheel-radius) * 2);
    height: calc(var(--wheel-radius) * 2);
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    transition: transform 0.1s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/spinner.png);
}

/* Center Logo */
.scroll-wheel-section .center-logo {
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.1);

    border-radius: 50%;
    z-index: 10;
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.4),
        0 0 60px rgba(255, 0, 60, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.scroll-wheel-section .center-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

/* Wheel Items (Icons) */
.wheel-item {
    position: absolute;
    width: var(--item-size);
    height: var(--item-size);

    background-image: url('../img/wheel-item-bg.svg');
    background-size: cover;
    background-position: center;



    display: flex;
    align-items: center;
    justify-content: center;


    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.wheel-item img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    border-radius: 50%;
}

.wheel-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-item i {
    font-size: 40px;
    color: #ffffff;
    animation: heartbeat 2.5s ease-in-out infinite;
}

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

    14% {
        transform: scale(1.15);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

/* Active Item Styling */
.wheel-item.active {
    transform: scale(1.4) !important;
    border-color: var(--primary-blue);
    /* background: rgba(0, 255, 255, 0.2); */
    /* box-shadow:
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(0, 255, 255, 0.3); */
    z-index: 20;
}

.wheel-item.active i {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Text Area (Right) */
.text-area {
    text-align: left;
    padding: 2rem;
}

.audience-main-heading {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

.text-content-wrapper {
    position: relative;
    min-height: 280px;
}

.info-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.info-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.info-card h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.info-card h3 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.info-card p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Progress Counter */
.wheel-progress {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.wheel-progress .current {
    color: var(--primary-blue);
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.wheel-progress .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* ======================================================================
   MOBILE RESPONSIVE: Clickable Grid Layout
   ====================================================================== */
@media (max-width: 767px) {
    .scroll-wheel-section {
        height: auto !important;
        min-height: auto !important;
        padding: 30px 0 20px 0;
    }

    .scroll-wheel-section .audience-bg {
        position: fixed !important;
        opacity: 1 !important;
        z-index: -1 !important;
    }

    .scroll-wheel-section .audience-bg video {
        display: block !important;
    }

    .sticky-container {
        position: relative !important;
        height: auto !important;
    }

    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .wheel-area {
        height: auto !important;
        max-height: none !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        position: relative;
        z-index: 999 !important;
    }

    .wheel {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        border: none !important;
        background: none !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 15px;
        transform: none !important;
    }

    .wheel-item {
        position: relative !important;
        transform: none !important;
        width: 100% !important;
        height: 115px !important;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        z-index: 1100 !important;
    }

    .wheel-item:active {
        transform: scale(0.95) !important;
    }

    .wheel-item.active {
        transform: scale(1.05) !important;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.6),
            0 0 40px rgba(255, 0, 60, 0.3);
    }

    .center-logo {
        display: none !important;
    }

    .text-area {
        order: 2;
        padding: 0 15px;
    }

    .audience-main-heading {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .text-content-wrapper {
        position: relative !important;
        min-height: 200px !important;
    }

    .info-card {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 0;
        padding: 15px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        opacity: 0 !important;
        transform: translateY(0) !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }

    .info-card.active {
        opacity: 1 !important;
        pointer-events: all !important;
    }

    .info-card h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .info-card h3 {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .info-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .wheel-progress {
        display: none !important;
    }
}

/* Organizer Section */
.organizer-section {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid rgba(var(--primary-blue-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.organized-by {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 900;
}

.organizer-logo img {
    height: 80px;
    margin-bottom: 30px;
}

/* Mobile Responsiveness for Wheel */
@media (max-width: 992px) {
    :root {
        --wheel-radius: 200px;
        --item-size: 55px;
    }

    .scroll-wheel-section .center-logo {
        width: 110px;
        height: 110px;
    }

    .wheel-area {
        height: 500px;
    }

    .audience-main-heading {
        font-size: 2rem;
    }

    .info-card h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {


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

    .wheel-area {
        height: 350px;
        order: 1;
        transform: scale(0.75);
        mask-image: none;
        -webkit-mask-image: none;
    }

    .text-area {
        order: 2;
        text-align: center;
        padding: 1rem;
    }

    .scroll-wheel-section {
        height: 500vh;
    }

    .info-card {
        left: 0;
        right: 0;
    }

    .audience-main-heading {
        font-size: 1.6rem;
        text-align: center;
    }

    .info-card h2 {
        font-size: 1.5rem;
    }

    .info-card p {
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {

    padding: 0;
    text-align: center;
    box-shadow: 0px -2px 30px rgba(var(--primary-red-rgb), 0.13);
}

.footer-container {
    width: 100vw;
    padding: 0px 0;

}

/* Footer Float Animation */
@keyframes footerFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.footer-img {
    height: 140px;
    background-image: url('../img/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0px 0px -20px 0;
    animation: footerFloat 6s ease-in-out infinite;
    will-change: transform;
}

/* Pause animation during scroll */
.footer-img.paused {
    animation-play-state: paused;
}

.copyright {
    width: 100%;
    background-color: var(--primary-red);
    position: relative;
    z-index: 6;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #ffffff;
    /* Black font */
    font-weight: 500;

}



/* =============================================
   RESPONSIVE HEADER - HAMBURGER MENU
   ============================================= */

/* Hamburger Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Hamburger Animation when active */
.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Large Tablets & Small Laptops - 1200px */
@media (max-width: 1200px) {
    .header {
        width: 95%;
        padding: 10px 20px;
    }

    .nav-menu a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .header-cta .btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

/* Tablets - 992px */
@media (max-width: 992px) {
    .header {
        width: 95%;
        padding: 12px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        padding: 100px 30px 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: none;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger animation for menu items */
    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-menu.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-color);
        border-radius: 12px;
        margin-bottom: 8px;
        background: rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--white);
        background: linear-gradient(135deg, var(--primary-red), #ff2d55);
        border-color: transparent;
        transform: translateX(10px);
        box-shadow: 0 5px 20px rgba(255, 0, 60, 0.3);
    }

    .header-cta {
        display: none;
    }

    .menu-overlay {
        display: block;
    }

    /* Close button in mobile menu */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 30px;
        width: 80px;
        height: 40px;
        background: url('../img/black-logo.png') no-repeat center;
        background-size: contain;
    }
}

/* Mobile Phones - 768px */
@media (max-width: 768px) {
    .header {
        top: 10px;
        width: 94%;
        padding: 10px 15px;
        border-radius: 30px;
    }

    .header.scrolled {
        padding: 10px 15px;
    }

    .logo img {
        height: 35px;
    }

    .nav-menu {
        width: 280px;
        padding: 90px 25px 30px;
    }

    .nav-menu a {
        padding: 12px 16px;
        font-size: 1rem;
    }

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

    .hero-title-location {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .chairman-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Small Mobile Phones - 576px */
@media (max-width: 576px) {
    .header {
        top: 8px;
        width: 92%;
        padding: 8px 12px;
        border-radius: 25px;
    }

    .logo img {
        height: 32px;
    }

    .menu-toggle {
        width: 26px;
        height: 20px;
    }

    .hamburger-line {
        height: 3px;
    }

    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .nav-menu {
        width: 100%;
        right: -100%;
        padding: 80px 20px 30px;
        border-radius: 0;
    }

    .nav-menu a {
        padding: 14px 18px;
        font-size: 1rem;
        text-align: center;
    }

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

    .hero-title-location {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo img {
        height: 100px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile Phones - 400px */
@media (max-width: 400px) {
    .header {
        top: 5px;
        width: 95%;
        padding: 8px 10px;
        border-radius: 20px;
    }

    .logo img {
        height: 28px;
    }

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

    .hero-title-location {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-logo img {
        height: 80px;
    }

    .countdown-wrapper {
        gap: 10px;
    }

    .time-card {
        width: 42%;
        padding: 12px 5px;
    }

    .time-card .number {
        font-size: 1.8rem;
    }

    .time-card .label {
        font-size: 0.65rem;
    }
}


canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 1.0;
}

/* Scroll Video Section */
/* Scroll Video Section */
.scroll-video-section {
    height: 100vh;
    /* Viewport height, GSAP adds the scroll space */
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Video Loading Spinner */
.video-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    transition: opacity 0.5s ease-out;
}

.video-loading-spinner.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 255, 255, 0.2);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.video-loading-spinner p {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}


#scroll-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ripple Effect */
.hero {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}