/* Updated Color Palette with Minimal Dark Gen Z Vibes */
:root {
    /* Darker minimal background colors - cleaner and simpler */
    --bg-primary: #050810; /* Keep this dark color as base */
    --bg-secondary: #080d1a;
    --bg-card: rgba(15, 20, 35, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #9ba4bc;
    --accent-color: #0057ff;
    --accent-secondary: #00b8ff;
    
    /* Other colors remain the same */
    --genz-purple: #6e57ff;
    --genz-blue: #0079ff;
    --genz-cyan: #00ddc2;
    --genz-pink: #ff3366;
    --genz-yellow: #ffde59;
    
    /* Keep gradients for UI elements, just not backgrounds */
    --gradient-1: linear-gradient(45deg, var(--genz-blue), var(--genz-cyan));
    --gradient-2: linear-gradient(135deg, #001c80, var(--genz-blue));
    --gradient-pop: linear-gradient(45deg, var(--genz-purple), var(--genz-pink));
    --gradient-sunset: linear-gradient(45deg, var(--genz-pink), var(--genz-yellow));
    
    /* Other variables */
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    --neon-glow: 0 0 15px rgba(0, 87, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.03);
    --glass-blur: blur(10px);
    --hover-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    --hover-scale: scale(1.02);
    --transition-speed: 0.5s;
    --transition-timing: ease;
}

/* Light Theme Variables */
body.light-theme {
    --bg-primary: #f5f7fa;
    --bg-secondary: #eef1f6;
    --bg-card: rgba(240, 245, 255, 0.7);
    --text-primary: #202842;
    --text-secondary: #4d5a7a;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.5);
}

/* Theme Transition */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Enhanced Light Theme Variables with important transitions */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Make sure all elements transition smoothly */
*, *::before, *::after {
    transition: background-color 0.5s ease, 
                color 0.5s ease, 
                border-color 0.5s ease, 
                box-shadow 0.5s ease;
}

/* Force light theme colors to apply properly with higher specificity */
body.light-theme {
    --bg-primary: #f5f7fa !important;
    --bg-secondary: #eef1f6 !important;
    --bg-card: rgba(240, 245, 255, 0.7) !important;
    --text-primary: #202842 !important;
    --text-secondary: #4d5a7a !important;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    --glass-bg: rgba(255, 255, 255, 0.3) !important;
    --glass-border: rgba(255, 255, 255, 0.5) !important;
    
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Enhance light theme specificity for nested elements */
body.light-theme .navbar,
body.light-theme .glass-effect,
body.light-theme .premium-glass,
body.light-theme .genz-member,
body.light-theme .footer-enhanced,
body.light-theme .service-hero,
body.light-theme .feature-card,
body-light-theme .service-cta {
    background-color: var(--glass-bg);
    border-color: var(--glass-border);
}

/* Enhance hamburger menu for light theme */
body.light-theme .hamburger div {
    background-color: var(--text-primary);
}

/* Adjust navbar for light theme */
body.light-theme .navbar {
    background: rgba(245, 247, 250, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Adjust glass effects for light theme */
body.light-theme .glass-effect,
body-light-theme .premium-glass {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Adjust footer for light theme */
body.light-theme .footer-enhanced {
    background: linear-gradient(to bottom, #e8eef9, #dbe5f2);
}

/* Adjust stat items for light theme */
body.light-theme .stat-item {
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .stat-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Adjust theme toggle button for light theme */
body.light-theme .theme-toggle {
    background: linear-gradient(135deg, #ff9f43, #ffbc80);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Gen Z Background Styles - simplified */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary); /* Simple solid background */
    position: relative;
    overflow-x: hidden;
}

/* Remove the radial gradients from background */
body::before {
    content: none; /* Remove this element completely */
}

/* Remove noise texture or make it extremely subtle */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.02; /* Extremely subtle noise */
    z-index: -1;
    pointer-events: none;
}

/* Remove floating shapes */
.floating-shapes {
    display: none; /* Hide completely */
}

/* Navigation - update to floating style with curved edges */
.navbar {
    position: fixed;
    width: calc(100% - 40px);
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    top: 15px;
    background: rgba(5, 8, 16, 0.8);
    padding: 0.8rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Add glass effect on scroll */
.navbar.scrolled {
    background: rgba(5, 8, 16, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Enhanced Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(110, 87, 255, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Enhanced Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active Link Style */
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Updated Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hamburger div {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Mobile Menu Styles - update for floating navbar */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 20px);
        border-radius: 25px;
        top: 10px;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
    }

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

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(50px);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Hero Section - adjust for floating navbar */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg-primary); /* Plain background */
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding-top: 30px; /* Add padding to account for floating navbar */
}

/* Remove the animated gradient overlay */
.hero::before {
    content: none; /* Remove this element */
}

/* Add floating particles effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--genz-purple), var(--genz-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(110, 87, 255, 0.4);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location {
    font-size: 1rem;
    color: var(--accent-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Enhanced CTA Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.cta-button {
    position: relative;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.button-border {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    background: var(--gradient-1);
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    background: var(--gradient-2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Enhanced About Section Styles */
.about {
    position: relative;
    padding: 6rem 0;
    background: var(--bg-primary); /* Simple solid background */
    overflow: hidden;
}

/* Remove the radial gradient */
.about::before {
    content: none; /* Remove this element */
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* New grid layout - Vision card full width, other cards side by side */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
        "vision vision"
        "mission stats";
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 87, 255, 0.15);
}

/* Vision Card - Full width */
.vision-card {
    grid-area: vision;
    background: rgba(0, 87, 255, 0.02);
    border: 1px solid rgba(0, 184, 255, 0.08);
    padding: 0;
}

.vision-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem;
}

.vision-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.vision-subtitle {
    color: var(--accent-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.vision-main {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.vision-description {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.vision-points {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 15px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 87, 255, 0.2);
}

.card-icon i {
    font-size: 2rem;
    color: white;
    z-index: 1;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover .card-icon::after {
    opacity: 1;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Vision Points */
.vision-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-left: 3px solid transparent;
}

.vision-point:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
}

.vision-point i {
    color: var(--accent-secondary);
    font-size: 1.2rem;
}

.vision-point span {
    font-weight: 500;
    line-height: 1.4;
}

.highlight-box {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
}

.highlight-box span {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Mission Card */
.about-card.featured {
    grid-area: mission;
    background: linear-gradient(
        135deg,
        rgba(0, 87, 255, 0.1),
        rgba(0, 184, 255, 0.05)
    );
    border: 1px solid rgba(0, 184, 255, 0.3);
}

.mission-intro {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.mission-points {
    display: grid;
    gap: 1rem;
}

.point {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-left: 3px solid transparent;
}

.point:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
}

.point i {
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}

.point span {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.point small {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Stats Card */
.about-card:nth-child(3) {
    grid-area: stats;
}

.stats-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.stats-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: var (--text-secondary);
    font-size: 0.95rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02); /* More subtle background */
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    color: var (--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.stat-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 3.5rem;
    opacity: 0.1;
    transform: rotate(-15deg);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.stat-item:hover .stat-icon {
    opacity: 0.2;
    transform: rotate(0deg);
}

.stat-highlight {
    text-align: center;
    padding: 1rem;
    background: var(--gradient-1);
    border-radius: 10px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.stat-highlight i {
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "vision"
            "mission"
            "stats";
        gap: 2rem;
    }
    
    .vision-main {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .vision-points {
        flex: auto;
    }
}

@media (max-width: 768px) {
    .section-intro {
        font-size: 1.1rem;
    }
    
    .vision-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .vision-subtitle {
        font-size: 1rem;
    }
    
    .vision-content, 
    .about-card {
        padding: 1.5rem;
    }
    
    .vision-point, 
    .point {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-card h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .vision-content, 
    .about-card {
        padding: 1.25rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-highlight {
        flex-direction: column;
        padding: 0.75rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Team Section - clean background */
.team {
    background: var(--bg-primary);
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    isolation: isolate;
}

/* Remove the radial gradient */
.team::before {
    content: none; /* Remove this element */
}

.team .section-header {
    position: relative;
    margin-bottom: 4rem;
}

.team .section-tag {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 3px;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(110, 87, 255, 0.1);
    border-radius: 30px;
    margin-bottom: 1rem;
}

.glitch-text {
    position: relative;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 0 10px rgba(0, 255, 163, 0.5);
}

/* Team Grid Styles */
.genz-team-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.genz-member {
    position: relative;
    background: rgba(10, 13, 25, 0.8); /* Darker, more transparent cards */
    border-radius: 16px;
    overflow: hidden;
    grid-column: span 4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
}

.leadership-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}

.genz-member.leadership {
    grid-column: span 1;
    background: linear-gradient(135deg, #0d1020, #070a18); /* Subtle gradient */
    border: 1px solid var(--accent-color); /* Thinner border */
}

.genz-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(110, 87, 255, 0.2);
    background: #0c101f;
}

.member-photo {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.member-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    filter: grayscale(30%) contrast(120%);
}

.genz-member:hover .member-photo img {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(110%);
}

.status-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border-left: 3px solid var(--accent-color);
    letter-spacing: 1px;
    z-index: 2;
}

.member-data {
    padding: 1.5rem;
    position: relative;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    color: white;
    line-height: 1.1;
}

.member-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.member-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.member-vibe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.member-vibe span {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border-bottom: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.member-vibe span:hover {
    background: rgba(110, 87, 255, 0.1);
    transform: translateY(-3px);
}

.member-socials {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px) rotate(10deg);
}

/* Responsive team adjustments */
@media (max-width: 1200px) {
    .genz-member {
        grid-column: span 6;
    }
    
    .leadership-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .glitch-text {
        font-size: 3rem;
    }
    
    .genz-member {
        grid-column: span 12;
    }
    
    .leadership-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .genz-member.leadership {
        grid-column: span 12;
    }
}

@media (max-width: 480px) {
    .glitch-text {
        font-size: 2.2rem;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
}

/* Glass effect for cards */
.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.05);
    border-radius: 16px; /* Slightly smaller radius for minimal look */
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary); /* Plain background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

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

.loading-logo {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    margin: 0 auto;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    animation: wheel 1.5s ease infinite;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

@keyframes wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Generic Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(110, 87, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

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

/* Services Section - clean background */
.services {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Remove the radial gradient */
.services::before {
    content: none; /* Remove this element */
}

/* New services grid layout - replace infinite scroll */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Enhanced service card styling */
.service-card {
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-content {
    position: relative;
    height: 100%;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 87, 255, 0.2);
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-card ul {
    list-style: none;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Add service link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: var(--hover-transition);
}

.service-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent-secondary);
}

.service-link:hover i {
    transform: translateX(5px);
}

.card-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--bg-card), transparent);
    z-index: -1;
}

/* Add for better section introduction */
.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive adjustments for services grid */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: auto;
        min-height: 350px;
    }
}

/* Gallery Section - clean background */
.gallery {
    padding: 7rem 0;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

/* Remove the radial gradient */
.gallery::before {
    content: none; /* Remove this element */
}

.gallery-container {
    overflow: hidden;
    margin-top: 3rem;
}

.gallery-track {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.gallery-row {
    display: flex;
    gap: 1.5rem;
    animation: galleryScroll 30s linear infinite;
}

.gallery-row.reverse {
    animation: galleryScrollReverse 30s linear infinite;
}

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

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

.gallery-item {
    position: relative;
    width: 350px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact Section - clean background */
.contact {
    padding: 7rem 0;
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Remove the radial gradient */
.contact::before {
    content: none; /* Remove this element */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.item-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.item-content p {
    color: var(--text-secondary);
}

.social-connect {
    margin-top: auto;
}

.social-connect h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

/* Contact Form */
.contact-form {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.form-header {
    margin-bottom: 1.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.form-group.floating {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07); /* Thinner border */
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.form-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-border,
.form-group textarea:focus ~ .form-border {
    width: 100%;
}

.submit-btn {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--gradient-2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Footer - clean background */
.footer {
    position: relative;
    background: #060a15; /* Slightly different shade for visual separation */
    color: var(--text-secondary);
    overflow: hidden;
}

/* Remove background texture */
.parallax-bg {
    display: none; /* Hide completely */
}

.footer-top {
    position: relative;
    padding: 5rem 0;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-contact {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.footer-links h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-social .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    position: relative;
    background: rgba(0, 0, 0, 0.3); /* Darker footer bottom */
    padding: 1.5rem 0;
    text-align: center;
    z-index: 1;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.fab-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fab-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 87, 255, 0.3);
}

.theme-toggle {
    background: linear-gradient(135deg, #6e57ff, #b36fee);
    transition: background 0.3s ease, transform 0.3s ease;
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

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

.scroll-top {
    background: linear-gradient(135deg, #0057ff, #00b8ff);
}

/* Notification System */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    background: rgba(10, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(150%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #00ff88;
}

.notification.error {
    border-left: 4px solid #ff3366;
}

.notification i {
    font-size: 1.5rem;
}

.notification.success i {
    color: #00ff88;
}

.notification.error i {
    color: #ff3366;
}

/* Responsive Adjustments for Added Sections */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 1.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .service-card {
        width: 260px;
        min-width: 260px;
        height: 320px;
    }
    
    .gallery-item {
        width: 280px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .contact-info,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .footer-top {
        padding: 3rem 0;
    }
    
    .floating-actions {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .fab-button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Enhanced Services Section Styling */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.service-tab.active {
    background: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 87, 255, 0.3);
}

.service-tab.active::before {
    opacity: 1;
}

body.light-theme .service-tab.active::before {
    opacity: 1;
}

.service-content-container {
    position: relative;
    min-height: 500px;
}

/* Make sure the service content display rules are working correctly */
.service-content {
    display: none !important; /* Force hidden by default */
}

.service-content.active {
    display: block !important; /* Force visible when active */
}

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

.service-hero {
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.05), rgba(0, 184, 255, 0.02));
    border-left: 4px solid var(--accent-color);
}

.service-hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.service-hero .icon-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.service-hero h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.service-info h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-info p {
    margin-bottom: 2rem;
    color: var (--text-secondary);
    line-height: 1.7;
}

.service-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.step-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: var(--hover-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-card h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

.service-cta {
    text-align: center;
    padding: 3rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.1), rgba(0, 184, 255, 0.05));
}

.service-cta h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-cta p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments for service sections */
@media (max-width: 992px) {
    .service-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .service-hero h3 {
        font-size: 1.8rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
    }
    
    .service-cta {
        padding: 2rem;
    }
    
    .service-cta h4 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .service-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-hero {
        padding: 2rem;
    }
    
    .service-process {
        grid-template-columns: 1fr;
    }
    
    .service-info h4 {
        font-size: 1.6rem;
    }
}

/* Enhanced Glassmorphism Effect */
.premium-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 0 15px rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.premium-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: rotate(25deg);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease, transform 1.2s ease;
}

.premium-glass:hover::before {
    opacity: 1;
    transform: rotate(25deg) translateX(30%);
}

/* Premium button effect */
.premium-btn {
    position: relative;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.2), rgba(0, 184, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 600;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 87, 255, 0.3);
}

.premium-btn:hover::before {
    opacity: 1;
}

/* Premium card effect */
.premium-card {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(8, 13, 25, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.1) 0%, transparent 50%, rgba(0, 184, 255, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.premium-card:hover::after {
    opacity: 1;
}

/* Animated background elements */
.premium-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.premium-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    opacity: 0.05;
    filter: blur(60px);
    animation: floatAnimation 20s infinite alternate ease-in-out;
}

.premium-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -100px;
    animation-delay: 0s;
}

.premium-circle:nth-child(2) {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -100px;
    opacity: 0.03;
    animation-delay: 5s;
}

.premium-circle:nth-child(3) {
    width: 400px;
    height: 400px;
    top: 30%;
    right: 10%;
    opacity: 0.04;
    animation-delay: 10s;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 20px) scale(1.05);
    }
    100% {
        transform: translate(-20px, 40px) scale(0.95);
    }
}

/* Animated gradient border */
.gradient-border {
    position: relative;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(60deg, 
        var(--accent-color), 
        var(--accent-secondary), 
        var(--genz-purple), 
        var(--genz-cyan), 
        var(--accent-color)) 0 0 / 300% 100%;
    animation: borderAnimation 8s linear infinite;
}

.gradient-border > * {
    border-radius: 14px;
    background: var(--bg-card);
    padding: 2rem;
    height: 100%;
}

@keyframes borderAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 300% 0; }
}

/* Enhanced Footer Styles */
.footer-enhanced {
    position: relative;
    background: linear-gradient(to bottom, #060a15, #030509);
    overflow: hidden;
    padding-top: 6rem;
    transition: background-color 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

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

.footer-enhanced .footer-bg .circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.03;
    filter: blur(50px);
}

.footer-enhanced .footer-bg .circle:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -250px;
    left: -100px;
}

.footer-enhanced .footer-bg .circle:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -50px;
}

.footer-enhanced .container {
    position: relative;
    z-index: 1;
}

.footer-enhanced .footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-brand-info .company-desc {
    margin: 1.5rem 0;
    line-height: 1.7;
    color: var(--text-secondary);
}

.footer-awards {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.award-badge {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 0.8rem;
    color: var(--accent-color);
}

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px 0 0 25px;
    color: var(--text-primary);
    outline: none;
}

.newsletter-btn {
    padding: 0.8rem 1.2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 0 25px 25px 0;
    color: white;
    cursor: pointer;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 2rem 0;
}

.footer-bottom {
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-locations {
    margin-top: 1.5rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon i {
    color: var(--accent-color);
    font-size: 1rem;
}

.location-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.location-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-links-premium {
    display: flex;
    gap: 0.8rem;
}

.social-link-premium {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link-premium::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    top: 100%;
    left: 0;
    transition: top 0.3s ease;
    z-index: 0;
}

.social-link-premium i {
    position: relative;
    z-index: 1;
}

.social-link-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link-premium:hover::before {
    top: 0;
}

.social-link-premium:hover i {
    color: white;
}

body.light-theme .social-link-premium {
    background: rgba(0, 0, 0, 0.05);
}

/* Responsive Footer Adjustments */
@media (max-width: 1200px) {
    .footer-enhanced .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand-info {
        grid-column: span 3;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-enhanced .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand-info {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .footer-enhanced .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-brand-info {
        grid-column: span 1;
    }
}

/* GUARANTEED service content display rules - will override anything else */
.service-content {
    display: none !important; /* Always hidden by default */
}

.service-content.active {
    display: block !important; /* Always visible when active */
}

body.light-theme .nav-links a {
    color: var(--text-primary);
}

body.light-theme .hero-content h1,
body-light-theme .section-header h2,
body-light-theme .glitch-text {
    text-shadow: none;
}

/* Enhanced Theme Transitions and Light Theme Fixes */
/* Make light theme more specific and ensure all elements transition properly */
:root {
    --transition-speed: 0.5s;
    --transition-timing: ease;
}

/* Ensure all elements transition smoothly */
body,
.navbar,
.glass-effect,
.premium-glass,
.footer-enhanced,
.service-hero,
.feature-card,
.service-card,
.service-cta,
.cta-button,
.about-card,
.genz-member,
.fab-button,
.member-data,
.stat-item,
.service-tab,
.theme-toggle i,
.social-link-premium,
.form-group input,
.form-group textarea {
    transition: background-color var(--transition-speed) var(--transition-timing),
                color var(--transition-speed) var(--transition-timing),
                border-color var(--transition-speed) var(--transition-timing),
                box-shadow var(--transition-speed) var(--transition-timing),
                transform 0.3s var(--transition-timing);
}

/* Stronger light theme specificity for better visibility */
body.light-theme {
    --bg-primary: #f5f7fa !important;
    --bg-secondary: #eef1f6 !important;
    --bg-card: rgba(240, 245, 255, 0.7) !important;
    --text-primary: #202842 !important;
    --text-secondary: #4d5a7a !important;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    --glass-bg: rgba(255, 255, 255, 3) !important;
    --glass-border: rgba(255, 255, 255, 0.5) !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Light theme adjustments for specific components to ensure visibility */
body.light-theme .navbar {
    background: rgba(245, 247, 250, 0.9) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .nav-links a {
    color: var(--text-primary) !important;
}

body.light-theme .hamburger div {
    background-color: var(--text-primary) !important;
}

body.light-theme .glass-effect,
body.light-theme .premium-glass,
body-light-theme .service-card,
body-light-theme .feature-card {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), inset 0 0 15px rgba(255, 255, 255, 0.5) !important;
    border-color: var(--glass-border) !important;
}

body.light-theme .hero-content h1,
body-light-theme .section-header h2,
body-light-theme .about-card h3,
body-light-theme .member-name,
body-light-theme .glitch-text {
    text-shadow: none !important;
}

body-light-theme .service-tab.active::before {
    opacity: 1 !important;
}

body-light-theme .service-tab {
    color: var(--text-secondary) !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

body-light-theme .service-tab.active {
    color: white !important;
}

body-light-theme .stat-item {
    background: rgba(0, 0, 0, 0.04) !important;
}

body-light-theme .stat-item:hover {
    background: rgba(0, 0, 0, 0.08) !important;
}

body-light-theme .social-link-premium {
    background: rgba(0, 0, 0, 0.05) !important;
    color: var(--text-primary) !important;
}

body-light-theme .form-group input,
body-light-theme .form-group textarea {
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
    color: var(--text-primary) !important;
}

body-light-theme .form-group label {
    color: var(--text-secondary) !important;
}

/* Fix for theme toggle in light mode */
body-light-theme .theme-toggle {
    background: linear-gradient(135deg, #ff9f43, #ffbc80) !important;
}

/* CRITICAL DARK MODE FIX */
body:not(.light-theme) {
    --bg-primary: #050810 !important;
    --bg-secondary: #080d1a !important;
    --bg-card: rgba(15, 20, 35, 0.5) !important;
    --text-primary: #ffffff !important;
    --text-secondary: #9ba4bc !important;
    
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Make sure Dark Mode navbar styles are applied */
body:not(.light-theme) .navbar {
    background: rgba(5, 8, 16, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Make sure dark mode cards are visible */
body:not(.light-theme) .glass-effect,
body:not(.light-theme) .premium-glass,
body:not(.light-theme) .service-card,
body:not(.light-theme) .feature-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* CRITICAL LIGHT MODE FIXES - FOR MAXIMUM VISIBILITY */
body.light-theme {
    /* Force background and text colors with max specificity */
    --bg-primary: #f5f7fa !important;
    --bg-secondary: #eef1f6 !important;
    --bg-card: rgba(240, 245, 255, 0.7) !important;
    --text-primary: #202842 !important; 
    --text-secondary: #4d5a7a !important;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    --glass-bg: rgba(255, 255, 255, 0.3) !important;
    --glass-border: rgba(255, 255, 255, 0.5) !important;
    
    /* Force body background update */
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Enhanced element visibility in light mode */
body-light-theme .service-card h3,
body-light-theme .feature-card h5,
body-light-theme .service-hero h3,
body-light-theme .mission-card h3,
body-light-theme .vision-card h3,
body-light-theme .value-card h3,
body-light-theme .section-header h2,
body-light-theme .contact-header h2,
body-light-theme .step-content h5,
body-light-theme .item-content h3,
body-light-theme .social-connect h3,
body-light-theme .about-card h3,
body-light-theme .footer-column h4 {
    color: var(--text-primary) !important;
}

/* High-contrast light mode elements */
body-light-theme .service-card {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body-light-theme .service-tab {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #4d5a7a !important;
}

body-light-theme .service-tab.active {
    background: var(--accent-color) !important;
    color: white !important;
}

body-light-theme .icon-wrapper,
body-light-theme .card-icon {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

body-light-theme .glass-effect,
body-light-theme .premium-glass {
    background: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

/* Critical fixes for content visibility */
body-light-theme .service-content.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body-light-theme .form-group input,
body-light-theme .form-group textarea {
    color: var(--text-primary) !important;
    border-bottom-color: rgba(0, 0, 0, 0.2) !important;
}

body-light-theme .form-group label {
    color: var(--text-secondary) !important;
}

body-light-theme .service-card ul li,
body-light-theme .section-content p {
    color: var(--text-secondary) !important;
}

/* Address navbar and content in light mode */
body-light-theme .navbar {
    background: rgba(245, 247, 250, 0.85) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07) !important;
}

body-light-theme .theme-toggle {
    background: linear-gradient(135deg, #ff9f43, #ffbc80) !important;
}

/* Fix footer in light mode */
body-light-theme .footer-enhanced {
    background: #eef1f6 !important;
}

body-light-theme .footer-brand-info .company-desc,
body-light-theme .footer-copyright,
body-light-theme .footer-link,
body-light-theme .legal-link,
body-light-theme .footer-newsletter p {
    color: var(--text-secondary) !important;
}

/* SUPER HIGH PRIORITY LIGHT THEME STYLES */
/* These rules use multiple selectors and !important to maximize specificity */
html.light-theme body,
body-light-theme {
    --bg-primary: #f5f7fa !important;
    --bg-secondary: #eef1f6 !important;
    --bg-card: rgba(240, 245, 255, 0.7) !important;
    --text-primary: #202842 !important;
    --text-secondary: #4d5a7a !important;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    --glass-bg: rgba(255, 255, 255, 0.3) !important;
    --glass-border: rgba(255, 255, 255, 0.5) !important;
    
    background-color: #f5f7fa !important;
    color: #202842 !important;
}

/* Super-specific selector combinations to ensure light theme works */
html-light-theme body .navbar,
body-light-theme .navbar {
    background: rgba(245, 247, 250, 0.9) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

html-light-theme body .glass-effect,
html-light-theme body .premium-glass,
html-light-theme body .service-card,
html-light-theme body .feature-card,
body-light-theme .glass-effect,
body-light-theme .premium-glass,
body-light-theme .service-card,
body-light-theme .feature-card {
    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), inset 0 0 15px rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Critical text color fixes */
html-light-theme body .section-header h2,
html-light-theme body .about-card h3,
html-light-theme body .service-card h3,
html-light-theme body .feature-card h5,
html-light-theme body .contact-header h2,
body-light-theme .section-header h2,
body-light-theme .about-card h3,
body-light-theme .service-card h3,
body-light-theme .feature-card h5,
body-light-theme .contact-header h2 {
    color: #202842 !important;
}

/* Service tab specific fix */
html-light-theme body .service-tab,
body-light-theme .service-tab {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #4d5a7a !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

html-light-theme body .service-tab.active,
body-light-theme .service-tab.active {
    background: var(--accent-color) !important;
    color: white !important;
}

/* Critical service content fix */
html-light-theme body .service-content.active,
body-light-theme .service-content.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Form fields */
html-light-theme body .form-group input,
html-light-theme body .form-group textarea,
body-light-theme .form-group input,
body-light-theme .form-group textarea {
    color: #202842 !important;
    border-bottom-color: rgba(0, 0, 0, 0.2) !important;
}

/* ENHANCED LIGHT THEME STYLING - CRITICAL OVERRIDES */
body.light-theme {
    --bg-primary: #f5f7fa !important;
    --bg-secondary: #eef1f6 !important;
    --bg-card: rgba(240, 245, 255, 0.7) !important;
    --text-primary: #202842 !important;
    --text-secondary: #4d5a7a !important;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    --glass-bg: rgba(255, 255, 255, 0.3) !important;
    --glass-border: rgba(255, 255, 255, 0.5) !important;
    
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

/* Light Theme Specific Enhancements */
body.light-theme .navbar {
    background: rgba(245, 247, 250, 0.9) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body-light-theme .glass-effect,
body-light-theme .premium-glass,
body-light-theme .service-card,
body-light-theme .feature-card,
body-light-theme .about-card,
body-light-theme .info-card,
body-light-theme .timeline-content,
body-light-theme .guideline-card,
body-light-theme .principle-card,
body-light-theme .goal-card,
body-light-theme .culture-point,
body-light-theme .legal-toc {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

body-light-theme .service-tab {
    background: rgba(240, 245, 255, 0.5) !important;
    color: var(--text-secondary) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

body-light-theme .service-tab.active {
    background: var(--accent-color) !important;
    color: white !important;
    border: 1px solid var(--accent-color) !important;
}

body-light-theme .hero-content h1,
body-light-theme .section-header h2,
body-light-theme .legal-hero h1 {
    color: var(--text-primary) !important;
    /* Use a different gradient for light mode to ensure visibility */
    background: linear-gradient(45deg, #0057ff, #00b8ff) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

body-light-theme .value-card .icon-feature,
body-light-theme .card-icon,
body-light-theme .timeline-icon,
body-light-theme .goal-icon,
body-light-theme .principle-icon {
    box-shadow: 0 5px 15px rgba(0, 87, 255, 0.2) !important;
}

body-light-theme .stat-item {
    background: rgba(240, 245, 255, 0.8) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

body-light-theme .stat-item:hover {
    background: rgba(235, 240, 250, 0.9) !important;
    transform: translateY(-5px) !important;
}

body-light-theme .footer-enhanced {
    background: linear-gradient(to bottom, #e8eef9, #dbe5f2) !important;
    color: var(--text-secondary) !important;
}

body-light-theme .footer-column h4,
body-light-theme .mission-card h3, 
body-light-theme .vision-card h3,
body-light-theme .value-card h3,
body-light-theme .about-card h3,
body-light-theme .service-card h3,
body-light-theme .guideline-header h3,
body-light-theme .culture-point h3,
body-light-theme .service-hero h3 {
    color: var(--text-primary) !important;
}

body-light-theme .footer-link,
body-light-theme .legal-link,
body-light-theme .handbook-nav-link {
    color: var(--text-secondary) !important;
}

body-light-theme .footer-link:hover,
body-light-theme .legal-link:hover,
body-light-theme .handbook-nav-link:hover {
    color: var(--accent-color) !important;
}

body-light-theme .floating-actions .fab-button {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    color: var(--text-primary) !important;
}

body-light-theme .floating-actions .fab-button:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

body-light-theme .theme-toggle i {
    color: #0057ff !important;
}

/* Light theme specific fixes for heroic elements */
body-light-theme .hero,
body-light-theme .handbook-hero,
body-light-theme .legal-hero {
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.05), rgba(0, 184, 255, 0.02)) !important;
}

body-light-theme .hero-subtitle,
body-light-theme .hero-text p {
    color: var(--text-secondary) !important;
}

/* Leadership section for founders */
.leadership-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.genz-member.leadership {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: var(--hover-transition);
    border-radius: 16px;
    height: 100%;
}

.genz-member.leadership .member-photo {
    height: 280px;
}

.genz-member.leadership .member-name {
    font-size: 1.8rem;
}

.genz-member.leadership .member-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.genz-member.leadership .member-bio {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.genz-member.leadership .member-bio p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Handle responsive layout for leadership cards */
@media (max-width: 992px) {
    .leadership-row {
        grid-template-columns: 1fr;
    }
    
    .genz-member.leadership .member-photo {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .genz-member.leadership .member-photo {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .member-bio {
        display: none; /* Hide detailed bio on small screens */
    }
    
    .genz-member.leadership .member-photo {
        height: 200px;
    }
}

/* Light theme adjustments for leadership section */
body.light-theme .genz-member.leadership .member-bio p {
    color: #4d5a7a;
}

/* Photo Collage Section Styles */
.collage {
    padding: 7rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.collage-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 5px 15px rgba(110, 87, 255, 0.3);
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.collage-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.collage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.collage-image {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    height: 220px;
    overflow: hidden;
}

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

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

.collage-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.collage-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.collage-location {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.collage-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.collage-tags span {
    background: rgba(110, 87, 255, 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.collage-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.collage-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.collage-link:hover {
    color: var(--accent-secondary);
    gap: 0.8rem;
}

.collage-cta {
    text-align: center;
    margin-top: 2rem;
}

.collage-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Collage Section Responsive */
@media (max-width: 992px) {
    .collage-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}