/*
 * VSD Technologies - Exact Replication Stylesheet
 * Based on vsdtechno.com reference design
 */

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ===================================
       GLOBAL COLOR SYSTEM (AQUA/TEAL THEME)
       =================================== */

    /* Primitive Palette */
    --palette-primary: #71C9CE;
    /* Strong Teal - CTAs, buttons */
    --palette-secondary: #A6E3E9;
    /* Soft Teal - hover states, accents */
    --palette-base: #CBF1F5;
    /* Background Aqua - main sections */
    --palette-alt: #E3FDFD;
    /* Light Aqua - alternate sections */
    --palette-obsidian: #1a3a3a;
    /* Dark Teal - text, footer */
    --palette-white: #ffffff;
    --palette-muted: #4a6a6a;
    /* Muted Teal - secondary text */

    /* ===================================
       SEMANTIC COLOR MAPPINGS
       =================================== */

    /* Background System */
    --background-base: var(--palette-base);
    --section-light: var(--palette-white);
    --section-medium: var(--palette-alt);
    --section-accent: var(--palette-secondary);

    /* Section Alternation */
    --bg-base: var(--palette-base);
    --bg-alt: var(--palette-alt);

    /* Legacy Background Aliases */
    --bg-page: var(--background-base);
    --bg-section-alt: var(--section-medium);
    --bg-white: var(--section-light);
    --bg-light: var(--section-medium);
    --light-bg: var(--bg-alt);

    /* Glassmorphism */
    /* Glassmorphism Restore */
    --glass-bg-dark: rgba(20, 20, 30, 0.55);
    --glass-bg-light: rgba(255, 255, 255, 0.70);
    --glass-border-dark: 1px solid rgba(255, 255, 255, 0.15);
    --glass-border-light: 1px solid rgba(255, 255, 255, 0.60);
    --glass-blur: blur(18px);
    --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);

    /* Legacy Glass Aliases (Default to Light) */
    --bg-glass-card: var(--glass-bg-light);
    --glass-border: var(--glass-border-light);
    --shadow-card: var(--glass-shadow);

    /* Text Colors */
    --text-primary: var(--palette-obsidian);
    --text-muted: var(--palette-muted);
    --text-secondary: var(--palette-muted);
    --text-dark: var(--palette-obsidian);
    --text-on-action: var(--palette-white);
    --text-on-dark: var(--palette-white);

    /* Button System */
    --button-primary: var(--palette-primary);
    --button-hover: var(--palette-secondary);
    --button-gradient: linear-gradient(135deg, var(--palette-secondary) 0%, var(--palette-primary) 100%);
    --button-gradient-hover: linear-gradient(135deg, var(--palette-alt) 0%, var(--palette-secondary) 100%);

    /* Semantic Colors */
    --primary: var(--palette-primary);
    --secondary: var(--palette-secondary);
    --accent: var(--palette-secondary);
    --highlight: var(--palette-primary);

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(113, 201, 206, 0.25);
    --shadow-medium: 0 8px 32px rgba(26, 58, 58, 0.15);
    --shadow-hover: 0 10px 30px rgba(113, 201, 206, 0.35);
    --shadow-card: 0 8px 32px 0 rgba(113, 201, 206, 0.15);

    /* Legacy/Layout Compatibility */
    --footer-bg: var(--palette-obsidian);
    --dark-bg: var(--palette-obsidian);

    /* Typography & Spacing */
    --font-primary: "Questrial", sans-serif;
    --font-secondary: "Montserrat", sans-serif;
    --container-width: 1200px;
    --section-padding: 80px 0;
    --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--background-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}


/* ===================================
   STATISTICS COUNTERS SECTION
   =================================== */
.statistics-section {
    color: var(--text-primary);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-wrapper {
    position: relative;
    background: var(--text-dark);
    overflow: hidden;
}

/* Video and overlay now live in hero-wrapper, spanning hero + cards */
.hero-wrapper>.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    pointer-events: none;
}

.hero-wrapper>.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(113, 201, 206, 0.35);
    /* Teal overlay */
    z-index: 2;
}


/* Legacy stat-counter - kept for compatibility */
.stat-counter {
    text-align: center;
}

/* ===================================
   LAYOUT & CONTAINERS
   =================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

section {
    padding: var(--section-padding);
    height: auto;
    min-height: 0;
}

/* Section Background Alternation */
main>section:nth-of-type(odd),
body>section:not(.hero-wrapper):nth-of-type(odd) {
    background: var(--bg-base);
}

main>section:nth-of-type(even),
body>section:not(.hero-wrapper):nth-of-type(even) {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--accent);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(227, 253, 253, 0.95);
    /* Light Aqua with slight transparency */
    backdrop-filter: blur(10px);
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    background: var(--palette-alt);
    /* Light Aqua solid */
    box-shadow: 0 2px 15px rgba(26, 58, 58, 0.1);
}

.navbar {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.company-name {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.header.scrolled .company-name {
    color: var(--text-dark);
}

@media screen and (max-width: 768px) {
    .company-name {
        display: block;
        font-size: 14px;
        line-height: 1.2;
        max-width: 180px;
        white-space: normal;
    }

    .logo img {
        height: 40px;
        width: auto;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    padding: 10px 18px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.nav-menu>li>a:hover {
    color: var(--highlight);
}

.nav-menu>li>a.active {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
    padding: 15px 0;
    z-index: 1000;
}

.dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.dropdown-menu li {
    border-bottom: 1px solid var(--secondary);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 12px 25px;
    font-size: 14px;
    color: var(--text-secondary);
    display: block;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: rgba(113, 201, 206, 0.15);
    color: var(--highlight);
    padding-left: 30px;
}

/* Dropdown arrow indicator */
.nav-menu>.dropdown>a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: var(--transition-base);
}

.nav-menu>.dropdown:hover>a::after {
    transform: rotate(180deg);
}

/* Nested dropdown styles */
.dropdown-menu .dropdown {
    position: relative;
}

.dropdown-menu .dropdown>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.dropdown-menu .dropdown>a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: auto;
    border-left: 5px solid currentColor;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: var(--transition-base);
    border-top-width: 0;
    border-bottom-width: 0;
}

/* Nested dropdown menu */
.dropdown-menu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 10px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    z-index: 1001;
}

.dropdown-menu .dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================================
   HERO SECTION WITH GLASSMORPHISM
   =================================== */
/* ===================================
   HERO SECTION WITH GLASSMORPHISM
   =================================== */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 75px;
    padding-bottom: 20px;
    /* No background - video is now in hero-wrapper */
    background: transparent;
    /* Content sits above video */
    z-index: 3;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-glass-card {
    /* HERO CENTER CARD: Teal-tinted Dark Glass */
    background: rgba(26, 58, 58, 0.75);
    /* Dark teal with opacity for readability */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(113, 201, 206, 0.25);
    /* Teal-tinted border */
    border-radius: 14px;
    padding: 24px 32px;
    text-align: center;
    max-width: 480px;
    /* Reduced ~17% for compact first-fold */
    width: 100%;
    box-shadow: 0 15px 40px rgba(26, 58, 58, 0.5);
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    color: var(--palette-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #FFFFFF;
    /* High Contrast White */
    font-family: var(--font-secondary);
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Lift from background */
}

/* Ensure subtext in hero card is readable */
.hero-glass-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.btn-primary {
    background: var(--palette-primary);
    color: var(--palette-obsidian);
    /* Dark text on teal for contrast */
    border-color: var(--palette-primary);
    box-shadow: 0 4px 15px rgba(113, 201, 206, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--palette-secondary);
    color: var(--palette-obsidian);
    /* Dark text on light hover for contrast */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(113, 201, 206, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-hero {
    background: var(--palette-primary);
    color: var(--palette-obsidian);
    /* Dark text on Strong Teal for contrast */
    border-color: transparent;
    padding: 11px 28px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(113, 201, 206, 0.5), 0 3px 6px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    background: var(--palette-secondary);
    color: var(--palette-obsidian);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(166, 227, 233, 0.6), 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* ===================================
   BANNER CARDS SECTION - SOLUTION ICON CARDS
   =================================== */
.banner-cards-section {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-bottom: 30px;
}

.banner-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.banner-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.banner-card {
    /* SOLUTION CARDS: Teal-tinted Glass */
    background: rgba(26, 58, 58, 0.70);
    /* Dark teal for contrast */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(113, 201, 206, 0.2);
    /* Teal-tinted border */
    box-shadow: 0 10px 30px rgba(26, 58, 58, 0.35);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

@media (max-width: 768px) {
    .banner-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .banner-card {
        padding: 14px 12px;
    }

    .hero-glass-card {
        padding: 20px 18px;
        max-width: 94%;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-label {
        font-size: 10px;
        margin-bottom: 8px;
    }
}

.banner-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 70, 70, 0.85);
    /* Teal-tinted glass lift */
    border-color: rgba(113, 201, 206, 0.4);
    box-shadow: 0 15px 40px rgba(26, 58, 58, 0.5);
}

.card-icon {
    /* ICON BACKGROUND: Soft Radial, Teal Tint */
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(113, 201, 206, 0.30) 0%, rgba(113, 201, 206, 0.10) 80%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(113, 201, 206, 0.2);
}

.banner-card:hover .card-icon {
    transform: scale(1.1);
    background: radial-gradient(circle, rgba(113, 201, 206, 0.45) 0%, rgba(113, 201, 206, 0.20) 80%);
    border-color: rgba(113, 201, 206, 0.5);
}

.card-icon svg {
    width: 18px;
    height: 18px;
    color: #FFFFFF;
    /* Pure White Icon for Max Visibility */
    transition: color 0.3s ease;
}

.banner-card:hover .card-icon svg {
    color: #FFFFFF;
    filter: drop-shadow(0 0 5px rgba(113, 201, 206, 0.8));
}

.banner-card h3 {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    /* Pure White Title */
    margin-bottom: 4px;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Lift off background */
}

.banner-card p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    /* Improved contrast */
    line-height: 1.4;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
}

.card-arrow {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    /* Slightly more visible arrow */
    transition: all 0.3s ease;
}

.banner-card:hover .card-arrow {
    color: #FFFFFF;
    transform: translateX(5px);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.about-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-family: var(--font-secondary);
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===================================
   STATISTICS SECTION
   =================================== */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(180deg, rgba(26, 58, 58, 0.95) 0%, rgba(20, 45, 45, 0.98) 100%);
    /* Darker teal gradient for depth */
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(113, 201, 206, 0.3), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    /* Subtle glass on dark */
    border: 1px solid rgba(113, 201, 206, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 32px 24px;
    border-radius: 16px;
    transition: var(--transition-base);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(113, 201, 206, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.stat-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(113, 201, 206, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(113, 201, 206, 0.4);
    transition: var(--transition-base);
}

.stat-item:hover .stat-icon {
    background: rgba(113, 201, 206, 0.25);
    border-color: rgba(113, 201, 206, 0.6);
    transform: scale(1.05);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    color: var(--palette-secondary);
    stroke: var(--palette-secondary);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(166, 227, 233, 0.9);
    /* Soft Teal for labels */
}


/* ===================================
   WHAT WE DO SECTION
   =================================== */
.what-we-do-section {
    padding: 80px 0;
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.what-card {
    background: rgba(255, 255, 255, 0.03);
    /* Lighter glass for modern feel */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(166, 227, 233, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.what-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.what-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    padding: 16px;
    /* Icon occupies ~60% of container */
    background: rgba(166, 227, 233, 0.08);
    /* Subtle Aqua Tint */
    border-radius: 20px;
    /* Modern rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(166, 227, 233, 0.15);
    transition: all 0.3s ease;
}

.what-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.what-card:hover .what-icon {
    background: rgba(166, 227, 233, 0.15);
    border-color: var(--primary);
    transform: scale(1.05);
}

.what-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.what-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 35px;
    background: var(--section-light);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(113, 201, 206, 0.35);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--palette-obsidian);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(113, 201, 206, 0.45);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--glass-bg-light);
    padding: 35px 30px;
    border-radius: 12px;
    transition: var(--transition-base);
    border: var(--glass-border-light);
    box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
    background: var(--section-light);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--primary);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-on-action);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===================================
   WHY VSD SECTION
   =================================== */
.why-section {
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-on-action);
    flex-shrink: 0;
}

.why-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.why-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   CLIENTS SECTION
   =================================== */
.clients-section {
    padding: 80px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--glass-bg-light);
    border-radius: 10px;
    transition: var(--transition-base);
    border: var(--glass-border-light);
    box-shadow: var(--shadow-card);
}

.client-logo img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-base);
}

.client-logo:hover {
    background: var(--section-light);
    box-shadow: var(--shadow-hover);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Clients Section Responsive */
@media screen and (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px 20px;
    }

    .client-logo img {
        max-width: 120px;
        max-height: 50px;
    }
}

@media screen and (max-width: 768px) {
    .clients-section {
        padding: 60px 0;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }

    .client-logo {
        padding: 15px;
    }

    .client-logo img {
        max-width: 100px;
        max-height: 45px;
    }
}

@media screen and (max-width: 480px) {
    .clients-section {
        padding: 50px 0;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
    }

    .client-logo {
        padding: 12px;
    }

    .client-logo img {
        max-width: 80px;
        max-height: 40px;
    }
}

/* ===================================
   CASE STUDIES SECTION
   =================================== */
.case-studies-section {}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-study-card {
    background: var(--glass-bg-light);
    border-radius: 12px;
    overflow: hidden;
    border: var(--glass-border-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.case-study-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 30px;
}

.case-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: var(--font-secondary);
}

.case-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-link:hover {
    color: var(--highlight);
    text-decoration: underline;
}

/* ===================================
   BLOG SECTION
   =================================== */
.blog-section {}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--glass-bg-light);
    border-radius: 12px;
    overflow: hidden;
    border: var(--glass-border-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-gray);
}

.blog-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: var(--font-secondary);
}

.blog-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   CTA SECTION
   =================================== */
/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    /* Vibrant Aqua Gradient */
    background: linear-gradient(135deg, rgba(227, 253, 253, 1) 0%, rgba(166, 227, 233, 0.4) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Optional Overlay Texture */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(113, 201, 206, 0.15), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(113, 201, 206, 0.1), transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    font-family: var(--font-secondary);
    color: var(--palette-obsidian);
    /* Dark Teal Text */
    letter-spacing: -1px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: var(--palette-muted);
    /* Muted Teal */
    line-height: 1.6;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Enhanced CTA Button */
.cta-buttons .btn-primary {
    background: var(--palette-primary);
    /* #71C9CE */
    color: #ffffff;
    font-size: 16px;
    padding: 16px 42px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(113, 201, 206, 0.4);
    border: none;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-buttons .btn-primary:hover {
    background: #5dbbbd;
    /* Slightly darker teal */
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(113, 201, 206, 0.5);
    color: #ffffff;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 55px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-partner {
    margin-top: 20px;
}

.footer-partner img {
    height: 45px;
    width: auto;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact strong {
    color: var(--bg-white);
    display: block;
    margin-bottom: 5px;
}

.footer-contact a {
    color: var(--accent);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--accent);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-on-action);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-soft);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--highlight);
    color: var(--text-on-action);
    transform: translateY(-5px);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}


/* Section background consistency */

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet (1024px and below) */
@media screen and (max-width: 1024px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 25px;
    }

    .hero-glass-card {
        padding: 24px 32px;
        max-width: 580px;
    }

    .hero-title {
        font-size: 28px;
    }

    .banner-cards-section {
        margin-top: 0;
        padding-bottom: 35px;
    }

    .banner-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .banner-card {
        height: auto;
        min-height: 130px;
        padding: 14px 16px;
    }

    .banner-card h3 {
        font-size: 12px;
    }

    .banner-card p {
        font-size: 11px;
    }

    /* Section padding for tablet */
    .about-section,
    .stats-section,
    .what-we-do-section,
    .testimonials-section,
    .why-section,
    .clients-section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-icon {
        width: 64px;
        height: 64px;
    }

    .stat-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Tablet & Mobile (768px and below) */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu>li>a {
        padding: 15px 10px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        border-radius: 0;
        border: none;
        backdrop-filter: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 2000px;
        opacity: 1;
        visibility: visible;
        padding: 10px 0;
        overflow: visible;
    }

    /* Mobile nested dropdowns */
    .dropdown-menu .dropdown-menu {
        position: static;
        margin-left: 15px;
        border-left: 2px solid var(--primary);
        padding-left: 10px;
        margin-top: 5px;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-menu .dropdown.active .dropdown-menu {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 10px 0 10px 10px;
    }

    /* Mobile dropdown arrow indicators */
    .dropdown>a::after,
    .dropdown-menu .dropdown>a::after {
        border-top: 5px solid currentColor;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        border-bottom: 0;
        transition: transform 0.3s ease;
    }

    .dropdown.active>a::after,
    .dropdown-menu .dropdown.active>a::after {
        transform: rotate(180deg);
    }

    /* Section padding for mobile */
    .about-section,
    .stats-section,
    .what-we-do-section,
    .testimonials-section,
    .why-section,
    .clients-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-content .btn {
        display: inline-block;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .case-studies-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 24px 18px;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .stat-icon svg {
        width: 24px;
        height: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .hero {
        padding-top: 70px;
        padding-bottom: 15px;
    }

    .hero-glass-card {
        padding: 16px 18px;
    }

    .hero-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .hero-label {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .btn-hero {
        font-size: 12px;
        padding: 8px 20px;
        height: 36px;
    }

    .banner-cards-section {
        padding: 0 10px 25px;
    }

    .banner-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 340px;
        margin: 0 auto;
    }

    .banner-card {
        padding: 12px 10px;
    }

    .banner-card h3 {
        font-size: 10px;
    }

    .banner-card p {
        font-size: 9px;
    }

    .card-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 6px;
    }

    /* Section padding for small mobile */
    .about-section,
    .stats-section,
    .what-we-do-section,
    .testimonials-section,
    .why-section,
    .clients-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 20px;
    }

    .stat-item {
        padding: 20px 14px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* ===================================
   FOOTER
   =================================== */
/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--palette-obsidian);
    /* Dark Teal */
    color: #ffffff;
    padding: 80px 0 0;
    font-family: var(--font-primary);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Identity Column */
.footer-identity {
    padding-right: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(113, 201, 206, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(113, 201, 206, 0.5);
}

.footer-company-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-secondary);
    letter-spacing: -0.5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 380px;
}

.footer-social-wrapper {
    display: flex;
    gap: 12px;
}

.social-icon-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-link:hover {
    background: var(--palette-primary);
    /* Strong Teal */
    color: var(--palette-obsidian);
    transform: translateY(-3px);
    border-color: transparent;
}

/* Navigation Columns */
.footer-heading {
    color: var(--palette-secondary);
    /* Soft Teal */
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-link-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
    text-shadow: 0 0 10px rgba(113, 201, 206, 0.3);
}

/* Contact Column */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: var(--palette-primary);
    margin-top: 3px;
    flex-shrink: 0;
    opacity: 0.9;
}

.contact-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.contact-link {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
}

.contact-link:hover {
    border-bottom-color: var(--palette-primary);
    color: var(--palette-secondary);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    margin-top: 20px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--palette-secondary);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-identity {
        grid-column: span 2;
        padding-right: 0;
        max-width: 600px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-identity {
        grid-column: span 1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal-links {
        justify-content: center;
    }
}



/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-on-action);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-soft);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--highlight);
    color: var(--text-on-action);
    transform: translateY(-5px);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet (1024px and below) */
@media screen and (max-width: 1024px) {
    .banner-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }


}

/* Tablet & Mobile (768px and below) */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu>li>a {
        padding: 15px 10px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        border-radius: 0;
        border: none;
        backdrop-filter: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 2000px;
        opacity: 1;
        visibility: visible;
        padding: 10px 0;
    }

    /* Mobile nested dropdowns */
    .dropdown-menu .dropdown-menu {
        position: static;
        margin-left: 15px;
        border-left: 2px solid var(--primary);
        padding-left: 10px;
        margin-top: 5px;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-menu .dropdown.active .dropdown-menu {
        max-height: 2000px;
        opacity: 1;
        visibility: visible;
        padding: 10px 0 10px 10px;
    }

    /* Mobile dropdown arrow indicators */
    .dropdown>a::after,
    .dropdown-menu .dropdown>a::after {
        border-top: 5px solid currentColor;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        border-bottom: 0;
        transition: transform 0.3s ease;
    }

    .dropdown.active>a::after,
    .dropdown-menu .dropdown.active>a::after {
        transform: rotate(180deg);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }


}

/* Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .hero {
        padding-top: 70px;
        padding-bottom: 15px;
    }

    .hero-glass-card {
        padding: 16px 18px;
    }

    .hero-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .hero-label {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .btn-hero {
        font-size: 12px;
        padding: 8px 20px;
        height: 36px;
    }

    .banner-cards-section {
        padding: 0 10px 25px;
    }

    .banner-cards-grid {
        gap: 8px;
    }

    .banner-card {
        padding: 12px 10px;
    }

    .banner-card h3 {
        font-size: 10px;
    }

    .banner-card p {
        font-size: 9px;
    }

    .card-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 6px;
    }

    /* Section padding for small mobile */
    .about-section,
    .stats-section,
    .what-we-do-section,
    .testimonials-section,
    .why-section,
    .clients-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* ===================================
   ACCESSIBILITY FIXES (WCAG AA CONTRAST)
   =================================== */

/* 
   ISSUE: White text on #71C9CE (Teal) has 1.6:1 contrast (Fails AA).
   FIX: Use dark text (#1f2933) on teal backgrounds.
   FIX: Use dark background (#1f2933) for white text contexts.
*/

:root {
    --text-on-teal: #1f2933;
    /* Dark Navy for Teal backgrounds */
    --teal-accessible: #3BAFB5;
    /* Darker teal for white text if needed */
}

/* 1. Buttons & CTAs - Switch to Dark Text */
.btn-primary,
.btn-hero {
    color: var(--text-on-teal) !important;
    font-weight: 700 !important;
}

.btn-primary:hover,
.btn-hero:hover {
    color: var(--text-on-teal) !important;
}

/* 2. Hero Label - Darken for readability on video/overlay */
.hero-label {
    color: #A6E3E9 !important;
    /* Soft Teal (Better than dark on dark glass) */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    /* Strong shadow for contrast */
}

/* 3. Stat Icons - Ensure sufficient contrast */
.stat-icon svg {
    color: #A6E3E9 !important;
    /* Light Teal on Dark Background */
    stroke: #A6E3E9 !important;
}

/* 4. Banner Cards - Strengthen Text */
.banner-card h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
    /* Enhance against teal glass */
}

/* 5. Footer Links */
.footer a:hover {
    color: #71C9CE !important;
    /* Keep Teal hover on dark footer */
}

/* ===================================
   TYPOGRAPHY REFINEMENTS (READABILITY)
   =================================== */

/* 1. Line Height & Body Text Optimization */
body {
    line-height: 1.6 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title {
    line-height: 1.25 !important;
}

/* 2. Glass/Gradient Text Legibility (Increase Weight) */
.hero-glass-card p,
.banner-card p,
.what-card p,
.testimonial-text,
.stat-item,
.cta-content p {
    font-weight: 500 !important;
    /* Improve legibility on semi-transparent backgrounds */
}

/* 3. Text Block Constraints (Desktop Max-Width) */
@media screen and (min-width: 1025px) {

    .section-subtitle,
    .about-text,
    .cta-content p,
    .hero-glass-card p {
        max-width: 660px !important;
        /* Constrain for optimal reading length */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-text {
        margin-left: 0 !important;
        /* Align left in grid context */
        margin-right: 0 !important;
    }

    .hero-glass-card p {
        max-width: 580px !important;
        /* Slightly tighter for hero card */
    }
}

/* 4. Mobile Typography Optimization */
@media screen and (max-width: 768px) {

    /* Prevent forced breaks causing jagged edges */
    .section-title,
    .hero-title,
    h2,
    h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Ensure content doesn't overflow horizontally */
    p {
        max-width: 100% !important;
    }

    /* Relax spacing for mobile readability */
    p {
        line-height: 1.55 !important;
    }
}

/* ===================================
   MODERN CARD STYLING (DEPTH & DETAILS)
   =================================== */

/* 1. Solution/Icon Cards (Banner Cards) */
.banner-card {
    padding: 24px 22px !important;
    /* Increased from 16px 14px (+8-12px) */
    background: rgba(26, 58, 58, 0.75) !important;
    /* Slightly darker glass for contrast */
    border-radius: 12px !important;
    /* Consistent modern radius */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    /* Subtle base shadow */
    border: 1px solid rgba(113, 201, 206, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.banner-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    background: rgba(26, 58, 58, 0.85) !important;
    border-color: rgba(113, 201, 206, 0.4) !important;
}

/* 2. Statistics Cards */
.stat-item {
    padding: 40px 32px !important;
    /* Increased from 32px 24px */
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    /* Very subtle glass */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.stat-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(113, 201, 206, 0.3) !important;
}

/* ===================================
   STATISTICS SECTION ENHANCEMENTS
   =================================== */

/* 1. Section Visuals (Darker Depth) */
.stats-section {
    background: linear-gradient(180deg, #112b2b 0%, #0b1a1a 100%) !important;
    /* Deep Dark Teal Gradient */
    position: relative !important;
    border-top: 1px solid rgba(113, 201, 206, 0.1) !important;
    /* Subtle separator */
    border-bottom: 1px solid rgba(113, 201, 206, 0.05) !important;
}

/* 2. Stats Card Refinements */
.stat-item {
    background: rgba(255, 255, 255, 0.03) !important;
    /* Extremely subtle glass */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.4s ease, border-color 0.4s ease !important;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: #71C9CE !important;
    /* Teal Glow on Hover */
    transform: translateY(-8px) !important;
}

/* 3. Number Hierarchy & Contrast */
.stat-number {
    font-size: 56px !important;
    /* Increased from 48px for impact */
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(113, 201, 206, 0.3) !important;
    /* Soft Teal Glow */
    margin-bottom: 12px !important;
    line-height: 1 !important;
}

/* 4. Label Clarity */
.stat-label {
    font-size: 14px !important;
    letter-spacing: 2px !important;
    color: #A6E3E9 !important;
    /* Soft Teal */
    text-transform: uppercase !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
}

/* 5. Icon Balance */
.stat-icon {
    margin-bottom: 24px !important;
    background: rgba(113, 201, 206, 0.1) !important;
    border: 1px solid rgba(113, 201, 206, 0.2) !important;
    width: 64px !important;
    height: 64px !important;
}

/* ===================================
   MOBILE RESPONSIVENESS (OVERFLOW & SAFEGUARDS)
   =================================== */

/* Tablet/Mobile Wrapper Fixes */
@media screen and (max-width: 1024px) {

    .hero-wrapper,
    body,
    html {
        max-width: 100% !important;
        overflow-x: hidden !important;
        /* Prevent horizontal scroll */
    }
}

/* Generic Mobile Fixes (max-width: 768px) */
@media screen and (max-width: 768px) {

    /* 1. Prevent Heading Overflow */
    h1,
    h2,
    h3,
    h4,
    .hero-title,
    .section-title {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    /* 2. Stacked Card Spacing */
    .banner-card,
    .stat-item,
    .what-card {
        margin-bottom: 16px !important;
        /* Proper vertical rhythm in stacked layout */
    }

    .banner-cards-grid,
    .stats-grid,
    .what-we-do-grid {
        gap: 16px !important;
    }

    /* 3. Button Safeguards */
    .btn,
    .btn-hero,
    .btn-primary {
        max-width: 100% !important;
        white-space: normal !important;
        /* Allow wrapping if text is long */
        padding-left: 20px !important;
        padding-right: 20px !important;
        height: auto !important;
        /* Allow height to grow */
        min-height: 48px !important;
        /* Maintain touch target */
    }
}

/* Small Mobile / Fold Devices (max-width: 380px) */
@media screen and (max-width: 380px) {

    /* 1. Extreme Small Screen Padding */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* 2. Hero Adjustments */
    .hero-glass-card {
        padding: 30px 20px !important;
    }

    .hero-title {
        font-size: 28px !important;
        /* Scale down further */
    }

    /* 3. Stat Numbers on Fold */
    .stat-number {
        font-size: 42px !important;
    }

    /* 4. Card Tightness */
    .banner-card,
    .what-card {
        padding: 20px 16px !important;
    }
}

/* ===================================
   VISUAL MATCH: STATISTICS SECTION
   =================================== */

/* 1. Header Styling (Match Design) */
.stats-header {
    text-align: center !important;
    margin-bottom: 60px !important;
}

.stats-header h2 {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 1px !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
}

.stats-header p {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500 !important;
}

/* 2. Base Stat Card (Glass & Shape) */
.stat-item {
    border-radius: 20px !important;
    /* Extremely Rounded */
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 40px 20px !important;
}

/* 3. Colored Glow Effects (Blue, Amber, Green, Purple) */
/* Definition: Subtle inset glow + border color */

/* BLUE */
.glow-blue {
    box-shadow: inset 0 0 20px rgba(33, 150, 243, 0.1) !important;
    border-color: rgba(33, 150, 243, 0.3) !important;
}

.glow-blue:hover {
    box-shadow: inset 0 0 30px rgba(33, 150, 243, 0.2), 0 0 20px rgba(33, 150, 243, 0.2) !important;
    border-color: rgba(33, 150, 243, 0.6) !important;
}

/* AMBER */
.glow-amber {
    box-shadow: inset 0 0 20px rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
}

.glow-amber:hover {
    box-shadow: inset 0 0 30px rgba(255, 193, 7, 0.2), 0 0 20px rgba(255, 193, 7, 0.2) !important;
    border-color: rgba(255, 193, 7, 0.6) !important;
}

/* GREEN */
.glow-green {
    box-shadow: inset 0 0 20px rgba(76, 175, 80, 0.1) !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
}

.glow-green:hover {
    box-shadow: inset 0 0 30px rgba(76, 175, 80, 0.2), 0 0 20px rgba(76, 175, 80, 0.2) !important;
    border-color: rgba(76, 175, 80, 0.6) !important;
}

/* PURPLE */
.glow-purple {
    box-shadow: inset 0 0 20px rgba(156, 39, 176, 0.1) !important;
    border-color: rgba(156, 39, 176, 0.3) !important;
}

.glow-purple:hover {
    box-shadow: inset 0 0 30px rgba(156, 39, 176, 0.2), 0 0 20px rgba(156, 39, 176, 0.2) !important;
    border-color: rgba(156, 39, 176, 0.6) !important;
}

/* 4. Fine-tuning Internal Elements */
.stat-item .stat-icon {
    margin-bottom: 24px !important;
    background: transparent !important;
    /* Icon floats in design */
    border: none !important;
    width: auto !important;
    height: auto !important;
}

.stat-item .stat-icon svg {
    width: 42px !important;
    height: 42px !important;
    opacity: 0.8 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    /* Neutral white icon */
}

/* Match icon color to card glow on hover/static? 
   Image usually keeps icons neutral or matching. Let's tint them slightly. */
.glow-blue .stat-icon svg {
    color: #64b5f6 !important;
}

.glow-amber .stat-icon svg {
    color: #ffd54f !important;
}

.glow-green .stat-icon svg {
    color: #81c784 !important;
}

.glow-purple .stat-icon svg {
    color: #ba68c8 !important;
}

.stat-item .stat-number {
    font-size: 60px !important;
    text-shadow: none !important;
    /* Clean bold text */
    margin-bottom: 8px !important;
}

.stat-item .stat-label {
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
    color: #fff !important;
}

/* ===================================
   REFINEMENT: TIGHTENING & SOFTENING (STATS)
   =================================== */

/* 1. Reduce Section Padding (Compactness) */
.stats-section {
    padding: 60px 0 !important;
    /* Reduced from 80/90px */
}

/* 2. Reduce Gaps (Heading <-> Cards) */
.stats-header {
    margin-bottom: 40px !important;
    /* Reduced from 60px */
}

/* 3. Reduce Card Size & Padding */
.stat-item {
    padding: 32px 20px !important;
    /* Reduced vertical padding (was 40px) */
    border-radius: 16px !important;
    /* Slightly softened radius */
}

/* 4. Soften Typography (Headings & Labels) */
.stats-header h2 {
    font-weight: 700 !important;
    /* Reduced from 800 */
    font-size: 32px !important;
    /* Slightly smaller for balance */
    letter-spacing: 0.5px !important;
}

.stats-header p {
    color: #b0bec5 !important;
    /* Softer light-grey (Blue-Grey 200) */
}

.stat-item .stat-number {
    font-weight: 700 !important;
    /* Reduced from 800/Bold */
    font-size: 54px !important;
    /* Reduced from 60px */
    color: #ffffff !important;
    /* Pure white kept for numbers, but weight reduced */
}

.stat-item .stat-label {
    color: #A6E3E9 !important;
    /* Muted Teal (Soft) instead of white */
    opacity: 0.85 !important;
    /* Increased opacity slightly for the softer color */
    font-weight: 600 !important;
}

.stat-item .stat-icon {
    margin-bottom: 20px !important;
    /* Tighter icon spacing */
}