/* ============================================
   ALPHAMED - Company Profile Styles
   Modern, Premium Healthcare Design
   ============================================ */

/* === CSS Variables / Design Tokens === */
:root {
    /* Primary Palette - Medical Teal */
    --primary-50: #e6f7f7;
    --primary-100: #b3e8e8;
    --primary-200: #80d9d9;
    --primary-300: #4dcaca;
    --primary-400: #26bfbf;
    --primary-500: #0fa5a5;
    --primary-600: #0d8f8f;
    --primary-700: #0a7070;
    --primary-800: #085555;
    --primary-900: #053a3a;

    /* Accent - Deep Blue */
    --accent-50: #e8ecf4;
    --accent-100: #bac5de;
    --accent-200: #8b9ec8;
    --accent-300: #5c77b2;
    --accent-400: #3859a1;
    --accent-500: #1a3a8a;
    --accent-600: #163278;
    --accent-700: #112760;
    --accent-800: #0d1d48;
    --accent-900: #081230;

    /* Neutral */
    --neutral-50: #f8f9fb;
    --neutral-100: #eef0f4;
    --neutral-200: #dde1e8;
    --neutral-300: #c4c9d4;
    --neutral-400: #9aa2b1;
    --neutral-500: #6e7787;
    --neutral-600: #535c6b;
    --neutral-700: #3d4555;
    --neutral-800: #282e3c;
    --neutral-900: #151a26;
    --neutral-950: #0c0f18;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
    --gradient-hero: linear-gradient(160deg, #0a1628 0%, #0d2847 40%, #0a4040 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 100%);
    --gradient-glow: radial-gradient(circle, var(--primary-400) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(15,165,165,0.15);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--neutral-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* === Preloader === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: preloader-spin 1.5s linear infinite;
}

.preloader-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    border-top-color: var(--primary-400);
    animation-duration: 1.5s;
}

.preloader-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    border-right-color: var(--primary-300);
    animation-duration: 2s;
    animation-direction: reverse;
}

.preloader-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    border-bottom-color: var(--accent-400);
    animation-duration: 1s;
}

.preloader-text {
    position: absolute;
    top: 60px;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary-400);
    letter-spacing: 4px;
    margin-top: var(--space-8);
}

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

/* === Cursor Follower === */
#cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-400);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

#cursor-follower.visible {
    opacity: 0.6;
}

#cursor-follower.hover {
    transform: translate(-50%, -50%) scale(2);
    background: rgba(15, 165, 165, 0.1);
}

body.cursor-follower-disabled #cursor-follower {
    display: none;
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* === Section === */
.section {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(221,225,232,0.65);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(221,225,232,0.85);
    box-shadow: 0 8px 30px rgba(8,18,48,0.08);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 1001;
}

.logo-img {
    width: 180px;
    max-height: 52px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

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

.logo-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--neutral-900);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: var(--text-xs);
    color: var(--primary-600);
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--neutral-900);
    background: var(--primary-50);
}

.nav-link.active {
    color: var(--primary-600);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-400);
    border-radius: 1px;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 220px;
    padding: var(--space-3);
    border: 1px solid rgba(221,225,232,0.85);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: all var(--transition-base);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-link {
    display: block;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    color: var(--neutral-600);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    color: var(--neutral-900);
    background: var(--primary-50);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 4px;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-full);
    background: white;
    color: var(--neutral-600);
    z-index: 1001;
}

.language-btn {
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 8px 10px;
    transition: all var(--transition-fast);
}

.language-btn:hover,
.language-btn.active {
    background: var(--primary-400);
    color: var(--neutral-950);
}

.language-divider {
    font-size: var(--text-xs);
    opacity: 0.45;
    user-select: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--neutral-900);
    border-radius: 1px;
    transition: all var(--transition-base);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === Hero Section === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(77,202,202,0.24) 0%, transparent 28%),
        radial-gradient(circle at 84% 22%, rgba(26,58,138,0.16) 0%, transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(248,249,251,0.94) 72%, #ffffff 100%);
    opacity: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-400);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite ease-in-out;
}

@keyframes float-particle {
    0%, 100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 1.08fr);
    gap: var(--space-12);
    align-items: center;
    width: 100%;
    text-align: left;
    padding: var(--space-24) var(--space-6) var(--space-16);
    max-width: 1220px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(15, 165, 165, 0.25);
    border-radius: var(--radius-full);
    color: var(--primary-700);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-8);
    backdrop-filter: blur(10px);
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    color: var(--neutral-950);
    margin-bottom: var(--space-6);
    letter-spacing: 0;
    line-height: 1.08;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-600), var(--accent-500), var(--primary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--neutral-600);
    max-width: 560px;
    margin: 0 0 var(--space-10);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 0;
}

.hero-map-wrap {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-map-wrap::before {
    content: '';
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,165,165,0.15) 0%, rgba(15,165,165,0.05) 34%, transparent 68%);
    filter: blur(2px);
}

.hero-map-img {
    position: relative;
    width: min(100%, 720px);
    height: auto;
    display: block;
    opacity: 0.92;
    filter: drop-shadow(0 26px 50px rgba(15, 165, 165, 0.15));
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(15, 165, 165, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(15, 165, 165, 0.45);
    transform: translateY(-2px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: white;
    color: var(--neutral-800);
    border: 1.5px solid var(--neutral-200);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    transform: translateY(-2px);
}

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

/* === Hero Stats === */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--neutral-950);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-600);
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--neutral-500);
    margin-top: var(--space-1);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--neutral-200);
}

/* === Scroll Indicator === */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--neutral-400);
    font-size: var(--text-xs);
    animation: scroll-bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--neutral-300);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 22px; }
}

/* === Section Labels & Headers === */
.section-label {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

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

.label-line {
    width: 40px;
    height: 2px;
    background: var(--primary-400);
    border-radius: 1px;
}

.label-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-label.light .label-line {
    background: var(--primary-300);
}

.section-label.light .label-text {
    color: var(--primary-300);
}

.section-title {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    color: var(--neutral-900);
    margin-bottom: var(--space-4);
}

.section-title.light {
    color: white;
}

.why-us-section .section-title.light {
    color: var(--neutral-900);
}

.why-us-section .section-label.light .label-line {
    background: var(--primary-400);
}

.why-us-section .section-label.light .label-text {
    color: var(--primary-600);
}

.highlight {
    color: var(--primary-500);
}

.highlight-light {
    color: var(--primary-300);
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--neutral-500);
    max-width: 600px;
    margin: 0 auto;
}

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

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

/* === About Section === */
.about-section {
    background: white;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-50) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 3/4;
    max-height: 500px;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: var(--space-8) var(--space-6) var(--space-6);
}

.ceo-info h4 {
    color: white;
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.ceo-info p {
    color: var(--primary-300);
    font-size: var(--text-sm);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.floating-card-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-500);
}

.floating-card strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--neutral-800);
}

.floating-card span {
    font-size: var(--text-xs);
    color: var(--neutral-500);
}

.card-experience {
    top: 15%;
    right: -30px;
    animation-delay: 0s;
}

.card-certified {
    bottom: 15%;
    left: -20px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-content .section-label {
    margin-bottom: var(--space-4);
}

.about-text {
    color: var(--neutral-600);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.about-text strong {
    color: var(--neutral-800);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin: var(--space-8) 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-700);
}

.highlight-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
}

/* === Values Section === */
.values-section {
    background: var(--neutral-50);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.value-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
    border: 1px solid var(--neutral-100);
    cursor: default;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-200);
}

.value-icon-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-6);
}

.value-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.value-card:hover .value-icon-bg {
    background: var(--gradient-primary);
    transform: rotate(6deg);
}

.value-icon {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    color: var(--primary-600);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: color var(--transition-base);
}

.value-card:hover .value-icon {
    color: white;
}

.value-title {
    font-size: var(--text-xl);
    color: var(--neutral-900);
    margin-bottom: var(--space-3);
}

.value-desc {
    font-size: var(--text-sm);
    color: var(--neutral-500);
    line-height: 1.7;
}

.value-number {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: 800;
    color: var(--neutral-100);
    opacity: 0.5;
    transition: all var(--transition-base);
    line-height: 1;
}

.value-card:hover .value-number {
    color: var(--primary-100);
    opacity: 0.4;
}

/* === Services Section === */
.services-section {
    background: white;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-600);
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-btn:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
    background: var(--primary-50);
}

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

.tab-btn svg {
    width: 18px;
    height: 18px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    background: var(--neutral-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    border: 1px solid var(--neutral-100);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.service-badge svg {
    width: 16px;
    height: 16px;
}

.service-detail-content h3 {
    font-size: var(--text-2xl);
    color: var(--neutral-900);
    margin-bottom: var(--space-4);
}

.service-detail-content p {
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.list-check {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-list li div {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    line-height: 1.6;
}

.service-list li strong {
    color: var(--neutral-800);
}

.service-card-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.service-mini-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.service-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.smc-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-500);
}

.service-mini-card span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-700);
}

/* === Why Us Section === */
.why-us-section {
    position: relative;
    padding: var(--space-24) 0;
}

.why-us-bg {
    position: absolute;
    inset: 0;
}

.why-us-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
}

.why-us-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(77,202,202,0.16), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,249,251,0.98));
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.why-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-card-inner {
    position: relative;
    z-index: 1;
    padding: var(--space-8);
    background: rgba(255,255,255,0.86);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 100%;
    transition: all var(--transition-base);
}

.why-card:hover .why-card-inner {
    background: white;
    border-color: var(--primary-200);
    box-shadow: var(--shadow-xl);
}

.why-card-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-slow);
    filter: blur(20px);
}

.why-card:hover .why-card-glow {
    opacity: 0.5;
}

.why-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.why-icon {
    width: 26px;
    height: 26px;
    color: white;
}

.why-card h3 {
    color: var(--neutral-900);
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.why-card p {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    line-height: 1.7;
}

/* === Clients Section === */
.clients-section {
    background: var(--neutral-50);
}

.clients-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
}

.clients-col-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    color: var(--neutral-900);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--primary-100);
    margin-bottom: var(--space-6);
}

.clients-col-title svg {
    width: 24px;
    height: 24px;
    color: var(--primary-500);
}

.clients-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.client-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-100);
    font-size: var(--text-sm);
    color: var(--neutral-700);
    transition: all var(--transition-base);
}

.client-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.client-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-400);
    flex-shrink: 0;
}

.client-dot.customer {
    background: var(--accent-400);
}

/* === Portfolio Section === */
.portfolio-section {
    background: white;
}

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

.portfolio-item {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-2xl);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(8,18,48,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--primary-500);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
    width: fit-content;
}

.portfolio-overlay h4 {
    color: white;
    font-size: var(--text-base);
    font-weight: 600;
}

/* === Quote Section === */
.quote-section {
    position: relative;
    padding: var(--space-24) 0;
}

.quote-bg {
    position: absolute;
    inset: 0;
}

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

.quote-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(8,18,48,0.92) 0%, rgba(10,64,64,0.88) 100%);
}

.quote-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-400);
    margin-bottom: var(--space-6);
    opacity: 0.6;
}

.quote-text {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    color: white;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-8);
}

.quote-line {
    width: 60px;
    height: 2px;
    background: var(--primary-400);
    margin: 0 auto var(--space-4);
}

.quote-author {
    font-size: var(--text-sm);
    color: var(--primary-300);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* === Contact Section === */
.contact-section {
    background: var(--neutral-50);
}

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

.contact-grid.contact-grid-info-only {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition-base);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
    transform: translateX(5px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cc-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-600);
}

.contact-card-content h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-1);
}

.contact-card-content a,
.contact-card-content p {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    display: block;
    line-height: 1.6;
}

.contact-card-content a:hover {
    color: var(--primary-500);
}

/* Contact Form */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
}

.contact-form-wrap.is-hidden {
    display: none;
}

.form-title {
    font-size: var(--text-xl);
    color: var(--neutral-900);
    margin-bottom: var(--space-6);
}

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

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

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--neutral-800);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(15, 165, 165, 0.1);
    background: white;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e7787' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

/* === Footer === */
.footer {
    background: var(--neutral-950);
    color: white;
    padding: var(--space-16) 0 var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-10);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo-img {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-logo-main {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-lg);
}

.footer-logo-sub {
    display: block;
    font-size: var(--text-xs);
    color: var(--primary-300);
}

.footer-desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
    padding: var(--space-1) 0;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-300);
    transform: translateX(3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-6);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.4);
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(221,225,232,0.9);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.back-to-top:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
}

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

/* === Animations === */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* Scroll Reveal */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* === Updated Content Layout === */
.hero-content-wide {
    max-width: 1220px;
}

.hero-intro-copy {
    display: block;
    padding: var(--space-6);
    border-left: 3px solid rgba(77,202,202,0.65);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

.service-box-grid,
.industries-grid,
.insights-grid {
    display: grid;
    gap: var(--space-6);
}

.service-box-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-box-grid .service-box {
    grid-column: span 2;
}

.service-box-grid .service-box:nth-last-child(2) {
    grid-column: 2 / span 2;
}

.service-box-grid .service-box:last-child {
    grid-column: 4 / span 2;
}

.service-box,
.industry-card,
.insight-card {
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-slow);
}

.service-box {
    position: relative;
    min-height: 100%;
    padding: var(--space-6);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,249,251,0.96)),
        radial-gradient(circle at top right, rgba(38,191,191,0.12), transparent 40%);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.service-box::after {
    content: '';
    position: absolute;
    inset: auto var(--space-6) 0;
    height: 3px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-box:hover,
.industry-card:hover,
.insight-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-200);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-box:hover::after {
    transform: scaleX(1);
}

.service-box-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: var(--space-5);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--neutral-100);
    box-shadow: 0 12px 30px rgba(15, 26, 38, 0.12);
}

.service-box-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 18, 48, 0.02), rgba(8, 18, 48, 0.18)),
        linear-gradient(135deg, rgba(15, 165, 165, 0.18), transparent 42%);
    pointer-events: none;
}

.service-box-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.service-box:hover .service-box-media img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.service-box-icon,
.industry-card-icon,
.insight-card i {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    color: var(--primary-600);
    margin-bottom: var(--space-5);
}

.service-box-icon svg,
.industry-card-icon svg,
.insight-card svg {
    width: 27px;
    height: 27px;
}

.service-box h3,
.insight-card h3 {
    font-size: var(--text-xl);
    color: var(--neutral-900);
    margin-bottom: var(--space-3);
}

.service-box p,
.insight-card p {
    color: var(--neutral-600);
    font-size: var(--text-sm);
    line-height: 1.75;
}

.industries-section {
    background: var(--neutral-50);
}

.industries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-8);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,249,251,0.98)),
        radial-gradient(circle at top right, rgba(15,165,165,0.14), transparent 42%),
        radial-gradient(circle at bottom left, rgba(26,58,138,0.08), transparent 36%);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(77,202,202,0.2), transparent 68%);
    opacity: 0;
    transform: translate(30px, -30px);
    transition: opacity var(--transition-base), transform var(--transition-base);
    pointer-events: none;
}

.industry-card::after {
    content: '';
    position: absolute;
    inset: auto var(--space-6) 0;
    height: 3px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.industry-card:hover::before {
    opacity: 1;
    transform: translate(8px, -8px);
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-card-icon {
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 28px rgba(15, 165, 165, 0.16);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.industry-card:hover .industry-card-icon {
    transform: translateY(-2px) scale(1.04);
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 14px 34px rgba(15, 165, 165, 0.28);
}

.industry-card h3 {
    position: relative;
    z-index: 1;
    color: var(--neutral-900);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--space-3);
}

.industry-card p {
    position: relative;
    z-index: 1;
    color: var(--neutral-600);
    font-size: var(--text-sm);
    line-height: 1.75;
}

.insights-section {
    background: white;
}

.insights-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
}

.insight-card {
    padding: var(--space-8);
    background: var(--neutral-50);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
        padding-top: calc(var(--nav-height) + var(--space-12));
    }

    .hero-copy {
        max-width: 720px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-subtitle {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-map-wrap {
        min-height: 260px;
    }

    .hero-map-img {
        width: min(100%, 620px);
    }

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

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

    .service-box-grid,
    .industries-grid,
    .insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-box-grid .service-box,
    .service-box-grid .service-box:nth-last-child(2),
    .service-box-grid .service-box:last-child {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-xl);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: calc(var(--nav-height) + var(--space-8)) var(--space-8);
        transition: right var(--transition-base);
        gap: var(--space-2);
        align-items: stretch;
    }

    .nav-item {
        width: 100%;
    }

    .nav-dropdown {
        position: static;
        min-width: 0;
        margin: var(--space-1) 0 var(--space-2);
        padding: 0 0 0 var(--space-4);
        border: 0;
        border-left: 1px solid rgba(77,202,202,0.25);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-dropdown-link {
        padding: var(--space-2) var(--space-3);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        padding: var(--space-3) var(--space-4);
    }

    .language-switcher {
        margin-left: auto;
        margin-right: var(--space-2);
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .card-experience {
        right: -10px;
    }

    .card-certified {
        left: -10px;
    }

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

    .service-detail {
        grid-template-columns: 1fr;
        padding: var(--space-8);
    }

    .service-box-grid,
    .industries-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .hero-intro-copy {
        border-left: 0;
        border-top: 3px solid rgba(77,202,202,0.45);
        border-radius: var(--radius-xl);
        text-align: center;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .clients-wrapper {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero-stats {
        gap: var(--space-6);
    }

    .stat-divider {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-brand {
        order: 1;
    }

    .footer-contact {
        order: 2;
    }

    .footer-links {
        order: 3;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .section {
        padding: var(--space-16) 0;
    }

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

    .hero-subtitle br {
        display: none;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .services-tabs {
        gap: var(--space-2);
    }

    .tab-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }

    .logo-sub {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-left: var(--space-5);
        padding-right: var(--space-5);
        gap: var(--space-8);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-badge {
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-4);
    }

    .hero-subtitle {
        font-size: var(--text-base);
        padding: var(--space-5);
    }

    .hero-map-wrap {
        min-height: 180px;
    }

    .hero-map-img {
        width: 112%;
        max-width: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .floating-card {
        display: none;
    }
}

/* Mobile overlay for menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Lightbox for Portfolio (optional) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: var(--text-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Selection styling */
::selection {
    background: var(--primary-200);
    color: var(--neutral-900);
}

/* Focus styling */
*:focus-visible {
    outline: 2px solid var(--primary-400);
    outline-offset: 2px;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-500);
}
