/* ========================================
   CSS RESET & BASE STYLES
   Connect Community Website - Based on BPPA Template
   Updated: 2026-01-03
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Connect Community Theme */
    --primary-color: #0066b3;
    --primary-dark: #004a80;
    --primary-light: #00a0dc;
    --secondary-color: #004a80;
    --accent-color: #ff6b35;
    --accent-gold: #ff6b35;
    --accent-gold-light: #ff8555;
    --success-color: #059669;
    --text-dark: #0066b3;
    --text-light: #64748b;
    --text-gray: #94a3b8;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #fff5f0 100%);
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-headings: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* 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);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    animation: pageTransitionIn 0.5s ease;
}

/* Page Transition Animations */
@keyframes pageTransitionIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageTransitionOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

body.page-transitioning {
    animation: pageTransitionOut 0.3s ease forwards;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 60px;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 8px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:not(.scrolled) .nav-content {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 0;
}

.navbar.scrolled {
    padding: 12px 0;
}

.navbar.scrolled .nav-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    background: transparent;
    flex-shrink: 0;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled .logo img {
    filter: none;
}

.logo-icon {
    font-family: var(--font-headings);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: 14px;
    color: #000000;
    max-width: 200px;
    line-height: 1.3;
}

.navbar:not(.scrolled) .logo-text {
    color: rgba(255, 255, 255, 0.9);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 0;
    list-style: none;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    font-size: 12px;
    color: #000000;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: capitalize;
    letter-spacing: 0;
    text-shadow: none;
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #333333;
}

.navbar:not(.scrolled) .nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.navbar.scrolled .nav-link {
    color: #000000;
    text-shadow: none;
}

.navbar.scrolled .nav-link:hover {
    color: #333333;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    color: #000000;
}

.navbar:not(.scrolled) .dropdown-arrow {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .dropdown-arrow {
    color: #000000;
}

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    user-select: none;
}

.dropdown-trigger:hover {
    color: var(--accent-gold);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    backdrop-filter: blur(15px);
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333333;
    padding-left: 25px;
}

.dropdown-menu a.active {
    background: rgba(0, 0, 0, 0.08);
    color: #333333;
    border-radius: 8px;
    margin: 0 8px;
}

.dropdown-menu a.active:hover {
    padding-left: 20px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #0066b3);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent);
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    z-index: -1;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover::after {
    width: 120%;
    height: 120%;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link::before {
    background: linear-gradient(90deg, #ff6b35, #0066b3);
}

.navbar:not(.scrolled) .nav-link::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 107, 53, 0.9));
}

.nav-link::after {
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent);
}

.navbar:not(.scrolled) .nav-link::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
}

.navbar.scrolled .nav-link::before {
    background: linear-gradient(90deg, #ff6b35, #0066b3);
}

.navbar.scrolled .nav-link::after {
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent);
}

.nav-link.active {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
    padding: 8px 16px;
    border-radius: 6px;
}

.navbar:not(.scrolled) .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.navbar.scrolled .nav-link.active {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}
    color: #000000;
}

.nav-link.active::before,
.nav-link.active::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-actions .btn {
    white-space: nowrap;
    font-size: 11px !important;
    padding: 10px 20px !important;
}

.nav-menu-actions {
    display: none;
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
    color: #000000;
    transition: transform 0.3s ease;
}

.navbar:not(.scrolled) .mobile-toggle svg {
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.mobile-toggle .line {
    transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    transform-origin: center;
}

.navbar.scrolled .mobile-toggle svg {
    color: #000000;
    filter: none;
}

.mobile-toggle.active .line-1 {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .line-2 {
    opacity: 0;
}

.mobile-toggle.active .line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* ========================================
   BUTTONS
   ======================================== */

/* Button Styles v2.0 */
.btn {
    display: inline-block;
    padding: 8px 16px !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 140px !important;
    max-width: 250px !important;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #ff6b35 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: white;
    color: #0066b3;
    border: 2px solid white;
    position: relative;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0066b3;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 179, 0.4);
}

.btn-primary.active {
    background: linear-gradient(135deg, #f59e0b 0%, #ff6b35 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px);
}

.btn-secondary.active {
    background: #0066b3;
    color: white;
    border-color: #0066b3;
    box-shadow: 0 6px 20px rgba(0, 102, 179, 0.5);
    transform: translateY(-2px);
}

.btn-secondary.active::before {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 0s linear 1.5s;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 1.5s ease-in-out, visibility 0s linear 0s;
}

@keyframes slideZoomIn {
    0% {
        opacity: 0;
        transform: scale(1.15) translateX(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

.hero-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.hero-shape::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--primary-color) 50%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero-shape::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: var(--accent-gold);
    clip-path: polygon(100% 0, 100% 100%, 80% 100%);
}

/* Hero Navigation Buttons */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-btn svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
    align-items: center;
}

.hero-indicator {
    position: relative;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow: hidden;
    transform: rotate(45deg);
    border-radius: 3px;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00a0dc 0%, #0066b3 100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hero-indicator[data-slide="0"]::before {
    background: linear-gradient(135deg, #00a0dc 0%, #0066b3 100%);
}

.hero-indicator[data-slide="1"]::before {
    background: linear-gradient(135deg, #ff8555 0%, #ff6b35 100%);
}

.hero-indicator[data-slide="2"]::before {
    background: linear-gradient(135deg, #ff6b35 0%, #0066b3 100%);
}

.hero-indicator.active {
    background: linear-gradient(135deg, #00a0dc 0%, #0066b3 100%);
    border-color: white;
    width: 50px;
    height: 16px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 160, 220, 0.6);
}

.hero-indicator[data-slide="0"].active {
    background: linear-gradient(135deg, #00a0dc 0%, #0066b3 100%);
    box-shadow: 0 4px 16px rgba(0, 160, 220, 0.6);
}

.hero-indicator[data-slide="1"].active {
    background: linear-gradient(135deg, #ff8555 0%, #ff6b35 100%);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.6);
}

.hero-indicator[data-slide="2"].active {
    background: linear-gradient(135deg, #ff6b35 0%, #0066b3 100%);
    box-shadow: 0 4px 16px rgba(128, 83, 116, 0.6);
}

.hero-indicator.active::before {
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.hero-indicator:hover {
    border-color: rgba(255, 255, 255, 1);
    transform: rotate(45deg) scale(1.15);
}

.hero-indicator:hover::before {
    transform: translate(-50%, -50%) scale(0.7);
}

.hero-indicator.active:hover {
    transform: rotate(45deg) scale(1.05);
}


.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    transform: scale(1);
    will-change: transform;
}

.hero-slide.active .hero-background {
    animation: kenBurnsZoom 15s ease-out forwards;
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Responsive Hero Background Images */
/* Slide 1 - Blue Gradient */
.hero-slide:nth-child(1) .hero-background {
    background-image: linear-gradient(135deg, rgba(0, 102, 179, 0.3) 0%, rgba(0, 160, 220, 0.3) 100%), 
                      url('../img/hero section/Slide1.webp');
}

/* Slide 2 - Orange Gradient */
.hero-slide:nth-child(2) .hero-background {
    background-image: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 133, 85, 0.3) 100%), 
                      url('../img/hero section/slide2.webp');
}

/* Slide 3 - Mixed Gradient */
.hero-slide:nth-child(3) .hero-background {
    background-image: linear-gradient(135deg, rgba(0, 102, 179, 0.3) 0%, rgba(255, 107, 53, 0.3) 100%), 
                      url('../img/hero section/slide3.webp');
}

/* Tablet: Use 1280px variants */
@media (max-width: 1279px) {
    .hero-slide:nth-child(1) .hero-background {
        background-image: linear-gradient(135deg, rgba(0, 102, 179, 0.3) 0%, rgba(0, 160, 220, 0.3) 100%), 
                          url('../img/hero section/Slide1-1280.webp');
    }
    
    .hero-slide:nth-child(2) .hero-background {
        background-image: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 133, 85, 0.3) 100%), 
                          url('../img/hero section/slide2-1280.webp');
    }
}

/* Mobile: Use 640px variants */
@media (max-width: 768px) {
    .hero-slide:nth-child(1) .hero-background {
        background-image: linear-gradient(135deg, rgba(0, 102, 179, 0.3) 0%, rgba(0, 160, 220, 0.3) 100%), 
                          url('../img/hero section/Slide1-640.webp');
    }
    
    .hero-slide:nth-child(2) .hero-background {
        background-image: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 133, 85, 0.3) 100%), 
                          url('../img/hero section/slide2-640.webp');
    }
    
    /* Mobile Hero Image Optimization */
    .hero-background {
        background-size: auto 100%; /* Height-based sizing shows more of the image */
        background-position: center 35%; /* Adjusted to show better focal point */
    }
    
    /* Reduce Ken Burns zoom on mobile to prevent over-zooming */
    .hero-slide.active .hero-background {
        animation: kenBurnsZoomMobile 15s ease-out forwards;
    }
    
    @keyframes kenBurnsZoomMobile {
        0% {
            transform: scale(1);
        }
        100% {
            transform: scale(1.03); /* Reduced from 1.08 to show more image */
        }
    }
}

/* Home page hero carousel: mobile portrait only.
   These slides use `background-size: auto 100%` on small screens, which can zoom/crop
   too aggressively on portrait devices. Override to fit better horizontally and
   reduce the zoom while keeping desktop unchanged. */
@media (max-width: 768px) and (orientation: portrait) {
    .hero {
        min-height: 100vh;
    }

    .hero-slider {
        height: 100vh;
    }

    /* Split hero into two stacked blocks: image (top) + text (bottom) */
    .hero-slide {
        display: flex;
        flex-direction: column;
    }

    /* Top: image only */
    .hero-background {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        flex: 0 0 45vh;
        height: 45vh;
        width: 100%;
        z-index: 0;

        /* Keep image naturally filled without shifting */
        background-size: cover !important;
        background-position: center bottom !important;
        transform-origin: bottom center !important;
    }

    /* Bottom: text only */
    .hero-wrapper {
        position: relative !important;
        flex: 1 1 auto;
        min-height: 0 !important;
        height: auto !important;
        z-index: 1;

        display: flex;
        align-items: flex-start;
        justify-content: flex-start;

        /* Solid dark block behind text */
        background: #0b2d45;
        padding: 22px 0 28px;
    }

    .hero-content-center {
        /* Keep text centered inside the dark block */
        padding: 0 20px !important;
        max-width: 720px;
        margin: 0 auto;
    }

    .hero-slide.active .hero-background {
        animation: kenBurnsZoomMobilePortrait 15s ease-out forwards;
    }

    @keyframes kenBurnsZoomMobilePortrait {
        0% {
            transform: scale(1);
        }
        100% {
            transform: scale(1.01); /* reduce over-zoom (less crop) */
        }
    }
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding-top: 0;
}

.hero-content-center {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-slide:not(.active) .hero-subtitle,
.hero-slide:not(.active) .hero-title-main,
.hero-slide:not(.active) .hero-tagline-main {
    opacity: 0;
    transform: translateY(50px);
    animation: none;
}

.hero-slide.active .hero-subtitle {
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-slide.active .hero-title-main {
    animation: slideUpFade 1.2s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-slide.active .hero-tagline-main {
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.8s;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.hero-title-main {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(50px);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-tagline-main {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Slide up fade animation */
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   REGIONAL COVERAGE FLAGS
   ======================================== */

.regional-coverage-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.flags-container {
    display: grid;
    grid-template-columns: auto repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.flags-label {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    margin: 0;
    letter-spacing: 0.5px;
    justify-self: start;
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    min-width: 140px;
}

.flag-item picture {
    flex-shrink: 0;
}

.flag-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.flag-item span {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
}

/* Flag animation */
@keyframes flagWave {
    0%, 100% {
        transform: rotateY(0deg) translateY(0px);
    }
    25% {
        transform: rotateY(-15deg) translateY(-2px);
    }
    50% {
        transform: rotateY(0deg) translateY(0px);
    }
    75% {
        transform: rotateY(15deg) translateY(-2px);
    }
}

.flag-flying {
    animation: flagWave 2s ease-in-out infinite;
    transform-style: preserve-3d;
}

.flag-flying:nth-child(1) {
    animation-delay: 0s;
}

.flag-item:nth-child(2) .flag-flying {
    animation-delay: 0.3s;
}

.flag-item:nth-child(3) .flag-flying {
    animation-delay: 0.6s;
}

.flag-item:nth-child(4) .flag-flying {
    animation-delay: 0.9s;
}

.flag-item:nth-child(5) .flag-flying {
    animation-delay: 1.2s;
}

/* Responsive flags */
@media (max-width: 968px) {
    .flags-container {
        display: grid !important;
        grid-template-columns: repeat(2, auto) !important;
        gap: 12px 20px !important;
        padding: 0 30px !important;
        justify-content: center !important;
        justify-items: start !important;
        align-items: center !important;
    }
    
    .flags-label {
        grid-column: 1 / -1;
        justify-self: center !important;
        margin-bottom: 8px;
    }
    
    .flag-item {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 768px) {
    .regional-coverage-banner {
        padding: 25px 0;
    }
    
    .flags-container {
        display: grid !important;
        grid-template-columns: repeat(2, auto) !important;
        gap: 10px 15px !important;
        padding: 0 20px !important;
        justify-content: center !important;
        justify-items: start !important;
        align-items: center !important;
    }
    
    .flags-label {
        font-size: 14px;
        grid-column: 1 / -1;
        justify-self: center !important;
    }
    
    .flag-item {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
    }
    
    .flag-item img {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0;
    }
    
    .flag-item span {
        font-size: 13px;
        white-space: nowrap;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 20px;
    overflow: hidden;
}

.image-placeholder svg {
    width: 80%;
    height: 80%;
    max-width: 300px;
    max-height: 300px;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* ========================================
   VISION & MISSION SECTION
   ======================================== */

.vision-mission {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vm-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vm-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.vm-card h3 {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.vm-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   VALUES SECTION
   ======================================== */

.values {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.value-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-base);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.value-card h4 {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   OBJECTIVES SECTION
   ======================================== */

.objectives {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.objective-item {
    display: flex;
    gap: 24px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-left: 4px solid transparent;
}

.objective-item:hover {
    transform: translateX(8px);
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.objective-number {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.objective-item p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    padding-top: 4px;
}

/* ========================================
   MEMBERSHIP SECTION (General)
   ======================================== */

.membership {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Base style for standard membership cards (not carousel ones) */
.membership-card:not(.carousel-track .membership-card) {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    transition: all var(--transition-base);
    position: relative;
    min-width: auto;
    overflow: visible;
}

.membership-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

.membership-card:not(.carousel-track .membership-card):hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.membership-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.membership-badge.popular {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.membership-title {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.membership-description {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.benefits-list {
    margin-bottom: 32px;
}

.benefits-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1rem;
}

.benefits-list svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.pricing-title {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-dark);
    text-align: center;
}

.pricing-details {
    margin-bottom: 32px;
}

.price-item {
    text-align: center;
    padding: 24px 0;
}

.price-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.amount {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.price-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 20px 0;
}

.pricing-card .btn {
    width: auto;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition-base);
}

.contact-method:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.contact-method svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-method h4 {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-method p {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition-base);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: auto;
    margin-top: 8px;
}

/* ========================================
   MEMBERSHIP CAROUSEL SECTION (Homepage Only)
   ======================================== */

.membership-carousel {
    /* Reduced padding to bring carousel closer to top banner */
    padding: 30px 0 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.carousel-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.carousel-header .section-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.carousel-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    /* Reduced gap to 10px for tighter spacing */
    gap: 10px;
    width: 100%;
}

/* Membership Card Styles (Carousel Specific) */
.carousel-track .membership-card {
    /* 3 cards per view with 10px gap: (100% - 20px gap total) / 3 */
    min-width: calc((100% - 20px) / 3);
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    outline: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.carousel-track .membership-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 0;
    border: none;
}

.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.membership-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
}

.card-badge {
    align-self: flex-start;
    background: rgba(30, 58, 138, 0.9);
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.card-title {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.learn-more-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 12px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.learn-more-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.carousel-btn:hover svg {
    color: white;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: var(--primary-color);
    width: 40px;
    border-radius: 6px;
}

.indicator:hover {
    background: var(--primary-light);
}

/* Responsive Design for Carousel */
@media (max-width: 1200px) {
    .carousel-track .membership-card {
        /* 2 cards per view with 10px gap */
        min-width: calc((100% - 10px) / 2);
    }
    
    .carousel-container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .membership-carousel {
        padding: 60px 0;
    }
    
    .carousel-header .section-title {
        font-size: 2rem;
    }
    
    .carousel-header .section-subtitle {
        font-size: 1rem;
    }
    
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-track .membership-card {
        min-width: 100%;
    }
    
    .card-image {
        height: 200px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
}

/* ========================================
   ABOUT PAGE - TAB LAYOUT
   ======================================== */

.about-nav-section {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 130px;
    z-index: 100;
    margin-top: 130px;
}

.about-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-tab {
    padding: 12px 24px;
    background: #f1f5f9;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-tab:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.about-tab.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.about-content-section {
    padding: 80px 0;
    background: #f8fafc;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.content-grid.full-width {
    grid-template-columns: 1fr;
}

.content-left {
    padding-right: 20px;
}

.content-title {
    font-family: var(--font-headings);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.content-tagline {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.content-description {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.content-right {
    padding-left: 20px;
}

.content-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Vision Highlights */
.vision-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.highlight-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.highlight-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.highlight-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Feature Cards Grid */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.1), rgba(255, 107, 53, 0.1));
    position: relative;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-card-image img {
    transform: scale(1.05);
}

.feature-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-title {
    font-family: var(--font-headings);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-card-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mission-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.mission-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.mission-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Objectives List */
.objectives-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.objective-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.objective-item:hover {
    transform: translateX(10px);
}

.objective-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.objective-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    /* Show mobile toggle and hide desktop nav for tablets and smaller */
    .mobile-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .nav-content {
        display: none;
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 420px;
        max-height: 65vh; /* Force smaller height for scrolling */
        background: white;
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-xl);
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: scroll !important; /* Force scrolling always */
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Smooth scrolling for mobile menu */
    .nav-content::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .nav-content::-webkit-scrollbar-thumb {
        background: #0066b3;
        border-radius: 10px;
    }
    
    .nav-content::-webkit-scrollbar-thumb:hover {
        background: #004a80;
    }
    
    .nav-content.active {
        display: flex;
    }
    
    .nav-wrapper {
        justify-content: space-between;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 20px;
        padding-bottom: 20px;
    }

    .nav-menu .nav-link {
        padding: 12px 16px;
        width: 100%;
        border-radius: 8px;
        font-size: 15px;
        color: #1a1a1a;
        display: block;
    }
    
    .nav-menu .nav-link:hover {
        background-color: #f3f4f6;
    }

    /* Hide desktop action buttons */
    .nav-actions {
        display: none !important;
    }

    /* Mobile menu action buttons container (the li element) */
    .nav-menu-actions {
        display: flex !important;
        flex-direction: column;
        align-items: center; /* Center the buttons */
        gap: 12px;
        width: 100%;
        padding: 16px 0 0 0; /* Only top padding */
        margin-top: 8px;
        border-top: 1px solid #e5e7eb;
        list-style: none;
    }
    
    /* The actual button links */
    .nav-menu-actions .btn {
        width: 90% !important; /* Centered with 90% width */
        max-width: 300px !important;
        padding: 14px 24px !important;
        font-size: 14px !important;
        text-align: center !important;
        display: block !important;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-left,
    .content-right {
        padding: 0;
    }
    
    .mission-grid,
    .values-grid,
    .objectives-list {
        grid-template-columns: 1fr;
    }
    
    .content-title {
        font-size: 2rem;
    }
    
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .feature-card-image {
        height: 200px;
    }
    
    .feature-card-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .about-nav-section {
        top: 70px;
    }
    
    .about-tabs {
        gap: 10px;
    }
    
    .about-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .about-content-section {
        padding: 50px 0;
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .feature-card-image {
        height: 220px;
    }
    
    .feature-card-content {
        padding: 25px 20px;
    }
    
    .feature-card-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #2d3748;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: #1a202c;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .scroll-to-top svg {
        width: 22px;
        height: 22px;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: white;
    padding: 40px 0 0;
    border-top: 1px solid #e5e7eb;
}

.footer-logo-section {
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    padding-right: 30px;
    border-right: 1px solid #e5e7eb;
}

.footer-info {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #4b5563;
}

.footer-company {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 12px;
}

.footer-info p {
    margin-bottom: 6px;
}

.footer-info a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #0066b3;
}

.footer-hours {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.footer-hours p {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.footer-hours strong {
    color: #1f2937;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #0066b3;
}

.footer-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-left: 30px;
    border-left: 1px solid #e5e7eb;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
    text-align: right;
    max-width: 250px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom-left p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.footer-bottom-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #1f2937;
    border-color: #1f2937;
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: #6b7280;
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: white;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
}

.footer-bottom-right a {
    font-size: 0.85rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #1f2937;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-left {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 30px;
    }
    
    .footer-right {
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-left: 0;
        padding-top: 30px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-right {
        justify-content: flex-start;
    }
    
    .footer-tagline {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-logo-section {
        padding-bottom: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .footer-main {
        gap: 30px;
    }
    
    .footer-left {
        padding-bottom: 24px;
        align-items: center;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-company {
        text-align: center;
    }
    
    .footer-hours {
        text-align: center;
    }
    
    .footer-right {
        padding-top: 24px;
        justify-content: center;
        align-items: center;
    }
    
    .footer-tagline {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-col ul {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }
    
    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom-left {
        display: flex;
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        text-align: center;
    }
}


/* ========================================
   RESPONSIVE DESIGN (General)
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-content,
    .vm-grid,
    .membership-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-content {
        display: none;
        border-radius: 12px;
        padding: 16px;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .logo img {
        height: 60px;
    }

    .nav-wrapper {
        justify-content: space-between;
        gap: 15px;
    }

    .mobile-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .nav-content {
        order: 3;
        display: none;
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 380px;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-radius: 12px;
        gap: 8px;
        align-items: stretch;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-content.active {
        display: flex;
    }

    /* Smooth scrollbar for mobile menu */
    .nav-content::-webkit-scrollbar {
        width: 4px;
    }

    .nav-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-content::-webkit-scrollbar-thumb {
        background: rgba(0, 102, 179, 0.3);
        border-radius: 10px;
    }

    .nav-content::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 102, 179, 0.5);
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Hide desktop action buttons on mobile */
    .nav-actions {
        display: none !important;
    }

    /* Show mobile action buttons inside menu */
    .nav-menu-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding-top: 12px;
        margin-top: 12px;
        border-top: 1px solid #e5e7eb;
    }

    .nav-menu-actions .btn {
        width: 100%;
        max-width: none;
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Mobile navbar - black text in dropdown */
    .nav-menu .nav-link {
        padding: 10px 14px;
        width: 100%;
        border-radius: 8px;
        transition: background-color 0.2s ease;
        font-size: 15px;
        color: #1a1a1a;
        text-shadow: none;
        text-align: center;
    }

    .nav-menu .nav-link:hover {
        background-color: #f3f4f6;
        color: #333333;
    }

    .nav-menu .nav-link::before {
        background: linear-gradient(90deg, #ff6b35, #0066b3);
    }

    .nav-menu .nav-link::after {
        background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent);
    }

    .mobile-toggle svg {
        color: #000000;
        filter: none;
    }

    .navbar:not(.scrolled) .mobile-toggle svg {
        color: #ffffff;
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-trigger {
        padding: 10px 14px;
        width: 100%;
        border-radius: 8px;
        transition: background-color 0.2s ease;
        font-size: 15px;
        color: #1a1a1a;
        text-shadow: none;
        text-align: center;
        cursor: pointer;
        position: relative;
    }
    
    .dropdown-trigger:hover {
        background-color: #f3f4f6;
        color: #333333;
    }
    
    .nav-dropdown.active .dropdown-trigger {
        background-color: #f3f4f6;
        color: #333333;
    }
    
    .dropdown-trigger.active {
        background-color: #f3f4f6;
        color: #333333;
    }

    .dropdown-trigger::after {
        content: '▼';
        font-size: 10px;
        transition: transform 0.3s ease;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-dropdown.active .dropdown-trigger::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        margin-left: 15px;
        padding-left: 15px;
        border-left: 2px solid var(--accent-gold);
        background: transparent;
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 8px 15px;
        text-align: center;
    }

    .dropdown-menu a.active {
        margin: 0;
    }

    .logo-text {
        display: none;
    }
}

/* Mobile Landscape Orientation - Better scrolling */
@media (max-width: 968px) and (max-height: 500px) and (orientation: landscape) {
    .nav-content {
        max-height: calc(100vh - 80px);
        top: 60px;
        padding: 12px;
    }
    
    .nav-menu .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .dropdown-trigger {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .dropdown-trigger::after {
        font-size: 9px;
        right: 10px;
    }
    
    .dropdown-menu {
        margin-top: 6px;
        margin-left: 12px;
        padding-left: 12px;
    }
    
    .dropdown-menu a {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .nav-menu-actions {
        padding-top: 8px;
        margin-top: 8px;
    }
    
    .nav-menu-actions .btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

    .about-hero-light {
        padding: 140px 0 80px;
        min-height: 400px;
    }

    .about-nav-section {
        margin-top: 100px;
        top: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .vm-card,
    .pricing-card {
        padding: 30px;
    }

    .contact-form {
        padding: 30px;
    }

    .social-links {
        justify-content: center;
    }
    .footer-content {
        flex-direction: column !important;
        align-items: center;
        gap: 30px;
    }
    .footer-section:first-child {
        align-items: center !important;
    }

    .footer-section:first-child p {
        text-align: center !important;
        width: 100%;
    }

    .footer-section:first-child .footer-tagline {
        text-align: center !important;
        margin: 0;
        width: 100%;
    }
    .footer-section {
        align-items: center !important;
        width: 100%;
    }

    .footer-section h4 {
        text-align: center;
    }

    .footer-section ul li {
        text-align: center;
    }

    .footer-section p {
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }

    .membership-card.featured {
        transform: scale(1);
    }
    .membership-card:not(.carousel-track .membership-card) {
        padding: 25px;
        min-width: 0;
    }
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    align-items: start;
}

    .membership-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .membership-title {
        font-size: 1.3rem;
    }

    .membership-description {
        font-size: 0.9rem;
    }

    .benefits-list li {
        font-size: 0.9rem;
    }
    table th {
        font-size: 0.85rem !important;
        padding: 0.75rem 0.5rem !important;
        white-space: nowrap;
    }

    table td {
        font-size: 0.85rem !important;
        padding: 0.75rem 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 40px;
    }

    .objective-item {
        flex-direction: column;
        gap: 16px;
    }

    .objective-number {
        font-size: 2rem;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UTILITIES
   ======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========================================
   LOADING STATES & TRANSITIONS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PAGE HEADER (for individual pages)
   ======================================== */

.page-header {
    padding: 140px 0 80px;
    background: url('../img/Home/navbar.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    position: relative;
    overflow: visible;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--accent-gold);
    clip-path: polygon(100% 0, 100% 100%, 80% 100%);
    z-index: 2;
    pointer-events: none;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 120px;
    background: linear-gradient(135deg, transparent 0%, var(--primary-color) 50%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.page-header .pattern-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg,
            transparent 0px,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 2px,
            transparent 40px
        );
    pointer-events: none;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    animation: slideUpFade 1.2s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateY(50px);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
    transform: translateY(30px);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.choose-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.choose-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.choose-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.choose-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.choose-card h3 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.choose-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-headings);
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background: white;
    color: #0066b3;
    border: 2px solid white;
}

.cta-section .btn-secondary::before {
    background: #0066b3;
}

.cta-section .btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ========================================
   MAP & OFFICE HOURS (Contact Page)
   ======================================== */

.map-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.map-overlay {
    text-align: center;
}

.map-overlay svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.map-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.map-overlay small {
    color: var(--text-gray);
}

.office-hours {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.office-hours h4 {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-item span:last-child {
    color: var(--text-light);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    transition: all var(--transition-base);
}

.faq-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.faq-item h4 {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   RESPONSIVE UPDATES FOR NEW SECTIONS
   ======================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .choose-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
    }
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    color: white;
}

.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 20px;
    backdrop-filter: blur(10px);
}

.stat-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(30, 58, 138, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.testimonial-text {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.newsletter-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 12px;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    background: white;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    white-space: nowrap;
}

.newsletter-form .btn-primary {
    background: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.4);
}

.newsletter-form .btn-primary:hover {
    background: var(--accent-gold-light);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.5);
}

/* ==========================================
   Events Page Styles
   ========================================== */

/* Events Upcoming Section */
.events-upcoming {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.event-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    color: white;
}

.event-card.featured .event-content h3,
.event-card.featured .event-content p,
.event-card.featured .meta-item {
    color: white;
}

.event-card.featured .event-date {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    margin: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.date-day {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-headings);
    line-height: 1;
}

.date-month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.date-year {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 2px;
}

.event-content {
    padding: 0 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.event-card.featured .event-meta {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.event-card.featured .meta-item svg {
    color: white;
}

.event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.event-card.featured .event-footer {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.event-price {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-card.featured .event-price {
    color: white;
}

.event-price span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.7;
}

.event-card.featured .event-price span {
    color: white;
}

/* Event Types Section */
.event-types {
    padding: 100px 0;
    background: white;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.type-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.type-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.15);
}

.type-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.type-card:hover .type-icon {
    transform: rotate(0deg) scale(1.1);
}

.type-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.type-card h3 {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.type-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive Events */
@media (max-width: 968px) {
    .event-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .event-content h3 {
        font-size: 1.3rem;
    }
}

/* ==========================================
   Resources Page Styles
   ========================================== */

.resource-categories {
    padding: 100px 0;
    background: white;
}

.resource-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: white;
    border-color: transparent;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.15);
}

.resource-card.hidden {
    display: none;
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.resource-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.resource-card h3 {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.resource-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.resource-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.resource-type,
.resource-size {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f3f4f6;
    color: var(--text-secondary);
}

.resource-type {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: white;
}

/* Resource Stats Section */
.resource-stats {
    padding: 10px 0 90px;
    background: white;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 41, 59, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(30, 41, 59, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Resources */
@media (max-width: 768px) {
    .resource-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================
   Gallery Page Styles
   ========================================== */

.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.gallery-filter-btn {
    padding: 12px 28px;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: white;
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 16px;
}

.gallery-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.gallery-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.5;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.lightbox-image .gallery-placeholder {
    width: 800px;
    height: 600px;
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 8px;
}

.lightbox-caption {
    text-align: center;
    color: white;
}

.lightbox-caption h3 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.lightbox-caption p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-filters {
        gap: 8px;
    }
    
    .gallery-filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .gallery-overlay {
        transform: translateY(0);
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-caption h3 {
        font-size: 1.3rem;
    }
    
    .lightbox-caption p {
        font-size: 0.95rem;
    }
}

/* ==========================================
   FAQ Page Styles
   ========================================== */

.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--accent-gold);
}

.faq-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-category-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.faq-category-header h2 {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 1px solid rgba(26, 53, 86, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.faq-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.15);
    transform: translateY(-1px);
}

.faq-item.active {
    border-color: var(--accent-gold);
    background: linear-gradient(to right, rgba(26, 53, 86, 0.02) 0%, #ffffff 100%);
    box-shadow: 0 2px 12px rgba(201, 169, 97, 0.2);
}

.faq-question {
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 20px 16px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
}

.faq-answer ul li::marker {
    color: var(--accent-gold);
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .faq-category-header h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-answer ul {
        padding-left: 20px;
    }
}

/* ================================
   Light About Page Styles
================================ */

/* About Hero Light */
.about-hero-light {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 180px 0 120px;
    text-align: center;
    width: 100%;
    min-height: 500px;
}

/* Page-specific hero backgrounds */
.hero-about {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/about-hero-bg.jpg');
}

.hero-joinus {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/joinus-hero-bg.jpg');
}

.hero-programs {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/programs-hero-bg.jpg');
}

.hero-learninghub {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/learninghub-hero-bg.jpg');
}

.hero-members {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/memberHero.jpg');
}

/* ================================
   Infinite Logo Marquee Styles
================================ */

.members-marquee {
    width: 100%;
    max-width: none;
    overflow: hidden;
    margin-top: 60px;
    padding: 40px 0;
    position: relative;
}

.members-track {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 50px;
    animation: marquee 25s linear infinite;
    will-change: transform;
}

.members-track:hover {
    animation-play-state: paused;
}

.member-item {
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    height: 180px;
}

.member-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 102, 179, 0.2);
}

.member-logo {
    max-width: 250px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.member-item:hover .member-logo {
    transform: scale(1.1);
}

/* Keyframe animation for seamless infinite scroll */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .members-track {
        animation-duration: 20s;
        gap: 40px;
    }
    
    .member-item {
        padding: 35px 50px;
        min-width: 250px;
        height: 160px;
    }
    
    .member-logo {
        max-width: 220px;
        max-height: 110px;
    }
}

@media (max-width: 768px) {
    .members-marquee {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .members-track {
        animation-duration: 18s;
        gap: 30px;
    }
    
    .member-item {
        padding: 30px 40px;
        min-width: 220px;
        height: 140px;
    }
    
    .member-logo {
        max-width: 180px;
        max-height: 90px;
    }
}

@media (max-width: 480px) {
    .members-track {
        animation-duration: 15s;
        gap: 25px;
    }
    
    .member-item {
        padding: 25px 35px;
        min-width: 200px;
        height: 120px;
        border-radius: 15px;
    }
    
    .member-logo {
        max-width: 150px;
        max-height: 75px;
    }
}

.hero-getintouch {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/getintouch-hero-bg.jpg');
}

.hero-fullaccess {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%), url('../img/fullaccess-hero-bg.jpg');
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.about-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Wide Photo Card Section */
.wide-photo-card-section {
    padding: 0;
    background: #ffffff;
}

.wide-photo-card {
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.wide-photo-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.wide-photo-card.reverse .wide-photo-content {
    order: 1;
}

.wide-photo-card.reverse .wide-photo-image {
    order: 2;
}

.wide-photo-image {
    position: relative;
    overflow: hidden;
    height: 500px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.wide-photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 500px;
    max-height: 420px;
    border-radius: 20px;
}

.wide-photo-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    position: relative;
}

.content-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0066b3 0%, #0052a3 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 102, 179, 0.2);
}

.wide-photo-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.3;
    position: relative;
}

.wide-photo-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #0066b3 100%);
    border-radius: 2px;
}

.wide-photo-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 25px;
    margin-top: 15px;
}

.content-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
    font-size: 0.875rem;
    font-weight: 500;
}

.highlight-item svg {
    color: #0066b3;
    flex-shrink: 0;
}

.wide-photo-content p strong {
    color: #0066b3;
    display: block;
    margin-bottom: 8px;
}

.wide-photo-content .btn {
    width: auto;
}

/* Our Story Light Section */
.our-story-light-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.story-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.story-text {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 16px;
    text-align: left;
}

/* Offerings Light Section */
.offerings-light-section {
    background: #ffffff;
    padding: 80px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-center h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
}

.section-header-center p {
    font-size: 0.8rem;
    color: #6c757d;
}

.offerings-grid-light {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.offering-card-light {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.offering-card-light:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.offering-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 102, 179, 0.1), rgba(255, 107, 53, 0.1));
    position: relative;
    border-radius: 16px;
}

.offering-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 16px;
}

.offering-card-light:hover .offering-card-image img {
    transform: scale(1.05);
}

.offering-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.offering-icon-light {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #0066b3;
}

.offering-card-light h3 {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.3;
}

.offering-card-light p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}


/* Success Stats Light Section */
.success-stats-light-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.stats-title-light {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2c3e50;
}

.stats-grid-light {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item-light {
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-item-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-number-light {
    font-size: 2rem;
    font-weight: 700;
    color: #0066b3;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label-light {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .wide-photo-card {
        display: flex;
        flex-direction: column;
        max-width: 900px;
    }
    
    .wide-photo-image {
        order: 2;
    }
    
    .wide-photo-content {
        order: 1;
        padding: 40px;
    }
    
    .wide-photo-card.reverse {
        flex-direction: column;
    }
    
    .wide-photo-card.reverse .wide-photo-content {
        order: 1;
    }
    
    .wide-photo-card.reverse .wide-photo-image {
        order: 2;
    }
    
    .wide-photo-image {
        height: auto !important;
        min-height: 0 !important;
        padding: 15px !important;
        display: block !important;
    }
    
    .wide-photo-image img {
        max-width: 380px;
        max-height: 280px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 1.375rem;
    }
    
    .about-hero-subtitle {
        font-size: 0.75rem;
    }
    
    .wide-photo-content {
        padding: 30px 24px;
    }

    .content-badge {
        font-size: 0.65rem;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    .wide-photo-content h2 {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .wide-photo-content h2::after {
        width: 50px;
        height: 3px;
    }
    
    .wide-photo-content p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .content-highlights {
        gap: 10px;
    }

    .highlight-item {
        font-size: 0.8rem;
    }

    .highlight-item svg {
        width: 18px;
        height: 18px;
    }
    
    .wide-photo-image {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px !important;
        display: block !important;
    }
    
    .wide-photo-image img {
        max-width: 100%;
        max-height: 220px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .story-title,
    .stats-title-light,
    .section-header-center h2 {
        font-size: 1.125rem;
    }
    
    .offerings-grid-light {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .offering-card-image {
        height: 220px;
    }
    
    .offering-card-content {
        padding: 25px 20px;
    }
    
    .offering-card-light h3 {
        font-size: 1.125rem;
    }
    
    .stats-grid-light {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number-light {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .wide-photo-content {
        padding: 25px 20px;
    }
    
    .wide-photo-image {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px !important;
        display: block !important;
    }
    
    .wide-photo-image img {
        max-width: 100%;
        max-height: 180px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .wide-photo-content h2 {
        font-size: 1.125rem;
    }
}

@media (min-width: 769px) and (max-width: 968px) {
    .offerings-grid-light {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .offering-card-image {
        height: 200px;
    }

    .offering-card-content {
        padding: 25px;
    }
}

/* Search Functionality */
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.navbar:not(.scrolled) .search-toggle {
    color: rgba(255, 255, 255, 0.95);
}

.search-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.navbar:not(.scrolled) .search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.search-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.search-close:hover {
    transform: scale(1.2);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    border-bottom: 2px solid #e9ecef;
}

.search-box svg {
    color: #0066b3;
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    font-family: var(--font-body);
    color: #2c3e50;
}

.search-box input::placeholder {
    color: #adb5bd;
}

.search-results {
    overflow-y: auto;
    max-height: calc(80vh - 100px);
    padding: 20px 30px;
}

.search-result-item {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #0066b3;
    margin-bottom: 5px;
}

.search-result-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 16px;
}

.search-no-results svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .search-modal.active {
        padding-top: 50px;
    }

    .search-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .search-box {
        padding: 20px;
    }

    .search-box input {
        font-size: 16px;
    }

    .search-results {
        padding: 15px 20px;
    }

    .search-close {
        top: 10px;
        right: 10px;
    }
}

/* Index page: stack partnership cards on mobile.
   The HTML places the "+" between the two logo cards; this ensures it stays between them
   (Card -> + -> Card) instead of wrapping into a side-by-side row. */
@media (max-width: 768px) {
    .partnership-logos-wrapper {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 25px !important;
    }

    .partnership-logos-plus {
        margin: 0 !important;
    }
}

/* Mobile landscape: keep interior images smaller + centered (no edge-to-edge stretching) */
@media (max-width: 896px) and (orientation: landscape) {
    .feature-card-image,
    .offering-card-image {
        /* Let the image define height to preserve aspect ratio */
        height: auto !important;
        /* Stop using full-width layouts in landscape */
        width: 60% !important;
        max-width: 60% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .feature-card-image img,
    .offering-card-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    /* Wide-photo images: only shrink the direct image (doesn't affect carousels inside wide-photo wrappers) */
    .wide-photo-image > img {
        width: 60% !important;
        max-width: 60% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
}

/* Fallback for landscape emulation where `orientation: landscape` may not fire */
@media (max-width: 896px) and (min-aspect-ratio: 1/1) {
    .feature-card-image,
    .offering-card-image {
        height: auto !important;
        width: 60% !important;
        max-width: 60% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .feature-card-image img,
    .offering-card-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .wide-photo-image > img {
        width: 60% !important;
        max-width: 60% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
}




















