/* ===========================
   TRACKTRAIL LTD - Main Stylesheet
   Premium Corporate Website Design
   =========================== */

/* ===========================
   1. CSS VARIABLES (Design Tokens)
   =========================== */
:root {
  /* Primary Colours - Refined Navy/Blue Palette */
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-primary-dark: #020617;
  --color-secondary: #3b82f6;
  --color-secondary-light: #60a5fa;
  --color-secondary-dark: #2563eb;

  /* Accent Colours - Premium Green */
  --color-accent: #10b981;
  --color-accent-hover: #059669;
  --color-accent-light: #34d399;
  --color-accent-dark: #047857;

  /* Neutrals - WCAG AA Compliant */
  --color-white: #ffffff;
  --color-off-white: #f8fafc;
  --color-light: #f1f5f9;
  --color-gray-light: #e2e8f0;
  --color-gray: #64748b;
  --color-gray-dark: #475569;
  --color-dark: #334155;
  --color-text: #0f172a;
  --color-text-muted: #64748b;

  /* Semantic Colours */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;

  /* Typography - Premium Scale */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes - Refined Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  --text-6xl: 4rem;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius - Softer */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Premium Shadows - Layered */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 16px 32px rgba(0, 0, 0, 0.1);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(10px);

  /* Transitions - Smooth */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-height: 72px;
}

/* ===========================
   2. BASE STYLES (Reset)
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus Styles for Accessibility */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ===========================
   3. TYPOGRAPHY
   =========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-dark);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

strong {
  font-weight: var(--font-semibold);
}

ul,
ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
  color: var(--color-gray-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   4. LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-24) 0;
}

.section--light {
  background-color: var(--color-off-white);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section__title {
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Justified text for main content sections */
.section .grid>div>p {
  text-align: justify;
}

/* Exception: Don't justify narrow feature columns (looks bad with word spacing) */
.feature__text {
  text-align: left !important;
}

/* Exception: Don't justify card text either */
.card__text {
  text-align: left !important;
}

/* Exception: Preserve center alignment for company info boxes */
[style*="text-align: center"]>p,
div[style*="text-align: center"] p {
  text-align: center !important;
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

/* ===========================
   5. BUTTONS - Premium Design
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--color-secondary-light);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  background-origin: border-box;
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  background-origin: border-box;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: var(--color-white);
}

.btn--secondary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  background-origin: border-box;
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.btn--secondary:hover {
  background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-secondary) 100%);
  background-origin: border-box;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-xs);
}

/* ===========================
   6. CARDS - Premium Design
   =========================== */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-light);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}

.card__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: var(--leading-relaxed);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.card__link:hover {
  color: var(--color-secondary-dark);
  text-decoration: none;
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* ===========================
   7. HEADER & NAVIGATION
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  text-decoration: none;
}

.header__logo:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
}

.header__logo-img {
  height: 44px;
  width: auto;
  margin-right: 0.375rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  font-weight: var(--font-medium);
  color: var(--color-gray-dark);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
  background-color: var(--color-off-white);
  text-decoration: none;
}

.nav__link[aria-expanded="true"] {
  color: var(--color-primary);
  background-color: var(--color-off-white);
}

.nav__arrow {
  font-size: var(--text-xs);
  transition: transform var(--transition-fast);
}

.nav__link[aria-expanded="true"] .nav__arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: var(--space-2);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.nav__item:hover .dropdown,
.dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-gray-dark);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown__link:hover {
  color: var(--color-primary);
  background-color: var(--color-off-white);
  text-decoration: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle__bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__cta {
  margin-left: var(--space-4);
}

/* ===========================
   8. HERO SECTION
   =========================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  overflow: hidden;
}

.hero--home {
  min-height: 700px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -10%;
  /* Extend past container to crop bottom watermark */
  background-size: cover;
  background-position: center top;
  /* Focus on top of image */
  opacity: 1;
  /* Full image visibility */
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.7) 0%, rgba(44, 82, 130, 0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.hero__title {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Decorative Elements */
.hero__shapes {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: 20%;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 10%;
}

/* ===========================
   9. FEATURES / SERVICES GRID
   =========================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature {
  text-align: center;
  padding: var(--space-8);
}

.feature__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-light) 100%);
  border-radius: var(--radius-xl);
  font-size: 2.5rem;
}

.feature__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.feature__text {
  color: var(--color-gray-dark);
}

/* ===========================
   10. STATS SECTION
   =========================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: var(--color-secondary);
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-base);
  color: var(--color-gray-dark);
}

/* ===========================
   11. PROCESS / STEPS
   =========================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.process__step {
  position: relative;
  text-align: center;
  padding: var(--space-6);
}

.process__step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 50%;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
}

.process__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.process__text {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

/* ===========================
   12. CTA SECTION
   =========================== */
.cta {
  text-align: center;
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
}

.cta__title {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* ===========================
   13. FOOTER
   =========================== */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
  text-decoration: none;
  margin-bottom: var(--space-4);
}

.footer__logo:hover {
  color: var(--color-white);
  text-decoration: none;
}

.footer__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.footer__title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-white);
  text-decoration: none;
}

.footer__contact {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer__contact p {
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--color-white);
}

/* ===========================
   14. FORMS
   =========================== */
.form {
  max-width: 600px;
}

.form--centered {
  margin: 0 auto;
}

.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-medium);
  color: var(--color-dark);
}

.form__label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-gray);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__error {
  display: none;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-error);
}

.form__group--error .form__input,
.form__group--error .form__textarea,
.form__group--error .form__select {
  border-color: var(--color-error);
}

.form__group--error .form__error {
  display: block;
}

.form__success {
  padding: var(--space-4);
  background-color: rgba(56, 161, 105, 0.1);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-lg);
  color: var(--color-success);
  text-align: center;
  margin-bottom: var(--space-6);
}

/* ===========================
   15. COOKIE BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: var(--space-6);
  background-color: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-2xl);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

.cookie-banner__text {
  flex: 1;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cookie-banner__text a {
  color: var(--color-secondary-light);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* ===========================
   16. SERVICE PAGE SPECIFIC
   =========================== */
.service-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.service-overview__content {
  max-width: 550px;
}

.service-overview__content p {
  text-align: justify;
}

.service-overview__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list__item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.service-list__item:last-child {
  border-bottom: none;
}

.service-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  font-size: var(--text-xl);
}

.service-list__content h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.service-list__content p {
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin: 0;
}

/* Sectors Grid */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.sector {
  padding: var(--space-6);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sector:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sector__icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.sector__name {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-dark);
}

/* ===========================
   17. POLICY PAGES
   =========================== */
.policy {
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
}

.policy__header {
  margin-bottom: var(--space-12);
}

.policy__title {
  margin-bottom: var(--space-4);
}

.policy__updated {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

.policy__content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.policy__content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.policy__content p {
  margin-bottom: var(--space-4);
  text-align: justify;
}

.policy__content ul {
  margin-bottom: var(--space-6);
}

/* ===========================
   18. UTILITY CLASSES
   =========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.hidden {
  display: none;
}

/* ===========================
   18. UNIVERSAL CONTACT SECTION
   =========================== */
.contact-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
}

.contact-section__content h2 {
  color: var(--color-white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  letter-spacing: var(--tracking-tight);
}

.contact-section__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.contact-section__form {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-2xl);
}

.contact-section__form h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
  color: var(--color-primary);
}

/* ===========================
   19. PREMIUM FEATURE/ICON CONTAINERS
   =========================== */
.icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.icon-box svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.icon-box--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.icon-box--white {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.icon-box--white svg {
  color: var(--color-secondary);
}

.icon-box--lg {
  width: 72px;
  height: 72px;
}

.icon-box--lg svg {
  width: 32px;
  height: 32px;
}

/* ===========================
   20. ENHANCED FEATURE GRID
   =========================== */
.feature {
  text-align: left;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature--centered {
  text-align: center;
  align-items: center;
}

.feature__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-light) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-light);
}

.feature__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-secondary);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.feature__title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: 0;
  letter-spacing: var(--tracking-tight);
}

.feature__text {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}



/* Responsive adjustments for contact section */
@media (max-width: 991px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .contact-section__content {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .contact-section__form {
    padding: var(--space-6);
  }
}

/* ===========================
   22. MAP SECTION
   =========================== */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: var(--color-gray-light);
  border: 1px solid var(--color-gray-light);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .map-container {
    padding-bottom: 75%;
    /* Taller on mobile */
  }
}