@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Outfit:wght@300;400;500;600;700;800&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors - Updated for Gradient Design */
    --color-primary: #00d4d4;
    --primary-teal: #00d4d4;
    --color-secondary: #1a2a5e;
    --color-cta: #00E5E4;
    --color-background-start: #1a2a5e;
    --color-background-end: #00d4d4;
    --color-text: #FFFFFF;
    --text-light: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.85);

    /* Glassmorphism Tokens - Lighter for gradient background */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(16px);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);

    /* Teal Glass Variant */
    --teal-glass: rgba(0, 212, 212, 0.15);
    --teal-glass-border: rgba(255, 255, 255, 0.4);

    /* Transitions */
    --smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--smooth);
    --transition-med: 300ms var(--smooth);
}

/* Scroll Progress Indicator */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10001;
}

#scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

a,
button,
input[type="submit"],
.clickable {
    cursor: pointer;
}

body {
    background: linear-gradient(135deg, #1a2a5e 0%, #2563a8 35%, #00a8cc 70%, #00d4d4 100%);
    background-attachment: fixed;
    color: var(--color-text);
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

/* Glass Utility Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.teal-glass {
    background: var(--teal-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--teal-glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 201, 200, 0.1);
    border-radius: 24px;
}

/* Base Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    /* Content visible by default - GSAP will animate FROM this state */
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--smooth);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Elements */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-med);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 201, 200, 0.3);
    background: #fff;
    color: var(--color-background);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s var(--smooth);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-teal);
}

/* Navigation */
nav.glass-panel {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    /* Natural transparency - no filters needed */
    transition: transform 0.3s var(--smooth);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s var(--smooth);
}

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

/* Hero Section - Fixed positioning for scroll animation */
/* Hero Scroll Container */
.hero-scroll-container {
    height: 400vh;
    /* Adjust this to change animation duration */
    position: relative;
    background: #000;
}

.hero {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Canvas container */
.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero-frames-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Loading overlay */
.hero-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a5e 0%, #2563a8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.8s var(--smooth), visibility 0.8s var(--smooth);
}

.hero-loading-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner,
.hero-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

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

.loading-text {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-progress-container {
    width: 300px;
    max-width: 80vw;
    margin-top: 8px;
}

.loading-progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress-fill {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--color-primary);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    animation: bounce 2s ease-in-out infinite;
    transition: opacity 0.5s var(--smooth);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    width: 32px;
    height: 32px;
}

.scroll-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}


.container-hero {
    display: flex;
    width: 90%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 50;
    /* Ensure on top of canvas */
    transition: opacity 0.3s ease-out;
}

.hero-text-box h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    display: flex;
    flex-direction: column;
}

.hero-brand-script {
    font-family: 'Dancing Script', cursive;
    color: #ffffff;
    font-size: 3.8rem;
    /* Increased by 20% */
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.text-recovery-stack {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
}

.text-recovery,
.text-redefined {
    color: #00D9FF;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.hero-text-box p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.01em;
}

.dispatch-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-form-box {
    width: 100%;
}

.form-title {
    font-size: 2rem;
    color: #00D9FF;
    /* Updated to Cyan */
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #00D9FF;
    /* Updated to Cyan */
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.hero-form-box h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.hero-form-box p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Mobile-only hero form visibility override */
@media (max-width: 767px) {

    .dispatch-form-container,
    .hero-form-box {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .dispatch-form-container.hidden,
    .dispatch-form-container.fade-out,
    .hero-form-box.hidden,
    .hero-form-box.fade-out {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    color: #00D9FF;
    /* Updated to Cyan */
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(0, 217, 255, 0.5);
    /* Updated to Cyan */
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00D9FF;
    background: rgba(255, 255, 255, 0.15);
}

.btn-dispatch {
    width: 100%;
    padding: 1.1rem;
    background: #00D9FF;
    color: #08112d;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-dispatch:hover {
    background: #00f2ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.w-full {
    width: 100%;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.teal-line {
    width: 80px;
    height: 4px;
    background: var(--primary-teal);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    justify-content: center;
}

.service-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s var(--smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 201, 200, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-teal);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.learn-more {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: gap 0.3s var(--smooth);
}

.service-card:hover .learn-more {
    gap: 15px;
}

/* Secure Vehicle Storage Section */
.secure-storage-section {
    padding: 100px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.storage-intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.storage-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    justify-content: center;
}

.storage-feature-item {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s var(--smooth);
    position: relative;
    overflow: hidden;
}

.storage-feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 201, 200, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--smooth);
}

.storage-feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-teal);
}

.storage-feature-item:hover::before {
    opacity: 1;
}

.storage-feature-item .feature-icon {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.storage-feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.storage-feature-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .storage-features {
        grid-template-columns: 1fr;
    }
}

/* Authority Hub Section */
.hub {
    background: linear-gradient(to bottom, var(--deep-obsidian), #1a1a1a);
    padding: 100px 0;
}

.hub-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hub-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: stretch;
    /* CRITICAL: Ensure equal column heights */
}

.featured-article {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 100%;
    /* Stretch to fill the stretched grid cell */
    min-height: 500px;
    /* Ensure a minimum height for smaller content */
}

.featured-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
}

.tag {
    background: var(--primary-teal);
    color: var(--deep-obsidian);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Evenly distribute articles and form */
    height: 100%;
    /* Ensure it takes full height of the grid cell */
    gap: 2rem;
}

.mini-article {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.mini-img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 968px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .container-hero {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-text-box h1 {
        font-size: 2.5rem;
    }

    .hero-brand-script {
        font-size: 2rem;
    }

    .text-recovery-stack {
        line-height: 0.9;
    }

    .hero-text-box p {
        margin: 0 auto;
        font-size: 1rem;
    }

    .dispatch-form-container {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .logo img {
        height: 40px;
        /* Smaller logo to prevent overlap */
    }

    nav .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .hub-grid {
        grid-template-columns: 1fr;
    }

    .featured-article {
        height: 350px;
    }
}

/* Community Section */
.community {
    padding: 100px 0;
    overflow: visible;
}

.scroll-grid-gallery {
    --sg-gutter: 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: clip;
}

.scroll-grid-gallery .sg-scroll-space {
    min-height: 240vh;
}

.scroll-grid-gallery .sg-content {
    min-height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scroll-grid-gallery .sg-grid {
    --sg-offset: 0;
    --sg-gap: clamp(10px, 6vw, 60px);

    width: min(1600px, calc(100% - (2 * var(--sg-gutter))));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: var(--sg-gap);
    align-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.scroll-grid-gallery .sg-grid>.sg-layer {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    transform-origin: center;
}

.scroll-grid-gallery .sg-grid>.sg-layer:nth-of-type(1) div:nth-of-type(odd) {
    grid-column: 1;
}

.scroll-grid-gallery .sg-grid>.sg-layer:nth-of-type(1) div:nth-of-type(even) {
    grid-column: -2;
}

.scroll-grid-gallery .sg-grid>.sg-layer:nth-of-type(2) div:nth-of-type(odd) {
    grid-column: calc(2 + var(--sg-offset));
}

.scroll-grid-gallery .sg-grid>.sg-layer:nth-of-type(2) div:nth-of-type(even) {
    grid-column: calc(-3 - var(--sg-offset));
}

.scroll-grid-gallery .sg-grid>.sg-layer:nth-of-type(3) div:first-of-type {
    grid-column: calc(3 + var(--sg-offset));
    grid-row: 1;
}

.scroll-grid-gallery .sg-grid>.sg-layer:nth-of-type(3) div:last-of-type {
    grid-column: calc(3 + var(--sg-offset));
    grid-row: -1;
}

.scroll-grid-gallery .sg-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.scroll-grid-gallery .sg-grid .sg-scaler {
    position: relative;
    grid-area: 2 / calc(3 + var(--sg-offset));
    width: 100%;
    height: 100%;
    z-index: 2;
}

.scroll-grid-gallery .sg-grid .sg-scaler img {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .scroll-grid-gallery {
        --sg-gutter: 1rem;
    }

    .scroll-grid-gallery .sg-grid {
        grid-template-columns: repeat(3, 1fr);
        --sg-offset: -1;
        --sg-gap: clamp(10px, 4vw, 20px);
    }

    .scroll-grid-gallery .sg-grid>.sg-layer:nth-of-type(1) {
        display: none;
    }
}

/* Footer Styles */
footer {
    background: #050505;
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 60px;
}

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

.footer-brand img {
    height: 85px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-top: auto;
    /* Pushes text to bottom to align with neighbors */
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s var(--smooth);
}

.footer-links ul li a:hover {
    color: var(--primary-teal);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s var(--smooth);
}

.social-icons a:hover {
    color: var(--primary-teal);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Trust Bar Styles */
/* Trust Bar Styles */
.trust-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.trust-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.trust-title {
    color: #1a2a5e;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 1;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.trust-grid img {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    /* Removed filters to show original colors */
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    mix-blend-mode: multiply;
    /* Better for white borders on white bg */
}

.trust-grid img:hover {
    transform: scale(1.15);
    cursor: pointer;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 212, 212, 0.05), transparent);
    /* Subtle gradient */
}

.stats-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    /* Slightly clearer glass */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 grid on mobile */
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s var(--smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-teal);
    /* Placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}

.client-details h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text);
}

.client-details span {
    font-size: 0.85rem;
    color: var(--color-primary);
}

/* Dropdown Option Fix */
select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* ============================================
   TRUSTED PROVIDERS SECTION
   ============================================ */
.trusted-providers-section {
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 10px 0;
}

.trust-marquee-shell {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 150px;
    max-height: 165px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.trust-bar-heading {
    margin: 0;
    text-align: center;
    font-size: clamp(0.72rem, 1vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #64748b;
    text-transform: uppercase;
}

.trust-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;

    -webkit-mask-image: linear-gradient(to right,
            transparent 0,
            black 10%,
            black 90%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0,
            black 10%,
            black 90%,
            transparent 100%);
}

.trust-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: trust-marquee-scroll 40s linear infinite;
}

.trust-marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 2.6vw, 2.4rem);
    padding-right: clamp(1.4rem, 2.6vw, 2.4rem);
}

.trust-marquee-group img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: clamp(1.4rem, 2.8vw, 2.2rem);
    max-width: min(150px, 24vw);
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.trust-marquee-group img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@media (hover: hover) {
    .trust-marquee:hover .trust-marquee-track {
        animation-play-state: paused;
    }
}

@media (max-width: 768px) {
    .trusted-providers-section {
        padding: 8px 0;
    }

    .trust-marquee-shell {
        height: 140px;
        gap: 8px;
    }

    .trust-bar-heading {
        font-size: 0.72rem;
    }

    .trust-marquee {
        -webkit-mask-image: linear-gradient(to right,
                transparent 0,
                black 7%,
                black 93%,
                transparent 100%);
        mask-image: linear-gradient(to right,
                transparent 0,
                black 7%,
                black 93%,
                transparent 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-marquee {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .trust-marquee-track {
        animation: none;
        transform: none;
    }

    .trust-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

@keyframes trust-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ============================================
   ABOUT US - HOMEPAGE SUMMARY SECTION
   ============================================ */
.about-us-summary-section {
    padding: 100px 20px;
}

.about-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.about-feature-card {
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    border-radius: 16px;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 102, 204, 0.15);
}

.feature-card-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.about-feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.about-feature-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.about-summary-image-frame {
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.read-more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0066CC;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.read-more-button:hover {
    background: #004EA8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
}

@media (max-width: 900px) {
    .about-summary-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-summary-image-frame {
        min-height: 280px;
    }
}

/* ============================================
   ABOUT US - DEDICATED PAGE (about-us.html)
   ============================================ */
.about-us-page {
    min-height: 100vh;
    padding-top: 80px;
}

.about-hero-section {
    padding: 80px 20px 40px;
    text-align: center;
}

.about-hero-section .page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
}

.about-hero-section .page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-content-section {
    padding: 40px 20px 80px;
}

.about-main-grid {
    margin-bottom: 60px;
}

.about-full-content h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 36px 0 12px;
}

.about-full-content h2:first-child {
    margin-top: 0;
}

.about-full-content h3 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 24px 0 10px;
}

.about-full-content p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-full-content ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

.about-full-content ul li {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Gallery */
.about-images-gallery {
    margin-top: 60px;
    margin-bottom: 60px;
}

.gallery-heading {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 36px;
}

.images-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-image-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 102, 204, 0.25);
}

.image-label {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Get in Touch */
.get-in-touch-section {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 40px 48px;
    text-align: center;
    margin-top: 20px;
}

.get-in-touch-section h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.get-in-touch-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .images-grid-3col {
        grid-template-columns: 1fr;
    }

    .get-in-touch-section {
        padding: 30px 24px;
    }
}

@media (max-width: 600px) {
    .images-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* Back to Top Button */
.back-to-top-button {
    position: fixed;
    right: 30px;
    top: 20%;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top-button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.back-to-top-button svg {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .back-to-top-button {
        right: 20px;
        top: auto;
        bottom: 100px;
        width: 44px;
        height: 44px;
    }

    .back-to-top-button svg {
        width: 20px;
        height: 20px;
    }
}

/* =========================================
   ABOUT US SUMMARY SECTION (HOMEPAGE)
   ========================================= */

/* Section Container */
.about-us-summary-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 100px 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 110px;
    /* Increased to push grid/image down as requested */
}

.section-heading {
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    /* CHANGED TO WHITE */
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}

.section-subheading {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    /* CHANGED TO WHITE */
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Grid - ENSURE EQUAL HEIGHT COLUMNS */
/* Main Grid - ENSURE EQUAL HEIGHT COLUMNS */
.about-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* Center horizontally / vertically */
    margin-bottom: 60px;
}

.about-summary-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Intro Paragraph */
.about-intro {
    margin: 40px auto 0;
    /* Centered with top spacing from heading */
    max-width: 850px;
    padding: 20px;
    background: rgba(0, 212, 212, 0.05);
    /* Subtle tint to ground the text */
    border-radius: 12px;
    text-align: center;
    transform: translateY(-10%);
    /* Shifted up by 10% */
}

.about-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: #FFFFFF;
    /* CHANGED TO WHITE */
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Cards Container - VERTICAL DISTRIBUTION */
.about-features-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* DISTRIBUTES CARDS EVENLY */
    gap: 20px;
    flex: 1;
    /* Allow it to consume remaining space between intro and button */
}

/* Individual Feature Cards */
.about-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    text-align: center;
    /* CENTERED */
}

.about-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Feature Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    /* CENTERED */
    display: block;
}

.feature-icon svg,
.feature-icon i {
    /* Using font-awesome 'i' since that's what's in the HTML */
    font-size: 48px;
    /* Match icon size as it was using width/height before */
    color: #00D9FF;
    /* CHANGED TO TEAL */
    filter: drop-shadow(0 2px 8px rgba(0, 217, 255, 0.3));
}

/* Feature Titles */
.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    /* CHANGED TO WHITE */
    margin-bottom: 8px;
    text-align: center;
    /* CENTERED */
}

/* Feature Descriptions */
.feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    /* CHANGED TO WHITE */
    margin: 0;
    text-align: center;
    /* CENTERED */
}

/* Read More Button - Keep existing orange */
.read-more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FF6B00;
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

/* Team Image Container */
.team-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    height: 80%;
    /* Aligning centrally with the feature cards */
    align-self: center;
    transform: translateY(-8%);
    /* Fine-tuned for final alignment */
}

.team-image-container img {
    width: 100%;
    height: 100%;
    /* FILL CONTAINER */
    display: block;
    object-fit: cover;
    /* MAINTAIN ASPECT RATIO */
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .about-summary-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-image-container {
        order: -1;
        /* Image first on mobile */
        min-height: 300px;
        /* Give it a minimum height if it's auto sizing weirdly on mobile */
    }

    .about-features-grid {
        height: auto;
        /* Reset height on mobile */
    }
}

/* Active Navigation State */
nav a.active {
    color: #00D9FF;
    /* Bright teal accent */
    font-weight: 600;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00D9FF;
}