/* ===========================
   LASA ENGINEERING SOLUTIONS - Design System
   Industrial Navy + Copper/Gold Theme
   =========================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Primary - Deep Industrial Navy */
  --navy-950: #050D1A;
  --navy-900: #0B1B36;
  --navy-800: #122646;
  --navy-700: #1A3660;
  --navy-600: #234880;
  --navy-500: #2D5AA0;
  
  /* Accent - Warm Copper / Gold */
  --copper-700: #92400E;
  --copper-600: #B45309;
  --copper-500: #D97706;
  --copper-400: #F59E0B;
  --copper-300: #FCD34D;
  --gold-gradient: linear-gradient(135deg, #B45309 0%, #F59E0B 50%, #D97706 100%);
  
  /* Neutral / Chrome */
  --chrome-50: #F8FAFC;
  --chrome-100: #F1F5F9;
  --chrome-200: #E2E8F0;
  --chrome-300: #CBD5E1;
  --chrome-400: #94A3B8;
  --chrome-500: #64748B;
  --chrome-600: #475569;
  --chrome-700: #334155;
  
  /* Semantic */
  --bg-primary: #060E1C;
  --bg-secondary: #0B1B36;
  --bg-card: rgba(18, 38, 70, 0.6);
  --bg-glass: rgba(11, 27, 54, 0.75);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-accent: #F59E0B;
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-accent: rgba(245, 158, 11, 0.3);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.15);
  
  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container-max: 1280px;
  
  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out-expo);
  --transition-slow: 0.6s var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--copper-500) var(--navy-900);
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--navy-900);
}

html::-webkit-scrollbar-thumb {
  background: var(--copper-500);
  border-radius: 4px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* --- Utility Classes --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper-400);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--chrome-100) 0%, var(--chrome-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.gold-text {
  color: var(--copper-400);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-accent);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--copper-400);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--copper-400);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--navy-950);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  z-index: 1001;
  position: relative;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-base);
}

.top-bar-item:hover {
  color: var(--copper-400);
}

.top-bar-item i {
  color: var(--copper-500);
  font-size: 0.85rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: all var(--transition-base);
}

.top-bar-right a:hover {
  color: var(--copper-400);
  border-color: var(--copper-400);
  background: rgba(245, 158, 11, 0.08);
}

/* --- Header / Navbar --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(5, 13, 26, 0.95);
}

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

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

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 24px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile nav actions — visible only inside mobile overlay */
.mobile-nav-actions {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.05);
  z-index: 1010;
  flex-shrink: 0;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.mobile-toggle:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: var(--border-accent);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out-expo);
  transform-origin: center;
}

.mobile-toggle.active {
  border-color: var(--copper-400);
  background: rgba(245, 158, 11, 0.08);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

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

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1);
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 13, 26, 0.92) 0%,
    rgba(11, 27, 54, 0.75) 40%,
    rgba(5, 13, 26, 0.85) 100%
  );
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: var(--section-pad) 0;
}

/* Hero text transition for discipline switcher */
.hero-content.switching .hero-title,
.hero-content.switching .hero-description,
.hero-content.switching .hero-badge {
  animation: textSwitch 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes textSwitch {
  0%   { opacity: 1; transform: translateY(0); }
  50%  { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--copper-400);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--copper-400);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(3rem, 5.8vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 620px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s var(--ease-out-expo) 1s both;
}

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

.hero-stat .number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-stat .label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Discipline Switcher Panel --- */
.hero-discipline-switcher {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(5, 13, 26, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  padding: 16px 20px 12px;
  max-width: 860px;
  width: calc(100% - 48px);
  animation: floatIn 1s var(--ease-out-expo) 1.2s both;
}

.switcher-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--copper-400);
  text-align: center;
  margin-bottom: 12px;
}

.switcher-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.switcher-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--chrome-400);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.switcher-tab i {
  font-size: 0.8rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.switcher-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.1);
}

.switcher-tab.active {
  color: var(--copper-400);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  font-weight: 600;
}

.switcher-tab.active i {
  opacity: 1;
}

.switcher-progress {
  margin-top: 10px;
  height: 2px;
  background: rgba(148, 163, 184, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.switcher-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.1s linear;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateX(-50%) translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* --- Services Section --- */
.services {
  padding: var(--section-pad) 0;
  position: relative;
}

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

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

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

.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-slow);
  cursor: pointer;
  group: true;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 13, 26, 0.9) 100%);
}

.service-card-icon {
  position: absolute;
  bottom: -24px;
  left: 24px;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  border-radius: 14px;
  font-size: 1.3rem;
  color: #1a1a1a;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.service-card:hover .service-card-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-card-body {
  padding: 36px 24px 24px;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper-400);
  transition: gap var(--transition-base);
}

.service-card:hover .service-card-link {
  gap: 10px;
}

/* --- About Section --- */
.about {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--copper-500);
  border-radius: 20px;
  opacity: 0.2;
  z-index: -1;
}

.about-stats-card {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.about-stats-card .stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  border-radius: 12px;
  font-size: 1.2rem;
  color: #1a1a1a;
}

.about-stats-card .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.about-stats-card .stat-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.about-content .section-label {
  margin-bottom: 16px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(18, 38, 70, 0.4);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.about-feature:hover {
  border-color: var(--border-accent);
  background: rgba(245, 158, 11, 0.04);
}

.about-feature i {
  color: var(--copper-400);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--chrome-200);
}

/* --- Process Section --- */
.process {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header .section-subtitle {
  margin: 0 auto;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--copper-500), var(--copper-400), var(--copper-500));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--copper-400);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.process-step:hover .process-step-number {
  background: var(--gold-gradient);
  color: #1a1a1a;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 240px;
  margin: 0 auto;
}

/* --- Testimonial Section --- */
.testimonials {
  padding: var(--section-pad) 0;
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.testimonial-quote-icon {
  font-size: 4rem;
  color: var(--copper-500);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--chrome-200);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.testimonial-author-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author-info p {
  font-size: 0.88rem;
  color: var(--copper-400);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.testimonial-stars i {
  color: var(--copper-400);
  font-size: 0.85rem;
}

/* --- Contact Section --- */
.contact {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
}

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

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(18, 38, 70, 0.4);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.contact-detail-item:hover {
  border-color: var(--border-accent);
  background: rgba(245, 158, 11, 0.04);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--copper-400);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-detail-text a:hover {
  color: var(--copper-400);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(5, 13, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--copper-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.form-group select option {
  background: var(--navy-900);
  color: var(--text-primary);
}

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

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

.form-submit-btn {
  width: 100%;
  padding: 16px;
  justify-content: center;
  font-size: 1rem;
}

/* --- Footer --- */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border-subtle);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.footer-socials a:hover {
  color: var(--copper-400);
  border-color: var(--copper-400);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--copper-400);
  padding-left: 6px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(18, 38, 70, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-base);
}

.footer-newsletter-form input:focus {
  border-color: var(--copper-400);
}

.footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--gold-gradient);
  border: none;
  border-radius: 8px;
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.footer-newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--chrome-600);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--chrome-600);
  transition: color var(--transition-base);
}

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

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: fab-bounce 2s infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes fab-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 998;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  color: var(--copper-400);
  border-color: var(--copper-400);
  transform: translateY(-3px);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-floating-card {
    display: none;
  }
}

@media (max-width: 768px) {
  /* --- Base mobile overrides --- */
  :root {
    --section-pad: clamp(40px, 6vw, 60px);
  }

  .container {
    padding: 0 20px;
  }

  .top-bar {
    display: none;
  }

  /* --- Header / Navigation --- */
  .nav-links,
  .nav-cta {
    display: none;
  }
  
  .header.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(5, 13, 26, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: rgba(5, 13, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 32px 24px 48px;
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
    z-index: 1005;
    overflow-y: auto;
    border-top: 1px solid var(--border-accent);
    box-sizing: border-box;
    animation: slideDownMenu 0.3s var(--ease-out-expo) both;
  }

  @keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  .nav-links.mobile-open a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 14px 32px;
    color: var(--chrome-200);
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links.mobile-open a:hover,
  .nav-links.mobile-open a.active {
    color: var(--copper-400);
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
  }
  
  .mobile-toggle {
    display: flex;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    width: 80%;
    max-width: 280px;
  }

  .mobile-nav-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .header .container {
    height: 64px;
  }
  
  .logo img {
    height: 40px;
  }
  
  /* --- Hero mobile --- */
  .hero {
    min-height: auto;
    padding-top: 74px;
    padding-bottom: 24px;
    display: block;
    overflow: visible;
  }

  .hero > .container {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    position: relative;
    z-index: 3;
  }

  .hero-content {
    padding: 12px 0 0;
    max-width: 100%;
    width: 100%;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: 12px;
    display: inline-flex;
    max-width: 100%;
  }

  .hero-badge #heroBadgeText {
    white-space: normal;
    word-break: break-word;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6.8vw, 2.4rem);
    margin-bottom: 14px;
    line-height: 1.15;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 100%;
    color: var(--chrome-200);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-cta {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
  }

  .hero-cta .btn {
    flex: 1;
    justify-content: center;
    padding: 13px 10px;
    min-height: 46px;
    font-size: 0.88rem;
    white-space: nowrap;
    gap: 6px;
  }
  
  .hero-stats {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .hero-stat {
    flex: 1;
    text-align: center;
  }

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

  .hero-stat .number {
    font-size: 1.4rem;
    line-height: 1.1;
  }

  .hero-stat .label {
    font-size: 0.7rem;
    letter-spacing: 0.3px;
    margin-top: 2px;
  }

  /* --- Discipline Switcher mobile --- */
  .hero-discipline-switcher {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 0;
    margin-bottom: 8px;
    padding: 12px 10px 8px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1.2s both;
  }

  .switcher-label {
    font-size: 0.58rem;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
  }

  .switcher-tabs {
    gap: 4px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .switcher-tabs::-webkit-scrollbar {
    display: none;
  }

  .switcher-tab {
    padding: 6px 10px;
    font-size: 0.68rem;
    gap: 5px;
    flex-shrink: 0;
    min-height: 36px;
    scroll-snap-align: start;
    border-radius: 8px;
  }

  .switcher-tab i {
    font-size: 0.68rem;
  }

  /* --- Marquee mobile --- */
  .scope-marquee {
    padding: 12px 0;
  }

  .marquee-item {
    font-size: 0.78rem;
    letter-spacing: 1px;
    gap: 8px;
  }

  .marquee-track {
    gap: 24px;
  }

  /* --- Section headers mobile --- */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .services-header .section-title,
  .about-content .section-title,
  .process-header .section-title,
  .testimonials-header .section-title,
  .contact-info .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 2.5px;
  }

  .section-label::before {
    width: 24px;
  }

  /* --- Services mobile --- */
  .services {
    padding: var(--section-pad) 0;
  }

  .services-header {
    margin-bottom: 36px;
  }

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

  .service-card {
    border-radius: 14px;
  }

  .service-card-image {
    height: 180px;
  }

  .service-card-body {
    padding: 32px 18px 18px;
  }

  .service-card-title {
    font-size: 1.05rem;
  }

  .service-card-desc {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .service-card-icon {
    width: 44px;
    height: 44px;
    bottom: -20px;
    left: 18px;
    font-size: 1rem;
  }

  .service-card-link {
    font-size: 0.82rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* --- About mobile --- */
  .about {
    padding: var(--section-pad) 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image img {
    height: 240px;
    border-radius: 14px;
  }

  .about-image {
    border-radius: 14px;
  }

  .about-image-accent {
    display: none;
  }

  .about-stats-card {
    bottom: -16px;
    left: 14px;
    padding: 12px 18px;
    gap: 12px;
    border-radius: 12px;
  }

  .about-stats-card .stat-number {
    font-size: 1.1rem;
  }

  .about-stats-card .stat-text {
    font-size: 0.68rem;
  }

  .about-stats-card .stat-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-feature {
    padding: 12px 14px;
    border-radius: 10px;
    gap: 10px;
  }

  .about-feature span {
    font-size: 0.88rem;
  }

  .about-text {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 20px;
  }

  .about-content .section-title {
    margin-bottom: 16px;
  }

  /* --- Process mobile --- */
  .process {
    padding: var(--section-pad) 0;
  }

  .process-header {
    margin-bottom: 36px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-step {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .process-step-number {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .process-step-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .process-step-desc {
    font-size: 0.85rem;
    line-height: 1.7;
  }
  
  /* --- Testimonial mobile --- */
  .testimonials {
    padding: var(--section-pad) 0;
  }

  .testimonial-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .testimonial-quote-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .testimonial-author {
    margin-top: 20px;
  }

  .testimonial-author-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  .testimonial-author-info h4 {
    font-size: 0.92rem;
  }

  .testimonial-author-info p {
    font-size: 0.78rem;
  }

  .testimonial-stars {
    font-size: 0.75rem;
  }

  /* --- Contact mobile --- */
  .contact {
    padding: var(--section-pad) 0;
  }

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

  .contact-detail-item {
    padding: 14px;
    gap: 12px;
    border-radius: 12px;
    min-height: 52px;
  }

  .contact-detail-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .contact-detail-text h4 {
    font-size: 0.9rem;
  }

  .contact-detail-text p {
    font-size: 0.8rem;
    word-break: break-word;
  }

  .contact-map {
    height: 180px !important;
    border-radius: 12px !important;
    margin-top: 20px !important;
  }

  .contact-form-wrapper {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .contact-form-wrapper h3 {
    font-size: 1.05rem;
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 0.82rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 14px;
    font-size: 16px;
    border-radius: 10px;
    min-height: 48px;
  }

  .form-group textarea {
    min-height: 100px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-submit-btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 0.95rem;
  }
  
  /* --- Footer mobile --- */
  .footer {
    padding-top: 40px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

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

  .footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .footer-col ul li a {
    font-size: 0.85rem;
    padding: 6px 0;
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  .footer-newsletter .btn {
    min-height: 48px;
    font-size: 0.88rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 0.78rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }

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

  /* --- FABs mobile --- */
  .whatsapp-fab {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 20px;
  }

  .back-to-top {
    bottom: calc(82px + env(safe-area-inset-bottom));
    right: 22px;
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* --- Buttons mobile --- */
  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
    min-height: 48px;
  }

  .section-divider {
    margin: 0;
  }

  .loader-content img {
    height: 56px;
  }

  .loader-bar {
    width: 140px;
  }
}

/* --- Tablet breakpoint (481px - 768px) --- */
@media (min-width: 481px) and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-card-image {
    height: 140px;
  }

  .service-card-body {
    padding: 28px 14px 14px;
  }

  .service-card-title {
    font-size: 0.95rem;
  }

  .service-card-desc {
    font-size: 0.78rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .about-image img {
    height: 320px;
  }

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

/* --- Extra small screens (< 380px) --- */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-description {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }

  .hero-badge #heroBadgeText {
    max-width: 200px;
    font-size: 0.6rem;
  }

  .hero-stat .number {
    font-size: 1.15rem;
  }

  .hero-stat .label {
    font-size: 0.58rem;
  }

  .section-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .service-card-image {
    height: 150px;
  }

  .service-card-body {
    padding: 28px 14px 14px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .contact-form-wrapper {
    padding: 20px 14px;
  }

  .switcher-tab {
    padding: 6px 10px;
    font-size: 0.65rem;
  }

  .switcher-tab span {
    display: none;
  }

  .switcher-tab i {
    font-size: 0.9rem;
  }

  .about-feature span {
    font-size: 0.82rem;
  }
}


/* --- Section dividers --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), var(--copper-500), var(--border-subtle), transparent);
}

/* --- Loading animation --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

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

.loader-content img {
  height: 80px;
  margin-bottom: 24px;
  animation: pulse-logo 1.5s ease-in-out infinite;
}

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

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--navy-700);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 3px;
  animation: loading-bar 1.5s ease-in-out infinite;
}

@keyframes loading-bar {
  0% { width: 0%; margin-left: 0; }
  50% { width: 60%; }
  100% { width: 0%; margin-left: 100%; }
}

/* --- Scope Marquee --- */
.scope-marquee {
  background: var(--navy-950);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  gap: 48px;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--chrome-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.marquee-item .separator {
  width: 6px;
  height: 6px;
  background: var(--copper-500);
  border-radius: 50%;
}

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

/* ===========================
   Projects / Portfolio Section
   =========================== */

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

.projects-header {
  text-align: center;
  margin-bottom: 48px;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--border-subtle);
  background: rgba(18, 38, 70, 0.4);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--copper-400);
  color: var(--copper-400);
  background: rgba(245, 158, 11, 0.08);
}

.filter-btn.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  transition: var(--transition-base);
}

.filter-btn:hover .filter-count {
  color: var(--copper-300);
  background: rgba(245, 158, 11, 0.2);
}

.filter-btn.active .filter-count {
  background: rgba(5, 13, 26, 0.3);
  color: var(--navy-950);
}

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

.project-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(30px);
  cursor: pointer;
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.hidden-by-filter {
  display: none;
}

.project-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow), 0 12px 36px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}

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

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 13, 26, 0.96) 0%, rgba(5, 13, 26, 0.65) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-gradient);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 10px;
  width: fit-content;
}

.project-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* ===========================
   Interactive Lightbox Modal
   =========================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: zoom-out;
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--navy-900);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease-out-expo);
}

.lightbox-modal.active .lightbox-container {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(5, 13, 26, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--chrome-200);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-base);
  backdrop-filter: blur(8px);
}

.lightbox-close:hover {
  background: var(--copper-500);
  color: #fff;
  border-color: transparent;
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(5, 13, 26, 0.75);
  border: 1px solid var(--border-subtle);
  color: var(--chrome-200);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-base);
  backdrop-filter: blur(8px);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-nav:hover {
  background: var(--gold-gradient);
  color: var(--navy-950);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  overflow-y: auto;
}

.lightbox-media {
  width: 100%;
  max-height: 64vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-media img {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  padding: 24px 32px 28px;
  background: linear-gradient(180deg, rgba(11, 27, 54, 0.95) 0%, rgba(5, 13, 26, 0.98) 100%);
  border-top: 1px solid var(--border-subtle);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.lightbox-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-gradient);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
}

.lightbox-counter {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}

.lightbox-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.lightbox-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .lightbox-modal {
    padding: 12px;
  }
  
  .lightbox-container {
    max-height: 94vh;
    border-radius: 16px;
  }
  
  .lightbox-media {
    max-height: 50vh;
  }
  
  .lightbox-media img {
    max-height: 50vh;
  }
  
  .lightbox-info {
    padding: 18px 20px 22px;
  }
  
  .lightbox-title {
    font-size: 1.15rem;
  }
  
  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  
  .lightbox-prev {
    left: 8px;
  }
  
  .lightbox-next {
    right: 8px;
  }
}
