/* ========================================
   AVYAN PLACEMENT SOLUTIONS - MAIN STYLES
   Green-Blue-Violet Gradient Theme
   ======================================== */

/* CSS Variables / Design Tokens */
:root {
    /* Brand Colors - Logo Gradient (Enhanced Professional Palette) */
    --color-green: #7AB82E;
    --color-teal: #2D9CDB;
    --color-blue: #1E8BC3;
    --color-purple: #5842A5;
    --color-deep-purple: #4A3B8A;

    /* Derived Colors */
    --color-primary: var(--color-teal);
    --color-secondary: var(--color-green);
    --color-accent: var(--color-purple);

    /* Professional Accent Colors */
    --color-success: #27ae60;
    --color-info: #3498db;
    --color-warning: #f39c12;

    /* Gradient - Enhanced with Professional Look */
    --gradient-brand: linear-gradient(135deg, #7AB82E 0%, #2D9CDB 50%, #5842A5 100%);
    --gradient-brand-reverse: linear-gradient(135deg, #5842A5 0%, #2D9CDB 50%, #7AB82E 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(122, 184, 46, 0.08) 0%, rgba(45, 156, 219, 0.08) 50%, rgba(88, 66, 165, 0.08) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);

    /* Neutrals - Professional Enterprise Colors */
    --color-white: #ffffff;
    --color-light: #fafbfc;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-dark: #0f172a;

    /* Text Colors - Professional Hierarchy */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --text-light: #9ca3af;

    /* Enhanced Shadows - More Depth */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(45, 156, 219, 0.25);
    --shadow-glow-hover: 0 8px 32px rgba(45, 156, 219, 0.3);

    /* Animation - Refined Timing */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --animation-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing - Professional Scale */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;
    --space-5xl: 5rem;
    --space-6xl: 6rem;

    /* Border Radius - Refined */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Typography - Professional Scale */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Button Animation */
    --av-primary: var(--color-teal);
    --av-secondary: var(--color-green);
    --av-text-color: #ffffff;
    --av-anim-speed: 0.8s;
    --av-wave-height: 150%;

    /* Loader */
    --av-speed: 1s;
    --av-color-start: var(--color-green);
    --av-color-end: var(--color-teal);
    --av-bar-width: 10px;
    --av-bar-height: 35px;
    --av-gap: 5px;
    --av-scale-max: 2;
    --av-total-width: calc(5 * var(--av-bar-width) + 4 * var(--av-gap));
}

/* ========================================
   DARK THEME
   ======================================== */
.dark-theme {
    --color-white: #1a1a2e;
    --color-light: #16213e;
    --color-gray-100: #1f2940;
    --color-gray-200: #2a3a5a;
    --color-gray-300: #3d4f7a;
    --color-dark: #e8e8e8;

    --text-primary: #e8e8e8;
    --text-secondary: #a0a8b8;
    --text-light: #707a8a;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(64, 196, 214, 0.4);
}

.dark-theme .header {
    background: rgba(26, 26, 46, 0.95);
}

.dark-theme .hero-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dark-theme .tech-card,
.dark-theme .sector-card,
.dark-theme .result-card,
.dark-theme .testimonial-card,
.dark-theme .vision-card,
.dark-theme .hero-card,
.dark-theme .step-content,
.dark-theme .contact-form {
    background: #1f2940;
    border: 1px solid rgba(64, 196, 214, 0.1);
}

.dark-theme input,
.dark-theme textarea {
    background: #16213e;
    border-color: #2a3a5a;
    color: #e8e8e8;
}

.dark-theme input:focus,
.dark-theme textarea:focus {
    border-color: var(--color-teal);
}

.dark-theme .footer {
    background: #0f0f1a;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    background: var(--gradient-brand);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    margin-left: var(--space-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    transition: all 0.4s var(--animation-bounce);
}

.theme-toggle .fa-moon {
    left: 8px;
    color: #fff;
    opacity: 1;
}

.theme-toggle .fa-sun {
    right: 8px;
    color: #ffd93d;
    opacity: 0;
    transform: translateY(-50%) rotate(-180deg);
}

.dark-theme .theme-toggle .fa-moon {
    opacity: 0;
    transform: translateY(-50%) rotate(180deg);
}

.dark-theme .theme-toggle .fa-sun {
    opacity: 1;
    transform: translateY(-50%) rotate(0deg);
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

h1 {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: var(--font-weight-semibold);
}

h4 {
    font-size: 1.35rem;
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1.0625rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   PAGE LOADER
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.avyan-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--av-gap);
    width: var(--av-total-width);
    height: calc(var(--av-bar-height) * var(--av-scale-max));
}

.av-bar {
    width: var(--av-bar-width);
    height: var(--av-bar-height);
    border-radius: 50px;
    background-image: linear-gradient(90deg, var(--av-color-start), var(--av-color-end));
    background-size: var(--av-total-width) 100%;
    animation: av-wave var(--av-speed) ease-in-out infinite;
}

.av-bar:nth-child(1) {
    background-position: calc(0 * (var(--av-bar-width) + var(--av-gap))) 0;
    animation-delay: calc(var(--av-speed) * -0.4);
}

.av-bar:nth-child(2) {
    background-position: calc(-1 * (var(--av-bar-width) + var(--av-gap))) 0;
    animation-delay: calc(var(--av-speed) * -0.3);
}

.av-bar:nth-child(3) {
    background-position: calc(-2 * (var(--av-bar-width) + var(--av-gap))) 0;
    animation-delay: calc(var(--av-speed) * -0.2);
}

.av-bar:nth-child(4) {
    background-position: calc(-3 * (var(--av-bar-width) + var(--av-gap))) 0;
    animation-delay: calc(var(--av-speed) * -0.1);
}

.av-bar:nth-child(5) {
    background-position: calc(-4 * (var(--av-bar-width) + var(--av-gap))) 0;
    animation-delay: 0s;
}

@keyframes av-wave {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.7;
    }

    50% {
        transform: scaleY(var(--av-scale-max));
        opacity: 1;
        filter: brightness(1.2);
    }
}

.loader-text {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-brand);
    color: var(--color-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(241, 243, 245, 1) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-subtle);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-brand);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text h1 {
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.btn-outline:hover {
    background: var(--color-teal);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
}

/* ========================================
   AVYAN LOADER
   ======================================== */
.avyan-loader {
    --loader-size: 150px;
    --anim-speed: 2s;
    --stroke-width: 6px;
    --av-color-1: #8CC63F;
    --av-color-2: #29ABE2;
    --av-color-3: #4C3B94;

    width: var(--loader-size);
    height: var(--loader-size);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--space-md);
    position: relative;
}

.avyan-loader svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.segment {
    fill: none;
    stroke-width: var(--stroke-width);
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50% 55%;
}

.s1 {
    stroke: var(--av-color-1);
    filter: drop-shadow(0 0 3px rgba(140, 198, 63, 0.4));
    animation: cycle var(--anim-speed) ease-in-out infinite;
}

.s2 {
    stroke: var(--av-color-2);
    filter: drop-shadow(0 0 3px rgba(41, 171, 226, 0.4));
    animation: cycle var(--anim-speed) ease-in-out infinite;
    animation-delay: calc(var(--anim-speed) * -0.33);
}

.s3 {
    stroke: url(#brand-gradient);
    filter: drop-shadow(0 0 3px rgba(76, 59, 148, 0.4));
    animation: cycle var(--anim-speed) ease-in-out infinite;
    animation-delay: calc(var(--anim-speed) * -0.66);
}

@keyframes cycle {
    0% {
        stroke-dasharray: 0 200;
        stroke-dashoffset: 0;
        transform: rotate(0deg) scale(0.8);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        stroke-dasharray: 100 200;
        stroke-dashoffset: -30;
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        stroke-dasharray: 0 200;
        stroke-dashoffset: -190;
        transform: rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
    .segment {
        animation: pulse-segment 3s infinite alternate;
        stroke-dasharray: 180 0;
        transform: none;
    }

    @keyframes pulse-segment {
        0% {
            opacity: 0.3;
            stroke: var(--av-color-1);
        }

        100% {
            opacity: 1;
            stroke: var(--av-color-3);
        }
    }
}

.hero-card h3 {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero Shapes */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: var(--color-green);
    border-radius: 50%;
    filter: blur(80px);
}

.shape-2 {
    bottom: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: var(--color-teal);
    border-radius: 50%;
    filter: blur(60px);
}

.shape-3 {
    top: 60%;
    right: 20%;
    width: 150px;
    height: 150px;
    background: var(--color-purple);
    border-radius: 50%;
    filter: blur(50px);
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: float-up 8s ease-in-out infinite;
    opacity: 0.6;
}

.particle:nth-child(1) {
    left: 10%;
    background: var(--color-green);
    animation-delay: 0s;
    animation-duration: 7s;
}

.particle:nth-child(2) {
    left: 25%;
    background: var(--color-teal);
    animation-delay: 1s;
    animation-duration: 9s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(3) {
    left: 40%;
    background: var(--color-purple);
    animation-delay: 2s;
    animation-duration: 6s;
}

.particle:nth-child(4) {
    left: 55%;
    background: var(--color-green);
    animation-delay: 3s;
    animation-duration: 10s;
    width: 12px;
    height: 12px;
}

.particle:nth-child(5) {
    left: 70%;
    background: var(--color-teal);
    animation-delay: 4s;
    animation-duration: 8s;
}

.particle:nth-child(6) {
    left: 85%;
    background: var(--color-purple);
    animation-delay: 2.5s;
    animation-duration: 7s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(7) {
    left: 15%;
    background: var(--color-teal);
    animation-delay: 5s;
    animation-duration: 11s;
}

.particle:nth-child(8) {
    left: 60%;
    background: var(--color-green);
    animation-delay: 1.5s;
    animation-duration: 9s;
    width: 7px;
    height: 7px;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ========================================
   CTA BUTTON WITH WAVE EFFECT
   ======================================== */
.cta-container {
    display: inline-flex;
}

.av-tech-btn {
    position: relative;
    border: none;
    background: transparent;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--av-text-color);
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-full);
    transition: transform 0.2s var(--animation-bounce);
    box-shadow: 0 10px 30px -10px rgba(64, 196, 214, 0.4);
    font-family: var(--font-heading);
}

.av-tech-btn .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-brand);
    z-index: 0;
    transition: background-color 0.3s ease;
}

.av-tech-btn .btn-text {
    position: relative;
    z-index: 2;
    pointer-events: none;
    transition: letter-spacing 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.av-tech-btn .wave-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: var(--radius-full);
}

.av-tech-btn .wave {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 300%;
    height: var(--av-wave-height);
    background-color: var(--av-secondary);
    border-radius: 45%;
    transform: translateX(-50%) rotate(0deg);
    transition: top var(--av-anim-speed) var(--animation-bounce);
}

.av-tech-btn .wave-1 {
    opacity: 0.6;
    animation: spin 6s linear infinite;
    margin-top: -10px;
}

.av-tech-btn .wave-2 {
    opacity: 1;
    animation: spin 8s linear infinite reverse;
}

@keyframes spin {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }

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

.av-tech-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(139, 214, 88, 0.5);
}

.av-tech-btn:hover .wave {
    top: -25%;
}

.av-tech-btn:hover .btn-text {
    letter-spacing: 2px;
}

.av-tech-btn:active {
    transform: scale(0.98);
}

.av-tech-btn-white .btn-bg {
    background: var(--color-white);
}

.av-tech-btn-white .btn-text {
    color: var(--color-teal);
}

.av-tech-btn-white .wave {
    background-color: var(--color-gray-100);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
    padding: var(--space-5xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-subtle);
    color: var(--color-teal);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(64, 196, 214, 0.2);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision-section {
    background: var(--color-light);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.vision-content .lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.vision-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-brand);
}

.vision-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-brand);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.vision-icon i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.vision-card h3 {
    margin-bottom: 0.5rem;
}

.vision-address {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-gray-200);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   ADVANTAGES SECTION
   ======================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.card-container {
    position: relative;
    perspective: 1000px;
}

.tech-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    transition: transform 0.4s var(--animation-bounce), box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.card-container:hover .tech-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.glow-border {
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Card Shine Effect */
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 5;
}

.card-container:hover .tech-card::before {
    left: 100%;
}

.card-container:hover .glow-border {
    opacity: 1;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: var(--transition-normal);
}

.icon-wrapper i {
    font-size: 1.3rem;
    color: var(--color-teal);
}

.card-container:hover .icon-wrapper {
    background: var(--gradient-brand);
    transform: scale(1.1) rotate(-5deg);
}

.card-container:hover .icon-wrapper i {
    color: var(--color-white);
}

.tech-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Decorative Shapes */
.card-container .decor-shape {
    position: absolute;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s var(--animation-bounce);
}

.card-container .shape-1 {
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--color-green);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: translate(-20px, 20px) rotate(0deg);
}

.card-container .shape-2 {
    bottom: 20px;
    left: -10px;
    width: 25px;
    height: 25px;
    background: var(--color-purple);
    border-radius: 50%;
    transform: translate(20px, -10px);
}

.card-container:hover .shape-1 {
    opacity: 0.8;
    transform: translate(0, 0) rotate(15deg);
}

.card-container:hover .shape-2 {
    opacity: 0.6;
    transform: translate(0, 0);
}

/* ========================================
   SECTORS SECTION
   ======================================== */
.sectors-section {
    background: var(--color-light);
}

.sectors-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.sector-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sector-card:hover::before {
    transform: scaleX(1);
}

.sector-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    transition: var(--transition-normal);
}

.sector-icon i {
    font-size: 1.3rem;
    color: var(--color-teal);
}

.sector-card:hover .sector-icon {
    background: var(--gradient-brand);
}

.sector-card:hover .sector-icon i {
    color: var(--color-white);
}

.sector-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.sector-card>p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-subtle);
    color: var(--color-teal);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-brand);
}

.process-step {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.step-content {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex: 1;
    transition: var(--transition-normal);
}

.step-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   RESULTS SECTION
   ======================================== */
.results-section {
    background: var(--color-light);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.result-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-brand);
}

.result-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
    display: inline;
}

.result-suffix {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-card h3 {
    margin: var(--space-sm) 0;
}

.result-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.client-logo {
    background: var(--color-light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.client-logo:hover {
    background: var(--gradient-brand);
    color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    background: var(--color-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: var(--space-md);
    left: var(--space-lg);
    font-size: 2rem;
    color: var(--color-teal);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-left: var(--space-lg);
}

.author-info strong {
    display: block;
    color: var(--color-dark);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-teal);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--gradient-brand);
    padding: var(--space-xxl) 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

.contact-info h3 {
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--color-light);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--gradient-brand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: var(--color-white);
    font-size: 1rem;
}

.contact-item strong {
    display: block;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(64, 196, 214, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo img {
    height: 70px;
    margin-bottom: var(--space-md);
    filter: brightness(1.5);
}

.footer-brand p {
    color: var(--color-gray-400);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--color-gray-400);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-teal);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--color-gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--color-teal);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--color-gray-700);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-brand);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 100;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

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

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

    .sectors-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

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

    .process-timeline::before {
        left: 18px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .av-tech-btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .btn-outline {
        padding: 0.75rem 1.5rem;
    }

    .client-logo {
        font-size: 0.85rem;
        padding: var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}