/* ==========================================================================
   CSS Variables & Custom Properties
   ========================================================================== */
:root {
    /* Color Palette */
    --color-navy: #0A192F;
    --color-navy-dark: #060F1D;
    --color-blue-royal: #0F52BA;
    --color-blue-bright: #2563EB;
    --color-blue-light: #EFF6FF;
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-500: #6B7280;
    --color-gray-800: #1F2937;

    /* Extended Palette — Accents & Gradients */
    --color-blue-glow: #3B82F6;
    --color-indigo: #6366F1;
    --color-cyan: #06B6D4;
    --color-emerald: #10B981;
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
    --gradient-glow: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(99,102,241,0.08) 100%);
    --gradient-border: linear-gradient(135deg, #2563EB, #6366F1, #06B6D4);
    --gradient-dark: linear-gradient(135deg, #0A192F 0%, #0F2847 50%, #162D5A 100%);

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Layout */
    --container-max-width: 1280px;

    /* Border Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   Base Styles / Reset
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-navy-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-blue-bright);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-glow);
}

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

body {
    font-family: var(--font-main);
    color: var(--color-gray-800);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--color-blue-bright);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-blue-royal);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    position: relative;
}

/* ==========================================================================
   Buttons — Premium with Glow
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-blue-bright);
    border: 2px solid var(--color-blue-bright);
}

.btn-secondary:hover {
    background-color: var(--color-blue-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navigation — Glassmorphism
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(243, 244, 246, 0.6);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img, .logo-img-footer {
    height: 45px;
    width: auto;
    display: block;
}

.logo-img-footer {
    height: 45px;
    width: auto;
    display: block;
}

.navbar .nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-navy);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-blue-bright);
}

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-navy);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-lg) var(--spacing-md);
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    display: block;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
    color: var(--color-blue-bright);
}

.mobile-btn {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Hero Section — Full Viewport with Video
   ========================================================================== */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0;
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 15, 29, 0.88) 0%, rgba(10, 25, 47, 0.78) 50%, rgba(15, 82, 186, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Floating particles — decorative */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: floatOrb 8s ease-in-out infinite;
}

.hero::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    color: var(--color-blue-bright);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
}

.hero .eyebrow {
    color: #60A5FA;
    background: rgba(37, 99, 235, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    font-size: 0.8rem;
    letter-spacing: 2px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-align: center;
    letter-spacing: -0.03em;
}



.hero-description {
    font-size: 1.2rem;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    text-align: center;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-secondary-hero {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary-hero:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ==========================================================================
   Statistics Section — Gradient Accents
   ========================================================================== */
.stats-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-gray-50);
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-card {
    background-color: var(--color-white);
    padding: var(--spacing-md) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient top border accent */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 1;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-blue-bright);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

.stat-text {
    font-size: 1rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */
.text-center {
    text-align: center;
}

.section-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

/* ==========================================================================
   Services Section — Glass Cards with Glow
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
}

.service-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Glow gradient overlay on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: var(--radius-md);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(37, 99, 235, 0.2);
}

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

.service-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    margin-bottom: var(--spacing-xs);
    transition: opacity 0.4s ease;
}

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

.service-icon {
    color: var(--color-blue-bright);
    margin-bottom: var(--spacing-sm);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gradient-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
}

.service-text {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    flex-grow: 1;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-light {
    color: var(--color-white);
}

.eyebrow-light {
    color: #60A5FA;
}

.btn-light {
    color: var(--color-white);
    border-color: rgba(255,255,255,0.3);
}

.btn-light:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

/* ==========================================================================
   Why Choose Us Section — Floating Glow Cards
   ========================================================================== */
.why-choose {
    background: var(--gradient-dark);
    color: var(--color-gray-100);
    position: relative;
    overflow: hidden;
}

/* Decorative orb */
.why-choose::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Animated gradient border on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, rgba(37,99,235,0.5), rgba(99,102,241,0.3), rgba(6,182,212,0.3));
    -webkit-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.5s ease;
    pointer-events: none;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(99, 102, 241, 0.15));
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(99, 102, 241, 0.25));
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.feature-title {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.feature-text {
    color: rgba(243, 244, 246, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Process Section — Animated Timeline
   ========================================================================== */
.process {
    background-color: var(--color-white);
}

.process-wrapper {
    position: relative;
    padding-top: var(--spacing-sm);
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-gray-100);
    z-index: 1;
    overflow: hidden;
}

/* Animated fill on the process line */
.process-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-line.animated::after {
    width: 100%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-white);
}

.process-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    border: 2px solid var(--color-blue-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 0 0 10px var(--color-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Pulse ring animation */
.process-icon::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.2);
    animation: pulseRing 2.5s ease-out infinite;
    opacity: 0;
}

.process-step:hover .process-icon::after {
    opacity: 1;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 0; }
}

.process-step:hover .process-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 0 10px var(--color-white), var(--shadow-glow);
}

.process-step:hover .process-number {
    color: var(--color-white);
}

.process-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-blue-bright);
    transition: color 0.4s ease;
}

.process-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.process-text {
    font-size: 0.95rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ==========================================================================
   CTA Banner — Gradient Mesh + Glow
   ========================================================================== */
.cta-banner {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-sm);
    background: var(--gradient-dark);
    text-align: center;
    color: var(--color-white);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

/* Animated gradient orbs */
.cta-banner::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: floatOrb 12s ease-in-out infinite;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: floatOrb 10s ease-in-out infinite reverse;
    pointer-events: none;
}

.cta-overlay {
    display: none;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-title {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(243, 244, 246, 0.8);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* ==========================================================================
   Industries Section (Tabs) — Smooth Transitions
   ========================================================================== */
.industries {
    background-color: var(--color-gray-50);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tabs-buttons {
    display: inline-flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    background-color: var(--color-white);
    padding: 5px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.tabs-container .tabs-buttons {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 0.7rem 1.8rem;
    background-color: transparent;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
    color: var(--color-blue-bright);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.tab-panel {
    display: none;
    animation: tabSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    text-align: left;
}

.tab-panel.active {
    display: block;
}

@keyframes tabSlideIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
}

.tab-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--color-navy);
}

.tab-text p {
    font-size: 1.05rem;
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.tab-image {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.tab-image img {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Utility classes addition
   ========================================================================== */
.w-100 { width: 100%; }

/* ==========================================================================
   Contact Section — Premium Form with Floating Labels
   ========================================================================== */
.contact {
    background-color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: background-color 0.3s ease;
}

.info-item:hover {
    background-color: rgba(37, 99, 235, 0.04);
}

.info-icon {
    background: var(--gradient-glow);
    color: var(--color-blue-bright);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.info-item:hover .info-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.info-text {
    font-size: 0.95rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.info-text strong {
    color: var(--color-navy);
}

.contact-form-wrapper {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    transition: box-shadow 0.4s ease;
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-glow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--color-gray-100);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    background-color: var(--color-gray-50);
    transition: all 0.3s ease;
    color: var(--color-gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue-bright);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group:focus-within label {
    color: var(--color-blue-bright);
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.2rem;
    min-height: 0;
}

.error-msg:empty {
    display: none;
}

.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.success-msg {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    border: 1px solid #6ee7b7;
}

/* Submit button — enhanced */
.contact-form .btn-primary {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-form .btn-primary:active::after {
    width: 400px;
    height: 400px;
}

/* ==========================================================================
   Footer — Modern Dark with Animated Accents
   ========================================================================== */
.footer {
    background: var(--gradient-dark);
    color: var(--color-gray-100);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

/* Animated gradient separator at top */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-border);
    background-size: 300% 100%;
    animation: gradientSlide 4s ease infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.logo-img-footer {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-desc {
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: var(--spacing-md);
    max-width: 300px;
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    color: var(--color-gray-100);
    background: rgba(255, 255, 255, 0.06);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border-color: transparent;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
}

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

.footer-links a,
.footer-contact-text a {
    color: rgba(226, 232, 240, 0.9);
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Sliding underline effect */
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover,
.footer-contact-text a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact-text {
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom-links a {
    color: rgba(226, 232, 240, 0.7);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Scroll Reveal Animations & Hero Entrance
   ========================================================================== */
.reveal, .hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Directional reveals */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active, .hero-reveal.active,
.reveal-left.active, .reveal-right.active, .reveal-scale.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Base Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Grid stagger delays */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.19s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.26s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.33s; }

.features-grid .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.15s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.25s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.35s; }

.process-grid .process-step:nth-child(1) { transition-delay: 0.1s; }
.process-grid .process-step:nth-child(2) { transition-delay: 0.25s; }
.process-grid .process-step:nth-child(3) { transition-delay: 0.4s; }
.process-grid .process-step:nth-child(4) { transition-delay: 0.55s; }

/* Scroll Progress Indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .hero-reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}
