/* ===== MACRO SOLUTIONS DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Primary Colors */
  --color-dark-blue: #0a1628;
  --color-navy: #1a2d4a;
  --color-navy-light: #243b5e;
  --color-silver: #c0c0c0;
  --color-silver-light: #e0e0e0;
  --color-white: #ffffff;
  --color-gold: #82C341;
  /* Logo Green */
  --color-gold-light: #A0D668;
  /* Lighter Green */
  --color-accent: #2196F3;
  --color-accent-dark: #1976D2;
  --color-success: #4CAF50;
  --color-danger: #e74c3c;
  --color-text: #e0e0e0;
  --color-text-muted: #8a9bb5;
  --color-text-dark: #333333;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-glass: rgba(255, 255, 255, 0.95);
  /* Light glass for sticky header */
  --color-glass-light: rgba(255, 255, 255, 0.8);
  --color-overlay: rgba(10, 22, 40, 0.7);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-h4: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(130, 195, 65, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-dark-blue);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-gold-light);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  outline: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
  outline: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

.text-gold {
  color: var(--color-gold);
}

.text-silver {
  color: var(--color-silver);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-dark {
  background: var(--color-dark-blue);
}

.section-navy {
  background: var(--color-navy);
}

.section-gradient {
  background: linear-gradient(180deg, var(--color-dark-blue) 0%, var(--color-navy) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .label {
  display: inline-block;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.section-header .underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: var(--fs-body);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-dark-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--color-dark-blue);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-dark-blue);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-dark-blue);
}

.btn-danger {
  background: var(--color-danger);
  color: var(--color-white);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-small);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ===== HEADER ===== */
/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-white);
  /* White background for header */
  transition: var(--transition);
  padding: 0;
  box-shadow: var(--shadow-sm);
  /* Always show subtle shadow */
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  /* Adjust height as needed */
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  color: var(--color-dark-blue);
  /* Dark text for white header */
  font-weight: 600;
  /* Increased weight for better visibility */
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
  /* Green on hover/active */
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mega Menu */
.nav-item {
  position: relative;
}

.nav-item .dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-item .dropdown-trigger svg {
  width: 12px;
  transition: var(--transition);
}

.nav-item:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  /* White background for menu */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.nav-item:hover .mega-menu,
.nav-item.active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

/* Footer Logo Styling */
.footer-brand .logo {
  background: var(--color-white);
  padding: 10px;
  border-radius: 8px;
  display: inline-flex;
}

.mega-menu a:hover {
  background: rgba(130, 195, 65, 0.05);
  /* Light green tint on hover */
}

.mega-menu a .menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(130, 195, 65, 0.1);
  /* Light green background */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mega-menu a .menu-label {
  font-weight: 600;
  color: var(--color-dark-blue);
  font-size: 0.9rem;
}

.mega-menu a .menu-desc {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--color-dark-blue);
  /* Dark color for mobile toggle */
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: var(--space-xl);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #060d1a 0%, var(--color-dark-blue) 25%, var(--color-navy) 50%, #0d2137 75%, #081525 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(212,168,83,0.1)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.6) 60%, rgba(10, 22, 40, 0.9) 100%);
  z-index: 1;
}

/* Animated Scan Line */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 83, 0.03) 40%, rgba(212, 168, 83, 0.06) 50%, rgba(212, 168, 83, 0.03) 60%, transparent 100%);
  animation: heroScanLine 6s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes heroScanLine {
  0% {
    left: -50%;
  }

  100% {
    left: 150%;
  }
}

/* Blueprint Grid SVG */
.hero-blueprint-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: fadeInSlow 2s ease 0.5s forwards;
}

/* Glowing Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  filter: blur(60px);
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: 10%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.18) 0%, transparent 70%);
  animation: orbFloat1 6s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -5%;
  left: 5%;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.12) 0%, transparent 70%);
  animation: orbFloat2 7s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  right: 35%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
  animation: orbFloat3 12s ease-in-out infinite;
}

/* Floating Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.5);
  box-shadow: 0 0 6px rgba(212, 168, 83, 0.3);
}

.p1 {
  width: 3px;
  height: 3px;
  top: 20%;
  left: 15%;
  animation: particleFloat 6s ease-in-out infinite;
}

.p2 {
  width: 2px;
  height: 2px;
  top: 40%;
  left: 25%;
  animation: particleFloat 8s ease-in-out 1s infinite;
}

.p3 {
  width: 4px;
  height: 4px;
  top: 60%;
  left: 70%;
  animation: particleFloat 7s ease-in-out 2s infinite;
}

.p4 {
  width: 2px;
  height: 2px;
  top: 30%;
  left: 80%;
  animation: particleFloat 9s ease-in-out 0.5s infinite;
}

.p5 {
  width: 3px;
  height: 3px;
  top: 70%;
  left: 40%;
  animation: particleFloat 6.5s ease-in-out 1.5s infinite;
}

.p6 {
  width: 2px;
  height: 2px;
  top: 15%;
  left: 55%;
  animation: particleFloat 8.5s ease-in-out 3s infinite;
}

.p7 {
  width: 3px;
  height: 3px;
  top: 85%;
  left: 60%;
  animation: particleFloat 7.5s ease-in-out 2.5s infinite;
}

.p8 {
  width: 2px;
  height: 2px;
  top: 50%;
  left: 90%;
  animation: particleFloat 10s ease-in-out 4s infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: var(--fs-small);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTitleGlow 4s ease-in-out infinite;
}

@keyframes heroTitleGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 0px transparent);
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(212, 168, 83, 0.2));
  }
}

.hero h1 .highlight {
  -webkit-text-fill-color: var(--color-gold);
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
}

.hero-stat .label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual Panel - Right Side */
.hero-visual-panel {
  position: absolute;
  right: 0;
  top: 42%;
  transform: translateY(-50%);
  width: 45%;
  height: 85%;
  z-index: 2;
  pointer-events: none;
  animation: fadeInRight 1.2s ease 0.5s both, heroPanelFloat 8s ease-in-out infinite 2s;
}

@keyframes heroPanelFloat {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-52%) translateX(-8px);
  }
}

/* Floating Light Streaks */
.hero-streak {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 83, 0.25) 50%, transparent 100%);
  transform: rotate(-25deg);
  opacity: 0;
}

.hs-1 {
  top: 20%;
  left: -10%;
  width: 300px;
  animation: streakMove 8s ease-in-out infinite;
}

.hs-2 {
  top: 50%;
  left: -10%;
  width: 200px;
  animation: streakMove 10s ease-in-out 3s infinite;
}

.hs-3 {
  top: 75%;
  left: -10%;
  width: 250px;
  animation: streakMove 7s ease-in-out 5s infinite;
}

@keyframes streakMove {
  0% {
    left: -20%;
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    left: 110%;
    opacity: 0;
  }
}

.hero-building-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(212, 168, 83, 0.05));
}

/* Floating Service Icon Badges */
.hero-float-icon {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 168, 83, 0.2);
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--color-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(212, 168, 83, 0.1);
  transition: var(--transition);
}

.hero-float-icon span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-silver-light);
}

.hero-float-icon svg {
  color: var(--color-gold);
}

/* Icon Positions & Floating Animations */
.hfi-1 {
  top: 12%;
  left: 5%;
  animation: heroIconFloat1 5s ease-in-out infinite, fadeInUp 0.8s ease 0.8s both;
}

.hfi-2 {
  top: 28%;
  right: 5%;
  animation: heroIconFloat2 6s ease-in-out infinite, fadeInUp 0.8s ease 1s both;
}

.hfi-3 {
  top: 48%;
  left: 10%;
  animation: heroIconFloat3 5.5s ease-in-out infinite, fadeInUp 0.8s ease 1.2s both;
}

.hfi-4 {
  bottom: 30%;
  right: 10%;
  animation: heroIconFloat4 7s ease-in-out infinite, fadeInUp 0.8s ease 1.4s both;
}

.hfi-5 {
  bottom: 15%;
  left: 15%;
  animation: heroIconFloat1 6.5s ease-in-out 1s infinite, fadeInUp 0.8s ease 1.6s both;
}

.hfi-6 {
  top: 65%;
  right: 20%;
  animation: heroIconFloat2 5s ease-in-out 2s infinite, fadeInUp 0.8s ease 1.8s both;
}

/* Animated Gears */
.hero-gear {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-gear-1 {
  width: 120px;
  height: 120px;
  bottom: 8%;
  left: 8%;
  animation: rotate 15s linear infinite;
  opacity: 0.6;
}

.hero-gear-2 {
  width: 80px;
  height: 80px;
  bottom: 18%;
  left: 25%;
  animation: rotate 12s linear infinite reverse;
  opacity: 0.4;
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  z-index: 1;
  opacity: 0.15;
}

/* ===== HERO KEYFRAMES ===== */
@keyframes fadeInSlow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-25px, -30px) scale(1.1);
  }
}

@keyframes orbFloat3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(20px, 10px);
  }

  75% {
    transform: translate(-10px, -20px);
  }
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }

  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-40px) translateX(-5px);
    opacity: 0.4;
  }

  75% {
    transform: translateY(-15px) translateX(15px);
    opacity: 0.9;
  }
}

@keyframes heroIconFloat1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes heroIconFloat2 {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-8px) translateX(5px);
  }
}

@keyframes heroIconFloat3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes heroIconFloat4 {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-10px) translateX(-5px);
  }
}

/* ===== CLIENTS CAROUSEL STRIP ===== */
.clients-strip {
  background: linear-gradient(180deg, rgba(6, 13, 26, 0.95) 0%, var(--color-dark-blue) 100%);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(212, 168, 83, 0.08);
  border-bottom: 1px solid rgba(212, 168, 83, 0.08);
  overflow: hidden;
  position: relative;
}

.clients-strip-label {
  text-align: center;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.clients-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.clients-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--color-dark-blue) 0%, transparent 100%);
}

.clients-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--color-dark-blue) 0%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  animation: clientsScroll 35s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(26, 45, 74, 0.4);
  border: 1px solid rgba(212, 168, 83, 0.12);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-silver-light);
  white-space: nowrap;
  transition: var(--transition);
  cursor: default;
  backdrop-filter: blur(4px);
}

.client-logo:hover {
  border-color: rgba(212, 168, 83, 0.35);
  background: rgba(212, 168, 83, 0.08);
  color: var(--color-white);
  transform: translateY(-2px);
}

.client-icon {
  font-size: 1.2rem;
  line-height: 1;
}

@keyframes clientsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--color-navy);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow: var(--shadow-card);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.service-card .card-link {
  color: var(--color-gold);
  font-weight: 600;
  font-size: var(--fs-small);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card .card-link svg {
  transition: var(--transition);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* ===== FEATURE/WHY CHOOSE CARDS ===== */
.feature-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  background: linear-gradient(180deg, var(--color-navy) 0%, rgba(26, 45, 74, 0.5) 100%);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.2);
}

.feature-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-dark-blue);
}

.feature-card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== INDUSTRY CARDS ===== */
.industry-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 250px;
  transition: var(--transition);
  cursor: pointer;
}

.industry-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-navy);
  transition: var(--transition);
}

.industry-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, var(--color-dark-blue) 100%);
  z-index: 1;
}

.industry-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: var(--space-lg);
  z-index: 2;
}

.industry-card .card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.industry-card h3 {
  font-size: 1.1rem;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== OPTIMIZED IMAGE GRID & CARDS (Senior Performance Implementation) ===== */
.grid-optimized {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-optimized {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-optimized {
    grid-template-columns: 1fr;
  }
}

.card-optimized {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-navy);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  will-change: transform;
  border: 1px solid var(--color-border);
}

.card-optimized .image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.card-optimized img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
}

.card-optimized .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 22, 40, 0.2) 50%, rgba(10, 22, 40, 0.9) 100%);
  opacity: 0.8;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.card-optimized .content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-optimized h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-optimized p {
  font-size: 0.85rem;
  color: var(--color-silver-light);
  margin-top: var(--space-xs);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  line-height: 1.4;
}

.card-optimized .card-link-icon {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 2;
}

/* Hover States */
.card-optimized:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  border-color: rgba(130, 195, 101, 0.3);
}

.card-optimized:hover img {
  transform: scale(1.1);
}

.card-optimized:hover .overlay {
  opacity: 1;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 22, 40, 0.4) 40%, rgba(10, 22, 40, 0.95) 100%);
}

.card-optimized:hover .content {
  transform: translateY(-5px);
}

.card-optimized:hover p {
  opacity: 1;
  transform: translateY(0);
}

.card-optimized:hover .card-link-icon {
  opacity: 1;
  transform: scale(1);
}

/* ===== TESTIMONIAL ===== */
.testimonial-card {
  background: var(--color-navy);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  position: relative;
}

.testimonial-card .quote {
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.testimonial-card p {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-dark-blue);
  font-family: var(--font-heading);
}

.testimonial-card .author-name {
  font-weight: 600;
  color: var(--color-white);
}

.testimonial-card .author-role {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.testimonial-card .stars {
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner .container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

/* ===== LOCATION MAP ===== */
.locations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-navy);
  border: 1px solid var(--color-border);
  padding: 12px 24px;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--color-text);
  font-weight: 500;
}

.location-badge:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.location-badge svg {
  color: var(--color-gold);
}

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: var(--space-xl) 0;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
  display: block;
}

.stat-item .stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CERTIFICATIONS ===== */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background: var(--color-navy);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: var(--transition);
  min-width: 160px;
}

.cert-badge:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.cert-badge .cert-icon {
  font-size: 2rem;
  color: var(--color-gold);
}

.cert-badge .cert-name {
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--color-white);
  text-align: center;
}

/* ===== FOOTER ===== */
/* ===== FOOTER REDESIGN (Corporate & Saudi Compliance) ===== */
.footer {
  background: #0B1C2D;
  color: #E2E8F0;
  padding: 60px 0 30px;
  font-family: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer p {
  color: #CBD5E1;
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer ul a:hover {
  color: #FFFFFF;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.footer-contact-item label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.footer-contact-item span,
.footer-contact-item a {
  color: #CBD5E1;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #FFFFFF;
}

/* Compliance & Divider */
.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 30px;
}

.footer-compliance {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.compliance-info h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.compliance-info p {
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #94A3B8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.6;
}

.footer-bottom span {
  display: block;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-compliance {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

/* ===== FLOATING BUTTONS ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  font-size: 1.5rem;
  animation: bounceIn 0.5s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  color: white;
}

.floating-emergency {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-danger);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  transition: var(--transition);
  font-size: 1.3rem;
  animation: pulse-ring 2s infinite;
}

.floating-emergency:hover {
  transform: scale(1.1);
}

/* ===== QUOTE MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-navy);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  max-width: 550px;
  width: 90%;
  position: relative;
  animation: modalIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-glass-light);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--color-danger);
}

.modal h3 {
  margin-bottom: var(--space-md);
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--color-silver);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-white);
  font-size: var(--fs-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select option {
  background: var(--color-navy);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ===== SERVICE PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-navy) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-md);
  font-size: var(--fs-small);
}

.page-hero .breadcrumb a {
  color: var(--color-text-muted);
}

.page-hero .breadcrumb span {
  color: var(--color-gold);
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  font-size: 1.1rem;
}

/* ===== FAQ SECTION ===== */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  background: var(--color-navy);
  transition: var(--transition);
  font-weight: 600;
  color: var(--color-white);
}

.faq-question:hover {
  background: var(--color-navy-light);
}

.faq-question .faq-toggle {
  font-size: 1.2rem;
  color: var(--color-gold);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  background: rgba(26, 45, 74, 0.3);
}

.faq-item.active .faq-answer {
  padding: var(--space-md) var(--space-lg);
  max-height: 500px;
}

.faq-answer p {
  color: var(--color-text-muted);
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: var(--color-navy);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.blog-card .card-image {
  height: 200px;
  background: var(--color-navy-light);
  overflow: hidden;
}

.blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .card-image img {
  transform: scale(1.05);
}

.blog-card .card-body {
  padding: var(--space-lg);
}

.blog-card .card-tag {
  display: inline-block;
  background: rgba(212, 168, 83, 0.15);
  color: var(--color-gold);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.blog-card h3 a {
  color: var(--color-white);
}

.blog-card h3 a:hover {
  color: var(--color-gold);
}

.blog-card .card-meta {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ===== RESPONSIVE ===== */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-menu {
    min-width: 500px;
  }

  .hero-visual-panel {
    width: 40%;
    opacity: 0.6;
  }

  .hero-float-icon span {
    display: none;
  }

  .industry-card {
    height: 200px;
  }

  .cert-badge {
    min-width: 140px;
    padding: var(--space-md);
  }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {

  /* =Spacing & Typography= */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-header h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* =Header / Nav= */
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
    /* Ensure it stays above the menu overlay */
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-navy) 0%, #000000 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 100px var(--space-lg) var(--space-lg);
    z-index: 1000;
    align-items: flex-start;
    gap: var(--space-md);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: var(--transition);
  }

  /* Main Links */
  .nav-links.active>li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-sm);
  }

  .nav-links.active>li:last-child {
    border-bottom: none;
  }

  .nav-links.active a {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-links.active .dropdown-trigger svg {
    transition: transform 0.3s ease;
  }

  .nav-item.active .dropdown-trigger svg {
    transform: rotate(180deg);
    color: var(--color-gold);
  }

  /* Mega Menu (Mobile Accordion) */
  .mega-menu {
    position: static;
    transform: none;
    min-width: auto;
    display: none;
    /* Hidden by default */
    opacity: 1;
    visibility: visible;
    background: transparent;
    /* No background logic collision */
    padding: 0;
    margin-top: var(--space-sm);
    border-radius: 0;
    border-left: 2px solid var(--color-gold);
    /* Elegant accent line */
    box-shadow: none;
    padding-left: 15px;
    /* Indent content */
  }

  /* Show Mega Menu when Active */
  .nav-item.active .mega-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Tight spacing for list */
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    /* Smooth premium easing */
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mega Menu Items - Text Only & Premium */
  .mega-menu a,
  .mega-menu a:visited,
  .mega-menu a .menu-label {
    display: block;
    /* Full width click area */
    padding: 12px 0;
    /* Comfortable touch target */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle divider */
    font-size: 1.1rem;
    /* Readable size */
    color: rgba(255, 255, 255, 0.9) !important;
    /* FORCE WHITE COLOR */
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .mega-menu a:last-child {
    border-bottom: none;
  }

  .mega-menu a:hover,
  .mega-menu a:active,
  .mega-menu a:hover .menu-label {
    color: var(--color-gold) !important;
    /* Gold highlight */
    padding-left: 5px;
    /* Subtle movement on interaction */
    background: transparent;
    /* No heavy hover bg */
  }

  /* HIDE Icons and Descriptions for Mobile Text-Only View */
  .mega-menu .menu-icon,
  .mega-menu .menu-desc {
    display: none !important;
  }

  .mega-menu .menu-label {
    /* Reset label styles to be part of the link text */
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    /* Should inherit the forced white from parent a */
    display: block;
  }

  /* =Grids – ALL collapse to single column= */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* =Hero= */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    /* Slightly larger for impact */
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat .number {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual-panel,
  .hero-float-icon,
  .hero-gear {
    display: none;
  }

  .hero-orb-1 {
    width: 250px;
    height: 250px;
  }

  .hero-orb-2 {
    width: 200px;
    height: 200px;
  }

  .hero-orb-3 {
    display: none;
  }

  /* =Clients Carousel= */
  .clients-strip {
    padding: var(--space-sm) 0;
  }

  .clients-strip-label {
    font-size: var(--fs-xs);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
  }

  .clients-track {
    gap: var(--space-sm);
    animation-duration: 25s;
  }

  .client-logo {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .clients-fade {
    width: 60px;
  }

  /* =Service Cards= */
  .service-card {
    padding: var(--space-lg);
  }

  .service-card [style*="grid-column"] {
    grid-column: auto !important;
  }

  /* =Industry Cards= */
  .industry-card {
    height: 180px;
  }

  /* =Feature / Why Choose Cards= */
  .feature-card {
    padding: var(--space-lg);
  }

  .feature-card .icon {
    width: 56px;
    height: 56px;
  }

  /* =Stats Row= */
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }

  /* =Certifications= */
  .cert-grid {
    gap: var(--space-sm);
  }

  .cert-badge {
    min-width: 130px;
    padding: var(--space-md);
  }

  .cert-badge .cert-icon {
    font-size: 1.5rem;
  }

  .cert-badge .cert-name {
    font-size: var(--fs-xs);
  }

  /* =Testimonials= */
  .testimonial-card {
    padding: var(--space-lg);
  }

  .testimonial-card .quote {
    font-size: 2rem;
  }

  .testimonial-card p {
    font-size: 0.95rem;
  }

  /* =CTA Banner= */
  .cta-banner {
    padding: var(--space-xl) 0;
  }

  .cta-banner h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  /* =Page Hero (Service / Location / About pages)= */
  .page-hero {
    padding: 120px 0 50px;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .page-hero .breadcrumb {
    font-size: var(--fs-xs);
    flex-wrap: wrap;
  }

  /* =FAQ Section= */
  .faq-question {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: var(--space-sm) var(--space-md);
  }

  /* =Blog Cards= */
  .blog-card .card-image {
    height: 180px;
  }

  .blog-card .card-body {
    padding: var(--space-md);
  }

  /* =Footer= */
  .footer {
    padding: var(--space-xl) 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
    padding: var(--space-md) 0;
  }

  /* =Contact Page inline grids= */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .contact-form {
    padding: var(--space-lg);
  }

  /* =Modal= */
  .modal {
    padding: var(--space-lg);
    max-width: 95%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* =Floating Widgets= */
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .floating-emergency {
    bottom: 82px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  /* =Location badges= */
  .locations-grid {
    gap: var(--space-sm);
  }

  .location-badge {
    padding: 10px 18px;
    font-size: var(--fs-small);
  }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-stat .number {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: var(--fs-xs);
    padding: 6px 14px;
  }

  .stat-item .stat-number {
    font-size: 1.75rem;
  }

  .section-header .label {
    font-size: var(--fs-xs);
    letter-spacing: 2px;
  }

  .section-header h2 {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  .service-card .icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .feature-card .icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.88rem;
  }

  .industry-card {
    height: 150px;
  }

  .industry-card h3 {
    font-size: 0.95rem;
  }

  .cert-badge {
    min-width: auto;
    flex: 1 1 calc(50% - var(--space-sm));
  }

  .testimonial-card .quote {
    font-size: 1.5rem;
  }

  .page-hero {
    padding: 110px 0 40px;
  }

  .page-hero h1 {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .faq-question {
    font-size: 0.88rem;
    padding: var(--space-sm);
  }

  .blog-card .card-image {
    height: 150px;
  }

  .btn {
    padding: 12px 24px;
    font-size: var(--fs-small);
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .footer h4 {
    font-size: 1rem;
  }

  .footer ul a {
    font-size: 0.88rem;
  }

  .clients-strip-label {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
  }

  .client-logo {
    padding: 6px 12px;
    font-size: 0.72rem;
  }

  .clients-track {
    gap: 8px;
  }
}

/* --- Landscape phones --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-sm)) 0 var(--space-lg);
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-stats {
    display: flex;
    gap: var(--space-lg);
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

  .clients-strip {
    padding: 8px 0;
  }
}

/* ===== FEATURE CARDS (Redesigned for Images) ===== */
.feature-card {
  background: var(--color-navy);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 0 !important;
  /* Remove padding to let image sit flush */
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Ensure image doesn't bleed out */
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card);
}

.feature-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
}

.feature-card-content {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card .icon {
  width: 50px;
  height: 50px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

/* Service List inside card */
.feature-card ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
  /* Push to bottom */
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.feature-card li {
  padding: 6px 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card li span {
  color: var(--color-gold);
}

/* ===== PREMIUM IMAGE CARDS ===== */
.premium-image-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-lg);
  transition: var(--transition-bounce);
  cursor: pointer;
  background: var(--color-navy);
}

.premium-image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-image-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.4) 100%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.premium-image-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.premium-image-card:hover img {
  transform: scale(1.08);
}

.premium-image-card:hover::after {
  opacity: 0.8;
}

.premium-image-card .image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.premium-image-card:hover .image-overlay-text {
  transform: translateY(0);
  opacity: 1;
}