:root {
    --color-dark-base: #0D1117; /* Graphite */
    --color-dark-accent-1: #151A20; /* Midnight */
    --color-dark-accent-2: #1A212B; /* Deep Navy */
    --color-holographic-teal: #00FFFF; /* Cyan/Teal */
    --color-holographic-rose: #FF007F; /* Rose Pink */
    --color-text-light: #E0E6F0;
    --color-text-muted: #A0AAB8;
    --color-gradient-start: rgba(0, 255, 255, 0.2); /* Teal with transparency */
    --color-gradient-hover-start: rgba(0, 255, 255, 0.4);
    --color-gradient-hover-end: rgba(138, 43, 226, 0.4);

    --font-heading: 'Poppins SemiBold', 'Exo 2', sans-serif;
    --font-body: 'Manrope', 'Exo 2', sans-serif;

    --border-radius-card: 12px;
    --transition-speed: 0.3s ease-in-out;
}

/* Global Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-dark-base);
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll from holographic effects */
}

a {
    color: var(--color-holographic-teal);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-holographic-violet);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
    color: var(--color-text-muted);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* Ensure glowing borders don't cause scroll */
}

.section:nth-child(even) {
    background-color: var(--color-dark-accent-1);
}

.section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8em;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-holographic-teal);
}

.section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-holographic-violet), var(--color-holographic-teal));
    border-radius: 2px;
}

/* Holographic Accent Mixin (using for multiple elements) */
.mission-card,
.service-card,
.solution-item,
.testimonial-card,
.faq-tabs {
    position: relative;
    border-radius: var(--border-radius-card);
    background-clip: padding-box;
    border: 1px solid transparent; /* Required for the border effect to show through mask */
    transition: all var(--transition-speed);
    z-index: 1; /* Ensure content is above pseudo-element */
}

.mission-card::before,
.service-card::before,
.solution-item::before,
.testimonial-card::before,
.faq-tabs::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px; /* Border thickness */
    border-radius: var(--border-radius-card);
    background: linear-gradient(45deg, var(--color-holographic-violet), var(--color-holographic-teal), var(--color-holographic-rose), var(--color-holographic-violet));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1; /* Place behind content */
    animation: holographic-glow 15s ease infinite alternate;
    opacity: 1;.7;
    transition: opacity var(--transition-speed);
}

.mission-card:hover::before,
.service-card:hover::before,
.solution-item:hover::before,
.testimonial-card:hover::before,
.faq-tabs:hover::before {
    opacity: 1;
}

@keyframes holographic-glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
.header {
    background-color: var(--color-dark-accent-2);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 600;
    color: var(--color-text-light);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--color-holographic-teal), var(--color-holographic-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--color-text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-speed);
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-holographic-teal), var(--color-holographic-violet));
    transition: width var(--transition-speed);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-holographic-teal);
    border-radius: 2px;
    transition: all var(--transition-speed);
}

/* Hero Showcase */
.hero-showcase {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.5); /* Darken image */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
                linear-gradient(45deg, var(--color-gradient-start), var(--color-gradient-end));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: var(--color-holographic-teal);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: var(--color-text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-holographic-violet), var(--color-holographic-teal));
    padding: 15px 35px;
    border-radius: 50px;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed), transform 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.7s ease;
    z-index: -1;
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

.cta-button:hover::before {
    opacity: 1;
    top: -10%;
    left: -10%;
}


/* General Card Styling */
.card {
    background-color: var(--color-dark-accent-2);
    border-radius: var(--border-radius-card);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
}

.card h3 {
    color: var(--color-holographic-teal);
    margin-top: 15px;
    margin-bottom: 15px;
}

.card p {
    color: var(--color-text-muted);
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Mission Section - Card Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card {
    padding: 40px;
    text-align: left;
    height: 100%; /* Ensure equal height */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.mission-card h3 {
    text-align: center;
}

/* Services Section - Horizontal Cards */
.services-section {
    position: relative;
}

.services-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px; /* Space for scrollbar */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--color-holographic-violet) var(--color-dark-accent-1); /* Firefox */
}

/* Scrollbar styles for Webkit (Chrome, Safari) */
.services-carousel::-webkit-scrollbar {
    height: 8px;
}
.services-carousel::-webkit-scrollbar-track {
    background: var(--color-dark-accent-1);
    border-radius: 10px;
}
.services-carousel::-webkit-scrollbar-thumb {
    background-color: var(--color-holographic-violet);
    border-radius: 10px;
    border: 2px solid var(--color-dark-accent-1);
}

.service-card {
    min-width: 350px; /* Fixed width for each card */
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: left;
    padding: 25px;
    height: auto;
}
.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    margin-bottom: 15px;
}
.service-card h3 {
    margin-bottom: 10px;
    text-align: left;
}
.service-card p {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Solutions Section - Icon with Text (using strong headings) */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-item {
    background-color: var(--color-dark-accent-2);
    border-radius: var(--border-radius-card);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
}

.solution-title {
    font-size: 1.6em;
    color: var(--color-holographic-teal);
    margin-bottom: 15px;
    position: relative;
}

/* Gallery Section - Masonry Layout */
.gallery-section {
    background-color: var(--color-dark-accent-1);
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.masonry-grid img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    break-inside: avoid; /* Prevent images from breaking across columns */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.masonry-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.3);
}

/* Clients Section - Video Testimonials (Image placeholders) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    text-align: center;
    height: 100%;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter var(--transition-speed);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--color-holographic-teal), var(--color-holographic-violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    transition: all var(--transition-speed);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid var(--color-text-light);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 1);
}

.video-placeholder:hover img {
    filter: brightness(0.7);
}

.client-quote {
    font-style: italic;
    font-size: 1.1em;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.client-info {
    font-weight: 500;
    color: var(--color-holographic-teal);
    margin-top: auto; /* Push to bottom */
}


/* FAQ Section - Tabbed Interface */
.faq-section {
    background-color: var(--color-dark-base);
}

.faq-tabs {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-dark-accent-1);
    border-radius: var(--border-radius-card);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: var(--color-dark-accent-2);
    color: var(--color-text-muted);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.05em;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all var(--transition-speed);
}

.tab-button:hover {
    border-color: var(--color-holographic-teal);
    color: var(--color-holographic-teal);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.tab-button.active {
    background: linear-gradient(45deg, var(--color-holographic-violet), var(--color-holographic-teal));
    color: var(--color-text-light);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.tab-pane {
    display: none;
    padding: 20px;
    background-color: var(--color-dark-accent-2);
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(138, 43, 226, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.tab-pane.active {
    display: block;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 255, 255, 0.1);
}
.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: var(--color-holographic-teal);
    font-size: 1.3em;
    margin-bottom: 10px;
}
.faq-item p {
    color: var(--color-text-muted);
}


/* Support Section - Map Integration (Image placeholder) */
.support-section {
    background-color: var(--color-dark-accent-1);
    padding: 100px 0;
}

.map-container {
    text-align: center;
}

.map-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 50%; /* Aspect ratio of the map image */
    background-color: var(--color-dark-accent-2);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.map-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.7) brightness(0.4); /* Darken and desaturate map */
}

.contact-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: var(--border-radius-card);
    max-width: 600px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--color-holographic-teal);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    z-index: 1;
}

.contact-overlay h3 {
    color: var(--color-holographic-teal);
    font-size: 2em;
    margin-bottom: 15px;
}

.contact-overlay p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--color-text-light);
}


/* Footer */
.footer {
    background-color: var(--color-dark-accent-2);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    color: var(--color-text-muted);
    font-size: 0.9em;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 3em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.6em; }

    .hero-content h1 { font-size: 3.5em; }
    .hero-content p { font-size: 1.2em; }

    .mission-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Use auto-fit for better responsiveness */
    }

    .masonry-grid {
        column-count: 2;
    }

    .services-carousel {
        padding-bottom: 15px;
    }
    .service-card {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 15px;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--color-dark-accent-2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        border-bottom-left-radius: var(--border-radius-card);
        border-bottom-right-radius: var(--border-radius-card);
        padding-bottom: 20px;
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .nav-list li {
        text-align: center;
    }
    .nav-list a {
        display: block;
        padding: 10px 0;
        font-size: 1.1em;
    }
    .nav-list a::after {
        display: none; /* Hide underline on mobile menu */
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 1;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-showcase {
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1em;
    }

    .section {
        padding: 60px 0;
    }
    .section h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .mission-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr; /* Stack to 1 column on mobile */
    }

    .masonry-grid {
        column-count: 1;
    }

    .service-card {
        min-width: 280px;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    .tab-button {
        width: 80%;
        max-width: 300px;
    }

    .contact-overlay {
        padding: 25px;
        width: 95%;
    }
    .contact-overlay h3 {
        font-size: 1.6em;
    }
    .contact-overlay p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }

    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 0.9em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .card {
        padding: 20px;
    }

    .section h2 {
        font-size: 1.8em;
    }
}


javascript
/* JS */
    // Hamburger Menu Toggle

    });

            }
        });
    });

    // FAQ Tabs Functionality

            // Remove 'active' class from all buttons and panes

            // Add 'active' class to the clicked button

            // Get the target tab pane ID from data-tab attribute

            // Add 'active' class to the corresponding tab pane
            if (targetPane) {
            }
        });
    });

    // Set the first tab as active by default if buttons exist
    if (tabButtons.length > 0) {
        tabButtons[0].click();
    }

    // Smooth scrolling for anchor links (if not handled by CSS `scroll-behavior: smooth`)
    // This provides a fallback and ensures behavior for dynamic content or older browsers
            e.preventDefault();


            if (targetElement) {
                targetElement.scrollIntoView({
                    behavior: 'smooth'
                });
            }
        });
    });
});

/* Auto-added missing CSS classes for UI consistency */
.clients-section {
    /* Placeholder styles - ensure proper styling */
}
.mission-section {
    /* Placeholder styles - ensure proper styling */
}
.tab-content {
    /* Placeholder styles - ensure proper styling */
}
.card-grid {
    /* Placeholder styles - ensure proper styling */
}
.solutions-section {
    /* Placeholder styles - ensure proper styling */
}

/* 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);
}

/* 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;}
