/* CultiVision Ultra Unified CSS - All-in-One Performance Optimized v3.1 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

/* ================================
   LOGO-COHESIVE COLOR SYSTEM - BEAUTIFUL TEXT COLORS
   ================================ */
:root {
    /* Logo Primary Colors */
    --logo-primary-green: #00ff88;
    --logo-secondary-green: #10B981;
    --logo-accent-green: #0ED155;
    --logo-deep-blue: #1e40af;
    --logo-ocean-blue: #0891b2;
    --logo-navy: #0f172a;
    --logo-space: #020617;
      /* Beautiful Text Colors - Logo-Cohesive and Attractive */
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e1;
    --text-accent: var(--logo-primary-green);
    --text-highlight: #fbbf24;
    --text-gradient: linear-gradient(135deg, var(--logo-primary-green), var(--logo-ocean-blue));
    
    /* Beautiful Background Colors */
    --background-primary: var(--logo-space);
    --background-secondary: var(--logo-navy);
    --background-card: rgba(255, 255, 255, 0.08);
    --background-overlay: rgba(0, 0, 0, 0.6);
    
    /* Gradients with Logo Colors */
    --gradient-primary: linear-gradient(135deg, var(--logo-space) 0%, var(--logo-navy) 25%, var(--logo-deep-blue) 50%, var(--logo-ocean-blue) 75%, var(--logo-primary-green) 100%);
    --gradient-secondary: linear-gradient(145deg, var(--logo-deep-blue) 0%, var(--logo-ocean-blue) 50%, var(--logo-secondary-green) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(0,255,136,0.08) 50%, rgba(30,64,175,0.06) 100%);
    
    /* Performance Variables */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Beautiful Shadows */
    --shadow-primary: 0 8px 25px rgba(0, 255, 136, 0.15), 0 4px 12px rgba(30, 64, 175, 0.1);
    --shadow-hover: 0 12px 35px rgba(0, 255, 136, 0.25), 0 6px 16px rgba(30, 64, 175, 0.15);
    --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 8px rgba(0, 255, 136, 0.1);
}

/* ================================
   BASE RESET & PERFORMANCE
   ================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-primary);
    background-attachment: fixed;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ================================
   VIDEO INTRO OVERLAY
   ================================ */
.video-intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #000;
    overflow: hidden;
}

.video-intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile Video Optimization */
@media (max-width: 768px) {
    .intro-video {
        object-fit: contain;
        object-position: center;
        max-width: 100vw;
        max-height: 100vh;
    }
    
    .skip-video-btn {
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .video-loading {
        bottom: 30px;
    }
}

/* Tablet Video Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .intro-video {
        object-fit: cover;
        object-position: center;
    }
}

/* Large Screen Video Optimization */
@media (min-width: 1025px) {
    .intro-video {
        object-fit: cover;
        object-position: center;
    }
}

/* ================================
   ENHANCED MOBILE VIDEO RESPONSIVENESS
   ================================ */

/* Very Small Screens (phones in portrait) */
@media (max-width: 480px) {
    .intro-video {
        object-fit: contain !important;
        object-position: center !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .video-skip-container {
        top: 15px;
        right: 15px;
    }
    
    .skip-video-btn {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 20px;
    }
    
    .video-loading {
        bottom: 20px;
        font-size: 14px;
    }
    
    .video-loader {
        width: 30px;
        height: 30px;
    }
}

/* Small Screens (phones in landscape, small tablets) */
@media (min-width: 481px) and (max-width: 768px) {
    .intro-video {
        object-fit: contain;
        object-position: center;
        width: 100%;
        height: 100%;
    }
    
    .video-skip-container {
        top: 20px;
        right: 20px;
    }
}

/* Handle video aspect ratio on mobile devices */
@media (max-width: 768px) and (orientation: portrait) {
    .intro-video {
        object-fit: contain !important;
        width: 100vw;
        height: auto;
        max-height: 100vh;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .intro-video {
        object-fit: contain !important;
        width: auto;
        height: 100vh;
        max-width: 100vw;
    }
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    transition: var(--transition-normal);
    padding: 0.75rem 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.nav-link {
    color: var(--text-secondary) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--logo-primary-green) !important;
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--logo-primary-green);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem;
    color: var(--text-primary);
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.line {
    width: 25px;
    height: 3px;
    background: var(--logo-primary-green);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.mobile-menu-toggle[aria-expanded="true"] .line1 {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .line2 {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================
   TYPOGRAPHY - BEAUTIFUL TEXT STYLES
   ================================ */
.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--logo-primary-green);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 255, 136, 0.3);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--logo-primary-green);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.text-accent {
    color: var(--text-accent);
    font-weight: 600;
}

.text-highlight {
    color: var(--text-highlight);
    font-weight: 600;
}

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text-primary);
}

.btn-primary-custom {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text-primary);
    background: var(--gradient-primary);
}

.btn-outline {
    background: transparent;
    color: var(--logo-primary-green);
    border: 2px solid var(--logo-primary-green);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--logo-primary-green);
    color: var(--background-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

/* ================================
   SECTIONS
   ================================ */
.section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.section:nth-child(even) {
    background: var(--gradient-secondary);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 1000px;
    padding: 2rem;
    box-sizing: border-box;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ================================
   CARDS - BEAUTIFUL DESIGN
   ================================ */
.card-unified {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card-unified:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--logo-primary-green);
}

.card-unified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.card-unified:hover::before {
    opacity: 1;
}

/* Service Cards */
.service-card-3d {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    text-align: center;
    height: 100%;
}

.service-card-3d:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--logo-primary-green);
}

.service-image-3d {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-image-3d .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-card-3d:hover .service-img {
    transform: scale(1.05);
}

.service-icon-3d {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: var(--logo-primary-green);
}

.service-title {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Activity Cards */
.activity-card-home {
    flex: 0 0 350px;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.activity-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card-home:hover::before {
    opacity: 1;
}

.activity-card-home:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--logo-primary-green);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

/* Activity Images and Icons */
.activity-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--gradient-primary);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activity-card-home:hover .activity-image img {
    transform: scale(1.08);
}

.activity-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    font-size: 3.5rem;
    color: var(--logo-primary-green);
}

/* Activity Content Improvements */
.activity-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.activity-date,
.activity-location {
    background: rgba(0, 255, 136, 0.1);
    color: var(--logo-primary-green);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.activity-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-featured-badge {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* No Activities Message */
.no-activities-message {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-activities-message i {
    font-size: 4rem;
    color: var(--logo-primary-green);
    margin-bottom: 1rem;
}

.no-activities-message h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* ================================
   SLIDERS - AUTO-SLIDING FUNCTIONALITY
   ================================ */
.activities-slider-container,
.partners-slider-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    width: 100%;
    mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.activities-slider,
.partners-slider {
    display: flex;
    gap: 1.5rem;
    transition: none;
    will-change: transform;
    animation-play-state: running;
}

/* Activities Auto-Slide Animation */
.activities-slider {
    animation: activitiesSlide 25s linear infinite;
}

@keyframes activitiesSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }
}

/* Partners Auto-Slide Animation */
.partners-slider {
    animation: partnersSlide 20s linear infinite;
}

@keyframes partnersSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }
}

.activities-slider:hover,
.partners-slider:hover {
    animation-play-state: paused;
}

.activity-slide {
    flex: 0 0 350px;
    height: 420px;
    margin-right: 1.5rem;
}

.partner-slide {
    flex: 0 0 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
}

.partner-slide:hover {
    transform: scale(1.05);
    border-color: var(--logo-primary-green);
}

.partner-logo {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 100%;  
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.partner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--logo-primary-green);
    text-align: center;
    gap: 0.5rem;
}

.partner-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.partner-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ================================
   STATS SECTION
   ================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.stat-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--logo-primary-green);
}

.stat-icon {
    color: var(--logo-primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* 3D Statistics Cards */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(13, 27, 42, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.stat-card-3d {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.05) 0%, rgba(30, 144, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 255, 136, 0.2),
        0 0 50px rgba(30, 144, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--logo-primary-green);
}

.stat-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.6s;
}

.stat-card-3d:hover::before {
    left: 100%;
}

.stat-icon-3d {
    font-size: 3rem;
    color: var(--logo-primary-green);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
    transition: all 0.4s ease;
}

.stat-card-3d:hover .stat-icon-3d {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.6));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--logo-primary-green), #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.stat-card-3d:hover .stat-number {
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.bg-gradient {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(13, 27, 42, 0.95) 100%);
}

@media (max-width: 768px) {
    .stat-card-3d {
        height: 160px;
        padding: 1.5rem 1rem;
    }
    
    .stat-icon-3d {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: var(--spacing-xl) 0 var(--spacing-sm);
    border-top: 1px solid var(--logo-primary-green);
}

.footer h5, .footer h6 {
    color: var(--logo-primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.footer a:hover {
    color: var(--logo-primary-green);
}

.footer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--logo-primary-green);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--logo-primary-green);
    color: var(--background-primary);
    transform: translateY(-3px);
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact-section {
    background: var(--gradient-secondary);
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    color: var(--logo-primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-detail {
    color: var(--text-muted);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: fit-content;
}

.contact-form h3 {
    color: var(--logo-primary-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--logo-primary-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
    outline: none;
}

.form-control.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-primary-custom.w-100 {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================
   CONTACT FORM ENHANCEMENTS
   ================================ */
.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-control.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control:focus {
    border-color: var(--logo-primary-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
    outline: none;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert.alert-success {
    background-color: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--logo-primary-green);
    color: var(--logo-primary-green);
}

.alert.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Contact Form Animation */
.contact-form {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Contact Form Optimization */
@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .contact-form {
        animation: slideInUp 0.8s ease-out;
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ================================
   GOOGLE MAP SECTION
   ================================ */
.map-section {
    margin-top: 2rem;
    animation: slideInUp 0.8s ease-out;
}

.map-container {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.05) 0%, rgba(30, 144, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 255, 136, 0.15),
        0 0 50px rgba(30, 144, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--logo-primary-green);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.6s;
}

.map-container:hover::before {
    left: 100%;
}

.map-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.map-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--logo-primary-green), #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-header h3 i {
    color: var(--logo-primary-green);
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.map-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.map-wrapper:hover iframe {
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(13, 27, 42, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    min-width: 200px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.map-wrapper:hover .map-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.map-info h4 {
    color: var(--logo-primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.map-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.25rem 0;
    line-height: 1.4;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--logo-primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--logo-primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
    color: var(--logo-primary-green);
    text-decoration: none;
}

.map-link i {
    font-size: 0.8rem;
}

/* Mobile Map Optimization */
@media (max-width: 768px) {
    .map-container {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .map-overlay {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 1rem;
        min-width: auto;
        pointer-events: auto;
    }
    
    .map-header h3 {
        font-size: 1.3rem;
    }
    
    .map-info h4 {
        font-size: 1rem;
    }
}

.video-skip-container {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10001;
}

.skip-video-btn {
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--logo-primary-green);
    color: var(--logo-primary-green);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skip-video-btn:hover {
    background: var(--logo-primary-green);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.video-loading {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--logo-primary-green);
}

.video-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 136, 0.3);
    border-top: 3px solid var(--logo-primary-green);
    border-radius: 50%;
    animation: video-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes video-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.main-content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.main-content.fade-in {
    opacity: 1;
}

/* ================================
   TEAM SECTION IMPROVEMENTS - ENHANCED MODERN DESIGN
   ================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 0.8s ease-out forwards;
}

.team-card {
    background: var(--gradient-card);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 580px; /* Fixed height for consistent sizing */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: teamCardReveal 0.6s ease-out forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }

.team-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--logo-primary-green), var(--logo-ocean-blue), var(--logo-primary-green));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02) rotateX(5deg);
    box-shadow: 
        var(--shadow-hover),
        0 0 30px rgba(0, 255, 136, 0.2);
    border-color: var(--logo-primary-green);
}

.team-card:hover::before {
    opacity: 0.3;
}

.team-image {
    width: 200px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--logo-primary-green);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: conic-gradient(var(--logo-primary-green), var(--logo-ocean-blue), var(--logo-primary-green));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-image:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 15px 45px rgba(0, 255, 136, 0.5);
}

.team-image:hover::before {
    opacity: 0.6;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1) rotate(-5deg);
}

.team-avatar {
    width: 200px;
    height: 300px;
    border-radius: 20px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0 auto 1.5rem;
    border: 4px solid var(--logo-primary-green);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-avatar::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: conic-gradient(var(--logo-primary-green), var(--logo-ocean-blue), var(--logo-primary-green));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-avatar:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4);
}

.team-avatar:hover::before {
    opacity: 0.6;
}

.team-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    animation: contentSlideUp 0.6s ease-out 0.3s both;
}

.team-name {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    position: relative;
    transition: all 0.3s ease;
}

.team-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--logo-primary-green);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.team-card:hover .team-name::after {
    width: 80%;
}

.team-position {
    color: var(--logo-primary-green);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    min-height: 80px;
    transition: all 0.3s ease;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    color: var(--logo-primary-green);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.team-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--logo-primary-green);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.team-social a:hover::before {
    width: 100%;
    height: 100%;
}

.team-social a:hover {
    color: var(--background-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.4);
}

.team-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--logo-primary-green);
    margin-bottom: 1rem;
}

.team-placeholder h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.team-placeholder p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   ABOUT SECTION IMPROVEMENTS
   ================================ */
.about-section {
    padding: 4rem 0;
    background: var(--gradient-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
    height: fit-content;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--logo-primary-green);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--logo-primary-green);
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--border-radius);
        padding: 1rem;
        border: 1px solid rgba(0, 255, 136, 0.2);
    }
    
    .nav-link {
        padding: 1rem !important;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .activity-slide {
        width: 280px;
    }
    
    .partner-slide {
        flex: 0 0 150px;
    }
    
    .activities-slider,
    .partners-slider {
        animation-duration: 35s;
    }
    
    /* Contact section mobile fixes */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
      .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
      .team-card {
        height: 450px; /* Fixed height for mobile consistency */
        padding: 2rem;
    }.team-image,
    .team-avatar {
        width: 140px;
        height: 220px;
    }
      .team-avatar {
        font-size: 3rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Activities page mobile fixes */
    .services-grid-3d {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-3d {
        padding: 1.5rem;
    }
    
    .service-image-3d,
    .service-icon-3d {
        height: 160px;
    }
}

/* ================================
   PERFORMANCE OPTIMIZATIONS
   ================================ */
/* GPU acceleration for smooth animations */
.card-unified, .service-card-3d, .activity-card-home, .team-card,
.stat-card, .btn, .nav-link, .activities-slider, .partners-slider {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }

/* Ensure all content is visible */
*, *::before, *::after {
    visibility: visible !important;
}

.section-visible,
.section-visible-delay,
.hero-content-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* ================================
   ACTIVITIES INDEX PAGE STYLES
   ================================ */
.activities-section {
    background: var(--gradient-secondary);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.services-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card-3d {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.service-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-3d:hover::before {
    opacity: 1;
}

.service-card-3d:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--logo-primary-green);
    box-shadow: 0 25px 50px rgba(0, 255, 136, 0.2);
}

/* Enhanced Image and Icon Containers */
.service-image-3d {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-image-3d .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-3d:hover .service-img {
    transform: scale(1.08);
}

.service-icon-3d {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: var(--logo-primary-green);
}

/* Enhanced Typography */
.service-title {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

/* Enhanced Meta Information */
.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.quantum-badge {
    background: rgba(0, 255, 136, 0.15);
    color: var(--logo-primary-green);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.quantum-badge:hover {
    background: rgba(0, 255, 136, 0.25);
    transform: translateY(-2px);
}

.quantum-featured {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border-color: var(--logo-primary-green);
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Enhanced Location Display */
.activity-location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.activity-location i {
    color: var(--logo-primary-green);
}

/* Enhanced Action Buttons */
.service-action {
    margin-top: auto;
    text-align: center;
}

.btn-primary-3d {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.15);
    font-size: 0.95rem;
}

.btn-primary-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.25);
    color: var(--text-primary);
    background: var(--gradient-primary);
}

/* ================================
   SCROLL TO TOP BUTTON - ENHANCED
   ================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: 2px solid var(--logo-primary-green);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 25px rgba(0, 255, 136, 0.25),
        0 0 20px rgba(0, 255, 136, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 15px 35px rgba(0, 255, 136, 0.4),
        0 0 30px rgba(0, 255, 136, 0.3);
    background: var(--gradient-secondary);
    border-color: rgba(0, 255, 136, 0.8);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-arrow {
    color: var(--logo-primary-green);
    font-size: 1.4rem;
    animation: arrowPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.scroll-to-top:hover .scroll-arrow {
    color: var(--text-primary);
    transform: translateY(-2px);
    animation: arrowBounce 0.6s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Mobile scroll button optimization */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        backdrop-filter: blur(10px);
    }
    
    .scroll-arrow {
        font-size: 1.2rem;
    }
}

/* ================================
   ENHANCED SECTION TRANSITIONS
   ================================ */

/* Section entrance animations */
.section-transition {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section divider animations */
.section-divider {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--logo-primary-green) 50%,
        transparent 100%
    );
    margin: 4rem 0;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-divider.visible {
    opacity: 1;
    transform: scaleX(1);
}

/* Enhanced section background transitions */
.section-bg-transition {
    background: var(--gradient-primary);
    transition: background 0.8s ease-in-out;
    position: relative;
    overflow: hidden;
}

.section-bg-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 136, 0.1),
        transparent
    );
    transition: left 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.section-bg-transition.sweep .section-bg-transition::before {
    left: 100%;
}

/* Floating elements between sections */
.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(
        circle,
        var(--logo-primary-green) 0%,
        transparent 70%
    );
    border-radius: 50%;
    opacity: 0.6;
    animation: floatVertical 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatVertical {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.8;
    }
}

/* Section content stagger animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { 
    animation: slideUpFade 0.6s ease-out 0.1s forwards; 
}
.stagger-children.visible > *:nth-child(2) { 
    animation: slideUpFade 0.6s ease-out 0.2s forwards; 
}
.stagger-children.visible > *:nth-child(3) { 
    animation: slideUpFade 0.6s ease-out 0.3s forwards; 
}
.stagger-children.visible > *:nth-child(4) { 
    animation: slideUpFade 0.6s ease-out 0.4s forwards; 
}
.stagger-children.visible > *:nth-child(5) { 
    animation: slideUpFade 0.6s ease-out 0.5s forwards; 
}
.stagger-children.visible > *:nth-child(6) { 
    animation: slideUpFade 0.6s ease-out 0.6s forwards; 
}

/* ================================
   MOBILE IMAGE DISPLAY FIXES
   ================================ */

/* Activity image mobile optimization */
@media (max-width: 768px) {
    .activity-image,
    .service-image-3d img,
    .quantum-carousel img,
    .activity-single-image img {
        width: 100%;
        height: auto;
        min-height: 250px;
        max-height: 350px;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
    }
    
    .service-image-3d {
        margin-bottom: 1rem;
        overflow: hidden;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.1);
    }
    
    /* Fix carousel images on small screens */
    .quantum-carousel {
        margin: 0 -1rem 2rem -1rem;
        border-radius: 0;
    }
    
    .quantum-carousel .carousel-inner {
        border-radius: 0;

       }
    
    .quantum-carousel img {
        height: 280px !important;
        width: 100%;
        object-fit: cover;
    }
    
    /* Activity card image improvements */
    .activity-card-home .service-image-3d {
        height: 200px;
        overflow: hidden;
    }
    
    .activity-card-home .service-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .activity-card-home:hover .service-img {
        transform: scale(1.05);
    }
}

/* Ultra small screens (480px and below) */
@media (max-width: 480px) {
    .quantum-carousel img,
    .activity-single-image img {
        height: 220px !important;
    }
    
    .activity-card-home .service-image-3d {
        height: 180px;
    }
    
    .service-image-3d img {
        min-height: 180px;
        max-height: 220px;
    }
}

/* ================================
   ACCESSIBILITY & PERFORMANCE OPTIMIZATIONS
   ================================ */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .drone-floating-container {
        animation: none !important;
    }
    
    .activities-slider,
    .partners-slider {
        animation: none !important;
    }
}

/* Low performance mode */
.low-performance .team-card,
.low-performance .service-card-3d,
.low-performance .activity-card-home {
    will-change: auto !important;
    transform: none !important;
    transition: opacity 0.2s ease !important;
}

.low-performance .team-card:hover,
.low-performance .service-card-3d:hover,
.low-performance .activity-card-home:hover {
    transform: none !important;
    opacity: 0.8;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .team-card,
    .service-card-3d,
    .activity-card-home {
        border: 2px solid var(--logo-primary-green);
        background: var(--background-primary);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Focus improvements for accessibility */
.team-card:focus,
.service-card-3d:focus,
.activity-card-home:focus {
    outline: 3px solid var(--logo-primary-green);
    outline-offset: 3px;
    z-index: 10;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--logo-primary-green);
    color: var(--background-primary);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Loading states */
.loading-state {
    position: relative;
    overflow: hidden;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 136, 0.2),
        transparent
    );
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Error states */
.error-state {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

/* Success states */
.success-state {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--logo-primary-green);
}

/* Performance indicators */
.performance-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--logo-primary-green);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.performance-badge.show {
    opacity: 1;
}

/* Content visibility optimization */
.lazy-content {
    content-visibility: auto;
    contain-intrinsic-size: 200px;
}

/* Print styles */
@media print {
    .team-card,
    .service-card-3d,
    .activity-card-home {
        break-inside: avoid;
        background: white !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        border: 1px solid #000 !important;
        background: white !important;
        color: black !important;
    }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    /* Already handled by existing color system */
}

/* ================================
   MODERN BROWSER OPTIMIZATIONS
   ================================ */

/* CSS containment for performance */
.team-grid,
.services-grid-3d,
.stats-grid {
    contain: layout style;
}

.team-card,
.service-card-3d,
.activity-card-home {
    contain: layout style paint;
}

/* Scroll snap for better mobile experience */
.activities-slider-container {
    scroll-snap-type: x mandatory;
}

.activity-slide {
    scroll-snap-align: center;
}

/* CSS subgrid support (where available) */
@supports (grid-template-rows: subgrid) {
    .team-grid {
        grid-template-rows: subgrid;
    }
}

/* CSS container queries (where available) */
@supports (container-type: inline-size) {
    .team-card {
        container-type: inline-size;
    }
    
    @container (max-width: 300px) {
        .team-card {
            padding: 1rem;
        }
    }
}

/* ================================
   MODERN ANIMATION SYSTEM - COMPREHENSIVE SECTION ANIMATIONS
   ================================ */

/* Core Animation Keyframes */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes teamCardReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes contentSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-30px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    }
}

@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 10px 25px rgba(0, 255, 136, 0.2);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 20px 35px rgba(0, 255, 136, 0.3);
    }
}

/* Section Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-15deg) scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-rotate.visible {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Enhanced Section Animations */
.section {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1s ease-out forwards;
}

.section:nth-child(odd) {
    animation-delay: 0.1s;
}

.section:nth-child(even) {
    animation-delay: 0.2s;
}

/* Hero Section Enhanced Animation */
.hero-section {
    opacity: 0;
    animation: fadeInScale 1.2s ease-out forwards;
}

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1s ease-out 0.3s forwards;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out 0.5s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s ease-out 0.7s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s ease-out 0.9s forwards;
}

/* Enhanced Card Animations */
.card-unified {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: bounceIn 0.8s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-unified:nth-child(1) { animation-delay: 0.1s; }
.card-unified:nth-child(2) { animation-delay: 0.2s; }
.card-unified:nth-child(3) { animation-delay: 0.3s; }
.card-unified:nth-child(4) { animation-delay: 0.4s; }

.card-unified:hover {
    transform: translateY(-15px) scale(1.03) rotateX(8deg);
    box-shadow: 
        var(--shadow-hover),
        0 0 40px rgba(0, 255, 136, 0.25);
}

/* Service Cards Enhanced Animation */
.service-card-3d {
    opacity: 0;
    transform: translateY(40px) rotateX(20deg);
    animation: rotateIn 0.8s ease-out forwards;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-3d:nth-child(1) { animation-delay: 0.1s; }
.service-card-3d:nth-child(2) { animation-delay: 0.2s; }
.service-card-3d:nth-child(3) { animation-delay: 0.3s; }

.service-card-3d:hover {
    transform: translateY(-20px) scale(1.05) rotateX(-5deg) rotateY(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 255, 136, 0.2),
        0 0 50px rgba(0, 255, 136, 0.15);
}

/* Activity Cards Enhanced Animation */
.activity-card-home {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: bounceIn 0.8s ease-out forwards;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card-home:hover {
    transform: translateY(-15px) scale(1.03) rotateZ(2deg);
    box-shadow: 
        0 25px 50px rgba(0, 255, 136, 0.2),
        0 0 40px rgba(0, 255, 136, 0.15);
}

/* Stats Section Enhanced Animation */
.stats-grid {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 0.8s ease-out 0.3s forwards;
}

.stat-card {
    opacity: 0;
    transform: scale(0.8) rotateY(20deg);
    animation: rotateIn 0.6s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: translateY(-10px) scale(1.05) rotateY(-5deg);
    animation: floatingPulse 2s ease-in-out infinite;
}

/* Section Titles Enhanced Animation */
.section-title {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: bounceIn 0.8s ease-out forwards;
    transition: all 0.3s ease;
}

.section-title:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s ease-out 0.2s forwards;
}

/* Button Enhanced Animations */
.btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    animation: pulseGlow 1.5s ease-in-out infinite;
}

/* Contact Form Enhanced Animation */
.contact-form {
    opacity: 0;
    transform: translateX(50px) rotateY(15deg);
    animation: slideInFromRight 0.8s ease-out 0.3s forwards;
}

.contact-info {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 0.8s ease-out 0.1s forwards;
}

.form-control {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
    transform: scale(1.02);
    box-shadow: 
        0 0 0 2px rgba(0, 255, 136, 0.2),
        0 8px 25px rgba(0, 255, 136, 0.15);
}

/* Form Success Animation */
.form-success-animation {
    animation: formSuccess 1s ease-in-out;
}

@keyframes formSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    100% { transform: scale(1); }
}

/* ================================
   3D SATELLITE & DRONE EFFECTS
   ================================ */

/* 3D Satellite System */
.satellite-3d {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
}

.satellite-core {
    width: 30px;
    height: 30px;
    background: var(--logo-primary-green);
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.satellite-panels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.panel {
    width: 25px;
    height: 60px;
    background: linear-gradient(45deg, var(--logo-ocean-blue), var(--logo-primary-green));
    border-radius: 2px;
    position: absolute;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.panel-left {
    right: 30px;
    animation: satellitePanelLeft 6s ease-in-out infinite;
}

.panel-right {
    left: 30px;
    animation: satellitePanelRight 6s ease-in-out infinite;
}

.satellite-antenna {
    width: 2px;
    height: 20px;
    background: var(--logo-primary-green);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.satellite-signals {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.signal {
    position: absolute;
    border: 2px solid var(--logo-primary-green);
    border-radius: 50%;
    opacity: 0;
    animation: satelliteSignal 4s ease-out infinite;
}

.signal-1 {
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.signal-2 {
    width: 60px;
    height: 60px;
    animation-delay: 0.5s;
}

.signal-3 {
    width: 80px;
    height: 80px;
    animation-delay: 1s;
}

/* 3D Drone System */
.drone-3d {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 100px;
    height: 100px;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
}

.drone-body {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--logo-deep-blue), var(--logo-ocean-blue));
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.5);
    border: 2px solid var(--logo-primary-green);
}

.drone-propellers {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.propeller {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--logo-primary-green) 30%, transparent 30%);
    border-radius: 50%;
    position: absolute;
    animation: propellerSpin 0.3s linear infinite;
}

.propeller-1 {
    top: -35px;
    left: -35px;
}

.propeller-2 {
    top: -35px;
    right: -35px;
}

.propeller-3 {
    bottom: -35px;
    left: -35px;
}

.propeller-4 {
    bottom: -35px;
    right: -35px;
}

.drone-camera {
    width: 15px;
    height: 15px;
    background: var(--logo-primary-green);
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
    animation: cameraRotate 4s ease-in-out infinite;
}

.drone-lights {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.light {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    animation: lightBlink 2s ease-in-out infinite;
}

.light-front {
    background: #fff;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.light-back {
    background: #ff0000;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

/* Satellite & Drone Animations */
@keyframes satellitePanelLeft {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(15deg); }
}

@keyframes satellitePanelRight {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-15deg); }
}

@keyframes satelliteSignal {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes propellerSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cameraRotate {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(10deg); }
    75% { transform: translateX(-50%) rotate(-10deg); }
}

@keyframes lightBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ================================
   DRONE SHOWCASE SECTION
   ================================ */

/* Drone Showcase Container */
.drone-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Drone Floating Container */
.drone-floating-container {
    position: relative;
    display: inline-block;
    animation: droneFloating 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 35px rgba(0, 255, 136, 0.3));
}

/* Real Drone Image */
.real-drone-image {
    width: 350px;
    height: auto;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 255, 136, 0.3);
}

/* Drone Glow Effect */
.drone-glow-effect {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 255, 136, 0.4) 0%,
        rgba(0, 255, 136, 0.2) 30%,
        rgba(0, 255, 136, 0.1) 60%,
        transparent 100%
    );
    border-radius: 20px;
    z-index: 1;
    animation: droneGlowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Drone Scan Lines */
.drone-scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 255, 136, 0.6) 45%,
        rgba(0, 255, 136, 0.8) 50%,
        rgba(0, 255, 136, 0.6) 55%,
        transparent 100%
    );
    border-radius: 16px;
    z-index: 3;
    opacity: 0;
    animation: droneScanLines 6s ease-in-out infinite;
    pointer-events: none;
    transform: translateX(-100%);
}

/* Hover Effects */
.drone-floating-container:hover .real-drone-image {
    transform: scale(1.05);
    filter: brightness(1.1);
    border-color: rgba(0, 255, 136, 0.6);
}

.drone-floating-container:hover .drone-glow-effect {
    animation-duration: 2s;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 255, 136, 0.6) 0%,
        rgba(0, 255, 136, 0.4) 30%,
        rgba(0, 255, 136, 0.2) 60%,
        transparent 100%
    );
}

/* Drone Animations */
@keyframes droneFloating {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

@keyframes droneGlowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes droneScanLines {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    20% {
        opacity: 0.8;
        transform: translateX(-50%);
    }
    40% {
        opacity: 1;
        transform: translateX(0%);
    }
    60% {
        opacity: 0.8;
        transform: translateX(50%);
    }
    80% {
        opacity: 0.4;
        transform: translateX(100%);
    }
    100% {
        opacity: 0;
        transform: translateX(150%);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .real-drone-image {
        width: 280px;
    }
    
    .drone-showcase {
        padding: 1rem;
    }
    
    .drone-floating-container {
        animation-duration: 3s;
    }
    
    .drone-glow-effect {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
    }
}

@media (max-width: 480px) {
    .real-drone-image {
        width: 240px;
    }
}

/* Performance optimizations */
.drone-floating-container,
.drone-glow-effect,
.drone-scan-lines {
    will-change: transform, opacity;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .drone-floating-container,
    .drone-glow-effect,
    .drone-scan-lines {
        animation: none !important;
    }
    
    .drone-floating-container:hover .real-drone-image {
        transform: none;
    }
}

/* ================================
   CLICK FUNCTIONALITY FIXES
   ================================ */

/* Ensure main content is always clickable */
#main-content {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

/* Fix any overlay issues */
.video-intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #000;
}

.video-intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Ensure navigation is clickable */
.navbar {
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.navbar * {
    pointer-events: auto;
}

/* Ensure buttons and links are clickable */
.btn, 
.nav-link, 
.activity-card, 
.activity-card-home,
.service-card-3d,
.team-card,
.contact-form button,
.contact-form input,
.contact-form textarea {
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
}

/* Fix any interference from decorative elements */
.satellite-system,
.drone-system,
.particle-system,
.background-effects {
    pointer-events: none !important;
}

/* Ensure interactive elements remain clickable even during animations */
.activity-card:hover,
.service-card-3d:hover,
.btn:hover {
    pointer-events: auto !important;
    cursor: pointer;
}

/* ================================
   END CLICK FUNCTIONALITY FIXES
   ================================ */

/* ================================
   TECHNICAL TEAM CARD COMPLETE RESET
   ================================ */
/* Start fresh - completely override any inherited styles */
.technical-team-card,
.technical-team-card * {
    box-sizing: border-box !important;
}

.technical-team-card {
    /* Base styles - exact copy of main team-card */
    background: var(--gradient-card) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 20px !important;
    padding: var(--spacing-lg) !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    
    /* Forced dimensions */
    height: 580px !important;
    min-height: 580px !important;
    max-height: 580px !important;
    width: 100% !important;
    
    /* Layout */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: none !important;
    
    /* Visual - FORCE VISIBILITY */
    box-shadow: var(--shadow-card) !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
    
    /* Reset any margins/spacing */
    margin: 0 !important;
}

/* Technical team images - match main team exactly */
.technical-team-card .team-image {
    width: 200px !important;
    height: 300px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    margin: 0 auto 1.5rem !important;
    border: 4px solid var(--logo-primary-green) !important;
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.technical-team-card .team-avatar {
    width: 200px !important;
    height: 300px !important;
    border-radius: 20px !important;
    margin: 0 auto 1.5rem !important;
    background: var(--gradient-primary) !important;
    border: 4px solid var(--logo-primary-green) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 4rem !important;
    font-weight: 700 !important;
    color: var(--logo-primary-green) !important;
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ================================
   TECHNICAL TEAM ANIMATION FIX
   ================================ */
#technical-team .team-grid {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideUpFade 0.8s ease-out forwards !important;
    animation-delay: 0.2s !important;
}

#technical-team .team-grid.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}