/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* --- CSS Reset & Basic Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    overflow-x: hidden; /* CRITICAL for the slider */
}
.quote1{
    background-color: #1540ad;
    border-radius: 20px;
    padding: 4px 15px;

}
.quote1:hover{
    color: #00164f !important;
    background-color: white !important;
}
/* --- Main Slider Container --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* --- Individual Slide Styling --- */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 6%;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.slide.active {
    z-index: 2;
}
.main-content{
    margin-top: 20px;
}
.slide .main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;

}

.slide .text-content {
    max-width: 600px;
}

/* Animate content on active slide */
.slide .text-content > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide.active .text-content > * {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the animation of children */
.slide.active .text-content h1 { transition-delay: 0.4s; }
.slide.active .text-content p { transition-delay: 0.6s; }
.slide.active .text-content .cta-buttons { transition-delay: 0.8s; }


/* --- Background SVG Shapes (Persistent) --- */
.background-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- HEADER & NAVIGATION STYLES --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 6%;
}
.logo {
    position: relative; /* This is the ANCHOR for the image */
    
    /* Set a height that matches your nav links */
    height: 80px; 

    /* Set a width to hold the space, 
       so nav links don't slide under the logo */
    width: 150px; /* <-- ADJUST this to your logo's width */
}
.logo img {
    position: absolute; /* Takes the image OUT of the layout flow */
    
    height: 120px; /* <-- *** SET YOUR DESIRED (BIG) HEIGHT HERE *** */
    width: auto;
    
    /* These two lines perfectly center the
       tall image against the 40px logo box */
    top: 50%;
    transform: translateY(-50%);
    
    left: 0; /* Aligns it to the left of the logo box */
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center; /* Vertically align items */
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links li a:hover {
    color: #6FB1FC; /* Accent color */
}

/* --- NEW: Desktop Dropdown Styles --- */
.has-dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 150%; /* Position below the parent link */
    left: 50%;
    transform: translateX(-50%) scaleY(0.95);
    background-color: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    list-style: none;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.has-dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) scaleY(1);
    top: 120%;
}

.submenu li a {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    width: 100%;
    justify-content: flex-start;
}

.submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .desktop-arrow {
    transform: rotate(180deg);
}

.submenu-toggle-mobile {
    display: none; /* Hidden on desktop */
}

/* --- MOBILE RESPONSIVE STYLES (Includes mobile dropdown logic) --- */
@media (max-width: 768px) {
    /* Hamburger menu styles */
   
    .hamburger-menu { display: block; cursor: pointer; z-index: 1001; }
    .hamburger-menu .bar { width: 25px; height: 3px; background-color: #fff; margin: 5px 0; transition: all 0.4s ease; }
    
    /* Main mobile nav container */
    .nav-links { position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background-color: rgba(18,18,18,0.95); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; align-items: center; gap: 0; transform: translateX(100%); transition: transform 0.5s ease-in-out; }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links > li { width: 100%; text-align: center; }
    .nav-links > li > a { font-size: 1.5rem; padding: 1rem 0; width: 100%; justify-content: center; }
    
    /* --- NEW: Mobile Dropdown Styles --- */
    .desktop-arrow { display: none; }
    .submenu-toggle-mobile {
        display: block;
        position: absolute;
        right: 25%;
        top: 0.7rem;
        background: none;
        border: none;
        color: #fff;
        padding: 0.75rem;
        cursor: pointer;
    }
    .submenu-toggle-mobile .dropdown-arrow { transition: transform 0.3s ease; }
    .has-dropdown.submenu-open > .submenu-toggle-mobile .dropdown-arrow { transform: rotate(180deg); }

    .submenu {
        position: static; /* No longer absolute */
        transform: none;
        width: 100%;
        background: none;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin-top: -0.5rem;
        margin-left: 220px;
        
        /* Hide with max-height for smooth transition */
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: max-height 0.4s ease-out;
    }
    
    .has-dropdown.submenu-open > .submenu {
        max-height: 500px; /* Animate to this height */
    }

    .submenu li a {
        font-size: 1.1rem;
        font-weight: 400;
        color: #aaa;
      
    }
}

/* --- General Content Styling --- */
.text-content h1 { 
    font-size: 3.5rem; 
    font-weight: 700; 
    line-height: 1.2; 
    text-transform: uppercase; 
    margin-bottom: 1.5rem; 
}

.text-content p { 
    font-size: 1.1rem; 
    color: #d1d1d1; 
    line-height: 1.7; 
    margin-bottom: 2.5rem; 
    max-width: 500px; 
}

.cta-buttons { 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
}

.cta-btn { 
    display: inline-block; 
    text-decoration: none; 
    padding: 14px 35px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
    transition: all 0.3s ease; 
    border: 2px solid transparent; 
}

.cta-btn.primary { 
    background-color: #030b2e; 
    color: #fff; 
    border-color: #030b2e; 
}

.cta-btn.primary:hover { 
    background-color: #6FB1FC; 
    border-color: #6FB1FC; 
}

.cta-btn.secondary { 
     background-color: #fff; 
    color: #121212; 
}

.cta-btn.secondary:hover { 
   background-color: transparent; 
    color: #fff; 
    border-color: #fff; 
}


/* --- Slider Navigation Dots --- */
.slider-nav {
    position: fixed;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-nav .nav-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-nav .nav-dot.active {
    background-color: #ffffff;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
    .text-content h1 { 
        font-size: 3.5rem; 
    }
    
    .text-content p { 
        font-size: 1rem; 
    }
}

@media (max-width: 768px) {
    .slide { 
        padding: 1.5rem 5%; 
    }
    
    
    .main-content { 
        text-align: center; 
        justify-content: center; 
    }
    
    .text-content { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    
    .text-content h1 { 
        font-size: 3rem; 
    }
    
    .text-content p { 
        max-width: 90%; 
        font-size: 1rem; 
    }
    
    .cta-buttons { 
        justify-content: center; 
    }
    
    .slider-nav { 
        right: 5%; 
    }
}

@media (max-width: 480px) {
    .text-content h1 { 
        font-size: 2rem; 
    }
    
    .text-content p { 
        font-size: 0.9rem; 
    }
    
    .cta-buttons { 
        flex-direction: column; 
        width: 100%; 
    }
    
    .cta-btn { 
        width: 80%; 
        text-align: center; 
        padding: 12px 25px; 
        font-size: 0.85rem; 
    }
    
    .slider-nav .nav-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .text-content h1 { 
        font-size: 1.8rem; 
    }
    
    .text-content p { 
        font-size: 0.85rem; 
    }
    
    .cta-btn { 
        width: 90%; 
        padding: 10px 20px; 
    }
}




/* --- ABOUT SECTION STYLING --- */

.about-section {
    /* Basic layout and spacing */
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 120px 6%;
    overflow: hidden; /* Important for containing animations */
}

.about-section-content {
    /* Flexbox layout for side-by-side content */
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Text Styling --- */
.about-text-wrapper {
    flex: 1; /* Allows text to take available space */
    max-width: 55%;
}

.about-text-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.about-text-wrapper p {
    margin-bottom: 1.5rem;
    color: #d1d1d1;
    font-size: 1rem;
    line-height: 1.8;
}

.about-text-wrapper p:last-of-type {
    margin-bottom: 0;
}

/* --- Image Styling --- */
.about-image-wrapper {
    flex: 1;
    max-width: 40%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}



/* --- SCROLL ANIMATION STYLES --- */
/* Initial state (hidden) */
.about-text-wrapper,
.about-image-wrapper {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-text-wrapper {
    transform: translateX(-50px);
}

.about-image-wrapper {
    transform: translateX(50px);
}

/* Final state (visible) when parent has the .visible class */
.about-section.visible .about-text-wrapper,
.about-section.visible .about-image-wrapper {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger the animation for a better effect */
.about-section.visible .about-image-wrapper {
    transition-delay: 0.2s;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    .about-section-content {
        flex-direction: column;
        text-align: center;
    }
    .about-text-wrapper,
    .about-image-wrapper {
        max-width: 90%;
    }
    .about-image-wrapper {
        height: 350px;
       
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .about-text-wrapper,
    .about-image-wrapper {
        max-width: 100%;
    }
    .about-text-wrapper h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-image-wrapper {
        height: 250px;
    }
}





/* --- Imports and Basic Setup --- */

/* --- CHROMATIC FLOW SECTION STYLING --- */
.flow-services-wrapper { position: relative; background-color: #0d0d0d; font-family: 'Poppins', sans-serif; }
.flow-sticky-container { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; }
.flow-content { position: relative; height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; color: #fff; }
.flow-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background-image: radial-gradient(at 20% 90%, var(--c1, #000), transparent 50%), radial-gradient(at 80% 10%, var(--c2, #000), transparent 50%); transition: background-color 1s ease-in-out; background-color: var(--bg, #121212); }
.flow-intro { position: absolute; top: 20vh; left: 5%; max-width: 400px; z-index: 10; }
.flow-intro h2 { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.flow-intro h3 { font-size: 1rem; color: #aaa; margin-top: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.flow-cta { display: inline-block; background-color: #fff; color: #000; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; margin-top: 2rem; transition: all 0.3s ease; }
.flow-cta:hover { background-color: #ccc; transform: scale(1.05); }
.flow-showcase { position: relative; width: 100%; height: 100%; z-index: 5; }

/* --- Cycling Containers --- */
.flow-titles, .flow-cards, .flow-descriptions { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.flow-title-item, .flow-card-item, .flow-description-item { position: absolute; opacity: 0; visibility: hidden; transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; }

.flow-title-item { font-size: clamp(3rem, 10vw, 5rem); font-weight: 700; text-align: center; transform: translateY(50px); }
.flow-card-item { background-color: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 2rem; text-align: center; transform: translateY(50px) scale(0.9); right: 5%; width: 200px; }
.flow-title-item.active, .flow-card-item.active, .flow-description-item.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.flow-card-icon { width: 60px; height: 60px; margin: 0 auto 1.5rem auto; color: #fff; }
.flow-card-item a { color: #fff; font-weight: 600; text-decoration: none; }
.flow-card-item a:hover { text-decoration: underline; }

/* --- NEW: Description Styling --- */
.flow-descriptions {
    align-items: flex-start; /* Align container to top */
    padding-top: 60vh; /* Position below the title */
}
.flow-description-item {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    color: #d1d1d1;
    text-align: center;
    max-width: 500px;
    padding: 0 1rem;
    line-height: 1.6;
}


/* --- Progress Bar --- */
.flow-progress { position: absolute; right: 2.5%; top: 25%; height: 50%; width: 2px; background-color: rgba(255, 255, 255, 0.2); z-index: 10; }
.flow-progress-bar { width: 100%; height: 100%; background-color: #fff; transform-origin: top; transform: scaleY(0); }
.flow-scroll-track { height: 500vh; width: 100%; }

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .flow-intro { top: 5vh; left: 0; right: 0; width: 90%; margin: 0 auto; text-align: center; }
    .flow-card-item { left: 50%; bottom: 10vh; top: auto; transform: translateX(-50%) translateY(50px) scale(0.9); }
    .flow-card-item.active { transform: translateX(-50%) translateY(0) scale(1); }
    .flow-descriptions { padding-top: 55vh; }
    .flow-progress { right: 5%; }
}










/* --- PASSION SECTION STYLES --- */
.passion-section {
    background-color: #0d0d0d;
    color: #f0f0f0;
    padding: 120px 6%;
    font-family: 'Poppins', sans-serif;
}

.passion-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.passion-content {
    grid-column: span 6; /* Takes 6 columns on desktop */
}

.passion-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.passion-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

.passion-content p:last-child {
    margin-bottom: 0;
}

/* --- Precision Grid Styles --- */
.precision-grid {
    grid-column: span 6; /* Takes 6 columns on desktop */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid for cells */
    gap: 1.5rem;
    background-color: rgba(30, 30, 30, 0.4); /* Semi-transparent background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.grid-cell {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden; /* For the glow effect */
    will-change: transform; /* Optimize animation */
}

.grid-cell::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(67, 100, 247, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    border-radius: 50%;
    transition: transform 0.5s ease, opacity 0.5s ease;
    animation: pulse-glow 3s infinite ease-in-out; /* Pulsing glow */
    pointer-events: none; /* Ensure it doesn't block interaction */
    z-index: 0;
}

@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.2; }
}

.grid-cell:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: rgba(67, 100, 247, 0.1); /* Highlight background on hover */
    border-color: #4364F7;
    box-shadow: 0 15px 30px rgba(67, 100, 247, 0.2);
}

/* Stop pulsing and activate full glow on hover */
.grid-cell:hover::before {
    animation: none; /* Stop the pulsing animation */
    transform: translate(-50%, -50%) scale(1.2); /* Expand glow slightly */
    opacity: 0.6; /* Make it more visible */
}


.grid-cell svg {
    width: 45px;
    height: 45px;
    color: #4364F7; /* Accent color for icons */
    margin-bottom: 1rem;
    position: relative; /* Above the pseudo-element */
    z-index: 1;
}

.grid-cell span {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    position: relative; /* Above the pseudo-element */
    z-index: 1;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .passion-container {
        grid-template-columns: 1fr; /* Stack content and grid */
        gap: 3rem;
    }

    .passion-content, .precision-grid {
        grid-column: 1 / -1; /* Both take full width */
    }

    .passion-content {
        text-align: center;
    }
    
    .passion-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .precision-grid {
        padding: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); /* Adjust cell size for smaller screens */
    }
}

@media (max-width: 576px) {
    .precision-grid {
        grid-template-columns: 1fr 1fr; /* Two columns on very small screens */
        padding: 1.5rem;
        gap: 1rem;
    }
    .grid-cell {
        padding: 1rem;
    }
    .grid-cell svg {
        width: 35px;
        height: 35px;
        margin-bottom: 0.5rem;
    }
    .grid-cell span {
        font-size: 0.9rem;
    }
}








/* --- KINETIC CAROUSEL STYLES (Mobile First) --- */
.kinetic-carousel-section {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #f0f0f0;
    overflow: hidden;
}
.section-header {margin-top: 80px; text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; }

.testimonial-scroller {
    position: relative;
    max-width: 100%; /* Use full width on mobile */
}

.scroller-track {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    /* We will now control animation entirely with JavaScript */
}

.testimonial-card {
    flex: 0 0 90%; /* Each card is 90% of the viewport width */
    padding: 2.5rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0.7;
    transform: scale(0.9);
    margin-bottom: 40px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonial-card.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: #4364F7;
}

.testimonial-card p { font-size: 1.1rem; line-height: 1.7; margin: 0 0 2rem 0; }
.author-info { display: flex; align-items: center; gap: 1rem; }
.author-info img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #333; }
.author-info h4 { margin: 0; font-size: 1.1rem; color: #fff; }
.author-info span { font-size: 0.9rem; color: #888; }

/* --- NEW: Navigation Arrow Styles --- */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}
.carousel-nav.prev { left: 5px; }
.carousel-nav.next { right: 5px; }
.carousel-nav svg { fill: #fff; width: 24px; height: 24px; }


/* --- DESKTOP ENHANCEMENTS --- */
@media (min-width: 768px) {
    .testimonial-scroller {
        max-width: 1600px;
        margin: 0 auto;
        -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
        mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    }
    
    .scroller-track {
        gap: 2rem;
        padding: 0; /* No padding needed with the mask */
    }

    .testimonial-card {
        flex-basis: clamp(100px, 30vw, 500px); /* Adjust card width for desktop */
    }

    .carousel-nav {
        display: none; /* Hide arrows on desktop */
    }
}






/* --- NEURAL GRID FAQ STYLES --- */
.faq-section {
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding: 70px 5%;
    background-color: #0d0d0d;
    color: #f0f0f0;
    overflow: hidden; /* Important for containing background elements */
}

/* --- The Cool Background --- */
.faq-grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    --grid-size: 60px;
    --grid-color: rgba(255, 255, 255, 0.07);
    --dot-color: rgba(67, 100, 247, 0.3); /* Accent color */
    
    background-image:
        /* The glowing dots at intersections */
        radial-gradient(circle at center, var(--dot-color) 1px, transparent 1.5px),
        /* The grid lines */
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    
    background-size: var(--grid-size) var(--grid-size);
    animation: pulse 5s infinite linear;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* --- Interactive Spotlight Effect (will be positioned by JS) --- */
.faq-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(67, 100, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.4s;
    opacity: 0;
    /* JS will set top and left */
}
.faq-section:hover::before {
    opacity: 1;
}

/* --- FAQ Content Styling --- */
.faq-container {
    position: relative; /* To sit on top of the background */
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #f0f0f0;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: #4364F7; /* Accent color */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                padding 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.accordion-content p {
    padding-bottom: 1.5rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #a0a0a0;
}

/* --- Icon Styling & Animation --- */
.accordion-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 1rem;
}
.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.accordion-item.active .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}









/* --- MAGNETIC LOGO CAROUSEL STYLES --- */
.logo-flow-section {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #f0f0f0;
    padding: 20px 0; /* Vertical padding only */
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

.logo-scroller {
    max-width: 100%;
    overflow: hidden; /* Hide anything outside the scroller area */
    cursor: grab;
    margin-bottom: 80px;
}
.logo-scroller:active {
    cursor: grabbing;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 4rem; /* Space between logos */
    will-change: transform;
    /* The CSS animation for the gentle drift */
    animation: drift 80s linear infinite;
}

.logo-scroller:hover .logo-track {
    animation-play-state: paused; /* Pause drift on hover to allow interaction */
}

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Stop at the start of the duplicated content */
}

.logo-item {
    flex-shrink: 0; /* Prevent logos from shrinking */
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.logo-item img {
    display: block;
    width: 120px; /* Adjust logo size as needed */
    height: auto;
    filter: grayscale(100%) brightness(0.5); /* Start grayscale and dim */
    transform: scale(0.8); /* Start smaller */
    opacity: 0.5; /* Start semi-transparent */
    will-change: filter, transform;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .logo-track {
        gap: 3rem;
    }
    .logo-item img {
        width: 100px;
    }
}








/* --- Imports and Basic Setup --- */


/* --- SHIFTING PLANES CTA STYLES --- */
.planes-cta-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 75vh;
    background-color: #0d0d0d;
    overflow: hidden;
    color: #fff;
}

.planes-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.plane {
    position: absolute;
    border-radius: 20px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    transition: transform 0.1s linear; /* Smooths the parallax effect */
}

/* Positioning and styling the individual planes */
.plane:nth-child(1) {
    width: 80%;
    height: 80%;
    top: -20%;
    left: -30%;
    transform: rotate(-35deg);
}
.plane:nth-child(2) {
    width: 70%;
    height: 100%;
    bottom: -40%;
    right: -25%;
    transform: rotate(30deg);
    background: #151518;
}
.plane:nth-child(3) {
    width: 60%;
    height: 60%;
    bottom: 20%;
    left: -15%;
    transform: rotate(15deg);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 4em);
    font-weight: 700;
    margin-bottom: 2rem;
    
}

.cta-button {
    display: inline-block;
    background: #4364F7;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(67, 100, 247, 0.4);
}

.cta-button:hover {
    background: #6FB1FC;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(67, 100, 247, 0.6);
}

/* --- GEOMETRIC FOOTER STYLES --- */
.geometric-footer {
    position: relative;
    background: #121212;
    color: #fff;
    padding: 120px 5% 40px 5%;
    overflow: hidden;
}

.footer-bg-shape {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #0d0d0d;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.footer-grid, .footer-bottom {
    position: relative;
    z-index: 2; /* Ensure content is above the background shape */
}

/* Re-using the standard, effective footer grid layout */
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1400px; margin: 0 auto; padding-bottom: 3rem; }
.footer-column h4 { font-size: 1.2rem; margin-bottom: 1rem; }
.footer-column h5 { font-size: 1rem; color: #aaa; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-column p { color: #888; line-height: 1.7; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 0.75rem; }
.footer-column ul a { color: #f0f0f0; text-decoration: none; transition: color 0.3s ease; }
.footer-column ul a:hover { color: #4364F7; }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #555; border-radius: 50%; color: #fff; text-decoration: none; font-weight: 700; transition: all 0.3s ease; }
.social-links a:hover { background: #4364F7; border-color: #4364F7; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #333; color: #888; font-size: 0.9rem; }














/* --- ELEGANT CONTACT FORM STYLES --- */
.contact-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    color: #e0e0e0;
    overflow: hidden;
}

/* --- MODIFIED: The Fixed Gradient Background --- */
.gradient-bg-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* This background is now fixed, positioned on the left-center */
    background: radial-gradient(circle at 20% 50%, #098eb6, #002e92, transparent 40%);
    opacity: 0.6;
}

/* --- Main Content Container --- */
.contact-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* --- Left Side --- */
.left-panel { display: flex; flex-direction: column; align-items: flex-start; }
.contact-title { font-family: 'Playfair Display', serif; font-size: clamp(4rem, 12vw, 8rem); font-weight: 500; color: #fff; line-height: 1; }
.social-icons { position: absolute; left: 5%; bottom: 5%; display: flex; flex-direction: column; gap: 1.5rem; }
.social-icons a { color: #888; text-decoration: none; transition: color 0.3s ease; }
.social-icons a:hover { color: #fff; }
.social-icons svg { width: 24px; height: 24px; }

/* --- Right Side (The Form) --- */
.right-panel { display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.contact-form { width: 100%; max-width: 500px; margin-bottom: 3rem; }
.input-group { position: relative; margin-bottom: 2.5rem; }
.input-group input,
.input-group textarea {
    width: 100%; padding: 1rem 0; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); color: #fff; font-size: 1.1rem; font-family: 'Poppins', sans-serif; transition: border-color 0.3s ease;
}
.input-group input:focus,
.input-group textarea:focus { outline: none; border-bottom-color: #d35400; }
.input-group label { position: absolute; top: 1rem; left: 0; color: #888; font-size: 1.1rem; pointer-events: none; transition: all 0.3s ease; }
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label,
.input-group input:focus + label,
.input-group textarea:focus + label {
    top: -0.75rem; font-size: 0.9rem; color: #d35400;
}

.cta-circle {
    width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; font-weight: 400; cursor: pointer; transition: all 0.4s ease; align-self: flex-end;
}
.cta-circle:hover { background: rgba(255, 255, 255, 0.1); transform: scale(1.05); border-color: rgba(255, 255, 255, 0.2); }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; gap: 4rem; text-align: center;margin-top: 40px; display: flex; flex-direction: column;justify-content: center;}
    .left-panel, .right-panel { align-items: center; }
    .right-panel { text-align: center; }
    .input-group label { left: 50%; transform: translateX(-50%); }
    .input-group input:not(:placeholder-shown) + label,
    .input-group textarea:not(:placeholder-shown) + label,
    .input-group input:focus + label,
    .input-group textarea:focus + label {
        left: 0; transform: translateX(0);
    }
    .social-icons { position: static; flex-direction: row; margin-top: 3rem; }
    .cta-circle { align-self: center; }
}





/* --- WHATSAPP FLOATING BUTTON STYLES --- */
.whatsapp-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999; /* Increased z-index to ensure it's on top */
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float-btn svg {
    width: 35px;
    height: 35px;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    animation: none; /* Pause pulse on hover */
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Adjust position on mobile for better usability */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
}

/* --- DYNAMIC BACK TO TOP BUTTON STYLES --- */
#back-to-top-btn {
    position: fixed;
    bottom: 105px;
    right: 32px; /* Positioned on the left to avoid the WhatsApp icon */
    width: 50px;
    height: 50px;
   /* Semi-transparent glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    
    background-color: rgba(26, 26, 26, 0.8); 
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9998; /* Kept just below the WhatsApp icon's z-index */
    
    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

#back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top-btn svg {
    width: 24px;
    height: 24px;
}

#back-to-top-btn:hover {
    
    background-color: #4364F7; /* Your primary blue */
    border-color: #4364F7;
}

/* Adjust position on mobile */
@media (max-width: 768px) {
    #back-to-top-btn {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}












/* --- ORBITAL HUD SECTION STYLES --- */
.hud-feature-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
    overflow: hidden;
    /* Ensure your body has the dark background color */
    font-family: 'Poppins', sans-serif;
    color: #f0f0f0;
}

.hud-feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

/* --- Left Panel: HUD Display --- */
.hud-display-panel {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Creates a square container */
    transition: transform 0.3s ease-out;
}

.hud-center-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #4364F7;
    border-radius: 50%;
    box-shadow: 0 0 20px #4364F7;
}

.hud-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--orbit-size);
    height: var(--orbit-size);
    margin-left: calc(var(--orbit-size) / -2);
    margin-top: calc(var(--orbit-size) / -2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: spin var(--orbit-duration) linear infinite;
}

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

.hud-icon-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.hud-icon-wrapper svg {
    width: 30px;
    height: 30px;
    color: #a0a0a0;
    transition: color 0.4s ease;
}

.hud-icon-wrapper.is-active {
    background: rgba(67, 100, 247, 0.2);
    border-color: #4364F7;
}
.hud-icon-wrapper.is-active svg {
    color: #fff;
}

/* Container for floating titles */
.hud-title-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hud-icon-title {
    position: absolute;
    color: #fff;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.hud-icon-title.is-active {
    opacity: 1;
}

/* --- Right Panel: Text Content --- */
.hud-text-panel h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}
.hud-text-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #a0a0a0;
    max-width: 500px;
}
.hud-text-panel .highlight {
    color: #4364F7;
    font-weight: 600;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hud-feature-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hud-display-panel {
        padding-top: 80vw; /* Adjust for mobile */
        width: 80vw;
        margin: 0 auto;
    }
    .hud-text-panel p {
        margin: 0 auto;
    }
}
