:root {
    --color-primary-dark: #1a0a2a; /* Deep purple */
    --color-secondary-dark: #0f0f1a; /* Midnight black */
    --color-accent-magenta: #ff00ff; /* Neon magenta */
    --color-accent-cyan: #00ffff; /* Neon cyan */
    --color-accent-electric-blue: #007bff; /* Electric blue, for subtle highlights */
    --color-text-light: #e0e0e0;
    --color-text-medium: #b0b0b0;
    --color-border-glow: rgba(0, 255, 255, 0.5); /* Cyan glow */
    --color-border-glow-active: rgba(255, 0, 255, 0.7); /* Magenta glow */

    --font-heading: 'Orbitron', 'Audiowide', sans-serif;
    --font-body: 'Exo', sans-serif;

    --spacing-unit: 1rem;
    --section-padding-y: 6rem;
    --header-height: 4rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-secondary-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section-padding {
    padding: var(--section-padding-y) 0;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-light);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 0 15px var(--color-accent-magenta), 0 0 25px rgba(0, 255, 255, 0.3);
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-accent-cyan), transparent);
    box-shadow: 0 0 8px var(--color-accent-cyan);
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    text-shadow: 0 0 6px rgba(255, 0, 255, 0.3);
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-medium);
}

a {
    color: var(--color-accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--color-accent-magenta);
    text-shadow: 0 0 5px var(--color-accent-magenta);
}

ul {
    list-style: none;
}

/* Buttons and CTAs */
.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(45deg, var(--color-accent-magenta), var(--color-accent-cyan));
    color: var(--color-secondary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6), 0 0 25px rgba(0, 255, 255, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-button:hover {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8), 0 0 35px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
    color: var(--color-secondary-dark);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4), 0 0 15px rgba(0, 255, 255, 0.2);
}

/* Header */
.main-header {
    background-color: var(--color-secondary-dark);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-primary-dark);
    box-shadow: 0 2px 15px rgba(0, 255, 255, 0.3);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-accent-magenta);
    text-shadow: 0 0 10px var(--color-accent-magenta), 0 0 15px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--color-accent-cyan);
    text-shadow: 0 0 10px var(--color-accent-cyan), 0 0 15px rgba(255, 0, 255, 0.5);
}

.main-nav ul {
    display: flex;
    gap: 1.8rem;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-light);
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--color-accent-cyan);
    box-shadow: 0 0 8px var(--color-accent-cyan);
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
    background: var(--color-accent-magenta);
    box-shadow: 0 0 8px var(--color-accent-magenta);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
    margin-top: var(--header-height); /* Offset for fixed header */
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4) contrast(1.2); /* Darken and add contrast */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 10, 42, 0.8) 0%, rgba(15, 15, 26, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem;
    background-color: rgba(26, 10, 42, 0.6); /* Semi-transparent deep purple panel */
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), inset 0 0 15px rgba(255, 0, 255, 0.2);
    animation: fadeInScale 1s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 1;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    animation: neonPulseMagenta 2s infinite alternate;
}

@keyframes neonPulseMagenta {
    from {
        text-shadow: 0 0 10px var(--color-accent-magenta), 0 0 20px var(--color-accent-magenta), 0 0 30px rgba(255, 0, 255, 0.7);
    }
    to {
        text-shadow: 0 0 15px var(--color-accent-magenta), 0 0 25px var(--color-accent-magenta), 0 0 40px rgba(255, 0, 255, 0.9);
    }
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}

/* Mission Section (STATS FOCUS) */
.mission-section {
    background-color: var(--color-primary-dark);
    position: relative;
    overflow: hidden;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background-color: rgba(0, 255, 255, 0.08); /* Light cyan background */
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    transform: rotate(0deg);
    transition: transform 1.5s ease-out;
    z-index: 0;
}

.stat-item:hover::before {
    transform: rotate(360deg);
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5), 0 0 35px rgba(255, 0, 255, 0.2);
    border-color: var(--color-accent-magenta);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-accent-magenta);
    text-shadow: 0 0 15px var(--color-accent-magenta), 0 0 25px rgba(0, 255, 255, 0.3);
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-description {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    position: relative;
    z-index: 1;
}

/* Services Section (TABBED INTERFACE) */
.services-section {
    background-color: var(--color-secondary-dark);
}

.tab-interface {
    background-color: rgba(26, 10, 42, 0.8);
    border-radius: 10px;
    border: 1px solid var(--color-border-glow);
    box-shadow: 0 0 20px var(--color-border-glow);
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background-color: var(--color-primary-dark);
    border-radius: 8px;
    padding: 0.5rem;
    gap: 1rem;
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2);
}

.tab-button {
    background-color: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--color-text-medium);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-grow: 1;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    opacity: 1;
    transition: opacity 0.3s ease;
}

.tab-button:hover::before {
    opacity: 1;
}

.tab-button.active {
    background: linear-gradient(45deg, var(--color-accent-cyan), var(--color-accent-magenta));
    color: var(--color-secondary-dark);
    border-color: var(--color-accent-magenta);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6), 0 0 20px rgba(0, 255, 255, 0.4);
    transform: translateY(-3px);
    font-weight: 600;
}

.tab-content {
    position: relative;
    min-height: 300px; /* Ensure content area doesn't collapse */
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding-bottom: 2rem; /* Ensure content is not cut off by transition */
}

.tab-pane.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    height: auto;
    position: relative; /* Allow active panel to dictate height */
}

.tab-pane h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.4);
}

.tab-pane ul {
    list-style-type: none;
    margin-top: 1.5rem;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.tab-pane ul li {
    background-color: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.tab-pane ul li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--color-accent-cyan);
    box-shadow: 0 0 8px var(--color-accent-cyan);
}

.tab-pane .cta-button {
    margin-top: 2rem;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Solutions Section (ICON WITH TEXT) */
.solutions-section {
    background-color: var(--color-primary-dark);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.solution-card {
    background-color: rgba(15, 15, 26, 0.8); /* Midnight black with transparency */
    border: 1px solid var(--color-border-glow);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent-cyan), var(--color-accent-magenta), var(--color-accent-electric-blue));
    z-index: -1;
    filter: blur(8px);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.solution-card:hover::before {
    opacity: 1;.6;
}

.solution-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 40px rgba(255, 0, 255, 0.3);
    border-color: var(--color-accent-magenta);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 0, 255, 0.15); /* Magenta accent */
    border: 2px solid var(--color-accent-magenta);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 15px var(--color-accent-magenta), inset 0 0 10px rgba(255, 0, 255, 0.5);
    transition: all 0.4s ease;
}

/* Simulate internal circuit pattern or glyph for icons */
.solution-icon::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent-cyan);
    opacity: 1;.7;
    transition: all 0.4s ease;
}

/* Specific styling for different solution icons (simulated) */
.solution-icon.icon-ai::after { content: 'AI'; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-accent-cyan); display: flex; align-items: center; justify-content: center; border-radius: 0; border: none; background: rgba(0, 255, 255, 0.1); }
.solution-icon.icon-habitat::after { content: ''; width: 30px; height: 30px; border: 2px solid var(--color-accent-cyan); border-radius: 3px; transform: rotate(45deg); }
.solution-icon.icon-genetics::after { content: 'DNA'; font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-accent-cyan); display: flex; align-items: center; justify-content: center; border-radius: 0; border: none; background: rgba(0, 255, 255, 0.1); }


.solution-card:hover .solution-icon {
    transform: rotate(360deg) scale(1.1);
    background-color: rgba(0, 255, 255, 0.15); /* Cyan accent on hover */
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 15px var(--color-accent-cyan), inset 0 0 10px rgba(0, 255, 255, 0.5);
}

.solution-card:hover .solution-icon::after {
    border-color: var(--color-accent-magenta);
    box-shadow: 0 0 8px var(--color-accent-magenta);
}


.solution-card h3, .solution-card .card-title {
    color: var(--color-accent-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
    margin-bottom: 1rem;
    font-size: 1.8rem; /* Match h3 style */
    font-family: var(--font-heading);
    font-weight: 600;
}

.solution-card p {
    font-size: 1rem;
    color: var(--color-text-medium);
}

/* Clients Section (VIDEO TESTIMONIALS - using images) */
.clients-section {
    background-color: var(--color-secondary-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(26, 10, 42, 0.8);
    border: 1px solid var(--color-border-glow);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.3);
    border-color: var(--color-accent-magenta);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: var(--color-primary-dark);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: filter 0.3s ease;
}

.video-thumbnail-container:hover .video-thumbnail {
    filter: brightness(0.8) contrast(1.2);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 255, 0.7); /* Magenta transparency */
    border: 2px solid var(--color-accent-cyan);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    transition: all 0.3s ease;
    z-index: 10;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--color-text-light); /* White play arrow */
    margin-left: 5px; /* Adjust for triangular shape */
    text-shadow: 0 0 5px var(--color-text-light);
}

.play-button:hover {
    background: rgba(0, 255, 255, 0.7); /* Cyan transparency */
    border-color: var(--color-accent-magenta);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.client-quote {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-text-medium);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.client-quote::before {
    content: '"';
    font-family: serif; /* For a classic quote mark */
    font-size: 3rem;
    position: absolute;
    left: 0;
    top: -10px;
    color: var(--color-accent-cyan);
    opacity: 1;.6;
}

.client-info {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-align: right;
    margin-top: 1rem;
}

/* FAQ Section (TABBED INTERFACE + ACCORDION) */
.faq-section {
    background-color: var(--color-primary-dark);
}

.faq-item {
    background-color: rgba(15, 15, 26, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: var(--color-primary-dark);
    border: none;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: inset 0 -1px 0 rgba(0, 255, 255, 0.1);
}

.faq-question:hover {
    background-color: rgba(255, 0, 255, 0.1);
    color: var(--color-accent-cyan);
}

.faq-question[aria-expanded="true"] {
    background-color: rgba(255, 0, 255, 0.15);
    color: var(--color-accent-magenta);
    box-shadow: inset 0 -1px 0 var(--color-accent-magenta);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--color-accent-cyan);
}

.faq-question[aria-expanded="true"]::after {
    content: '-';
    transform: rotate(180deg);
    color: var(--color-accent-magenta);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 1.5rem;
    color: var(--color-text-medium);
}

.faq-answer[aria-hidden="false"] {
    padding-bottom: 1.5rem;
}

.faq-answer p {
    margin: 1rem 0;
    font-size: 1rem;
}

/* Support Section (SIDE BY SIDE) */
.support-section {
    background-color: var(--color-secondary-dark);
}

.support-flex {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.support-left, .support-right {
    flex: 1;
    background-color: rgba(26, 10, 42, 0.8);
    border: 1px solid var(--color-border-glow);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.support-left {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    border-color: var(--color-accent-magenta);
}

.support-left h2, .support-right h3 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.support-left h2::after {
    left: 0;
    transform: translateX(0);
    background: linear-gradient(to right, var(--color-accent-magenta), transparent);
    box-shadow: 0 0 8px var(--color-accent-magenta);
}

.support-right h3::after {
    left: 0;
    transform: translateX(0);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-cyan), transparent);
    box-shadow: 0 0 6px var(--color-accent-cyan);
}


.generic-contact-info, .additional-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(0, 255, 255, 0.2);
}

.generic-contact-info h3, .additional-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent-cyan);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--color-primary-dark);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-accent-cyan);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) brightness(0.7) hue-rotate(200deg); /* Cyberpunk map style */
}

.map-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-shadow: 0 0 5px var(--color-accent-cyan);
}

/* Footer & Newsletter (SIDE BAR) */
.main-footer {
    background-color: var(--color-secondary-dark);
    padding: var(--section-padding-y) 0 1rem 0;
    border-top: 2px solid var(--color-primary-dark);
    box-shadow: 0 -2px 15px rgba(255, 0, 255, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* About, Nav, Newsletter */
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-about h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.footer-about h2::after {
    left: 0;
    transform: translateX(0);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-magenta), transparent);
    box-shadow: 0 0 8px var(--color-accent-magenta);
}

.footer-nav h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent-cyan);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    text-align: left; /* Override global h2 center */
}
.footer-nav h2::after {
    left: 0;
    transform: translateX(0);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-cyan), transparent);
    box-shadow: 0 0 6px var(--color-accent-cyan);
}

.footer-nav ul li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: var(--color-text-medium);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-accent-magenta);
    text-shadow: 0 0 5px var(--color-accent-magenta);
}

.newsletter-sidebar {
    background-color: rgba(255, 0, 255, 0.1); /* Magenta accent */
    border: 1px solid var(--color-accent-magenta);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.newsletter-sidebar h2 {
    text-align: left;
    font-size: 1.8rem;
    color: var(--color-accent-magenta);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
    margin-bottom: 1.5rem;
}
.newsletter-sidebar h2::after {
    left: 0;
    transform: translateX(0);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-magenta), transparent);
    box-shadow: 0 0 8px var(--color-accent-magenta);
}


.newsletter-sidebar p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-medium);
    border-top: 1px solid rgba(255, 0, 255, 0.1);
}

.footer-bottom h2 {
    font-size: 1.2rem; /* Smaller for this context */
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    text-shadow: none; /* No strong shadow for this small H2 */
}
.footer-bottom h2::after {
    display: none; /* No underline for this small H2 */
}


/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .main-nav ul { gap: 1rem; }
    .main-nav a { font-size: 0.9rem; }

    .hero-content { padding: 1.5rem; }

    .stats-grid, .solutions-grid, .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .support-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-about h2, .footer-nav h2, .newsletter-sidebar h2 {
        text-align: center; /* Center footer headings on smaller screens */
    }

    .footer-about h2::after, .footer-nav h2::after, .newsletter-sidebar h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter-sidebar {
        order: -1; /* Move newsletter to top of footer on mobile */
    }
}

@media (max-width: 768px) {
    .main-header { padding: 0.5rem 0; }
    .nav-container { flex-direction: column; gap: 0.5rem; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
    .main-nav a { padding: 0.3rem 0.5rem; }
    .logo { font-size: 1.5rem; margin-bottom: 0.5rem; }

    .hero-section { height: auto; min-height: 80vh; padding: 6rem 0; }
    .hero-content { max-width: 90%; padding: 1rem; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    .cta-button { padding: 0.8rem 1.8rem; font-size: 1rem; }

    .stats-grid, .solutions-grid, .testimonials-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }

    .tab-buttons { flex-direction: column; gap: 0.5rem; }
    .tab-button { flex-grow: unset; width: 100%; }

    .tab-pane ul { grid-template-columns: 1fr; }

    .support-flex { flex-direction: column; }

    .section-padding { padding: 4rem 0; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; margin-bottom: 2rem; }
    h3 { font-size: 1.2rem; }
    .hero-content p { font-size: 1rem; }

    .cta-button { font-size: 0.9rem; padding: 0.7rem 1.5rem; }

    .stat-number { font-size: 2.5rem; }
    .stat-description { font-size: 0.9rem; }

    .solution-card, .testimonial-card, .faq-item, .support-left, .support-right, .newsletter-sidebar {
        padding: 1.5rem;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Enhanced: Missing animation classes from JS */
.animate-fade-in-up {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.animate-fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-in-right {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.animate-fade-in-right.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-bounce-y {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.animate-bounce-y.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-in-left {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.animate-fade-in-left.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Accessibility focus outlines */
:focus{outline:2px solid #5ac8fa;outline-offset:2px;}
:focus:not(:focus-visible){outline:none;}
