/* --- Root Variables & Base Styles --- */
:root {
    --primary-color: #0a415c;
    --accent-color: #2bb884;
    --light-bg-color: #f4f7f6;
    --white-color: #ffffff;
    --dark-text-color: #333333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-text-color);
    background-color: var(--white-color);
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}


/* --- Floating Text Animation --- */
.float-text {
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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


/* --- Header & Navigation --- */
/* This CSS works with your header.js file */
.site-header {
    background-color: rgba(255, 255, 255, 0.39) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 15px 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.31) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

/* Override track_style.css header styles */
header.site-header {
    background-color: rgba(255, 255, 255, 0.39) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 15px 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.31) !important;
    border-bottom: none !important;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    max-width: none !important;
    /* Override track_style.css max-width */
}

.site-header .header-container {
    max-width: none !important;
}

.logo img {
    height: 50px !important;
    margin-right: 0 !important;
    /* Override track_style.css margin-right: 30px */
}

.site-header .logo img,
header .logo img {
    height: 50px !important;
    margin-right: 0 !important;
}

.hamburger {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* Override track_style.css hamburger hiding - Always show hamburger */
.site-header .hamburger,
header .hamburger {
    display: block !important;
    font-size: 28px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: var(--primary-color) !important;
}

/* Hide track_style.css navigation that displays horizontally */
.site-header nav:not(.main-nav),
header nav:not(.main-nav) {
    display: none !important;
}

/* Ensure main-nav is hidden by default on all screen sizes */
@media (min-width: 993px) {

    .site-header .main-nav,
    header .main-nav {
        display: none !important;
    }
}

.main-nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    width: 300px !important;
    background-color: var(--white-color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 0 8px 8px !important;
    flex-grow: 0 !important;
    /* Override track_style.css flex-grow */
}

.site-header .main-nav,
header .main-nav {
    display: none !important;
    flex-grow: 0 !important;
}

.main-nav.nav-open {
    display: block !important;
}

.site-header .main-nav.nav-open,
header .main-nav.nav-open {
    display: block !important;
}

.main-nav ul {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
    /* Override track_style.css flex-wrap */
    justify-content: flex-start !important;
    /* Override track_style.css justify-content */
    align-items: stretch !important;
    /* Override track_style.css align-items */
}

.site-header .main-nav ul,
header .main-nav ul {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

.main-nav ul li {
    position: relative !important;
    margin: 0 !important;
    text-align: left !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.site-header .main-nav ul li,
header .main-nav ul li {
    margin: 0 !important;
    /* Override track_style.css margin: 0 12px */
}

.main-nav ul li:last-child {
    border-bottom: none;
}

.main-nav ul li a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    padding: 15px 20px !important;
    display: block !important;
    transition: background-color 0.3s ease !important;
    text-decoration: none !important;
    /* Override any link styles */
    letter-spacing: normal !important;
    /* Override track_style.css letter-spacing */
}

.site-header .main-nav ul li a,
header .main-nav ul li a {
    padding: 15px 20px !important;
    /* Override track_style.css padding: 10px 3px */
    font-size: 14px !important;
    /* Override track_style.css font-size: 12px */
}

.main-nav ul li a:hover {
    background-color: var(--light-bg-color);
}

.has-dropdown .dropdown {
    display: none !important;
    /* Hidden by default - override track_style.css */
    position: absolute !important;
    top: 0 !important;
    /* Align to top of parent item */
    right: 100% !important;
    /* Position to the left of the parent item */
    background-color: var(--white-color) !important;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.1) !important;
    min-width: 220px !important;
    list-style: none !important;
    padding: 10px 0 !important;
    z-index: 1001 !important;
    border-radius: 5px !important;
    left: auto !important;
    /* Override track_style.css left: 0 */
}

/* Override track_style.css dropdown styles - ensure consistency across ALL pages */
.site-header .has-dropdown .dropdown,
header .has-dropdown .dropdown,
header.site-header .has-dropdown .dropdown,
.main-nav .has-dropdown .dropdown,
.site-header .main-nav .has-dropdown .dropdown,
header .main-nav .has-dropdown .dropdown {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    right: 100% !important;
    left: auto !important;
    background-color: var(--white-color) !important;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.1) !important;
    min-width: 220px !important;
    list-style: none !important;
    padding: 10px 0 !important;
    z-index: 1001 !important;
    border-radius: 5px !important;
}

/* Mobile dropdown - positioned below parent item */
@media (max-width: 992px) {
    /* Full Screen Overlay Navigation */
    .main-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background-color: var(--white-color) !important;
        z-index: 10000 !important;
        padding: 80px 40px 40px 40px !important; /* Top padding for close button space */
        overflow-y: auto !important;
        
        /* Animation - Slide Down Effect */
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out !important;
    
    /* Reset dropdown styles */
    box-shadow: none !important;
    border-radius: 0 !important;
    max-height: none !important;
}

.main-nav.nav-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

    .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .main-nav ul li {
        width: 100% !important;
        text-align: left !important;
    }

    .main-nav ul li a {
        display: block !important;
        padding: 0 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: var(--primary-color) !important;
        border-bottom: none !important;
        background: none !important;
    }

    /* Sub-menu Styling - Accordion Effect */
    .main-nav .has-dropdown .dropdown {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 0 20px !important; /* Indent sub-items */
        margin: 0 !important;
        background: transparent !important;
        
        /* Smooth Expand Animation */
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease !important;
    }

    /* Show sub-menu when parent is active */
    .main-nav .has-dropdown.active > .dropdown {
        max-height: 1000px !important; /* Large enough to fit content */
        opacity: 1 !important;
        padding: 15px 0 0 20px !important;
    }

    .main-nav .has-dropdown .dropdown li {
        margin-bottom: 15px !important;
    }

    .main-nav .has-dropdown .dropdown li:last-child {
        margin-bottom: 0 !important;
    }

    .main-nav .has-dropdown .dropdown li a {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #888 !important; /* Lighter color for sub-items */
        text-transform: uppercase !important;
    }
    
    .main-nav .has-dropdown .dropdown li a:hover {
        color: var(--accent-color) !important;
    }

    /* Hamburger / Close Button Styling */
    .site-header .hamburger,
    header .hamburger {
        position: relative !important;
        z-index: 10001 !important;
        transition: all 0.3s ease !important;
    }

    /* Transform hamburger into Green Close Button when active */
    .site-header .hamburger.is-active,
    header .hamburger.is-active {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        background-color: var(--accent-color) !important; /* Green background */
        color: var(--white-color) !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    }
    
    .site-header .hamburger.is-active i,
    header .hamburger.is-active i {
        font-size: 20px !important;
    }

    .main-nav .has-dropdown .dropdown {
        position: static !important;
        /* Stack below parent in mobile */
        top: auto !important;
        right: auto !important;
        left: auto !important;
        box-shadow: none !important;
        border-top: none !important;
        border-radius: 0 !important;
        margin-top: 0 !important;
    }

    .site-header .main-nav .has-dropdown .dropdown,
    header .main-nav .has-dropdown .dropdown {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
    }

    /* CRITICAL FIX: Override all hover/active absolute positioning for mobile */
    .main-nav.nav-open .has-dropdown:hover>.dropdown,
    .site-header .main-nav.nav-open .has-dropdown:hover>.dropdown,
    header .main-nav.nav-open .has-dropdown:hover>.dropdown,
    header.site-header .main-nav.nav-open .has-dropdown:hover>.dropdown,
    header .has-dropdown:hover>.dropdown,
    header.site-header .has-dropdown:hover>.dropdown,
    .has-dropdown:hover>.dropdown {
        position: static !important;
        box-shadow: none !important;
        background: transparent !important;
        width: 100% !important;
        border: none !important;
        padding-left: 20px !important;
        margin: 0 !important;
        transform: none !important;
    }

    /* Ensure text wraps on mobile */
    .dropdown li a {
        white-space: normal !important;
        padding: 10px 0 !important;
    }
}

/* This is the CSS for the mobile dropdown logic - show when active */
.has-dropdown.active>.dropdown {
    display: block !important;
}

/* Override track_style.css - only show when active class is present */
.site-header .has-dropdown.active>.dropdown,
header .has-dropdown.active>.dropdown,
.main-nav .has-dropdown.active>.dropdown {
    display: block !important;
}

/* REMOVED CONFLICTING MOBILE HOVER STYLES */
/* The previous block here forced absolute positioning on mobile hover, which broke the layout. */

/* On desktop, also allow hover outside of mobile menu context */
@media (min-width: 993px) {

    /* Show dropdown on hover for desktop navigation - works on ALL pages */
    .has-dropdown:hover>.dropdown,
    .site-header .has-dropdown:hover>.dropdown,
    header .has-dropdown:hover>.dropdown,
    header.site-header .has-dropdown:hover>.dropdown {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        right: 100% !important;
        left: auto !important;
    }

    /* Hide mobile-clicked dropdowns on desktop (use hover instead) */
    .has-dropdown.active>.dropdown,
    .site-header .has-dropdown.active>.dropdown,
    header .has-dropdown.active>.dropdown {
        display: none !important;
    }
}

/* On mobile screens, also allow hover when menu is open, but prefer click */
@media (max-width: 992px) {

    /* When menu is open, allow hover to work - works on ALL pages */
    .main-nav.nav-open .has-dropdown:hover>.dropdown,
    .site-header .main-nav.nav-open .has-dropdown:hover>.dropdown,
    header .main-nav.nav-open .has-dropdown:hover>.dropdown,
    header.site-header .main-nav.nav-open .has-dropdown:hover>.dropdown {
        display: block !important;
    }

    /* Also show when clicked (active class) for touch devices */
    .has-dropdown.active>.dropdown,
    .site-header .has-dropdown.active>.dropdown,
    header .has-dropdown.active>.dropdown,
    .main-nav .has-dropdown.active>.dropdown,
    .site-header .main-nav .has-dropdown.active>.dropdown,
    header .main-nav .has-dropdown.active>.dropdown {
        display: block !important;
    }
}

.dropdown .dropdown {
    left: -100% !important;
    top: 0 !important;
}

/* FINAL OVERRIDE: Ensure track_style.css hover rules don't interfere */
/* This ensures ALL pages have the same hover behavior on DESKTOP ONLY */
@media (min-width: 993px) {
    header .has-dropdown:hover>.dropdown,
    header.site-header .has-dropdown:hover>.dropdown {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        right: 100% !important;
        left: auto !important;
    }

    /* Override track_style.css specific hover rule */
    header .has-dropdown:hover>.dropdown {
        display: block !important;
        right: 100% !important;
        left: auto !important;
        top: 0 !important;
    }
}

.dropdown li a {
    padding: 10px 20px !important;
    white-space: nowrap !important;
    color: var(--primary-color) !important;
    /* Override track_style.css color */
}

.site-header .dropdown li a,
header .dropdown li a,
.main-nav .dropdown li a {
    padding: 10px 20px !important;
    /* Override track_style.css padding: 10px 15px */
    color: var(--primary-color) !important;
    /* Override track_style.css color: #2c3e50 */
}

/* --- Hero Section --- */
#hero {
    width: 100%;
    height: 80vh; /* Increased height */
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    /* overflow: hidden; Removed to allow ticker overlap */
    background-color: #0a415c;
}

/* Gradient animation removed */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}





.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 900px;
    text-align: left;
    padding-bottom: 80px; /* Space for ticker */
    margin-left: -500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--accent-color);
}

.hero-title .highlight-blue {
    color: #0093d0; /* Blue for '12' */
}

.hero-subtitle-bold {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-finale-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-finale-info p {
    font-size: 1.2rem;
    color: #ffffff; /* Pure white */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* --- Hero Slideshow Styles --- */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden; /* Ensure zoomed image doesn't overflow */
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
}

.hero-slideshow .slide.active {
    opacity: 1;
    animation: bounceEffect 10s ease-in-out infinite alternate;
}

@keyframes bounceEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* --- Ticker Styles (New Design) --- */
.ticker-wrapper-bottom {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background-color: var(--accent-color);
    padding: 12px;
    border-radius: 15px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ticker-container {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    height: 55px;
}

.ticker-label {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    padding: 0 25px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 1rem;
}

.ticker-marquee {
    flex-grow: 1;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: var(--dark-text-color);
    position: relative;
    overflow: hidden;
}

.ticker-marquee marquee {
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    line-height: 55px;
}

.ticker-controls {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 0 15px;
    color: var(--primary-color);
    border-left: 1px solid #eee;
}

.ticker-controls i {
    padding: 10px;
    cursor: pointer;
    transition: color 0.3s;
}

.ticker-controls i:hover {
    color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle-bold {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .ticker-wrapper-bottom {
        width: 95%;
        bottom: -20px;
        padding: 8px;
    }
    
    .ticker-container {
        height: 45px;
    }
    
    .ticker-label {
        font-size: 0.8rem;
        padding: 0 15px;
    }
    
    .ticker-marquee marquee {
        font-size: 0.9rem;
        line-height: 45px;
    }
    
    .ticker-controls {
        display: none;
    }
}


.content-section {
    padding: 40px 0;
}

#chief-guest {
    padding-top: 80px; /* Extra padding for ticker overlap */
}

.alternate-bg {
    background-color: var(--light-bg-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    display: block; /* Ensure it behaves as a block */
    width: fit-content; /* Fit content to allow centering via margin */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.chief-guest-card {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    max-width: 100%; /* Increased width */
    margin: 0 auto;
}

.guest-image {
    flex: 0 0 350px; /* Slightly wider image area */
    max-width: 100%;
    position: relative;
}

.guest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guest-details {
    flex: 1;
    min-width: 300px;
    padding: 25px 35px; /* Reduced padding */
}

.guest-details h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3px; /* Reduced margin */
}

.guest-details .guest-title {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 15px; /* Reduced margin */
    font-weight: 500;
}

.guest-highlight {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 6px 18px; /* Reduced padding */
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px; /* Reduced margin */
}

.guest-highlight .fa-star {
    margin-right: 8px;
    font-size: 0.8rem;
}

.guest-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px; /* Reduced margin */
}

.guest-details p {
    color: #555;
    line-height: 1.6; /* Reduced line height */
    margin-bottom: 0.8rem; /* Reduced margin */
    font-size: 0.95rem;
}

.guest-achievements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* Reduced gap */
    margin-top: 15px; /* Reduced margin */
    border-top: none;
    padding-top: 0;
}

.achievement-item {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: flex-start;
}



.detail-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.detail-item {
    background: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent-color);
}

.detail-item i {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- About Section (Updated) --- */
.about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-left: -50px; /* Shift content left */
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Match Innovation Challenge Content Styles */
.about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 425;
    color: black;
}

#about .about-text p {
    color: var(--primary-color);
}

#about .about-text .btn-cta {
    color: var(--accent-color);
    background-color: var(--white-color);
}

#about .about-text .btn-cta:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.about-images {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-gallery {
    position: relative;
    width: 100%;
    height: 550px;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-image {
    position: absolute;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-image {
    width: 70%;
    height: 300px;
    top: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-2deg);
}

.left-image {
    width: 45%;
    height: 250px;
    left: 0;
    top: 200px;
    z-index: 2;
    transform: rotate(3deg);
}

.right-image {
    width: 50%;
    height: 270px;
    right: 0;
    top: 120px;
    z-index: 3;
    transform: rotate(-1deg);
}
.bottom-image {
    width: 60%;
    height: 220px;
    right: 10%;
    bottom: 0;
    z-index: 4;
    transform: rotate(2deg);
}

.gallery-image:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* --- Venue Section (Updated) --- */
#venue {
    background-color: #fff;
    position: relative;
    padding: 60px 0;
    text-align: center;
    /* Background pattern if available */
    background-image: url('images/world-map.svg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

/* Add a white overlay to fade the background pattern */
#venue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

#venue .container {
    position: relative;
    z-index: 1;
}

.venue-centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.venue-card {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.venue-image-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.venue-image-wrapper:hover {
    transform: translateY(-5px);
}

.venue-bali-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.venue-location-name {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.rewards-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.rewards-image {
    flex: 1;
    min-width: 250px;
    text-align: left; /* Align image to the left */
}

.rewards-image img {
    width: 100%; /* Ensure responsiveness */
    max-width: 500px; /* Increased size */
    animation: float 5s ease-in-out infinite;
}

.rewards-details {
    flex: 1.5; /* Reduced from 2 to give image more space */
    min-width: 300px;
}

.rewards-details .rewards-intro {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.rewards-details .rewards-highlight {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 30px;
}

.prize-list {
    margin: 30px 0;
}

.prize-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #2bb884; /* Green separator */
    gap: 20px;
}

.prize-item:last-child {
    border-bottom: none;
}

.prize-text {
    flex: 1;
}

.prize-text h4,
.prize-text p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.4;
}

.prize-amount {
    font-size: 4rem; /* Larger amount */
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
    white-space: nowrap;
    display: flex;
    align-items: baseline; /* Align USD with baseline */
    line-height: 1;
}

.prize-amount .currency {
    font-size: 1.2rem;
    margin-left: 5px;
    font-weight: 700;
    color: var(--primary-color); /* USD in dark blue per screenshot */
    text-transform: uppercase;
}

/* Reverse layout for the middle item */
.prize-item.reverse-layout {
    flex-direction: row; /* Keep row direction but order is handled by HTML */
}

.prize-item.reverse-layout .prize-text {
    text-align: left; /* Keep text left aligned even if on the right side visually? No, design shows text right aligned */
}

.prize-item.reverse-layout .text-right {
    text-align: left; /* Actually in the design, the text is left-aligned within its block, but the block is on the right */
}

/* Mobile Responsiveness for Rewards */
@media (max-width: 768px) {
    .prize-item, 
    .prize-item.reverse-layout {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .prize-item.reverse-layout {
        flex-direction: column-reverse; /* Put amount on top for consistency or match design? Let's stack naturally */
    }

    .prize-text, 
    .prize-item.reverse-layout .text-right {
        text-align: center;
    }
    
    .prize-amount {
        font-size: 3rem;
        justify-content: center;
    }
}

.rewards-footer {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

/* --- Upcoming Events Section --- */
.upcoming-events-section {
    /* background-image: url('images/network-bg.svg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
    background-color: #fff; /* Fallback */
}

.upcoming-events-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* Overlay to make text readable */
    z-index: 1;
}

.upcoming-events-section .container {
    position: relative;
    z-index: 2;
}

.upcoming-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center; /* Center the button wrapper */
}

.no-events-msg {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text-color);
    margin-bottom: 30px;
    text-align: center; /* Centered text */
    padding-left: 0; 
}

.upcoming-events-section .btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(135deg, #2bb884 0%, #0a415c 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(10, 65, 92, 0.3);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 65, 92, 0.4);
    color: #fff;
}

.view-all-btn i {
    margin-left: 8px;
}

/* --- Impact Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

#impact-stats { 
    background-color: #0a415c; /* Dark blue background */ 
    background-image: url('images/world-map.svg'); /* Map pattern overlay */ 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    color: #fff; 
    padding: 80px 0; 
    position: relative; 
} 

/* Optional overlay to blend map if needed */ 
#impact-stats::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(10, 65, 92, 0.6); /* Blue overlay - Reduced opacity for better visibility */ 
    z-index: 0; 
} 

#impact-stats .container { 
    position: relative; 
    z-index: 1; 
} 

.stat-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 20px; 
    transition: transform 0.3s ease; 
} 

.stat-item:hover { 
    transform: translateY(-5px); 
} 

.stat-icon-wrapper { 
    width: auto; 
    height: auto; 
    border-radius: 0; 
    background: none; 
    box-shadow: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
} 

/* Removed border effect */ 
.stat-icon-wrapper::before { 
    display: none; 
} 

.stat-icon-wrapper i { 
    font-size: 3.5rem; 
    color: #2bb884; /* Green color for icons */ 
    background: none; 
    -webkit-text-fill-color: initial; 
} 

.stat-number { 
    font-size: 3rem; 
    font-weight: 700; 
    color: #fff; /* White numbers */ 
    margin-bottom: 5px; 
    line-height: 1.2; 
} 

.stat-number .plus { 
    color: #2bb884; /* Green plus sign */ 
    font-size: 1.5rem; 
    vertical-align: super; 
    margin-left: 5px; 
} 

.stat-label { 
    font-size: 1rem; 
    font-weight: 400; 
    color: #fff; /* White text */ 
    text-transform: capitalize; /* "Participants" instead of uppercase */ 
    letter-spacing: 0.5px; 
}

.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.track-card {
    background: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
    border-left: 4px solid transparent;
}

.track-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left-color: var(--accent-color);
}

#map {
    width: 100%;
    height: 500px;
    background-color: var(--light-bg-color);
    border-radius: 8px;
    cursor: default;
}

.jvm-tooltip {
    border-radius: 3px;
    background-color: var(--primary-color);
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 5px 8px;
}

/* --- Scroll-to-Top Button --- */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: var(--white-color);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
    background-color: #25a073;
}

/* --- Scroll Animation --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
.site-footer {
    position: relative;
    color: #ffffff !important;
    padding-top: 50px;
    overflow: hidden;
    /* Fallback color if video fails */
    background-color: var(--primary-color);
}

.site-footer * {
    color: #ffffff !important;
}

.site-footer h3 {
    color: var(--accent-color) !important;
}

.site-footer .social-icon {
    color: var(--primary-color) !important;
    /* Blue icon color */
    background-color: #ffffff !important;
    /* White background */
}

.site-footer .social-icon i,
.site-footer .social-icon svg {
    color: var(--primary-color) !important;
    /* Blue icon color */
}

.site-footer .social-icon:hover {
    color: #ffffff !important;
    background-color: var(--accent-color) !important;
}

.site-footer .social-icon:hover i,
.site-footer .social-icon:hover svg {
    color: #ffffff !important;
}

/* RESTORED: Styles for the <video> tag method */
.footer-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
    pointer-events: none;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 65, 92, 0.35);
    z-index: 1;
}

/* These ensure content is on top */
.footer-container,
.footer-bottom {
    position: relative;
    z-index: 2;
}

/* Rest of the footer styles remain the same */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 75px;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    color: #ffffff !important;
    text-align: justify;
    text-justify: inter-word;
}

.footer-logo p a,
.footer-logo a {
    color: #ffffff !important;
}

.footer-column h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ffffff !important;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;
    color: #ffffff !important;
}

.footer-column p {
    color: #ffffff !important;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    color: var(--primary-color);
    background-color: var(--white-color);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #3d5f72;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff !important;
}

/* --- Image Effects --- */
.venue-bali-image {
    transition: transform 0.3s ease-in-out;
}

.about-images .gallery-image img {
    transition: filter 0.3s ease-in-out;
}

.image-gallery:hover .gallery-image img {
    filter: grayscale(80%) contrast(70%);
}

.image-gallery:hover .gallery-image img:hover {
    filter: grayscale(0%) contrast(100%);
}

/* --- STYLES FOR NEW SECTIONS --- */
#yesist12-tv {
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
}

#yesist12-tv::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('images/IEEE-YESIST12-Logo-1024x307-1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 35%;
    opacity: 0.05;
    z-index: 1;
}

#yesist12-tv .container {
    position: relative;
    z-index: 2;
}

.video-wrapper-small {
    max-width: 800px;
    margin: 30px auto 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.why-join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    margin-top: 30px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.why-join-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.why-join-item {
    position: relative;
    padding: 20px;
    transition: transform 0.3s ease;
}

.why-join-item .icon-box {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.why-join-item.text-left {
    text-align: right;
    padding-right: 50px;
}

.why-join-item.text-right {
    text-align: left;
    padding-left: 50px;
}

.support-content-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.support-text-left {
    flex: 1;
    min-width: 300px;
    text-align: right;
    padding-right: 20px;
}

.support-button-right {
    flex: 1;
    min-width: 250px;
    text-align: left;
    padding-left: 20px;
}

.btn-cta.large-btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    background-color: var(--accent-color);
    color: var(--white-color);
}

.contact-form-container {
    max-width: 800px;
    margin: 30px auto 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group-half {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.contact-form .form-group-half input {
    flex: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--accent-color);
}


/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hamburger {
        display: block !important;
        /* Override track_style.css */
    }

    .main-nav {
        display: none !important;
        /* Override track_style.css */
    }

    .main-nav.nav-open {
        display: block !important;
    }

    /* Override track_style.css nav styles on mobile */
    nav.main-nav {
        display: none !important;
    }

    nav.main-nav.nav-open {
        display: block !important;
    }

    nav.main-nav ul {
        display: flex !important;
        flex-direction: column !important;
    }

    .why-join-grid {
        grid-template-columns: 1fr;
    }

    .why-join-grid::before {
        display: none;
    }

    .why-join-item.text-left,
    .why-join-item.text-right {
        text-align: center;
        padding: 25px;
    }

    .chief-guest-card {
        flex-direction: column;
    }

    .guest-image {
        flex: 0 0 auto;
        width: 100%;
        height: 350px;
    }

    .guest-details {
        text-align: center;
        padding: 30px;
    }

    .guest-achievements {
        justify-content: center;
        text-align: left;
    }

    .rewards-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .updates-panel-inner {
        flex-direction: column;
    }

    .updates-nav {
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }

    .support-content-grid {
        flex-direction: column;
        text-align: center;
    }

    .support-text-left,
    .support-button-right {
        text-align: center;
        padding: 0;
    }

    .contact-form .form-group-half {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-group-half input:first-child {
        margin-bottom: 20px;
    }
}

/* --- About YESIST12 Content Section (Unique) --- */
.about-yesist-content {
    padding: 60px 0;
    background-color: #fff;
}

.about-yesist-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.about-yesist-text {
    flex: 1;
    min-width: 300px;
}

.about-yesist-header {
    color: #0a8754;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.about-yesist-text h2 {
    color: #0a415c;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-yesist-text p {
    line-height: 1.6;
    margin-bottom: 25px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item i {
    color: #0a8754;
    font-size: 18px;
}

.award-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.award-info:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.award-icon img {
    width: 60px;
    height: auto;
}

.award-icon i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.award-text p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
    text-align: center;
}

.about-yesist-images {
    flex: 1;
    min-width: 300px;
}

/* Note: .image-gallery was redefined here, but the first one (collage) is used for #about. */
/* This one is for the .about-yesist-images section */
.about-yesist-images .image-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    /* Reset height from collage */
    max-width: 100%;
    /* Reset max-width from collage */
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.small-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.small-images img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-yesist-row {
        flex-direction: column;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .small-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .small-images img {
        height: 80px;
    }
}

/* --- About Us Page Styles (Unique) --- */
.about-hero {
    background-image: url('images/HeaderBG.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.about-hero-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-hero h1 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #f2f2f2;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    color: #0a415c;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* YESIST12 Gateways Styles */
.gateways-section {
    padding: 60px 0;
    background-color: #fff;
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    50% {
        transform: scale(1.05);
    }

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

.gateway-header {
    text-align: center;
    margin-bottom: 40px;
}

.gateway-header h2 {
    display: inline-block;
    background-color: #0a415c;
    color: white;
    font-size: 24px;
    font-weight: 600;
    padding: 15px 40px;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 0 10px rgba(10, 65, 92, 0.5);
    opacity: 0;
    transform: translateY(-20px);
}

.gateway-header h2.visible {
    opacity: 1;
    transform: translateY(0);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(10, 65, 92, 0.5);
    }

    100% {
        box-shadow: 0 0 20px rgba(10, 65, 92, 0.8);
    }
}

.gateway-header h2:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(10, 65, 92, 0.9);
}

.gateway-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gateway-row {
    display: flex;
    margin-bottom: 30px;
    align-items: stretch;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.gateway-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.gateway-row:nth-child(1) {
    transition-delay: 0.15s;
}

.gateway-row:nth-child(2) {
    transition-delay: 0.3s;
}

.gateway-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95px;
    flex-shrink: 0;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.gateway-icon-container:hover {
    transform: translateY(-5px);
}

.gateway-icon {
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background-color: #008060;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gateway-icon:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.gateway-row:nth-child(2) .gateway-icon {
    background-color: #0a415c;
}

.gateway-svg {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite ease-in-out;
}

.gateway-icon:hover .gateway-svg {
    transform: scale(1.1) rotate(5deg);
    animation: none;
}

.gateway-label {
    width: 95px;
    background-color: #008060;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gateway-label:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.gateway-row:nth-child(2) .gateway-label {
    background-color: #0a415c;
}

.gateway-content {
    flex-grow: 1;
    padding: 0;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gateway-content:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.gateway-content:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    z-index: 1;
    transition: transform 0.3s ease;
}

.gateway-content:hover:before {
    transform: rotate(45deg) scale(1.1);
}

.pilot-content {
    background-color: #008060;
    color: white;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease;
}

.pilot-content:hover {
    background-color: #009070;
}

.pilot-content:before {
    background-color: #008060;
    transition: background-color 0.5s ease;
}

.pilot-content:hover:before {
    background-color: #009070;
}

.direct-content {
    background-color: #0a415c;
    color: white;
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s ease;
}

.direct-content:hover {
    background-color: #0b5275;
}

.direct-content:before {
    background-color: #0a415c;
    transition: background-color 0.5s ease;
}

.direct-content:hover:before {
    background-color: #0b5275;
}

.gateway-content ul {
    list-style-type: none;
    padding: 20px;
    margin: 0;
}

.gateway-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    line-height: 1.5;
    opacity: 0.9;
    transition: all 0.3s ease;
    transform-origin: left;
}

.gateway-content ul li:hover {
    opacity: 1;
    transform: scale(1.02);
    padding-left: 25px;
}

.gateway-content ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: white;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s ease;
}

.gateway-content ul li:hover:before {
    transform: scale(1.2);
    left: 5px;
}


/* --- Main Content Styles (Unique) --- */
main {
    padding: 0;
}

/* ============================= */
/* Our Milestones Timeline       */
/* ============================= */
.timeline-section {
    padding: 70px 0;
    background: #f7fbfd;
}

.timeline-header {
    text-align: center;
    margin-bottom: 35px;
}

.timeline-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0a415c;
    margin: 0 0 8px 0;
}

.timeline-subtitle {
    color: #4b6a7a;
    font-size: 16px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #008060, #0a415c);
    border-radius: 4px;
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 30px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-mark {
    position: absolute;
    top: 28px;
    left: 100%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid #008060;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item.right .timeline-mark {
    left: 0%;
    transform: translate(-50%, -50%);
    border-color: #0a415c;
}

.timeline-card {
    display: inline-block;
    max-width: 420px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 18px 20px;
    border-top: 6px solid #008060;
    text-align: left;
}

.timeline-item.right .timeline-card {
    border-top-color: #0a415c;
}

.timeline-date {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    color: #008060;
    letter-spacing: 0.6px;
}

.timeline-item.right .timeline-date {
    color: #0a415c;
}

.timeline-card h3 {
    margin: 6px 0 8px 0;
    font-size: 18px;
    color: #0a415c;
}

.timeline-card p {
    margin: 0;
    line-height: 1.6;
    /* Match Innovation Challenge Content Styles */
    font-size: 1.1rem;
    font-weight: 425;
    color: black;
}

.timeline-details {
    margin: 10px 0 0 0;
    padding-left: 20px;
    list-style-type: disc;
}

.timeline-details li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Hover interactions */
.timeline-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.countries-section {
    padding: 60px 0 80px 0;
    background-color: #ffffff;
}

.countries-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #0a415c;
    margin-bottom: 30px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: start;
    row-gap: 24px;
    column-gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
}

.country-flag {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid #2bb884;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-item span {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: #0a415c;
}

@media (max-width: 992px) {
    .countries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media (max-width: 600px) {
    .countries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 20px;
    }

    .country-item {
        min-width: auto;
        gap: 8px;
    }

    .country-flag {
        width: 44px;
        height: 44px;
        border-width: 3px;
    }

    .country-item span {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
}

/* --- Support Innovators Section --- */
#support-innovators {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background-image: url('images/handshake-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.support-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1); /* Light overlay to ensure text visibility */
    z-index: 1;
}

#support-innovators .container.relative-z {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.support-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    max-width: 900px;
    color: #0a415c; /* Dark blue text */
}

.support-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Shadow for readability */
}

.support-btn-container {
    margin-top: 20px;
}

.support-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, #2bb884, #0a415c); /* Gradient matching the image */
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* --- Reach Us Section --- */
#reach-us {
    position: relative;
    padding: 80px 0;
    background-image: url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    border-top: 15px solid #fff; /* White line separator - Increased thickness */
}

.reach-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 65, 92, 0.9), rgba(43, 184, 132, 0.8)); /* Gradient matching brand colors */
    z-index: 1;
}

#reach-us .container.relative-z {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.reach-header {
    margin-bottom: 40px;
}

.reach-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
    display: block;
}

.reach-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    font-family: 'Courier New', Courier, serif; /* Slab-serif look */
    letter-spacing: 1px;
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-align: left;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form .form-group {
    display: block;
}

.contact-form .form-group {
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #555;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #2bb884;
    outline: none;
    box-shadow: 0 0 0 2px rgba(43, 184, 132, 0.2);
}

.btn-submit {
    background-color: #1f7a7a;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #145252;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .timeline:before {
        left: 12px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        text-align: left;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item .timeline-mark {
        left: 12px;
    }

    .timeline-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-text h1,
    .about-text h2,
    .gateway-header h2,
    .timeline-header h2,
    .timeline-header .timeline-subtitle {
        text-align: center;
    }

    .about-row {
        margin-left: 0;
        gap: 30px;
    }

    .about-text {
        text-align: center;
        padding: 0 15px;
    }
    
    /* Ensure full width for proper centering context */
    .about-text, 
    .about-images {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-text p {
        padding-right: 0;
        text-align: justify;
    }

    .image-gallery {
        margin: 40px auto 0;
        height: 400px; /* Reduce height for mobile */
        max-width: 100%;
        transform: scale(0.9); /* Slightly scale down to fit better */
    }

    .gallery-image {
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    /* Adjust specific image sizes for mobile if needed */
    .top-image { height: 200px; }
    .left-image { height: 180px; top: 140px; }
    .right-image { height: 190px; top: 80px; }
    .bottom-image { height: 160px; }

    /* Support Innovators Responsive */
    #support-innovators {
        padding: 60px 0;
    }

    .support-title {
        font-size: 1.8rem;
    }

    .support-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .support-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* --- Our Tracks Section --- */
#our-tracks .tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.track-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.track-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.track-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white-color);
}

.track-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.track-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.track-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.track-link:hover {
    gap: 12px;
}

/* --- YESIST12 2021 ACHIEVERS Section --- */
#achievers-2021 {
    background: linear-gradient(135deg, #f4f7f6 0%, #e8f0ee 100%);
}

.achievers-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.achievers-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.achievers-content {
    margin-bottom: 40px;
}

.track-achievers {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.track-achievers.active {
    display: grid;
}

.achiever-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achiever-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.achiever-card.winner::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.achiever-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.achiever-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    background: var(--accent-color);
    color: var(--white-color);
}

.achiever-card.winner .achiever-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.achiever-card.runner-up .achiever-badge {
    background: linear-gradient(135deg, #C0C0C0, #999);
    color: #fff;
}

.achiever-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.achiever-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.view-details:hover {
    gap: 12px;
}

.achievers-footer {
    text-align: center;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tracks-grid {
        grid-template-columns: 1fr;
    }

    .track-achievers {
        grid-template-columns: 1fr;
    }

    .achievers-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}
/* --- Footer Styles --- */
.site-footer {
    position: relative;
    color: #fff;
    padding: 80px 0 30px;
    background-color: #000; /* Fallback */
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.footer-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4; /* Slight transparency to make text readable */
}

.footer-container {
    position: relative;
    z-index: 2; /* Ensure content is above video */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 280px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Make logo white if needed */
}

.footer-column h3 {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.contact-info p {
    color: #ddd;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.ieee-terms {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

