/* Shared site foundation extracted from repeated page styles */

:root {
    --bg-primary: #06080f;
    --bg-secondary: #0c0f1d;
    --bg-surface: #111628;
    --bg-elevated: #161c33;
    --accent: #6c6fff;
    --accent-glow: rgba(108, 111, 255, 0.2);
    --accent2: #8ff0fb;
    --accent2-glow: rgba(143, 240, 251, 0.15);
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);
    --border: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(108, 111, 255, 0.25);
    --white: #ffffff;
    --font-base: "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-base);
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--white);
    font-family: var(--font-base);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.3px;
}

h4 {
    font-size: 1rem;
    font-weight: 700;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.py-section {
    padding: clamp(80px, 12vw, 140px) 0;
}

.px-section {
    padding: 0 8%;
}

.bg-primary {
    background-color: var(--bg-primary);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

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

.text-left {
    text-align: left;
}

.relative {
    position: relative;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex,
.d-flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

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

.justify-around {
    justify-content: space-around;
}

.flex-wrap,
.wrap {
    flex-wrap: wrap;
}

.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.list-none {
    list-style: none;
}

.w-full {
    width: 100%;
}

.text-white {
    color: var(--white);
}

.text-accent {
    color: var(--accent);
}

.text-gray {
    color: var(--text-secondary);
}

.uppercase {
    text-transform: uppercase;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-heading {
    font-family: var(--font-base);
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-\[2\.5rem\] {
    font-size: 2.5rem;
}

.text-\[3rem\] {
    font-size: 3rem;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.tracking-wider {
    letter-spacing: 1.5px;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.leading-tight {
    line-height: 1.2;
}

.leading-snug {
    line-height: 1.375;
}

.leading-relaxed {
    line-height: 1.75;
}

.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

.gap-8 {
    gap: 32px;
}

.gap-10 {
    gap: 40px;
}

.gap-30 {
    gap: 30px;
}

.gap-40 {
    gap: 40px;
}

.mt-1 {
    margin-top: 4px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.mt-5 {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 40px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 20px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-10 {
    margin-bottom: 40px;
}

.pt-4 {
    padding-top: 16px;
}

.pl-0 {
    padding-left: 0;
}

.m-0 {
    margin: 0;
}

.p-0 {
    padding: 0;
}

.p-8 {
    padding: 32px;
}

.pl-10 {
    padding-left: 40px;
}

.pr-10 {
    padding-right: 40px;
}

.rounded-lg {
    border-radius: 8px;
}

.rounded-xl {
    border-radius: 12px;
}

.rounded-2xl {
    border-radius: 16px;
}

.rounded-full {
    border-radius: 50%;
}

.max-w-md {
    max-width: 800px;
}

.max-w-\[1000px\] {
    max-width: 1000px;
}

.border-t-light,
.border-b-light,
.border-light {
    border-color: var(--border);
}

.border-t-light {
    border-top: 1px solid var(--border);
}

.border-b-light {
    border-bottom: 1px solid var(--border);
}

.border-t {
    border-top: 1px solid var(--border);
}

.border-b {
    border-bottom: 1px solid var(--border);
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-border {
    border-color: var(--border);
}

.object-cover {
    object-fit: cover;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.transition-colors {
    transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}

.transition-all {
    transition: all 0.3s ease;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.w-\[50px\] {
    width: 50px;
}

.h-\[50px\] {
    height: 50px;
}

.hover-text-white:hover {
    color: var(--white);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(20px, 4vw, 32px);
}

.grid-2-col,
.lg-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {

    .grid-2-col,
    .lg-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 993px) {
    .md\:hidden {
        display: none !important;
    }
}

.noise-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 8, 15, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    transition: border-color 0.3s;

    img {
        height: 65px;
        width: auto;
        display: block;
    }
}

.site-header.scrolled {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .site-header {
        height: 64px;
    }
}

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

.logo img {
    display: block;
    width: auto;
    height: 60px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 56px;
    }
}

.main-nav .nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.activeLi {
    color: var(--white);
    text-shadow: 0 0 14px rgba(108, 111, 255, 0.22);
}

.nav-link.activeLi::after {
    transform: scaleX(1);
    transform-origin: left;
    height: 3px;
    bottom: -6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 6px 18px rgba(108, 111, 255, 0.35);
}

.dropdown-toggle.activeLi i {
    color: var(--accent2);
}

.btn-outline {
    border: 1px solid var(--border-accent);
    color: var(--white);
    border-radius: 100px;
    padding: 9px 24px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(108, 111, 255, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #8b6fff);
    color: var(--white);
    border-radius: 10px;
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(108, 111, 255, 0.45);
}

.btn-primary {
    background: var(--accent);
    color: #000;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent2);
}

.btn-text {
    background: transparent;
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .site-header>.btn-outline {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 50vw;
        max-width: 300px;
        height: calc(100vh - 64px);
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        transition: right 0.3s ease;
        padding: 40px 1.5rem 2rem;
        flex-direction: column;
        overflow-y: auto;
    }

    .main-nav.mobile-active {
        right: 0;
        left: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-left: 0;
        padding-left: 0;
        width: 100%;
    }
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    min-width: 800px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    padding: 32px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    z-index: 1000;
    max-height: min(76vh, 560px);
    overflow-y: auto;
}

.dropdown:hover .mega-menu,
.dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 992px) {
    .mega-menu {
        position: static;
        transform: none !important;
        min-width: 100%;
        grid-template-columns: 1fr;
        box-shadow: none;
        padding: 0 0 0 12px;
        margin-left: 0;
        border: none;
        display: grid;
        top: auto;
        left: auto;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transform: scaleY(0);
        transform-origin: top;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.25s ease, padding-top 0.25s ease, transform 0.25s ease;
    }

    .dropdown.active .mega-menu {
        max-height: 320px;
        opacity: 1;
        visibility: visible;
        padding-top: 8px;
        transform: scaleY(1);
        pointer-events: auto;
    }

    .mega-menu-list {
        margin-left: 0;
        padding-left: 0;
        gap: 0;
        width: 100%;
    }

    .mega-menu-list .mega-menu-link {
        padding-left: 0;
        gap: 0;
        margin-left: 0;
        width: 100%;
        display: block;
    }

    .mega-menu-link i {
        display: none;
    }
}

.mega-column h4 {
    color: var(--accent2);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-column h4 i {
    color: var(--accent2);
}

.mega-column p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.mega-menu-link:hover {
    color: var(--white);
    padding-left: 6px;
}

.mega-menu-link i {
    color: var(--accent);
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s;
}

.mega-menu-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

.mega-menu-link.active-menu-link {
    color: var(--white);
    position: relative;
}

.mega-menu-link.active-menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 4px 12px rgba(108, 111, 255, 0.3);
}

.mega-menu-compact {
    min-width: 320px;
    max-width: 360px;
    padding: 16px 18px;
    grid-template-columns: 1fr;
}

.compact-menu-list {
    gap: 10px;
}

.compact-menu-list .mega-menu-link {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
}

.compact-menu-list .mega-menu-link i {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 992px) {
    .mega-menu-compact {
        max-width: 100%;
        min-width: 100%;
        padding: 0;
    }

    .dropdown.active .mega-menu-compact {
        padding: 0.75rem 0 0.35rem;
    }
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.36);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
}

.hero-bg.active {
    opacity: 1;
}

.hero-bg.zoom {
    animation: zoomEffect 6s ease forwards;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 15, 0.3) 0%, rgba(6, 8, 15, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 4rem);
    margin-bottom: 20px;
    letter-spacing: clamp(1px, 0.5vw, 5px);
}

.hero-title .text-accent,
.page-hero h1 .text-accent {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.text-show .hero-animate {
    opacity: 1;
    transform: translateY(0);
}

.page-hero {
    position: relative;
    padding: 140px 8% 100px;
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-bottom: 0;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 15, 0.7) 0%, rgba(6, 8, 15, 1) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge,
.section-badge,
.process-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 111, 255, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-badge {
    color: var(--accent2);
    margin-bottom: 24px;
}

.section-badge,
.process-step-pill {
    color: var(--accent);
    margin-bottom: 16px;
}

.page-hero h1 {
    margin-bottom: 20px;
    line-height: 1.2;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.section-bar {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    margin: 0 auto;
    border-radius: 2px;
}

.section-title-left {
    text-align: left;
    margin-bottom: 20px;
}

.section-intro {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.75;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px 25px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.card::before,
.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
    background-size: 200% 100%;
    animation: cardLineShimmer 3s ease infinite;
    transform: scaleX(0);
    transition: transform 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
    transform-origin: left;
}

.card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-accent);
}

.card:hover::before,
.glass-card:hover::before {
    transform: scaleX(1);
    height: 3px;
    box-shadow: 0 0 12px rgba(108, 111, 255, 0.5), 0 0 24px rgba(143, 240, 251, 0.2);
}

.card-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(108, 111, 255, 0.15), rgba(143, 240, 251, 0.08));
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.card-icon,
.card i.card-icon {
    color: var(--accent);
    font-size: 1.8rem;
    margin: 0;
}

.card-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card-desc {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
}

.glass-card {
    background: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hover-border-accent:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-visual {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-primary);
}

.feature-visual img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.img-hover-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: inherit;
    display: block;
    width: 100%;
}

.img-hover-zoom {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    display: block;
    width: 100%;
}

.img-hover-wrapper:hover .img-hover-zoom,
.glass-card:hover .img-hover-zoom,
.card:hover .img-hover-zoom {
    transform: scale(1.08);
}

.group-hover-bg-accent {
    transition: background 0.3s, color 0.3s;
}

.hover-up:hover .group-hover-bg-accent {
    background: var(--accent);
    color: var(--bg-surface);
}

.hover-up:hover {
    transform: translateY(-3px);
}

.group-hover-text-accent {
    transition: color 0.3s ease;
}

.group:hover .group-hover-text-accent {
    color: var(--accent);
}

.service-expansion-layer {
    position: relative;
    z-index: 40;
    overflow: visible;
}

.service-expansion-layer.has-expanded-card {
    padding-bottom: clamp(220px, 24vw, 320px);
}

.service-expansion-card {
    position: relative;
    overflow: visible;
    min-height: 290px;
    isolation: isolate;
    z-index: 1;
    transform: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-expansion-card::before {
    content: none !important;
}

.service-expansion-card::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 6px;
    right: 10px;
    height: 2px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
    background-size: 200% 100%;
    animation: cardLineShimmer 3s ease infinite;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease, height 0.35s ease;
}

/* Keep line animation but remove glow spill outside expandable cards */
.service-expansion-card:hover::after,
.service-expansion-card:focus-within::after,
.service-expansion-card.is-open::after,
.service-expansion-card.is-preview::after {
    transform: scaleX(1);
    height: 3px;
}

.service-expand-trigger {
    position: relative;
    z-index: 90;
    transition: color 0.2s ease;
}

.service-expand-trigger.label-swap-out {
    animation: labelSwapOut 0.14s ease forwards;
}

.service-expand-trigger.label-swap-in {
    animation: labelSwapIn 0.18s ease forwards;
}

@keyframes labelSwapOut {
    from {
        opacity: 1;
        transform: none;
    }

    to {
        opacity: 0;
        transform: none;
    }
}

@keyframes labelSwapIn {
    from {
        opacity: 0;
        transform: none;
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.service-expansion-card .expand-content {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% - 22px);
    padding: 18px 18px 16px;
    border: 1px solid rgba(108, 111, 255, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(19, 24, 44, 0.98), rgba(12, 15, 29, 0.98));
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

.service-expansion-card .expand-content::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 26px;
    width: 16px;
    height: 16px;
    background: rgba(18, 22, 40, 0.98);
    border-left: 1px solid rgba(108, 111, 255, 0.18);
    border-top: 1px solid rgba(108, 111, 255, 0.18);
    transform: rotate(45deg);
}

.service-expansion-card.is-open .expand-content,
.service-expansion-card.is-preview .expand-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.service-expansion-card:hover,
.service-expansion-card:focus-within,
.service-expansion-card.is-preview,
.service-expansion-card.is-open {
    z-index: 1100;
    transform: none;
}

.service-expansion-card.hover-border-accent:hover {
    transform: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-expansion-card:hover .img-hover-zoom,
.service-expansion-card:focus-within .img-hover-zoom,
.service-expansion-card.is-preview .img-hover-zoom,
.service-expansion-card.is-open .img-hover-zoom {
    transform: none;
}

.service-expansion-card.is-open .service-expand-trigger {
    z-index: 1300;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent);
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: min(1200px, 100%);
    margin: 30px auto 0;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.stat-item {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 14px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--border);
}

.stat-item h2,
.stat-item span {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

@media (max-width: 992px) {
    .stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 16px 10px;
    }

    .stat-item {
        min-height: 102px;
    }

    .stat-item:not(:last-child) {
        border-right: 0;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }
}

.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border-accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.timeline-left {
    justify-content: flex-start;
}

.timeline-right {
    justify-content: flex-end;
}

.timeline-empty {
    width: 50%;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 2;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
}

.timeline-item.group:hover .timeline-dot {
    transform: translateX(-50%) scale(1.1);
    background: var(--accent);
    color: var(--bg-surface);
}

.timeline-content {
    padding: 0 40px;
    width: 50%;
    transition: transform 0.3s;
}

.timeline-left .timeline-content {
    text-align: right;
}

.timeline-right .timeline-content {
    text-align: left;
}

.timeline-item.group:hover .timeline-content {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .service-expansion-layer.has-expanded-card {
        padding-bottom: 340px;
    }

    .service-expansion-card {
        min-height: auto;
    }

    .service-expansion-card .expand-content {
        left: 14px;
        right: 14px;
    }

    .timeline-container::before {
        left: 24px;
    }

    .timeline-dot {
        left: 24px;
        width: 30px;
        height: 30px;
    }

    .timeline-left,
    .timeline-right {
        justify-content: flex-end;
        flex-direction: column;
        padding-left: 60px;
    }

    .timeline-content {
        text-align: left !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .timeline-empty {
        display: none;
    }
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px 52px;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.contact-info h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #fff, var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    width: 100%;
    margin: 0;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 18px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
}

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 70px 10% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 3.5fr;
    /* Adjusted for better balance with 3 sub-columns */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-text {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--white), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    /* Added third column for Locations */
    gap: 40px;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.location-item i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 4px;
}

.location-item div {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.location-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent2) !important;
    font-weight: 600;
    font-size: 0.8rem !important;
    margin-top: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-link:hover {
    color: var(--white) !important;
    transform: translateX(5px);
}

.footer-links h3,
.footer-links h4 {
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.78rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.86rem;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

@media (max-width: 992px) {
    .footer-links-box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 24px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-logo-col {
        text-align: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }

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

    .footer-links-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
        align-items: start;
        text-align: center;
    }

    .footer-links-box > .footer-links {
        min-width: 0;
    }

    .footer-links h3,
    .footer-links h4 {
        margin-bottom: 14px;
    }

    .footer-links ul {
        gap: 8px;
        align-items: center;
    }

    .footer-locations {
        grid-column: 1 / -1;
        padding-top: 8px;
        border-top: 1px solid var(--border);
        gap: 16px;
        align-items: center;
    }

    .location-item {
        gap: 12px;
        justify-content: center;
        text-align: left;
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .location-item div {
        font-size: 0.86rem;
    }
}

@media (max-width: 420px) {
    .footer-links-box {
        gap: 24px 14px;
    }

    .footer-links a {
        font-size: 0.84rem;
    }
}

.grid-auto>.card:nth-child(2) {
    transition-delay: 0.1s;
}

.grid-auto>.card:nth-child(3) {
    transition-delay: 0.2s;
}

.grid-auto>.card:nth-child(4) {
    transition-delay: 0.3s;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
