/* ============================================
   GEO GROUP - CIVIL ENGINEERING WEBSITE
   Clean white theme, professional & trustworthy
   ============================================ */

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

:root {
    /* Clean Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-card: #ffffff;
    --bg-dark: #0f1419;
    --bg-dark-secondary: #1a1f26;
    
    /* Professional Navy & Slate Accents */
    --accent-primary: #1e3a5f;       /* Deep navy */
    --accent-secondary: #2d5a87;     /* Medium navy */
    --accent-highlight: #dc5a32;     /* Terracotta/rust for highlights */
    --accent-gradient: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    --accent-glow: rgba(30, 58, 95, 0.15);
    
    /* Neutral Tones */
    --slate-dark: #374151;
    --slate-medium: #6b7280;
    --slate-light: #9ca3af;
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    
    /* Borders */
    --border-color: #e5e7eb;
    --border-hover: #d1d5db;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-gap: 120px;
    --container-max: 1400px;
    --container-padding: 80px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .logo-img {
    height: clamp(50px, 8vw, 70px);
}

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

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

.logo-img {
    height: clamp(55px, 10vw, 90px);
    width: auto;
    transition: all var(--duration-fast) ease;
}

/* Logo switching for dark/light navbar states */
.logo-dark {
    display: none;
}

.logo-white {
    display: block;
}

.navbar.scrolled .logo-white {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: color var(--duration-fast) ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--duration-normal) var(--ease-out);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all var(--duration-fast) ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .lang-btn {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.navbar.scrolled .lang-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.lang-current {
    color: white;
    font-weight: 700;
}

.navbar.scrolled .lang-current {
    color: var(--accent-primary);
    font-weight: 700;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.4);
}

.navbar.scrolled .lang-divider {
    color: var(--text-muted);
}

.lang-alt {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.navbar.scrolled .lang-alt {
    color: var(--text-tertiary);
}

.nav-cta {
    padding: 11px 24px;
    background: var(--accent-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--duration-fast) ease;
}

.nav-cta:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

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

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: white;
    transition: all var(--duration-fast) ease;
}

.navbar.scrolled .mobile-toggle span {
    background: var(--text-primary);
}

/* Mobile Toggle Animation */
.mobile-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

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

.mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--duration-fast) ease;
}

.mobile-nav-link:hover {
    color: var(--accent-primary);
}

.mobile-menu-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-lang {
    display: flex;
    justify-content: center;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px var(--container-padding) 100px;
    background: var(--accent-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1); /* For parallax scroll */
    transition: transform 0.1s ease-out;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 58, 95, 0.8) 0%,
        rgba(30, 58, 95, 0.4) 50%,
        rgba(255, 255, 255, 1) 100%
    );
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    margin-bottom: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-highlight);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: white;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }

.title-accent {
    color: white;
    opacity: 0.9;
}

.hero-description {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
    opacity: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: var(--bg-primary);
    padding: 80px var(--container-padding);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80px;
    background: var(--border-color);
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    letter-spacing: -2px;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.8;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.scroll-cue {
    position: absolute;
    bottom: 30px;
    left: var(--container-padding);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 1s var(--ease-out) 1s forwards;
    opacity: 0;
}

.scroll-cue span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, white, transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-primary svg {
    transition: transform var(--duration-fast) ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.hero .btn-primary {
    background: white;
    color: var(--accent-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero .btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-ghost:hover {
    background: white;
    color: var(--accent-primary);
    border-color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

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

/* ============================================
   ROLLING LOGO MARQUEE - TRUST BAR
   ============================================ */

.trust-bar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
    overflow: hidden;
}

.trust-header {
    text-align: center;
    margin-bottom: 28px;
}

.trust-label {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-display);
    font-style: italic;
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    height: 60px;
    flex-shrink: 0;
}

.trust-logo img {
    height: 32px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.6;
    transition: all var(--duration-fast) ease;
}

.trust-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.section-description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: var(--section-gap) 0;
    background: var(--bg-primary);
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.about-header {
    margin-bottom: 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.about-lead {
    font-size: 22px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 40px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all var(--duration-fast) ease;
}

.highlight-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.highlight-text strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.highlight-text span {
    font-size: 13px;
    color: var(--text-tertiary);
}

.about-visual {
    position: relative;
}

.visual-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(15, 20, 25, 0.9), transparent);
}

.overlay-tag {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.overlay-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.visual-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: var(--accent-primary);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(50px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
}

.services-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header .section-description {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--duration-normal) var(--ease-out);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

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

.card-number {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: var(--bg-tertiary);
    line-height: 1;
    margin-bottom: 20px;
}

.service-card:hover .card-number {
    color: var(--accent-primary);
    opacity: 0.15;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.card-content > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.card-list li {
    font-size: 13px;
    color: var(--text-tertiary);
    padding-left: 18px;
    position: relative;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.card-icon {
    position: absolute;
    top: 36px;
    right: 36px;
    color: var(--bg-tertiary);
    transition: color var(--duration-fast) ease;
}

.service-card:hover .card-icon {
    color: var(--accent-primary);
    opacity: 0.15;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    padding: var(--section-gap) 0;
    background: var(--bg-primary);
}

.projects-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 40px;
}

.header-right {
    text-align: right;
    max-width: 380px;
}

.header-right p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    transition: gap var(--duration-fast) ease;
}

.link-arrow:hover {
    gap: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.project-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.project-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.project-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

.project-large .project-image {
    aspect-ratio: auto;
    min-height: 360px;
}

.project-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .image-placeholder {
    transform: scale(1.03);
}

.project-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.project-large .project-content {
    justify-content: center;
    padding: 36px;
}

.project-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.project-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    padding: 5px 12px;
    background: var(--accent-primary);
    border-radius: 4px;
}

.project-year {
    font-size: 12px;
    color: var(--text-tertiary);
    align-self: center;
}

.project-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.proj-stat {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.proj-stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-primary);
}

.proj-stat-unit {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.cta-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cta-content p {
    font-size: 17px;
    color: var(--slate-light);
}

.cta-section .btn-primary {
    background: white;
    color: var(--accent-primary);
}

.cta-section .btn-primary:hover {
    background: var(--bg-secondary);
    box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}

/* ============================================
   PROJECT MAP SECTION
   ============================================ */

.project-map-section {
    padding: var(--section-gap) 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.project-map-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.project-map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 40px;
    flex-wrap: wrap;
}

.section-tag--light {
    color: var(--accent-highlight);
}

.section-title--light {
    color: var(--text-light);
}

.text-gradient-light {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description--light {
    color: var(--slate-light);
}

.project-map-controls {
    flex-shrink: 0;
}

/* Map Filters */
.map-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--slate-light);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.map-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.map-filter-btn.active {
    background: var(--text-light);
    border-color: var(--text-light);
    color: var(--bg-dark);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.map-filter-btn.active .filter-count {
    background: var(--accent-primary);
    color: var(--text-light);
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.project-map {
    width: 100%;
    height: 600px;
    background: var(--bg-dark-secondary);
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 20px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-marker {
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.legend-marker--featured {
    width: 20px;
    height: 20px;
    background: #f59e0b;
}

.legend-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Map Markers */
.map-marker {
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.map-marker:hover,
.map-marker:focus {
    transform: scale(1.3);
    box-shadow: 0 5px 20px rgba(30, 58, 95, 0.5);
    outline: none;
}

.map-marker:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.3), 0 5px 20px rgba(30, 58, 95, 0.5);
}

.map-marker--featured {
    width: 32px;
    height: 32px;
    background: #f59e0b;
    border-width: 4px;
}

.map-marker--featured:hover,
.map-marker--featured:focus {
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.5);
}

/* Map Popup */
.map-popup-container .mapboxgl-popup-content {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 280px;
}

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

.map-popup__image {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

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

.map-popup__image.image-error img {
    display: none;
}

.map-popup__image.image-error::after {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.map-popup__content {
    padding: 16px;
}

.map-popup__type {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-primary);
    margin-bottom: 6px;
}

.map-popup__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.map-popup__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.map-popup__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.map-popup__location svg {
    flex-shrink: 0;
}

.map-popup__year {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Mapbox popup tip */
.map-popup-container .mapboxgl-popup-tip {
    border-top-color: white;
}

/* Project Modal */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
}

.project-modal__container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--duration-normal) var(--ease-out);
}

.project-modal.active .project-modal__container {
    transform: scale(1) translateY(0);
}

.project-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-modal__close:hover {
    background: var(--text-light);
    transform: rotate(90deg);
}

.project-modal__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow-y: auto;
}

.project-modal__gallery {
    background: var(--bg-tertiary);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-modal__image-main {
    flex: 1;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.project-modal__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal__image-fallback {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.project-modal__thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.project-modal__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    background: none;
    padding: 0;
}

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

.project-modal__thumb:hover {
    border-color: var(--accent-primary);
    opacity: 0.8;
}

.project-modal__thumb.active {
    border-color: var(--accent-primary);
}

.project-modal__info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.project-modal__header {
    margin-bottom: 24px;
}

.project-modal__type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    padding: 6px 14px;
    background: var(--accent-primary);
    border-radius: 4px;
    margin-bottom: 14px;
}

.project-modal__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.project-modal__location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

.project-modal__location svg {
    color: var(--accent-primary);
}

.project-modal__body {
    flex: 1;
}

.project-modal__description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.project-modal__specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.spec-item {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.spec-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.project-modal__client {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.project-modal__client .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
}

.project-modal__client .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.project-modal__footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.project-modal__cta {
    width: 100%;
    justify-content: center;
}

/* Mapbox Navigation Controls */
.mapboxgl-ctrl-group {
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.mapboxgl-ctrl-group button {
    width: 36px !important;
    height: 36px !important;
}

.mapboxgl-ctrl-attrib {
    font-size: 10px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
}

/* Project Map Responsive */
@media (max-width: 1200px) {
    .project-map-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-modal__content {
        grid-template-columns: 1fr;
    }

    .project-modal__gallery {
        max-height: 300px;
    }

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

@media (max-width: 968px) {
    .project-map {
        height: 500px;
    }

    .map-filters {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .map-filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }

    .project-modal {
        padding: 20px;
    }

    .project-modal__container {
        max-height: 95vh;
    }

    .project-modal__info {
        padding: 24px;
    }

    .project-modal__title {
        font-size: 24px;
    }

    .project-modal__specs {
        grid-template-columns: 1fr;
    }

    .map-legend {
        bottom: 10px;
        left: 10px;
        right: 10px;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 16px;
    }
}

@media (max-width: 640px) {
    .project-map-section {
        padding: var(--section-gap) 0 60px;
    }

    .project-map {
        height: 400px;
        border-radius: 12px;
    }

    .map-wrapper {
        border-radius: 12px;
        margin: 0 -10px;
    }

    .map-legend {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 16px;
        background: var(--bg-dark-secondary);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .legend-label {
        color: var(--slate-light);
    }

    .project-modal {
        padding: 0;
    }

    .project-modal__container {
        border-radius: 20px 20px 0 0;
        max-height: 100vh;
        height: 100%;
    }

    .project-modal__close {
        top: 16px;
        right: 16px;
    }

    .project-modal__gallery {
        padding: 16px;
        max-height: 220px;
    }

    .project-modal__image-main {
        min-height: 180px;
    }

    .project-modal__info {
        padding: 20px;
    }

    .project-modal__title {
        font-size: 22px;
    }

    .project-modal__description {
        font-size: 14px;
    }

    .spec-item {
        padding: 12px;
    }

    .spec-value {
        font-size: 14px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: var(--section-gap) 0;
    background: var(--bg-secondary);
}

.contact-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.office-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.office-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all var(--duration-fast) ease;
}

.office-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.office-flag {
    font-size: 32px;
    line-height: 1;
}

.office-details h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.office-details p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.office-details a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.office-details a:hover {
    color: var(--accent-primary);
}

.contact-form-wrapper {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    transition: all var(--duration-fast) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    cursor: pointer;
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-dark);
    padding: 70px 0 36px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 70px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 18px;
}

.footer-logo-img {
    height: clamp(50px, 10vw, 65px);
    width: auto;
    filter: brightness(0) invert(1);
    transition: height var(--duration-fast) ease;
}

.footer-brand p {
    font-size: 14px;
    color: var(--slate-medium);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-light);
    transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    font-size: 14px;
    color: var(--slate-medium);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.footer-column a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--slate-medium);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--slate-medium);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.footer-legal a:hover {
    color: var(--text-light);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    :root {
        --container-padding: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-logo {
        padding: 0 36px;
    }
}

@media (max-width: 968px) {
    :root {
        --section-gap: 80px;
    }
    
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
    
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .scroll-cue {
        display: none;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .stat-value {
        font-size: 48px;
    }
    
    .stat-suffix {
        font-size: 28px;
    }
    
    .trust-bar {
        padding: 40px 0;
    }
    
    .trust-header {
        margin-bottom: 24px;
    }
    
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .header-right {
        text-align: left;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .project-large {
        grid-template-columns: 1fr;
    }
    
    .project-large .project-image {
        min-height: 250px;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-logo {
        padding: 0 24px;
    }
    
    .trust-logo img {
        height: 28px;
        max-width: 120px;
    }
    
    /* Touch-friendly tap targets */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
    }
    
    .nav-link,
    .footer-column a {
        padding: 8px 0;
    }
}

@media (max-width: 640px) {
    :root {
        --container-padding: 20px;
        --section-gap: 60px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .logo-img {
        height: clamp(50px, 12vw, 65px);
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .hero-title {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-section {
        padding: 50px var(--container-padding);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .stat-item::after {
        display: none !important;
    }
    
    .stat-value {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .stat-suffix {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    
    .section-tag {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-lead {
        font-size: 16px;
    }
    
    .highlight-item {
        padding: 16px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .card-number {
        font-size: 48px;
    }
    
    .card-icon {
        display: none;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .office-card {
        padding: 20px;
    }
    
    .cta-section {
        padding: 60px var(--container-padding);
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    
    .trust-logo {
        padding: 0 16px;
    }
    
    .trust-logo img {
        height: 24px;
        max-width: 100px;
    }
    
    /* Ensure all interactive elements are tap-friendly */
    a, button {
        min-height: 44px;
    }
    
    .footer-column a {
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
    }
}
