/* ========================================
    Taste Iloilo: Namit Guid - Main Stylesheet
    ======================================== */

/* CSS Variables */
:root {
    /* Colors - Food-inspired warm palette */
    --background: #fcfcfc;
    --foreground: #1a1a1a;
    --primary: #d4733f;
    --primary-dark: #b85e2f;
    --primary-light: #e28755;
    --secondary: #9b7e46;
    --accent: #e8a15a;
    --muted: #f5f5f5;
    --muted-foreground: #666666;
    --border: #e0e0e0;
    --card: #ffffff;
    
    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* ========================================
   Utility Classes
   ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* Responsive container padding */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 2rem;
    }
}

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

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

.text-muted {
    color: var(--muted-foreground);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ========================================
   Grid System
   ======================================== */

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1023px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hide Get Started button, user dropdown, and profile dropdown on tablets/mobile */
    .nav-actions .btn-primary {
        display: none !important;
    }
    
    .nav-actions .user-dropdown {
        display: none !important;
    }
    
    .nav-actions .profile-dropdown {
        display: none !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Typography
   ======================================== */

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.section-title-lg {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: white;
}

.section-title-xl {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    color: white;
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle-lg {
    font-size: var(--font-size-2xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle-xl {
    font-size: var(--font-size-2xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.hero-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Typography */
@media (max-width: 767px) {
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-title-lg {
        font-size: var(--font-size-4xl);
    }
    
    .section-title-xl {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: var(--font-size-lg);
        padding: 0 1rem;
    }
    
    .section-subtitle-lg,
    .section-subtitle-xl {
        font-size: var(--font-size-xl);
        padding: 0 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section-title-xl {
        font-size: 3rem;
    }
    
    .section-subtitle {
        max-width: 90%;
    }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: #8a6d3e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: var(--font-size-lg);
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */

.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Enhanced shadow on scroll */
.nav-fixed.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-fixed > .container {
    position: relative;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative;
    z-index: 1001;
    transition: height 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: var(--font-size-xl);
    transition: all 0.3s ease;
}

.logo-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
    align-items: center;
}

.logo-ihrra {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.logo-main {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--foreground);
    transition: color var(--transition-base), transform 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 0;
}

/* Enhanced hover effect with underline */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    transform: translateY(-1px);
}

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

/* User Profile Dropdown */
.user-dropdown {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile-btn:hover {
    background: var(--card);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(212, 115, 63, 0.15);
}

/* Focus visible for accessibility */
.user-profile-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.user-profile-btn:hover .user-avatar {
    transform: scale(1.1);
}

.user-name {
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.875rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile-btn i.fa-chevron-down {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

.user-dropdown:hover .user-profile-btn i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Active state for click-based dropdown */
.user-dropdown.active .user-profile-btn {
    background: var(--card);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(212, 115, 63, 0.15);
}

.user-dropdown.active .user-profile-btn i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary);
}

.user-dropdown.active .user-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nav Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--foreground);
    transition: all 0.2s;
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: var(--muted);
    color: var(--primary);
}

/* User Dropdown Menu Specific */
.user-dropdown-menu {
    min-width: 260px;
    right: 0 !important;
    left: auto !important;
    transform-origin: top right;
}

/* Ensure user dropdown doesn't overflow viewport on smaller screens */
@media (max-width: 1439px) {
    .user-dropdown-menu {
        right: -10px !important;
    }
}

.user-dropdown-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-lg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name-lg {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.9375rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-email {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: var(--foreground);
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--muted);
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--muted-foreground);
}

.dropdown-item:hover i {
    color: var(--primary);
}

.dropdown-item.text-danger {
    color: #dc2626;
}

.dropdown-item.text-danger:hover {
    background: #fee2e2;
}

.dropdown-item.text-danger i {
    color: #dc2626;
}

/* ========================================
   Guest Profile Dropdown
   ======================================== */

.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    min-width: 44px;
}

.profile-btn:hover {
    border-color: var(--primary);
    background: var(--muted);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 115, 63, 0.2);
}

/* Focus visible for accessibility */
.profile-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.profile-btn:hover .profile-avatar {
    transform: scale(1.15) rotate(360deg);
}

.profile-btn i.fa-chevron-down {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.profile-dropdown:hover .profile-btn i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Active state for click-based profile dropdown */
.profile-dropdown.active .profile-btn {
    border-color: var(--primary);
    background: var(--muted);
    box-shadow: 0 4px 12px rgba(212, 115, 63, 0.2);
}

.profile-dropdown.active .profile-btn i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary);
}

.profile-dropdown.active .profile-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-menu {
    min-width: 200px;
    right: 0 !important;
    left: auto !important;
    transform-origin: top right;
}

/* Ensure dropdown doesn't overflow viewport on smaller screens */
@media (max-width: 1439px) {
    .profile-dropdown-menu {
        right: -10px !important;
    }
}

/* Active state for profile dropdown */
.profile-dropdown:hover .profile-btn {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 115, 63, 0.1);
}

.nav-link {
    color: var(--foreground);
    transition: color var(--transition-base);
    font-weight: 500;
}

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

.desktop-nav {
    display: flex;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex: 0 0 auto;
}

/* Enhanced touch feedback */
.mobile-menu-btn:hover {
    background: rgba(212, 115, 63, 0.1);
    color: var(--primary);
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
    background: rgba(212, 115, 63, 0.2);
}

/* Focus visible for accessibility */
.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Hamburger icon animation - improved with bars-to-X transformation */
.mobile-menu-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.2s ease;
    font-size: 1.4rem;
    display: block;
}

.mobile-nav.active ~ .nav-content .mobile-menu-btn i {
    transform: rotate(90deg);
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--primary);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.35s ease,
                visibility 0s linear 0.4s,
                box-shadow 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    max-height: calc(100vh - 80px);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    overflow-x: hidden;
    transition-delay: 0s;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 20px;
}

/* Smooth scroll for mobile nav */
.mobile-nav.active {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.mobile-nav.active::-webkit-scrollbar {
    width: 6px;
}

.mobile-nav.active::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-nav.active::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Mobile nav inner wrapper for proper padding */
.mobile-nav > * {
    padding: 0 var(--spacing-md);
}

.mobile-nav a {
    padding: 1rem var(--spacing-md);
    color: var(--foreground);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 1rem;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-height: 48px;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(212, 115, 63, 0.12), transparent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.mobile-nav a:hover::before,
.mobile-nav a:active::before {
    width: 100%;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: rgba(212, 115, 63, 0.08);
    transform: translateX(4px);
}

.mobile-nav a.active {
    font-weight: 600;
    background: rgba(212, 115, 63, 0.12);
}

.mobile-nav a:active {
    transform: translateX(2px) scale(0.98);
}

/* Mobile nav sections (for grouped links like Travel) */
.mobile-nav-section {
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    margin: 0.5rem 0;
    background: linear-gradient(135deg, rgba(212, 115, 63, 0.08), rgba(212, 115, 63, 0.04));
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.mobile-nav-section:first-child {
    margin-top: 0.5rem;
}

.mobile-nav-title {
    display: flex;
    align-items: center;
    padding: 1.125rem var(--spacing-md);
    position: relative;
    z-index: 2;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: default;
    background: linear-gradient(90deg, rgba(212, 115, 63, 0.15), rgba(212, 115, 63, 0.08));
    border-bottom: 1px solid rgba(212, 115, 63, 0.2);
    position: relative;
}

/* Add decorative line after title */
.mobile-nav-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.mobile-nav-title i {
    margin-right: 0.875rem;
    color: var(--primary);
    font-size: 1.125rem;
    background: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(212, 115, 63, 0.2);
}

.mobile-nav-sub {
    padding-left: 3.25rem !important;
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
    padding-right: 1rem !important;
    font-size: 0.95rem;
    background: white;
    border-left: 3px solid transparent;
    margin: 0 0.5rem;
    border-radius: 4px;
    min-height: 48px;
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

.mobile-nav-sub:first-of-type {
    margin-top: 0.5rem;
}

.mobile-nav-sub:last-of-type {
    margin-bottom: 0.75rem;
}

.mobile-nav-sub::before {
    left: 2.75rem;
    background: linear-gradient(90deg, rgba(212, 115, 63, 0.15), transparent);
}

.mobile-nav-sub:hover {
    background: rgba(212, 115, 63, 0.05);
    border-left-color: var(--primary);
}

.mobile-nav-sub i {
    color: var(--primary);
    opacity: 0.8;
}

/* Mobile nav CTA button */
.mobile-nav-cta {
    padding: 1.5rem var(--spacing-md) 2rem !important;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, transparent, rgba(212, 115, 63, 0.03));
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 4px 12px rgba(212, 115, 63, 0.25);
}

.mobile-nav-cta .btn:hover {
    box-shadow: 0 6px 16px rgba(212, 115, 63, 0.35);
    transform: translateY(-2px);
}

.mobile-nav-cta .btn:active {
    transform: translateY(0);
}

/* Mobile User Profile */
.mobile-user-profile {
    padding: 1.25rem var(--spacing-md) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(212, 115, 63, 0.08), rgba(212, 115, 63, 0.04));
    position: relative;
    z-index: 0;
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mobile-user-info {
    flex: 1;
    min-width: 0;
}

.mobile-user-name {
    font-weight: 600;
    color: var(--foreground);
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-user-email {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.125rem;
}

.mobile-nav-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 1rem var(--spacing-md);
    opacity: 0.6;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 998;
    cursor: pointer;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

/* Slide down animation */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Navigation - Mobile First Approach */
/* Small phones (iPhone SE, etc) - up to 375px */
@media (max-width: 375px) {
    .nav-content {
        height: 60px;
        padding: 0 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 0.95rem;
        flex: 0 1 auto;
        min-width: 0;
    }
    
    .logo-grid {
        gap: 0.5rem;
    }
    
    .logo-ihrra {
        height: 32px !important;
        transition: height 0.3s ease;
    }
    
    .logo-main,
    .logo img {
        height: 36px !important;
        transition: height 0.3s ease;
    }
    
    .btn-primary {
        display: none;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
        flex: 0 0 auto;
    }
    
    .profile-dropdown {
        display: none !important;
    }
    
    .user-dropdown {
        display: none !important;
    }
    
    /* Ensure mobile nav is fully scrollable on small screens */
    .mobile-nav.active {
        max-height: calc(100vh - 70px);
    }
    
    .mobile-nav a {
        padding: 0.875rem var(--spacing-md);
        font-size: 0.95rem;
    }
    
    .mobile-nav-sub {
        padding: 0.75rem 1rem 0.75rem 2.5rem !important;
        font-size: 0.9rem;
    }
    
    .mobile-nav-title {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}
    
    /* Ensure profile button is touch-friendly */
    .profile-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
    }
    
    /* Hide username on very small screens to save space */
    .profile-btn .user-name {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-left: 0;
        flex: 0 0 auto;
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-nav.active {
        max-height: calc(100vh - 60px);
    }
    
    .mobile-nav a {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
        min-height: 48px;
    }
    
    .mobile-nav-sub {
        padding-left: 2.5rem !important;
    }
    
    .mobile-nav-overlay {
        top: 60px;
    }
    
    /* Enhanced mobile user profile section */
    .mobile-user-profile {
        padding: 1rem !important;
    }
    
    .mobile-user-avatar {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }
    
    .mobile-user-name {
        font-size: 0.95rem;
    }
    
    .mobile-user-email {
        font-size: 0.75rem;
    }
}

/* Standard phones (iPhone 12/13/14, etc) - 376px to 428px */
@media (min-width: 376px) and (max-width: 428px) {
    .nav-content {
        height: 60px;
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }
    
    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }
    
    .logo img {
        height: 40px !important;
        transition: height 0.3s ease;
    }
    
    .logo-ihrra {
        height: 36px !important;
        transition: height 0.3s ease;
    }
    
    .btn-primary {
        display: none;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
        flex: 0 0 auto;
    }
    
    .profile-dropdown {
        display: none !important;
    }
    
    .user-dropdown {
        display: none !important;
    }
    
    /* Ensure buttons are touch-friendly */
    .profile-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        margin-left: 0;
        flex: 0 0 auto;
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-nav.active {
        max-height: calc(100vh - 60px);
    }
    
    .mobile-nav a {
        min-height: 48px;
    }
    
    .mobile-nav-overlay {
        top: 60px;
    }
}

/* Large phones and small tablets (iPhone Pro Max, small iPads) - 429px to 767px */
@media (min-width: 429px) and (max-width: 767px) {
    .nav-content {
        height: 64px;
        padding: 0 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }
    
    .logo img {
        height: 44px !important;
        transition: height 0.3s ease;
    }
    
    .logo-ihrra {
        height: 40px !important;
        transition: height 0.3s ease;
    }
    
    .btn-primary {
        display: none;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-left: auto;
        flex: 0 0 auto;
    }
    
    .profile-dropdown {
        display: none !important;
    }
    
    .user-dropdown {
        display: none !important;
    }
    
    .profile-btn,
    .user-profile-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        margin-left: 0;
        flex: 0 0 auto;
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-nav a {
        min-height: 52px;
        font-size: 1rem;
    }
    
    .mobile-nav-overlay {
        top: 64px;
    }
    
    /* Better spacing for larger phones */
    .mobile-nav-cta {
        padding: 1.5rem 1.25rem !important;
    }
}

/* Tablets (iPad, iPad Air) - 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-content {
        height: 64px;
        padding: 0 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .logo img {
        height: 46px !important;
        transition: height 0.3s ease;
    }
    
    .logo-ihrra {
        height: 42px !important;
        transition: height 0.3s ease;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
        display: flex;
    }
    
    .nav-links a {
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn-primary {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* Ensure nav links are hidden, mobile menu is shown on tablets */
    .nav-links {
        display: none !important;
    }
    
    .user-dropdown {
        display: none !important;
    }
    
    .profile-dropdown {
        display: none !important;
    }
    
    /* Ensure profile buttons are touch-friendly on tablets */
    .profile-btn,
    .user-profile-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Small laptops - 1024px to 1279px - Now uses mobile menu */
/* Nest Hub and compact desktop devices - 1024px to 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-content {
        height: 64px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .logo img {
        height: 42px !important;
        transition: height 0.3s ease;
    }
    
    .logo-ihrra {
        height: 38px !important;
        transition: height 0.3s ease;
    }
    
    /* Show compact desktop navigation */
    .nav-links {
        display: flex !important;
        gap: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Compact dropdown styling */
    .nav-dropdown-toggle {
        padding: 0.5rem 0.75rem;
    }
    
    /* Hide Get Started button to save space */
    .nav-actions .btn-primary {
        display: none;
    }
    
    /* Show user dropdown but make it compact */
    .user-dropdown {
        display: flex !important;
    }
    
    .user-dropdown .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .user-dropdown img {
        width: 28px;
        height: 28px;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Laptops and small desktops - 1280px to 1439px */
@media (min-width: 1280px) and (max-width: 1439px) {
    .nav-content {
        height: 64px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .logo img {
        height: 50px !important;
        transition: height 0.3s ease;
    }
    
    .logo-ihrra {
        height: 46px !important;
        transition: height 0.3s ease;
    }
    
    .nav-links {
        gap: 1.5rem;
        font-size: 1rem;
    }
    
    .nav-actions {
        gap: 1rem;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Large desktops - 1440px and above */
@media (min-width: 1440px) {
    .nav-content {
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2.5rem;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .logo img {
        height: 52px !important;
        transition: height 0.3s ease;
    }
    
    .logo-ihrra {
        height: 48px !important;
        transition: height 0.3s ease;
    }
    
    .nav-links {
        gap: 2rem;
        font-size: 1rem;
    }
    
    .nav-actions {
        gap: 1.25rem;
    }
    
    .btn-primary {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    inset: 0;
    background-image: url('/images/backgrounds/Iloilo-Dinagyang-2025.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4), rgba(252, 252, 252, 1));
    z-index: 1;
}

/* Darker overlay for individual location detail pages */
.restaurant-hero .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px var(--spacing-md) var(--spacing-xl);
}

.hero-search {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.search-wrapper {
    position: relative;
    flex: 1;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Interactive Search Bar Component */
.interactive-search-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-bar-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-bar-container:focus-within {
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.3);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.search-bar-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background: transparent;
    color: #333;
}

.search-bar-input::placeholder {
    color: #999;
    transition: color 0.3s ease;
}

.search-bar-input:focus::placeholder {
    color: #ccc;
}

.search-bar-clear {
    background: none;
    border: none;
    color: #999;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.search-bar-clear:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.search-bar-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-bar-btn:hover {
    background: linear-gradient(135deg, #ff8c42 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

.search-bar-btn:active {
    transform: translateY(0);
}

.search-bar-btn i {
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: white;
}

@media (max-width: 640px) {
    .hero-content {
        padding-top: 60px;
        padding-bottom: 0.875rem;
    }
    
    .hero-title {
        font-size: clamp(1.875rem, 7vw, 2.5rem);
        margin-bottom: 0.75rem;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.125rem;
    }
    
    .hero-search {
        flex-direction: column;
        margin-bottom: 1.125rem;
    }
    
    .interactive-search-bar {
        flex-direction: column;
        gap: 0.875rem;
    }
    
    .search-bar-container {
        width: 100%;
        padding: 0.4rem 1.25rem;
    }
    
    .search-bar-input {
        font-size: 0.9375rem;
    }
    
    .search-bar-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        margin-bottom: 1.5rem;
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .scroll-indicator {
        display: none;
    }
}/* ========================================
   Stats Section
   ======================================== */

.stats-section {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
}

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

/* ========================================
   Sections
   ======================================== */

.section {
    padding: 2rem 0;
}

.section-muted {
    background-color: var(--muted);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* Responsive section padding */
@media (max-width: 767px) {
    .section {
        padding: 2.5rem 0;
    }
    
    .section-header-flex {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section {
        padding: 3rem 0;
    }
}

/* ========================================
   Parallax Sections
   ======================================== */

.parallax-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -50px;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.parallax-bg-static {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(2px);
    z-index: 1;
}

.parallax-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(245, 250, 255, 0.70) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.parallax-overlay-primary {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(212, 115, 63, 0.95), rgba(155, 126, 70, 0.9), rgba(232, 161, 90, 0.95));
    backdrop-filter: blur(2px);
    z-index: 1;
}

.parallax-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(212, 115, 63, 0.95), rgba(155, 126, 70, 0.9), rgba(232, 161, 90, 0.95));
    backdrop-filter: blur(2px);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 10;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* ========================================
   Feature Cards
   ======================================== */

.feature-card {
    background-color: var(--card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(212, 115, 63, 0.5);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(212, 115, 63, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-text {
    color: var(--muted-foreground);
}

/* Responsive Feature Cards */
@media (max-width: 767px) {
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
    }
    
    .feature-icon i {
        font-size: 1.75rem;
    }
    
    .feature-title {
        font-size: var(--font-size-lg);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .feature-card {
        padding: var(--spacing-xl);
    }
}

/* ========================================
   Restaurant Cards
   ======================================== */

.restaurant-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

.restaurant-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

/* Clickable card styles */
.clickable-card {
    cursor: pointer;
    user-select: none;
}

.clickable-card:active {
    transform: translateY(-4px) scale(0.98);
}

.restaurant-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.restaurant-card:hover .restaurant-image img {
    transform: scale(1.1);
}

.restaurant-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--primary);
}

.restaurant-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: var(--font-size-sm);
    z-index: 2;
}

.restaurant-rating i {
    color: var(--primary);
    font-size: 1rem;
}

/* Destination type badge */
.destination-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.destination-badge i {
    font-size: 0.875rem;
}

.hotel-badge {
    background-color: rgba(59, 130, 246, 0.95);
    color: white;
}

.resort-badge {
    background-color: rgba(16, 185, 129, 0.95);
    color: white;
}

.restaurant-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.restaurant-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.restaurant-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.restaurant-cuisine {
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.restaurant-description {
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    flex-grow: 1;
}

.restaurant-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.restaurant-meta .restaurant-rating {
    position: static;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.restaurant-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
}

.restaurant-location i {
    font-size: 1rem;
}

.restaurant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.restaurant-tags .tag {
    background-color: var(--muted);
    color: var(--muted-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.restaurant-info .btn {
    margin-top: auto;
    width: 100%;
}

/* Responsive Restaurant Cards */
@media (max-width: 767px) {
    .restaurant-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .restaurant-info {
        padding: 1rem;
    }
    
    .restaurant-info h3,
    .restaurant-name {
        font-size: var(--font-size-lg);
    }
    
    .restaurant-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .restaurant-card {
        max-width: 100%;
    }
}

/* ========================================
   Testimonial Slider
   ======================================== */

.testimonial-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-xl);
    user-select: none;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-slider {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-slider:active {
    cursor: grabbing;
}

.testimonial-card {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(212, 115, 63, 0.2);
    box-shadow: 0 10px 30px rgba(212, 115, 63, 0.15);
    transition: all var(--transition-base);
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
}

.testimonial-card * {
    pointer-events: auto;
}

.testimonial-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(212, 115, 63, 0.25);
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(212, 115, 63, 0.3);
    margin-bottom: var(--spacing-sm);
    animation: rotateIn 1s ease-out;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
    justify-content: center;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 1.25rem;
    animation: scaleIn 0.3s ease-out;
}

.testimonial-stars i:nth-child(1) { animation-delay: 0.1s; }
.testimonial-stars i:nth-child(2) { animation-delay: 0.2s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.3s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.4s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.5s; }

.testimonial-quote {
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    font-size: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    justify-content: center;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--primary);
    transition: all var(--transition-base);
}

.testimonial-author img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 115, 63, 0.5);
}

.author-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--foreground);
}

.author-role {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

/* Testimonial Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 115, 63, 0.2);
}

.testimonial-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 115, 63, 0.4);
}

.testimonial-indicators {
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(212, 115, 63, 0.5);
}

.indicator:hover:not(.active) {
    background: rgba(212, 115, 63, 0.7);
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .testimonial-slider-wrapper {
        max-width: 700px;
        width: calc(100% - 2rem);
        margin: 0 auto;
    }

    .testimonial-card {
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title-lg {
        font-size: 2rem;
    }

    .section-subtitle-lg {
        font-size: 1rem;
    }

    .testimonial-slider-wrapper {
        max-width: 100%;
        width: calc(100% - 2rem);
        margin: 0 auto;
        padding: 0;
    }
    
    .testimonial-card {
        min-width: 100%;
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.7;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-role {
        font-size: 0.875rem;
    }
    
    .testimonial-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .testimonial-controls {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .testimonial-author img {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 640px) {
    .section-title-lg {
        font-size: 1.75rem;
    }

    .section-subtitle-lg {
        font-size: 0.9375rem;
    }

    .testimonial-slider-wrapper {
        width: calc(100% - 1.5rem);
        margin: 0 auto;
        padding: 0;
    }

    .testimonial-card {
        min-width: 100%;
        width: 100%;
        padding: 1.5rem 1.25rem;
    }

    .quote-icon {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .testimonial-quote {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .author-name {
        font-size: 0.9375rem;
    }

    .author-role {
        font-size: 0.8125rem;
    }

    .testimonial-btn {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    .testimonial-controls {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .testimonial-author {
        gap: 0.75rem;
    }

    .testimonial-author img {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 428px) {
    .section-title-lg {
        font-size: 1.625rem;
    }

    .testimonial-slider-wrapper {
        width: calc(100% - 1.25rem);
        margin: 0 auto;
    }

    .testimonial-card {
        padding: 1.25rem 1rem;
    }

    .quote-icon {
        font-size: 1.5rem;
    }

    .testimonial-quote {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }

    .author-name {
        font-size: 0.875rem;
    }

    .author-role {
        font-size: 0.75rem;
    }

    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 375px) {
    .section-title-lg {
        font-size: 1.5rem;
    }

    .section-subtitle-lg {
        font-size: 0.875rem;
    }

    .testimonial-slider-wrapper {
        width: calc(100% - 1rem);
        margin: 0 auto;
        padding: 0;
    }

    .testimonial-card {
        padding: 1.25rem 0.875rem;
    }

    .quote-icon {
        font-size: 1.375rem;
        margin-bottom: 0.875rem;
    }

    .testimonial-stars {
        gap: 0.25rem;
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
    }

    .testimonial-quote {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .author-name {
        font-size: 0.8125rem;
    }

    .author-role {
        font-size: 0.6875rem;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonial-controls {
        gap: 1.25rem;
        margin-top: 1.25rem;
    }

    .testimonial-author {
        gap: 0.625rem;
    }

    .testimonial-author img {
        width: 36px;
        height: 36px;
    }

    .testimonial-indicators {
        gap: 0.5rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .testimonial-slider-wrapper {
        max-width: 700px;
        width: calc(100% - 2rem);
        margin: 0 auto;
    }
    
    .testimonial-card {
        min-width: 100%;
        width: 100%;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .testimonial-slider-wrapper {
        max-width: 900px;
        width: calc(100% - 4rem);
        margin: 0 auto;
    }
}

@media (min-width: 1441px) {
    .testimonial-slider-wrapper {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
    }
}

/* ========================================
   Guide Cards
   ======================================== */

.guide-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.guide-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.1);
}

.guide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.guide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    color: white;
}

.guide-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guide-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
}

.guide-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
}

/* ========================================
   Support & Challenge Cards
   ======================================== */

.support-card,
.challenge-card {
    background-color: var(--card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.support-card:hover,
.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.support-icon,
.challenge-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 115, 63, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.support-icon i,
.challenge-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.support-icon-secondary,
.challenge-icon-secondary {
    background-color: rgba(155, 126, 70, 0.1);
}

.support-icon-secondary i,
.challenge-icon-secondary i {
    color: var(--secondary);
}

.support-icon-accent,
.challenge-icon-accent {
    background-color: rgba(232, 161, 90, 0.1);
}

.support-icon-accent i,
.challenge-icon-accent i {
    color: var(--accent);
}

.support-title,
.challenge-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.support-subtitle {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-sm);
}

.support-text,
.challenge-desc {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   Benefit Cards
   ======================================== */

.benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
}

.benefit-card i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.benefit-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Badges & Verified Items
   ======================================== */

.badge-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(212, 115, 63, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.verified-badges {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.verified-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
}

.verified-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

/* ========================================
   Major Sponsor Section - Unilever
   ======================================== */

.sponsor-featured {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.sponsor-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.sponsor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(245, 250, 255, 0.70) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.sponsor-logo-corner {
    position: absolute;
    top: 3rem;
    left: 3rem;
    z-index: 3;
    max-width: 120px;
}

.sponsor-logo-corner a {
    display: block;
    position: relative;
}

.sponsor-logo-corner img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.sponsor-logo-corner:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.sponsor-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sponsor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 103, 177, 0.12);
    border: 2px solid rgba(0, 103, 177, 0.35);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    color: #005A8F;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 103, 177, 0.2);
}

.sponsor-badge i {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.sponsor-logo-container {
    margin-bottom: 4rem;
    perspective: 1000px;
}

/* High Impact Hero Wrapper */
.sponsor-hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(240, 250, 255, 0.60) 100%);
    border: 3px solid rgba(0, 103, 177, 0.25);
    border-radius: 30px;
    padding: 4rem 3rem;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 40px rgba(0, 103, 177, 0.15);
    transition: all 0.5s ease;
    overflow: hidden;
}

.sponsor-hero-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(0, 103, 177, 0.25);
    border-color: rgba(0, 103, 177, 0.5);
}

/* Animated Glow Effect */
.sponsor-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 103, 177, 0.5) 0%, rgba(61, 180, 242, 0.25) 40%, transparent 70%);
    animation: rotateGlow 8s linear infinite;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
}

@keyframes rotateGlow {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1); 
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg) scale(1); 
    }
}

/* Brand Display */
.sponsor-brand-display {
    position: relative;
    z-index: 2;
}

.brand-text-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.brand-prefix {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.sponsor-brand-name {
    font-size: 4rem;
    font-weight: 800;
    color: #003D63;
    margin: 0;
    letter-spacing: 8px;
    text-shadow: none;
    line-height: 1.1;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    transition: all 0.3s ease;
}

.sponsor-brand-name:hover {
    transform: scale(1.02);
    color: #0067B1;
}

/* Remove letter animations for cleaner look */
.brand-letter {
    display: inline;
}

/* Simplified underline */
.brand-underline {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #0067B1 50%, transparent 100%);
    margin: 1rem auto 0;
    width: 60px;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.sponsor-hero-wrapper:hover .brand-underline {
    width: 120px;
}

@keyframes expandLine {
    to { width: 100%; }
}

.sponsor-tagline {
    font-size: 1.2rem;
    color: #374151;
    font-weight: 400;
    margin: 1rem 0 1.5rem 0;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.4;
}

.sponsor-year {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    opacity: 0.8;
}

/* Floating Particles */
.sponsor-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #0067B1;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 103, 177, 0.9);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 4s;
}

.particle:nth-child(3) {
    top: 30%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 3.5s;
}

.particle:nth-child(4) {
    top: 70%;
    left: 70%;
    animation-delay: 1.5s;
    animation-duration: 4.5s;
}

.particle:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 0.5s;
    animation-duration: 3.8s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

/* Old Sponsor Styles (Removed) */

.sponsor-impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.impact-item {
    background: rgba(255, 255, 255, 0.75);
    border: 2px solid rgba(0, 103, 177, 0.30);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.impact-item:hover {
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(0, 103, 177, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 103, 177, 0.3);
}

.impact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 103, 177, 0.20) 0%, rgba(61, 180, 242, 0.12) 100%);
    border: 2px solid rgba(0, 103, 177, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.impact-icon i {
    font-size: 1.75rem;
    color: #0067B1;
}

.impact-item:hover .impact-icon {
    background: rgba(0, 103, 177, 0.25);
    transform: scale(1.1);
}

.impact-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A0A0A;
    margin: 0 0 0.75rem 0;
}

.impact-item p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.75);
    margin: 0;
    line-height: 1.5;
}

.sponsor-cta {
    max-width: 700px;
    margin: 0 auto;
}

.sponsor-message {
    font-size: 1.35rem;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .sponsor-featured {
        padding: 4rem 0;
        min-height: 500px;
    }
    
    .sponsor-logo-corner {
        top: 1.5rem;
        left: 1.5rem;
        max-width: 120px;
    }
    
    .sponsor-hero-wrapper {
        padding: 3rem 2rem;
        max-width: 100%;
    }
    
    .sponsor-brand-name {
        font-size: 2.5rem;
        letter-spacing: 6px;
        flex-wrap: wrap;
    }
    
    .brand-prefix {
        font-size: 0.85rem;
    }
    
    .sponsor-tagline {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sponsor-year {
        font-size: 0.8rem;
    }
    
    .impact-item {
        padding: 1.5rem 1rem;
    }
    
    .sponsor-impact-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sponsor-message {
        font-size: 1.1rem;
    }
}

/* ========================================
   Sponsor Carousel Styles - Simplified & Professional
   ======================================== */

.sponsor-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Hardware acceleration for better performance */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.sponsor-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.sponsor-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.sponsor-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.sponsor-slide.next {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

.sponsor-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    gap: 4rem;
    position: relative;
    z-index: 3;
}

.sponsor-logo-display {
    flex: 0 0 280px;
    text-align: center;
}

.sponsor-logo-display a {
    display: inline-block;
    cursor: pointer;
}

.sponsor-main-logo {
    width: 260px;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.sponsor-main-logo:hover {
    transform: scale(1.05);
}

.sponsor-info {
    flex: 1;
    max-width: 500px;
}

.sponsor-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 41, 55, 0.1);
}

.sponsor-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1rem 0;
    line-height: 1;
    text-shadow: none;
    letter-spacing: 2px;
}

.sponsor-description {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
    text-shadow: none;
}

.sponsor-partnership {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Simplified Navigation */
.sponsor-navigation {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.sponsor-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(31, 41, 55, 0.1);
    color: #374151;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sponsor-nav-btn:hover {
    background: white;
    color: #1f2937;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sponsor-nav-btn:active {
    transform: scale(0.95);
}

.sponsor-indicators {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.sponsor-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(31, 41, 55, 0.2);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sponsor-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sponsor-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sponsor-content {
        gap: 2rem;
        min-height: 400px;
    }
    
    .sponsor-logo-display {
        flex: 0 0 220px;
    }
    
    .sponsor-main-logo {
        width: 200px;
        max-height: 140px;
    }
    
    .sponsor-name {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .sponsor-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
        min-height: 350px;
    }
    
    .sponsor-logo-display {
        flex: none;
    }
    
    .sponsor-main-logo {
        width: 160px;
        max-height: 110px;
    }
    
    .sponsor-name {
        font-size: 2rem;
    }
    
    .sponsor-description {
        font-size: 1rem;
    }
    
    .sponsor-navigation {
        bottom: 1rem;
        gap: 1.5rem;
    }
    
    .sponsor-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sponsor-featured {
        padding: 2rem 0;
        min-height: 500px;
    }
    
    .sponsor-content {
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        min-height: 450px;
    }
    
    .sponsor-logo-display {
        flex: none;
    }
    
    .sponsor-main-logo {
        width: 140px;
        max-height: 100px;
    }
    
    .sponsor-category {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .sponsor-name {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin: 0 0 0.75rem 0;
    }
    
    .sponsor-description {
        font-size: 0.9rem;
        margin: 0 0 1rem 0;
        line-height: 1.5;
    }
    
    .sponsor-partnership {
        font-size: 0.8rem;
    }
    
    .sponsor-navigation {
        bottom: 0.75rem;
        gap: 1rem;
    }
    
    .sponsor-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .sponsor-dot {
        width: 10px;
        height: 10px;
    }
}

/* Extra small screens (iPhone SE, older devices - 375x667 and below) */
@media (max-width: 375px) {
    .sponsor-featured {
        padding: 1.5rem 0;
        min-height: 480px;
    }
    
    .sponsor-content {
        gap: 1.25rem;
        padding: 1.25rem 0.75rem;
        min-height: 420px;
    }
    
    .sponsor-logo-display {
        margin-bottom: 0;
    }
    
    .sponsor-main-logo {
        width: 120px;
        max-height: 90px;
    }
    
    .sponsor-category {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        margin-bottom: 0.5rem;
        letter-spacing: 0.5px;
    }
    
    .sponsor-name {
        font-size: 1.35rem;
        letter-spacing: 0.5px;
        margin: 0 0 0.6rem 0;
    }
    
    .sponsor-description {
        font-size: 0.85rem;
        margin: 0 0 0.8rem 0;
        line-height: 1.45;
    }
    
    .sponsor-partnership {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .sponsor-navigation {
        bottom: 0.5rem;
        gap: 0.75rem;
    }
    
    .sponsor-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .sponsor-dot {
        width: 9px;
        height: 9px;
    }
    
    .sponsor-indicators {
        gap: 0.5rem;
    }
}

/* ========================================
   Newsletter Section
   ======================================== */

.newsletter-section {
    background: linear-gradient(135deg, var(--muted) 0%, rgba(212, 115, 63, 0.1) 100%);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: var(--spacing-lg) auto 0;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    background-color: white;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.success-message {
    display: none;
    margin-top: var(--spacing-sm);
    color: var(--muted-foreground);
    animation: fadeInUp 0.5s ease;
}

.success-message.show {
    display: block;
}

@media (max-width: 640px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--muted);
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.footer-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.footer-desc {
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
}

.contact-item i {
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: var(--background);
    color: var(--muted-foreground);
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: var(--font-size-sm);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Modal
   ======================================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    max-width: 440px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.modal-header h2 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
}

.modal-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-base);
    flex-shrink: 0;
}

.modal-close:hover {
    background-color: var(--muted);
}

.modal-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.8125rem;
}

.form-input {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group-checkbox {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

.form-group-checkbox label {
    font-size: var(--font-size-sm);
    color: var(--muted-foreground);
}

.modal-footer-text {
    text-align: center;
    margin-top: 0.875rem;
    color: var(--muted-foreground);
    font-size: 0.8125rem;
}

/* Authentication Form Styles */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-input {
    width: 100%;
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--foreground);
}

.form-help {
    display: block;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
    line-height: 1.3;
}

.password-strength {
    margin-top: 0.375rem;
    height: 3px;
    background: var(--muted);
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.password-strength.active {
    display: block;
}

.password-strength-bar {
    height: 100%;
    transition: width 0.3s, background-color 0.3s;
    width: 0%;
}

.password-strength-bar.weak {
    width: 33.33%;
    background-color: #ef4444;
}

.password-strength-bar.medium {
    width: 66.66%;
    background-color: #f59e0b;
}

.password-strength-bar.strong {
    width: 100%;
    background-color: #10b981;
}

.form-group-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.text-sm {
    font-size: var(--font-size-sm);
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.alert {
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.4;
}

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

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.text-danger {
    color: #dc2626;
}

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

/* Modal Responsive Styles */
@media (max-width: 640px) {
    .modal-content {
        padding: 1rem;
        max-width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .modal-md {
        max-width: 90% !important;
    }
    
    .modal-body {
        max-height: calc(85vh - 100px);
        overflow-y: auto;
        padding: 0.5rem 0;
    }
    
    .event-modal-form {
        display: flex;
        flex-direction: column;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-subtitle {
        font-size: 0.8125rem;
        margin-bottom: 0.875rem;
    }
    
    .modal-form {
        gap: 0.75rem;
        display: flex;
        flex-direction: column;
    }
    
    .form-group {
        gap: 0.3125rem;
    }
    
    .form-input {
        padding: 0.5625rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn-block, .w-100 {
        width: 100%;
        display: block !important;
    }
}

@media (max-width: 428px) {
    .modal-content {
        padding: 0.875rem;
        max-height: 90vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .modal-md {
        max-width: 95% !important;
    }
    
    .modal-body {
        max-height: calc(85vh - 100px);
        overflow-y: auto;
        padding: 0.25rem 0;
    }
    
    .event-modal-form {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 0;
    }
    
    .event-modal-form .mb-4 {
        margin-bottom: 1rem;
    }
    
    .modal-header {
        margin-bottom: 0.625rem;
        flex-shrink: 0;
    }
    
    .modal-header h2 {
        font-size: 1.125rem;
        line-height: 1.25;
    }
    
    .modal-close {
        width: 26px;
        height: 26px;
    }
    
    .modal-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        flex-shrink: 0;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-help {
        font-size: 0.6875rem;
    }
    
    .alert {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.625rem;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    .modal-form {
        display: flex;
        flex-direction: column;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .btn-block, .w-100 {
        width: 100%;
        display: block !important;
    }
    
    .btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .modal-footer-text {
        margin-top: 0.75rem;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
}

@media (max-width: 375px) {
    .modal-content {
        padding: 1rem;
        max-height: 90vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .modal-md {
        max-width: 96% !important;
    }
    
    .modal-body {
        max-height: calc(82vh - 90px);
        overflow-y: auto;
        padding: 0.25rem 0;
    }
    
    .event-modal-form {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 0;
    }
    
    .event-modal-form p {
        font-size: 0.875rem;
        margin-bottom: 0.875rem;
        flex-shrink: 0;
    }
    
    .event-modal-form .mb-4 {
        margin-bottom: 0.875rem;
    }
    
    .modal-header {
        margin-bottom: 0.5rem;
        flex-shrink: 0;
    }
    
    .modal-header h2 {
        font-size: 1.125rem;
    }
    
    .modal-close {
        width: 24px;
        height: 24px;
        font-size: 0.875rem;
    }
    
    .modal-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        flex-shrink: 0;
    }
    
    .modal-form {
        gap: 0.75rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .form-group {
        gap: 0.25rem;
        margin-bottom: 0.875rem;
    }
    
    .form-group label {
        font-size: 0.8125rem;
        margin-bottom: 0.375rem;
    }
    
    .form-input {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }
    
    textarea.form-input {
        min-height: 60px;
    }
    
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        margin-top: auto;
        flex-shrink: 0;
    }
    
    .btn-primary {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        margin-top: 0.5rem;
        flex-shrink: 0;
    }
    
    .btn-block, .w-100 {
        width: 100%;
        display: block !important;
    }
    
    .modal-footer-text {
        margin-top: 0.75rem;
        flex-shrink: 0;
    }
}

/* Modal Large */
.modal-lg {
    max-width: 800px !important;
}

/* Modal Medium */
.modal-md {
    max-width: 600px !important;
}

/* Modal Body */
.modal-body {
    padding: 0;
    max-height: calc(95vh - 150px);
    overflow-y: auto;
}

/* How It Works Modal */
.how-it-works-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.how-it-works-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.step-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--muted);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 1.25rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .modal-lg {
        max-width: 95% !important;
    }
    
    .how-it-works-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Scroll Reveal Animations */
[data-scroll-reveal] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll-reveal].revealed {
    opacity: 1;
}

[data-scroll-reveal="fade-up"].revealed {
    animation: fadeInUp 0.6s ease forwards;
}

[data-scroll-reveal="zoom-in"].revealed {
    animation: scaleIn 0.6s ease forwards;
}

[data-scroll-reveal="fade-left"].revealed {
    animation: fadeInLeft 0.6s ease forwards;
}

[data-scroll-reveal="fade-right"].revealed {
    animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.btn-icon {
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--muted-foreground);
}

.btn-icon:hover {
    background: var(--muted);
    color: var(--primary);
}

.btn-icon i {
    font-size: 1.25rem;
}

.btn-icon.active i {
    color: var(--primary);
    font-weight: 900;
}

/* Toggle Favorite */
.btn-icon.favorite.active i::before {
    content: "\f004"; /* filled heart */
}

/* ========================================
   Partners Section
   ======================================== */

/* Partners slider inside hero section - positioned at bottom */
.hero-section .partners-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    overflow: visible;
    height: 100px;
    background: transparent;
    z-index: 100;
    padding-top: 20px; /* Add space for hover effect */
}

/* Add a mask to prevent extending beyond hero */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
    pointer-events: none;
    z-index: 99;
}

/* Add a dark gradient at the top for sponsors slider */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.partners-section {
    padding: 4rem 0;
    background: var(--muted);
    overflow: hidden;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(212, 115, 63, 0.02) 0%,
        rgba(155, 126, 70, 0.02) 50%,
        rgba(232, 161, 90, 0.02) 100%
    );
    pointer-events: none;
}

.partners-slider {
    margin-top: 3rem;
    overflow: visible;
    position: relative;
    height: 120px;
    padding-top: 15px; /* Add space for hover effect */
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: slidePartners 40s linear infinite;
    padding-bottom: 10px; /* Ensure hover effects have space */
    position: relative;
    z-index: 101;
}

.partner-logo {
    min-width: 300px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: all var(--transition-base);
    opacity: 1;
    transform: translateY(30px);
    cursor: pointer;
    flex-shrink: 0;
}

/* Specific styling for partner logos in hero section */
.hero-section .partner-logo {
    min-width: 260px;
    height: 70px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0.5rem 1rem;
    opacity: 1;
    transform: scale(1);
    transition: all var(--transition-base);
    cursor: pointer;
}

.hero-section .partner-logo img {
    max-height: 50px;
}

.partners-section.animate-in .partner-logo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.1);
    opacity: 1 !important;
}

/* Hover effect for hero section partner logos */
.hero-section .partner-logo:hover {
    transform: translateY(-2px) scale(1.08);
    opacity: 1 !important;
    z-index: 10;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all var(--transition-base);
    transform: scale(1);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* Partner Grid Layout */
.partner-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.partner-img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.partner-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text);
    line-height: 1.3;
    white-space: normal;
    text-align: left;
}

.hero-section .partner-grid .partner-img {
    max-width: 60px;
    max-height: 50px;
}

.hero-section .partner-grid .partner-name {
    font-size: 0.85rem;
    font-weight: bold;
}

@keyframes slidePartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Ensure partners track doesn't interfere with individual logo hover */
.partners-track:hover {
    animation-play-state: paused;
}

/* Seamless loop behavior */
.partners-track {
    will-change: transform;
}

/* Default state for hero section partner logos */
.hero-section .partner-logo {
    opacity: 1;
}

/* Ensure all partner logos in hero section are properly styled */
.hero-section .partners-track {
    gap: 2rem; /* Slightly smaller gap for hero section */
}

/* Small Partner Slider for other pages */
.partners-slider-small {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: transparent;
    overflow: visible;
    z-index: 2;
    padding-top: 10px; /* Add space for hover effect */
}

.partners-slider-small .partners-track {
    gap: 1.5rem;
    height: 60px;
    animation: slidePartners 20s linear infinite;
}

.partners-slider-small .partner-logo {
    min-width: 120px;
    height: 50px;
    background: transparent;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: none;
    opacity: 1;
    transform: scale(1);
    transition: all var(--transition-base);
    cursor: pointer;
}

.partners-slider-small .partner-logo:hover {
    transform: translateY(-1px) scale(1.03);
    opacity: 1;
    z-index: 10;
}

.partners-slider-small .partner-logo img {
    max-width: 100%;
    max-height: 35px;
    object-fit: contain;
    transition: all var(--transition-base);
}

.partners-slider-small .partner-logo:hover img {
    transform: scale(1.02);
}

/* ========================================
   Sponsors Slider Section
   ======================================== */

/* Sponsors slider inside hero section - positioned at top */
.hero-section .sponsors-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    overflow: visible;
    height: 80px;
    background: transparent;
    z-index: 2;
    padding-top: 15px;
}

.sponsors-slider {
    overflow: visible;
    position: relative;
    height: 80px;
    padding-top: 10px;
}

.sponsors-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: slideSponsors 40s linear infinite;
    padding-bottom: 8px;
    position: relative;
    z-index: 10;
}

.sponsor-logo {
    min-width: 160px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 0.5rem 1rem;
    box-shadow: none;
    transition: all var(--transition-base);
    opacity: 1;
    transform: scale(1);
    cursor: pointer;
    border: none;
    flex-shrink: 0;
}

.sponsor-logo:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 20px rgba(212, 115, 63, 0.25);
    opacity: 1 !important;
    z-index: 10;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    transition: all var(--transition-base);
    transform: scale(1);
}

.sponsor-logo:hover img {
    transform: scale(1.05);
}

@keyframes slideSponsors {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsors-track:hover {
    animation-play-state: paused;
}

.sponsors-track {
    will-change: transform;
}

/* Badge styles for partners section */
.badge-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 115, 63, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: 1px solid rgba(212, 115, 63, 0.2);
}

.mb-20 {
    margin-bottom: 1.25rem;
}

/* ========================================
   Video Showcase Section
   ======================================== */

.video-showcase-section {
    background-image: url('../images/backgrounds/dinagyang.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.video-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.video-showcase-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b35' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.video-column {
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    background: var(--surface);
}

.video-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 90px rgba(255, 107, 53, 0.4);
}

.showcase-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: contain;
    min-height: 400px;
    background: #000000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.4), rgba(247, 147, 30, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: auto;
}

.video-overlay[style*="display: none"] {
    pointer-events: none;
}

.video-overlay:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.6), rgba(247, 147, 30, 0.6));
}

.video-play-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    transform: scale(1.15);
    background: #ffffff;
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.5);
}

.video-play-btn i {
    font-size: 3rem;
    color: var(--primary);
    margin-left: 5px;
}

.content-column {
    padding: 1rem;
    display: flex;
    align-items: center;
}

.content-wrapper {
    max-width: 500px;
    width: 100%;
}

.content-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
    }
}

.content-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.content-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.content-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.content-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    font-size: 0.9rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-features li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.content-features i {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 5px rgba(255, 107, 53, 0.5));
}

.content-features span {
    font-weight: 600;
}

.content-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.content-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 160px;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
}

.content-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.content-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   About Page Styles
   ======================================== */

/* About Hero */
.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 64px;
}

.about-hero-parallax {
    position: absolute;
    inset: 0;
    background-image: url('../images/backgrounds/dinagyang.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.about-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 1rem;
}

.about-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Mission & Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.mv-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.mv-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.mv-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Stats Showcase */
.stats-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--primary);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.5);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stat-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* About Content Grid */
.about-content-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-column {
    position: relative;
}

.about-logo-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.overlay-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

.overlay-stat i {
    font-size: 2rem;
}

.about-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.about-feature-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(10px);
}

.about-feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.about-feature-item span {
    font-weight: 600;
    color: var(--text);
}

/* Members Section */
.members-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
}

.members-section .section-title {
    color: #1a1a2e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.members-section .section-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
}

/* Modern Members Search & Filter */
.members-search-wrapper {
    max-width: 900px;
    margin: 3rem auto 2rem;
}

.search-bar-modern {
    margin-bottom: 1.5rem;
}

.search-input-modern {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.search-input-modern:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
}

.search-input-modern i.fa-search {
    color: var(--primary);
    font-size: 1.1rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.search-input-modern:focus-within i.fa-search {
    transform: scale(1.1);
}

.search-input-modern input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    background: transparent;
    color: #333;
}

.search-input-modern input::placeholder {
    color: #adb5bd;
}

.clear-btn {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Filter Pills */
.filter-pills-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-pill {
    background: #ffffff;
    border: 2px solid #e9ecef;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.filter-pill i {
    font-size: 1rem;
}

.pill-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

.filter-pill:not(.active) .pill-badge {
    background: #f8f9fa;
    color: var(--primary);
}

/* Results Count */
.results-count-modern {
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    margin: 2rem 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.results-count-modern i {
    color: var(--primary);
    font-size: 1rem;
}

.results-count-modern strong {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.member-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Members Showcase Grid */
.members-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.member-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.member-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
}

.member-image {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 1;
    transition: all 0.3s ease;
}

.member-item:hover .member-overlay {
    background: linear-gradient(to bottom, rgba(255, 107, 53, 0.4), rgba(255, 107, 53, 0.8));
}

.member-category {
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-info {
    padding: 1.25rem;
    text-align: center;
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.category-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* SME Grid */
.sme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.sme-category-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.sme-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.2);
}

.sme-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 107, 53, 0.1);
}

.sme-card-header i {
    font-size: 2rem;
    color: var(--primary);
}

.sme-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.sme-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.sme-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sme-list li:last-child {
    border-bottom: none;
}

.sme-list i {
    color: var(--primary);
    font-size: 0.875rem;
}

.sme-count {
    text-align: center;
    padding: 1rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
}

/* Benefits Grid */
.section-gradient {
    position: relative;
    background: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&h=800&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.section-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 0;
}

.section-gradient .container {
    position: relative;
    z-index: 1;
}

.section-gradient .section-title,
.section-gradient .section-subtitle {
    color: #1a1a2e !important;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    color: #1a1a2e;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
}

.benefit-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--primary);
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    color: #333;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    padding: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.contact-form-wrapper {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Nest Hub & Landscape Tablets (1024x600) */
@media (min-width: 1024px) and (max-height: 700px) {
    .hero-section {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-content {
        padding: 80px 2rem 1rem;
        padding-bottom: 100px; /* Space for partners slider */
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-search {
        margin-bottom: 1rem;
        gap: 0.5rem;
    }
    
    .search-wrapper {
        height: 45px;
    }
    
    .search-input {
        font-size: 0.95rem;
        padding: 0.75rem 1rem 0.75rem 2.75rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-actions {
        margin-top: 1rem;
        gap: 0.75rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-section .partners-slider {
        height: 90px;
        padding-top: 10px;
    }
    
    .hero-section .partner-logo {
        min-width: 160px;
        height: 70px;
        padding: 0.5rem;
    }
    
    .hero-section .partner-logo img {
        max-height: 55px;
    }
    
    .partners-track {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .partners-track {
        gap: 2rem;
    }
    
    .partner-logo {
        min-width: 180px;
        height: 90px;
    }
    
    .hero-section .partners-slider {
        height: 130px;
    }

    .hero-section .sponsors-slider {
        top: 0;
        height: 70px;
    }

    .sponsor-logo {
        min-width: 160px;
        height: 60px;
    }

    .sponsor-logo img {
        max-height: 45px;
    }
    
    .hero-section .partner-logo {
        min-width: 190px;
        height: 85px;
    }
    
    .hero-section .partner-logo img {
        max-height: 65px;
    }
    
    @keyframes slidePartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 6 - 0.75rem * 6));
        }
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partners-track {
        gap: 1.5rem;
    }
    
    .partner-logo {
        min-width: 250px;
        height: 75px;
        padding: 0.75rem;
    }
    
    .partner-grid {
        gap: 0.75rem;
    }
    
    .partner-img {
        max-width: 60px;
        max-height: 50px;
    }
    
    .partner-name {
        font-size: 0.8rem;
        font-weight: bold;
    }
    
    .hero-section .partners-slider {
        height: 120px;
    }

    .hero-section .sponsors-slider {
        top: 0;
        height: 60px;
    }

    .sponsor-logo {
        min-width: 140px;
        height: 50px;
    }

    .sponsor-logo img {
        max-height: 38px;
    }

    .sponsors-track {
        gap: 1.5rem;
    }
    
    .hero-section .partner-logo {
        min-width: 180px;
        height: 80px;
    }
    
    .hero-section .partner-logo img {
        max-height: 60px;
    }
    
    /* Small partner slider responsive */
    .partners-slider-small {
        height: 50px;
    }
    
    .partners-slider-small .partners-track {
        gap: 1rem;
        height: 50px;
    }
    
    .partners-slider-small .partner-logo {
        min-width: 100px;
        height: 40px;
        padding: 0.25rem;
    }
    
    .partners-slider-small .partner-logo img {
        max-height: 30px;
    }
    
    @keyframes slidePartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 6 - 1.5rem * 6));
        }
    }
    
    /* Video Showcase Responsive - Tablet */
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .video-showcase-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .content-column {
        padding: 2rem 1rem;
    }
    
    .content-wrapper {
        max-width: 100%;
    }
    
    .video-play-btn {
        width: 90px;
        height: 90px;
    }
    
    .video-play-btn i {
        font-size: 2.2rem;
    }
    
    .content-actions .btn {
        min-width: 180px;
    }
}

@media (max-width: 640px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-5xl: 2.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .parallax-section {
        padding: 4rem 0;
    }
    
    .partners-section {
        padding: 2rem 0;
    }
    
    .partners-slider {
        height: 100px;
        margin-top: 2rem;
    }
    
    .partners-track {
        gap: 1rem;
    }
    
    .partner-logo {
        min-width: 220px;
        height: 60px;
        padding: 0.5rem;
    }
    
    .partner-grid {
        gap: 0.5rem;
    }
    
    .partner-img {
        max-width: 50px;
        max-height: 40px;
    }
    
    .partner-name {
        font-size: 0.75rem;
        font-weight: bold;
    }
    
    .partner-logo img {
        max-height: 50px;
    }
    
    .hero-section .partners-slider {
        height: 110px;
    }

    .hero-section .sponsors-slider {
        top: 0;
        height: 50px;
    }

    .sponsor-logo {
        min-width: 110px;
        height: 45px;
    }

    .sponsor-logo img {
        max-height: 32px;
    }

    .sponsors-track {
        gap: 1rem;
    }

    @keyframes slideSponsors {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-110px * 5 - 1rem * 5));
        }
    }
    
    .hero-section .partner-logo {
        min-width: 150px;
        height: 70px;
        padding: 0.4rem 0.6rem;
    }
    
    .hero-section .partner-logo img {
        max-height: 55px;
    }
    
    @keyframes slidePartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 6 - 0.5rem * 6));
        }
    }
    
    /* Video Showcase Responsive - Mobile */
    .video-showcase-section {
        padding: 3rem 0;
        background-attachment: scroll;
    }
    
    .video-showcase-grid {
        gap: 2rem;
    }
    
    .content-column {
        padding: 1.5rem 1rem;
    }
    
    .content-title {
        font-size: 1.75rem;
    }
    
    .content-description {
        font-size: 1rem;
    }
    
    .content-features li {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .content-features i {
        font-size: 1.25rem;
    }
    
    .content-actions {
        flex-direction: column;
    }
    
    .content-actions .btn {
        width: 100%;
        min-width: auto;
        justify-content: center;
    }
    
    .video-play-btn {
        width: 70px;
        height: 70px;
    }
    
    .video-play-btn i {
        font-size: 1.5rem;
    }
    
    .content-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    /* About Page Responsive - Mobile */
    .about-hero {
        min-height: 50vh;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .members-search-wrapper {
        padding: 0 1rem;
    }
    
    .filter-pills-container {
        gap: 0.5rem;
    }
    
    .filter-pill {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .filter-pill span:not(.pill-badge) {
        display: none;
    }
    
    .filter-pill i {
        margin: 0;
    }
    
    .members-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .member-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sme-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE OVERRIDES
   Mobile & iPad Width Consistency
   ======================================== */

/* Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 0.875rem;
    }
    
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
    }
    
    .hero-content {
        padding-top: 100px; /* Increased from 60px to prevent clipping under header/sponsors */
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        padding-bottom: 190px; /* Increased from 160px to prevent partners carousel overlap */
    }
    
    .hero-title {
        font-size: clamp(1.65rem, 7.5vw, 2.1rem) !important;
        margin-bottom: 0.65rem !important;
        line-height: 1.15 !important;
        padding-top: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8125rem !important;
        margin-bottom: 0.875rem !important;
        line-height: 1.35 !important;
    }
    
    .hero-search {
        margin-bottom: 0.875rem !important;
    }
    
    .interactive-search-bar {
        gap: 0.75rem !important;
    }
    
    .search-bar-container {
        padding: 0.375rem 1rem !important;
    }
    
    .search-bar-input {
        font-size: 0.875rem !important;
        padding: 0.625rem 1rem !important;
    }
    
    .search-bar-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
    
    .hero-actions {
        gap: 0.625rem !important;
        margin-bottom: 0.875rem !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-actions .btn {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.875rem !important;
    }
    
    .guide-image {
        height: 220px;
    }
    
    .guide-title {
        font-size: var(--font-size-xl);
    }
    
    .support-card,
    .challenge-card {
        padding: var(--spacing-lg);
    }
    
    .support-icon,
    .challenge-icon {
        width: 64px;
        height: 64px;
    }
    
    .support-icon i,
    .challenge-icon i {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        bottom: 140px !important;
        font-size: 0.9rem !important;
    }
    
    .scroll-indicator i {
        font-size: 1.25rem !important;
    }
}

/* Standard Mobile Devices (376px - 767px) */
@media (min-width: 376px) and (max-width: 767px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
    }
    
    .hero-content {
        padding: 70px 1rem 1rem;
        padding-bottom: 180px; /* Space for larger partners slider and buttons */
    }
    
    .hero-title {
        font-size: clamp(2rem, 7vw, 2.5rem) !important;
        margin-bottom: 0.875rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.4 !important;
    }
    
    .hero-search {
        margin-bottom: 1.25rem !important;
    }
    
    .interactive-search-bar {
        gap: 0.875rem !important;
    }
    
    .search-bar-container {
        padding: 0.4rem 1.25rem !important;
    }
    
    .search-bar-input {
        font-size: 0.9375rem !important;
        padding: 0.7rem 0 !important;
    }
    
    .search-bar-btn {
        padding: 0.875rem 1.75rem !important;
        font-size: 0.9375rem !important;
    }
    
    .hero-actions {
        gap: 0.875rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .scroll-indicator {
        bottom: 140px !important;
    }
    
    .guide-image {
        height: 260px;
    }
    
    .guide-title {
        font-size: var(--font-size-xl);
    }
    
    .stats-section {
        padding: var(--spacing-lg) 0;
    }
}

/* Medium Tablets (900px+) - 3 column grid for members */
@media (min-width: 900px) and (max-width: 1199px) {
    .members-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Devices (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-content {
        padding-bottom: 160px; /* Space for partners slider and buttons */
    }
    
    .guide-image {
        height: 280px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About Page Responsive - Tablet */
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
    }
    
    .members-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .member-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* General Mobile and Tablet Improvements (up to 1023px) */
@media (max-width: 1023px) {
    /* Ensure no horizontal overflow */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Consistent box-sizing */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }
    
    /* Responsive images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Full-width buttons on mobile */
    .btn-block-mobile {
        width: 100%;
    }
    
    /* Responsive flex layouts */
    .flex-wrap-mobile {
        flex-wrap: wrap;
    }
    
    /* Reduced margins on small screens */
    .section {
        padding: 2rem 0;
    }
    
    /* Ensure cards don't overflow */
    .feature-card,
    .restaurant-card,
    .guide-card,
    .support-card,
    .challenge-card {
        max-width: 100%;
        width: 100%;
    }
    
    /* Adjust spacing */
    .grid {
        gap: var(--spacing-md);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .restaurant-card:hover,
    .guide-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* ========================================
   Sticky Side Banners
   ======================================== */

.section-with-banners {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-left: 0;
    padding-right: 0;
}

.side-banner {
    position: sticky;
    top: 80px; /* Offset from top when sticky - reduced for better visibility */
    width: 160px;
    height: fit-content;
    z-index: 100;
    flex-shrink: 0;
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-banner-left {
    margin-left: 20px;
}

.side-banner-right {
    margin-right: 20px;
}

.side-banner img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.side-banner img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Adjust container for banner space */
.section-with-banners .container {
    flex: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .side-banner {
        width: 140px;
    }
    
    .side-banner-left {
        margin-left: 15px;
    }
    
    .side-banner-right {
        margin-right: 15px;
    }
}

@media (max-width: 1400px) {
    .side-banner {
        width: 120px;
    }
    
    .side-banner-left {
        margin-left: 10px;
    }
    
    .side-banner-right {
        margin-right: 10px;
    }
    
    .section-with-banners {
        gap: 15px;
    }
}

@media (max-width: 1200px) {
    .side-banner {
        display: none;
    }
    
    .section-with-banners {
        display: block;
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
    
    .section-with-banners .container {
        max-width: var(--container-width);
    }
}

/* ========================================
   Modern Contact Page Styles
   ======================================== */

/* Hero Section */
.contact-hero-modern {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&h=1080&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
}

/* Quick Contact Cards */
.quick-contact-section {
    padding: 4rem 0;
    background: var(--background);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.quick-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon-wrapper {
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 10px 25px rgba(212, 115, 63, 0.3);
}

.quick-contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.quick-contact-card p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 0.75rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #dcfce7;
    color: #16a34a;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Main Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--background) 0%, var(--muted) 100%);
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-area {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-header-modern {
    margin-bottom: 2.5rem;
}

.form-header-modern h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-header-modern p {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.modern-contact-form {
    transition: all 0.3s ease;
}

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

.form-group-modern {
    position: relative;
    transition: all 0.3s ease;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
}

.form-group-modern label i {
    color: var(--primary);
}

.form-input-modern {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 115, 63, 0.1);
}

.form-input-modern.valid {
    border-color: #16a34a;
}

.form-input-modern.invalid {
    border-color: #dc2626;
}

textarea.form-input-modern {
    resize: vertical;
    min-height: 120px;
}

.character-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.form-checkbox-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.form-checkbox-modern input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-checkbox-modern label {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    cursor: pointer;
}

.btn-submit-modern {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 115, 63, 0.3);
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 115, 63, 0.4);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.btn-submit-modern:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success Message */
.form-success-modern {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

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

.form-success-modern h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.form-success-modern p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.btn-outline-modern {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Contact Info Area */
.contact-info-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card-modern {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.info-card-modern:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.info-content p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin: 0;
}

.highlight-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem !important;
}

/* Social Section */
.social-section-modern {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.social-section-modern h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.social-section-modern p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-links-modern {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

/* FAQ Links */
.faq-links-modern {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-links-modern h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.faq-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    color: var(--foreground);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.faq-link:hover {
    background: var(--muted);
    color: var(--primary);
    padding-left: 1.25rem;
}

.faq-link i {
    color: var(--primary);
}

/* Map Section */
.map-section-modern {
    padding: 5rem 0;
    background: var(--background);
}

.map-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.map-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.map-container-modern {
    max-width: 1400px;
    margin: 0 auto;
}

.map-wrapper-modern {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 8px solid white;
}

/* CTA Section */
.cta-section-modern {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-section-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.cta-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.cta-content-modern h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content-modern p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #16a34a;
}

.notification-error {
    border-left: 4px solid #dc2626;
}

.notification i {
    font-size: 1.5rem;
}

.notification-success i {
    color: #16a34a;
}

.notification-error i {
    color: #dc2626;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-area {
        padding: 2rem;
    }
    
    .cta-content-modern h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        justify-content: center;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ========================================
   EVENTS PAGE STYLES
   ======================================== */

/* Events Hero Section */
.events-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.events-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.events-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(20, 20, 30, 0.70) 100%);
}

.events-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    padding: 2rem 1rem;
}

.events-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

.events-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.events-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.events-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

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

.events-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.events-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
}

.events-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
}

.events-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Events Section */
.events-section {
    padding: 4rem 0;
}

/* Events Filters */
.events-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.events-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.events-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.events-filter-btn i {
    font-size: 1rem;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Event Card Image */
.event-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.status-available,
.status-full {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-available {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.status-full {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

/* Event Card Content */
.event-card-content {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-date-badge {
    position: absolute;
    top: -30px;
    right: 1.5rem;
    width: 60px;
    height: 70px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    padding: 0.5rem;
}

.event-date-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.event-date-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: var(--foreground);
    line-height: 1.4;
}

.event-card-description {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Details */
.event-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.event-detail i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

/* Event Progress */
.event-progress {
    margin-bottom: 1.25rem;
}

.event-progress-bar {
    height: 8px;
    background: var(--muted);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.event-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.event-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Event Highlights */
.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.event-highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--muted);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--foreground);
    font-weight: 500;
}

.event-highlight-tag i {
    color: var(--primary);
    font-size: 0.7rem;
}

/* Event Register Button */
.event-register-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.event-register-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.event-register-btn:disabled {
    background: var(--muted-foreground);
    cursor: not-allowed;
    opacity: 0.6;
}

/* No Results Message */
.events-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.events-no-results i {
    font-size: 4rem;
    color: var(--muted-foreground);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.events-no-results h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--foreground);
}

.events-no-results p {
    color: var(--muted-foreground);
}

/* ========================================
   Featured Event Section
   ======================================== */

.featured-event-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.featured-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.featured-event-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.featured-event-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

.featured-event-badge {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-event-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: all 0.3s ease;
}

.featured-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.featured-event-image {
    position: relative;
    overflow: hidden;
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-event-card:hover .featured-event-image img {
    transform: scale(1.05);
}

.featured-event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
}

.featured-event-type {
    background: rgba(255, 255, 255, 0.95);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.featured-event-type i {
    color: var(--primary);
}

.featured-event-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-event-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.featured-event-date,
.featured-event-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.featured-event-date i,
.featured-event-time i {
    color: var(--primary);
}

.featured-event-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--foreground);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.featured-event-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-event-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.featured-event-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--muted);
    border-radius: var(--radius-md);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 600;
}

.featured-event-progress {
    margin-bottom: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.spots-filled {
    color: var(--foreground);
    font-weight: 600;
}

.spots-remaining {
    color: var(--muted-foreground);
}

.progress-bar {
    height: 8px;
    background: var(--muted);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #2563eb 100%);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

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

.featured-event-register-btn {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-event-register-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.featured-event-info-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-event-info-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-event-card {
        grid-template-columns: 1fr;
    }
    
    .featured-event-details-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-event-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-event-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .featured-event-title {
        font-size: 1.5rem;
    }
    
    .featured-event-content {
        padding: 1.5rem;
    }
    
    .featured-event-name {
        font-size: 1.5rem;
    }
    
    .featured-event-actions {
        flex-direction: column;
    }
    
    .featured-event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Events CTA Section */
.events-cta-section {
    background: var(--muted);
    padding: 4rem 0;
}

.events-cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    align-items: center;
}

.events-cta-content h2 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: var(--foreground);
}

.events-cta-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.events-cta-form {
    display: flex;
    gap: 1rem;
}

.events-cta-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.events-cta-input:focus {
    outline: none;
    border-color: var(--primary);
}

.events-cta-btn {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.events-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.events-cta-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.events-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Event Registration Modal */
.event-modal-form {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}

.event-modal-form p {
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--foreground);
}

.form-input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.w-100 {
    width: 100%;
    display: block !important;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Event Notification */
.event-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(150%);
    transition: transform 0.3s ease;
    z-index: 9999;
    font-weight: 600;
}

.event-notification.show {
    transform: translateY(0);
}

.event-notification.error {
    background: #ef4444;
}

.event-notification i {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .events-cta-card {
        grid-template-columns: 1fr;
    }
    
    .events-cta-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .events-hero {
        height: auto;
        min-height: 500px;
        padding: 3rem 0 4rem;
        align-items: flex-start;
        padding-top: 4rem;
    }
    
    .events-hero-content {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .events-hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .events-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .events-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .events-stat-number {
        font-size: 2rem;
    }
    
    .events-filters {
        gap: 0.5rem;
    }
    
    .events-filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .events-cta-card {
        padding: 2rem;
        gap: 2rem;
    }
    
    .events-cta-form {
        flex-direction: column;
    }
    
    .event-notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .events-hero {
        height: auto;
        min-height: 520px;
        padding: 4rem 0 4rem;
        align-items: flex-start;
        overflow: visible;
    }
    
    .events-hero-content {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .events-hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
        margin-bottom: 1rem;
    }
    
    .events-hero-title {
        font-size: 1.875rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .events-hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .events-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.25rem;
    }
    
    .events-stat-number {
        font-size: 1.75rem;
    }
    
    .events-stat-label {
        font-size: 0.8125rem;
    }
    
    .events-wave {
        height: 60px;
    }
    
    .events-cta-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 375px) {
    .events-hero {
        height: auto;
        min-height: 540px;
        padding: 4.5rem 0 3.5rem;
        align-items: flex-start;
        overflow: visible;
    }
    
    .events-hero-content {
        padding: 0 1rem;
        margin-top: 0.5rem;
    }
    
    .events-hero-badge {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    .events-hero-badge i {
        font-size: 0.625rem;
    }
    
    .events-hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.625rem;
    }
    
    .events-hero-subtitle {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        padding: 0;
        max-width: 100%;
    }
    
    .events-stats {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .events-stat {
        padding: 0.5rem 0;
    }
    
    .events-stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .events-stat-label {
        font-size: 0.75rem;
    }
    
    .events-wave {
        height: 50px;
    }
}

/* ========================================
   BANNER CAROUSEL SECTION
   ======================================== */

.banner-carousel-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.banner-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

/* Navigation Arrows */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.banner-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* Dots Indicator */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.banner-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .banner-carousel {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .banner-carousel-section {
        padding: 40px 0;
    }
    
    .banner-carousel {
        height: 250px;
    }
    
    .banner-carousel-wrapper {
        border-radius: 8px;
    }
    
    .banner-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .banner-prev {
        left: 10px;
    }
    
    .banner-next {
        right: 10px;
    }
    
    .banner-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
    
    .banner-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .banner-carousel {
        height: 200px;
    }
    
    .banner-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ========================================
   ANNOUNCEMENTS BANNER
   ======================================== */

.announcements-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    padding: 25px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(255, 107, 53, 0.4),
        0 4px 16px rgba(247, 147, 30, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: glow-pulse 3s ease-in-out infinite alternate;
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes glow-pulse {
    0% { 
        box-shadow: 
            0 8px 32px rgba(255, 107, 53, 0.4),
            0 4px 16px rgba(247, 147, 30, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% { 
        box-shadow: 
            0 12px 40px rgba(255, 107, 53, 0.6),
            0 6px 20px rgba(247, 147, 30, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.announcements-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 20%, 
        rgba(255, 255, 255, 0.5) 50%, 
        rgba(255, 255, 255, 0.3) 80%, 
        transparent 100%
    );
    animation: enhanced-shimmer 2.5s ease-in-out infinite;
}

@keyframes enhanced-shimmer {
    0%, 100% { 
        opacity: 0;
        transform: translateX(-100%);
    }
    50% { 
        opacity: 1;
        transform: translateX(100%);
    }
}

.announcements-carousel {
    width: 100%;
    overflow: hidden;
}

.announcements-track {
    display: flex;
    animation: scroll-announcements 60s linear infinite;
    gap: 0;
}

.announcements-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-announcements {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.announcement-item {
    flex: 0 0 auto;
    min-width: 600px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 18px;
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    animation: bounce-subtle 4s ease-in-out infinite;
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.announcement-icon {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
    animation: icon-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.announcement-text {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcements-banner {
        padding: 20px 0;
    }
    
    .announcement-item {
        min-width: 400px;
        padding: 0 20px;
    }
    
    .announcement-content {
        font-size: 1.05rem;
        gap: 15px;
    }
    
    .announcement-icon {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .announcements-banner {
        padding: 18px 0;
    }
    
    .announcement-item {
        min-width: 320px;
        padding: 0 15px;
    }
    
    .announcement-content {
        font-size: 0.95rem;
        gap: 12px;
    }
    
    .announcement-icon {
        font-size: 1.1rem;
    }
}

/* ========================================
   BACKING ORGANIZATIONS SECTION
   ======================================== */

.section-backing {
    padding: 60px 0;
    background: #f8f9fa;
}

.backing-organizations {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.backing-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.backing-card:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.backing-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    padding: 15px;
}

.backing-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.backing-card:hover .backing-logo img {
    filter: grayscale(0%);
}

.backing-info {
    flex: 1;
}

.backing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.backing-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.backing-description {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

.trust-indicators {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(212, 115, 63, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(212, 115, 63, 0.15);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(212, 115, 63, 0.12);
    border-color: rgba(212, 115, 63, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trust-item i {
    font-size: 1.1rem;
    color: var(--primary);
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--foreground);
}

/* Responsive Design */
@media (max-width: 768px) {
    .backing-organizations {
        flex-direction: column;
        gap: 20px;
    }
    
    .backing-card {
        padding: 25px;
        gap: 20px;
    }
    
    .backing-logo {
        width: 70px;
        height: 70px;
        padding: 12px;
    }
    
    .backing-title {
        font-size: 1.1rem;
    }
    
    .backing-subtitle {
        font-size: 0.85rem;
    }
    
    .backing-description {
        font-size: 0.9rem;
    }
    
    .trust-indicators {
        gap: 20px;
    }
    
    .trust-item {
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .backing-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================
   Sidebar Sponsor Slider Styles
   ========================================*/

/* Sidebar Sponsor Slider - Specific classes to avoid conflicts with main carousel */
.sidebar-sponsor-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--card);
    height: 280px;
    width: 100%;
    /* Hardware acceleration for better performance */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.sidebar-sponsor-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
}

.sidebar-sponsor-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    visibility: visible;
}

/* Sponsor content inside sidebar slides - Override conflicting styles */
.sidebar-sponsor-slider .sidebar-sponsor-slide .sponsor-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 2rem 1.5rem 3rem 1.5rem !important;
    height: 100% !important;
    width: 100% !important;
    gap: 1rem !important;
    position: relative !important;
    z-index: 3 !important;
    min-height: auto !important;
    margin: 0 !important;
}

.sidebar-sponsor-slide .sponsor-logo-container {
    flex: 0 0 auto;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.sidebar-sponsor-slide .sponsor-logo-featured {
    width: auto;
    height: 80px;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.sidebar-sponsor-slide .sponsor-logo-featured:hover {
    transform: scale(1.05);
}

.sidebar-sponsor-slide .sponsor-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
}

.sidebar-sponsor-description {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    line-height: 1.35;
    margin: 0;
    text-align: center;
    max-width: 260px;
}

.sidebar-sponsor-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
    position: absolute;
    bottom: 0.85rem;
    left: 0;
    right: 0;
    z-index: 4;
    height: auto;
    background: none; /* Remove the separate background */
}

.sidebar-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    margin: 0;
}

.sidebar-indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 2px 6px rgba(212, 115, 63, 0.4);
}

.sidebar-indicator:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

/* Responsive adjustments for sidebar sponsor slider */
@media (max-width: 768px) {
    .sidebar-sponsor-slider {
        height: 230px;
    }
    
    .sidebar-sponsor-slider .sidebar-sponsor-slide .sponsor-content {
        padding: 1.25rem 1rem 2.75rem 1rem !important;
        gap: 0.65rem !important;
    }
    
    .sidebar-sponsor-slide .sponsor-logo-featured {
        width: 50px;
        max-height: 38px;
    }
    
    .sidebar-sponsor-slide .sponsor-title {
        font-size: 0.88rem;
    }
    
    .sidebar-sponsor-description {
        font-size: 0.76rem;
        max-width: 220px;
        line-height: 1.3;
    }
    
    .sidebar-sponsor-indicators {
        bottom: 0.6rem;
        gap: 0.5rem;
    }
    
    .sidebar-indicator {
        width: 6px;
        height: 6px;
    }
}

