/* ============================================================
   BRENT NETWORKS LIMITED — Main Stylesheet
   ============================================================
   HOW TO USE THIS FILE
   ---------------------
   - All colours are defined as CSS variables in :root (below).
   - To change a brand colour, edit ONLY the :root block.
   - Lines marked  EDIT THIS  are the ones you will update most often.
   - Section banners (like this one) tell you which HTML elements
     each block of CSS applies to.
   ============================================================
   PALETTE
     Primary (Red)  : #D74444
     Secondary (Blue): #4A6FA5
     Dark bg        : #16202E  (footer / hero)
     Light bg       : #F8FAFC  (page body)
   ============================================================
   FONTS  (loaded from Google Fonts below)
     Headings : Sora
     Body     : DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Variables)
   Applied globally — used by everything below.
   EDIT THIS  block to change the entire site palette.
   ============================================================ */
:root {
  /* === BRAND COLOURS — EDIT THIS === */
  --color-primary:       #D74444;  /* Red  — buttons, accents, CTAs */
  --color-primary-dark:  #B83333;  /* Red  — button hover state */
  --color-primary-light: #EF7070;  /* Red  — light variant */
  --color-primary-muted: rgba(215, 68, 68, 0.08); /* Red  — tinted backgrounds */

  /* === SECONDARY COLOUR — EDIT THIS === */
  --color-secondary:       #4A6FA5;  /* Blue — links, icons, labels */
  --color-secondary-dark:  #3A5A8A;  /* Blue — hover */
  --color-secondary-light: #6B8FBF;  /* Blue — light variant */
  --color-secondary-muted: rgba(74, 111, 165, 0.08);

  /* === BACKGROUND COLOURS === */
  --color-bg:        #F8FAFC;  /* Main page background */
  --color-surface:   #FFFFFF;  /* Cards, form panels */
  --color-accent-bg: #E6EEF7;  /* Light blue-grey tinted sections */
  --color-accent-bg2:#EDF2F7;  /* Alternate light section */

  /* === DARK SURFACES (hero, footer) === */
  --color-dark-hero:   #1E2A3A;  /* Hero section background */
  --color-dark-card:   #243040;  /* Dark cards inside hero */
  --color-dark-footer: #16202E;  /* Footer background — EDIT THIS */

  /* === TEXT COLOURS === */
  --color-text:           #1F2937;  /* Primary body text */
  --color-text-secondary: #4B5563;  /* Secondary / description text */
  --color-text-muted:     #6B7280;  /* Timestamps, labels */
  --color-text-light:     #9CA3AF;  /* Placeholder / inactive */
  --color-text-on-dark:   #CBD5E1;  /* Text on dark backgrounds */
  --color-text-on-primary:#FFFFFF;  /* Text on red backgrounds */

  /* === BORDERS === */
  --color-border:       #E2E8F0;
  --color-border-light: #F1F5F9;
  --color-border-focus: #D74444;  /* Form focus ring colour */

  /* === TYPOGRAPHY (fonts loaded above) === */
  --font-heading: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* === SPACING === */
  --section-padding:    100px 0;
  --section-padding-sm:  60px 0;
  --container-max:     1200px;
  --container-padding:  0 28px;

  /* === SHADOWS === */
  --shadow-xs:  0 1px 3px rgba(31, 41, 55, 0.06);
  --shadow-sm:  0 2px 8px rgba(31, 41, 55, 0.07);
  --shadow-md:  0 4px 20px rgba(31, 41, 55, 0.09);
  --shadow-lg:  0 8px 40px rgba(31, 41, 55, 0.12);
  --shadow-xl:  0 16px 60px rgba(31, 41, 55, 0.15);
  --shadow-red: 0 4px 18px rgba(215, 68, 68, 0.22);
  --shadow-blue:0 4px 18px rgba(74, 111, 165, 0.22);

  /* === BORDER RADII === */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* === TRANSITIONS === */
  --transition-fast:   0.18s ease;
  --transition-base:   0.28s ease;
  --transition-slow:   0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================================
   RESET & BASE
   Applies to all elements — do not edit unless you know what
   you are doing. Changes here affect the entire site.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul   { list-style: none; }
p    { margin-bottom: 1rem; }

/* ============================================================
   TYPOGRAPHY
   Applies to all h1–h6 headings across the site.
   Font sizes use clamp() so they scale on mobile without media
   queries. Change font-family here OR in the :root variables.
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

/* ============================================================
   LAYOUT UTILITIES
   .container  — wraps page content with max-width
   .section    — standard vertical padding for page sections
   .grid-N     — CSS grid helpers (2, 3, or 4 equal columns)
   .section-dark / section-gray — alternate section backgrounds
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section    { padding: var(--section-padding); }
.section-sm { padding: var(--section-padding-sm); }

/* Dark navy section (Industries, Hero-like blocks) */
.section-dark {
  background: var(--color-dark-hero);
  color: var(--color-text-on-dark);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #F1F5F9; }

/* Light blue-grey section (alternating rows) */
.section-gray    { background: var(--color-accent-bg); }
.section-surface { background: var(--color-surface); }

/* Red CTA section */
.section-primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}
.section-primary h2, .section-primary h3 { color: #fff; }

/* Grid helpers */
.grid   { display: grid; gap: 28px; }
.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 helpers */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center  { text-align: center; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-secondary);
  margin-bottom: 14px;
  padding: 5px 14px;
  background: var(--color-accent-bg);
  border: 1px solid var(--color-border);
  border-radius: 50px;
}

.section-header .label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
}

.section-dark .section-header .label {
  color: #94b4d4;
  background: rgba(74, 111, 165, 0.12);
  border-color: rgba(74, 111, 165, 0.2);
}
.section-dark .section-header .label::before {
  background: #94b4d4;
}

.section-header h2   { margin-bottom: 14px; }
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  margin: 14px auto 0;
  border-radius: 2px;
  opacity: 0.7;
}
.section-dark .section-header h2::after { background: var(--color-secondary-light); }

.section-header p { color: var(--color-text-secondary); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-header p { color: var(--color-text-on-dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
  background: var(--color-dark-footer);
}

.navbar.scrolled {
  background: var(--color-dark-footer);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-brand img,
.navbar-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
}
.navbar-logo {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.navbar-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.03em;
}
.navbar-brand .brand-dot { color: var(--color-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  margin-left: 8px;
  transition: all var(--transition-base) !important;
}
.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-dark-hero);
  overflow: hidden;
}

/* Subtle mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(74, 111, 165, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(215, 68, 68, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, #1E2A3A 0%, #243040 60%, #1a2535 100%);
  z-index: 0;
}

/* Fine grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0%   { transform: scale(1);     background-position: center center; }
  100% { transform: scale(1.06); background-position: 60% 40%; }
}

.hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(16, 23, 34, 0.82) 0%,
    rgba(20, 28, 44, 0.72) 50%,
    rgba(30, 42, 58, 0.60) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-top: 110px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #94b4d4;
  margin-bottom: 24px;
  padding: 6px 16px;
  background: rgba(74, 111, 165, 0.12);
  border: 1px solid rgba(74, 111, 165, 0.25);
  border-radius: 50px;
}
.hero-label .dot {
  width: 6px;
  height: 6px;
  background: #94b4d4;
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

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

.hero h1 {
  color: #F1F5F9;
  margin-bottom: 22px;
  font-weight: 800;
  line-height: 1.15;
}
.hero h1 .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero p {
  color: var(--color-text-on-dark);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero decorative floating card */
.hero-badge {
  position: absolute;
  right: 40px;
  bottom: 120px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 2;
  max-width: 260px;
}

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

.hero-badge-icon {
  width: 44px; height: 44px;
  background: var(--color-primary-muted);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid rgba(215,68,68,0.2);
}

.hero-badge-text { font-size: 0.8rem; }
.hero-badge-text strong {
  display: block;
  color: #F1F5F9;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-badge-text span { color: var(--color-text-on-dark); font-size: 0.78rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(215, 68, 68, 0.32);
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-secondary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74, 111, 165, 0.32);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline-dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================================
   STATS BAR  — Blue band, calm
   ============================================================ */
.stats-bar {
  background: var(--color-secondary);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-secondary) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 44px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background var(--transition-fast);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.06); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================================
   SERVICE CARDS  — airy, white
   ============================================================ */
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-light);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-md);
  background: var(--color-accent-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  color: var(--color-secondary);
}
.service-icon svg { width: 26px; height: 26px; stroke-width: 1.75; }

.service-card:hover .service-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: var(--color-text);
}

.service-card p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-secondary);
  transition: all var(--transition-fast);
}
.service-link:hover { gap: 10px; color: var(--color-primary); }

/* ============================================================
   PROJECT / CASE STUDY CARDS
   ============================================================ */
.project-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.project-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-card:hover .project-card-image img { transform: scale(1.04); }

.project-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(30, 42, 58, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-card-body { padding: 26px; }
.project-card-body h3 { margin-bottom: 8px; font-size: 1.1rem; }

.project-meta {
  display: flex; gap: 14px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.project-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(74, 111, 165, 0.08);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(74, 111, 165, 0.15);
}

/* ============================================================
   INDUSTRIES  — on accent-bg
   ============================================================ */
.industry-item {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.industry-item:hover {
  background: var(--color-surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 111, 165, 0.25);
}

.industry-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  color: var(--color-secondary);
}
.industry-icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.industry-item:hover .industry-icon {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.industry-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ============================================================
   PARTNER LOGOS
   ============================================================ */
.partner-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-logo {
  height: 44px;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}
.partner-logo:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.08); }

/* ============================================================
   CERT BADGES  — partner text cards
   ============================================================ */
.cert-badge {
  text-align: center;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.cert-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 111, 165, 0.3);
}
.cert-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--color-secondary);
}
.cert-badge h4 { font-size: 0.9rem; color: var(--color-text); }
.cert-badge p  { font-size: 0.8rem; color: var(--color-text-muted); margin: 0; }

/* ============================================================
   CTA SECTION  — dark, refined
   ============================================================ */
.cta-section {
  background: var(--color-dark-hero);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glows */
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(74, 111, 165, 0.15), transparent 65%);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(215, 68, 68, 0.1), transparent 65%);
  border-radius: 50%;
}

.cta-section h2 {
  color: #F1F5F9;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-section h2::after { display: none; }

.cta-section p {
  color: var(--color-text-on-dark);
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   Applied to <footer class="footer"> on every page.
   ============================================================
   STRUCTURE:
     .footer                — outer wrapper (dark background)
     .footer-grid           — 4-column horizontal layout
       .footer-brand        — Column 1: logo + tagline + social icons
       .footer-col (×3)     — Columns 2-4: Services, Company, Contact
     .footer-logo           — the SVG/PNG logo inside .footer-brand
     .footer-tagline        — short description under logo
     .footer-social         — social icon button row
     .footer-social-link    — individual social icon button
     .footer-contact-list   — contact items (icon + text) in column 4
     .footer-bottom         — copyright bar at the very bottom
   ============================================================
   EDIT
     Background colour : --color-dark-footer in :root  (#16202E)
     Column heading colour: #E2E8F0 (below)
     Link colour       : #6B7280 (below)
     Hover link colour : var(--color-secondary-light)
   ============================================================ */

/* Outer wrapper */
.footer {
  background: var(--color-dark-footer); /* === EDIT THIS === solid dark navy */
  padding: 48px 0 0;
  color: var(--color-text-on-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-body);
}

/* 4-column horizontal grid — compact and condensed */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr; /* === EDIT THIS to adjust column widths === */
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}

/* Column 1 — Brand: logo, tagline, social icons */
.footer-brand .footer-logo {
  height: 72px; /* === EDIT THIS to change logo size === */
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-brand .footer-tagline {
  color: #94A3B8;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 280px;
  margin-bottom: 12px;
}

/* Social icons row */
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #94A3B8;
  transition: all var(--transition-base);
  font-size: 0.9rem;
}
.footer-social-link:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
}
/* LinkedIn blue on hover */
.footer-social-link.linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}
/* Twitter/X blue on hover */
.footer-social-link.twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
}

/* Columns 2, 3, 4, 5 — navigation lists */
.footer-col h4 {
  color: #E2E8F0;        /* === EDIT THIS for column heading colour === */
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  margin-top: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-secondary); /* blue underline accent */
  display: inline-block;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col ul li a {
  color: #6B7280;        /* === EDIT THIS for link colour === */
  font-size: 0.78rem;
  display: inline-block;
  transition: all var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--color-secondary-light);
  transform: translateX(2px);
}

/* Column 5 — Contact list (icon + text rows) */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #6B7280;
  font-size: 0.75rem;
  line-height: 1.4;
}
.footer-contact-list .contact-icon {
  color: var(--color-secondary); /* blue icon */
  flex-shrink: 0;
  margin-top: 1px;
  width: 14px;
  height: 14px;
}
.footer-contact-list a {
  color: #6B7280;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-contact-list a:hover {
  color: var(--color-secondary-light);
}

/* Bottom bar — copyright + links */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 14px 0;
  font-size: 0.75rem;
  color: #4B5563;
  text-align: center;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  color: #4B5563;
  transition: color var(--transition-fast);
}
.footer-bottom-links a:hover {
  color: var(--color-secondary-light);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  padding: 180px 0 100px;
  background: var(--color-dark-hero);
  text-align: center;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 30%, rgba(74, 111, 165, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(215, 68, 68, 0.08), transparent 60%);
}
.page-header .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #94b4d4;
  margin-bottom: 12px;
}
.page-header h1 {
  color: #F1F5F9;
  margin-bottom: 16px;
  position: relative;
}
.page-header p {
  color: var(--color-text-on-dark);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  font-weight: 300;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 24px;
  font-size: 0.82rem; position: relative;
}
.breadcrumbs a          { color: #64748B; transition: color var(--transition-fast); }
.breadcrumbs a:hover    { color: #94A3B8; }
.breadcrumbs .sep       { color: #374151; }
.breadcrumbs .current   { color: #E2E8F0; font-weight: 500; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-content .label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--color-secondary); margin-bottom: 12px;
}
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; bottom: -28px; right: -28px;
  width: 100px; height: 100px;
  border: 5px solid var(--color-primary);
  border-radius: var(--radius-lg); z-index: -1;
  opacity: 0.5;
}

.value-card {
  padding: 28px; border-radius: var(--radius-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(74,111,165,0.25); }
.value-icon { font-size: 1.5rem; margin-bottom: 14px; color: var(--color-secondary); }

.team-card {
  text-align: center; padding: 32px;
  border-radius: var(--radius-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--color-accent-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.8rem;
  color: var(--color-secondary); border: 2px solid var(--color-border);
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { color: var(--color-secondary); font-size: 0.82rem; font-weight: 600; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-block { padding: 80px 0; border-bottom: 1px solid var(--color-border); }
.service-block:nth-child(even) { background: var(--color-accent-bg); }
.service-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-block:nth-child(even) .service-block-grid { direction: rtl; }
.service-block:nth-child(even) .service-block-grid > * { direction: ltr; }
.service-block-content .label {
  display: inline-block; font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--color-secondary); margin-bottom: 12px;
}
.service-block-content h2 { margin-bottom: 14px; }
.service-block-content h2::after { display: none; }
.service-block-content p { color: var(--color-text-secondary); margin-bottom: 24px; }

.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.service-feature { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; }
.service-feature .check { color: var(--color-secondary); font-size: 1rem; flex-shrink: 0; }

.service-block-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-block-image img { width: 100%; height: 380px; object-fit: cover; }

/* ============================================================
   INSIGHTS / BLOG
   ============================================================ */
.blog-card {
  background: var(--color-surface); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-image { height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-body { padding: 22px; }
.blog-card-meta { display: flex; gap: 14px; margin-bottom: 10px; font-size: 0.78rem; color: var(--color-text-muted); }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; transition: color var(--transition-fast); }
.blog-card:hover .blog-card-body h3 { color: var(--color-primary); }
.blog-card-body p { color: var(--color-text-secondary); font-size: 0.88rem; margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }

.contact-info-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px; border-radius: var(--radius-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
  margin-bottom: 14px; transition: all var(--transition-base);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); border-color: rgba(74,111,165,0.25); }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--color-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-card p  { color: var(--color-text-secondary); font-size: 0.88rem; margin: 0; }

.contact-form {
  background: var(--color-surface); padding: 40px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 600;
  color: var(--color-text); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 15px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.92rem;
  color: var(--color-text); background: var(--color-bg);
  transition: border-color var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-map {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 380px; margin-top: 56px; box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   PHOTO GALLERY GRID
   ============================================================ */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}

.photo-grid .photo-item--wide  { grid-column: span 2; }
.photo-grid .photo-item--tall  { grid-row: span 2; }
.photo-grid .photo-item--large { grid-column: span 2; grid-row: span 2; }

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-accent-bg);
  cursor: pointer;
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--transition-slow);
}
.photo-item:hover img { transform: scale(1.06); }

.photo-item-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(22, 32, 46, 0.88) 0%, transparent 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.photo-item:hover .photo-item-caption { opacity: 1; transform: translateY(0); }

.photo-item-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(22, 32, 46, 0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 4px 10px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
}

.service-photo-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-photo-block img {
  width: 100%; height: 380px;
  object-fit: cover; display: block;
  transition: transform var(--transition-slow);
}
.service-photo-block:hover img { transform: scale(1.03); }

.team-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  background: var(--color-surface);
}
.team-photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo-card img {
  width: 100%; height: 220px;
  object-fit: cover; object-position: top center; display: block;
}
.team-photo-card-body { padding: 18px 20px; text-align: center; }
.team-photo-card-body h4 { margin-bottom: 3px; font-size: 1rem; }
.team-photo-card-body .role { color: var(--color-secondary); font-size: 0.82rem; font-weight: 600; }

@media (max-width: 1024px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid .photo-item--wide,
  .photo-grid .photo-item--large { grid-column: span 2; }
}
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .photo-grid .photo-item--wide,
  .photo-grid .photo-item--large { grid-column: span 2; }
  .photo-grid .photo-item--tall { grid-row: span 1; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .service-block-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block-grid { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { display: none; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
    --section-padding-sm: 40px 0;
  }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 270px; height: 100vh;
    background: rgba(22, 32, 46, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 28px 28px;
    gap: 2px;
    transition: right var(--transition-base);
    box-shadow: -4px 0 32px rgba(0,0,0,0.25);
  }
  .nav-links.active { right: 0; }
  .nav-links a { width: 100%; padding: 11px 14px; font-size: 0.98rem; }
  .menu-toggle { display: flex; }

  .hero-content { padding-top: 80px; }
  .hero h1 { font-size: 2rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .service-features { grid-template-columns: 1fr; }
  .page-header { padding: 140px 0 60px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}

@media (max-width: 480px) {
  .stat-number { font-size: 2.2rem; }
  .stat-item   { padding: 28px 10px; }
  .section-header { margin-bottom: 40px; }
  .hero h1 { font-size: 1.85rem; }
}

/* ============================================================
   SKIP LINK & ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 16px; }

/* Focus-visible styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible,
button:focus-visible { outline-color: var(--color-primary); }

/* ============================================================
   LUCIDE ICON – hero badge
   ============================================================ */
.hero-badge-icon svg { width: 22px; height: 22px; color: var(--color-primary); stroke-width: 2; }

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 8px;
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote-icon {
  color: var(--color-primary);
  opacity: 0.25;
  position: absolute;
  top: 28px;
  right: 36px;
}
.testimonial-quote-icon svg { width: 52px; height: 52px; }

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-secondary-muted);
  border: 2px solid var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary);
  flex-shrink: 0;
}
.testimonial-avatar svg { width: 22px; height: 22px; }

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-text);
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}
.testimonial-dot.active {
  background: var(--color-primary);
  width: 22px;
  border-radius: 4px;
}

.case-study-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.case-study-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}
.case-study-dot.active {
  background: var(--color-primary);
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .testimonial-card { padding: 28px 24px; }
  .testimonial-text { font-size: 0.92rem; }
}

/* ============================================================
   FLOATING WHATSAPP CTA
   ============================================================ */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 14px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: waBounce 2.5s ease-in-out 1.5s 2;
}
.float-whatsapp:hover {
  width: 210px;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}
.float-whatsapp svg { flex-shrink: 0; }

.float-whatsapp-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s;
  pointer-events: none;
}
.float-whatsapp:hover .float-whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-10px); }
  70%       { transform: translateY(-5px); }
}

@media (max-width: 480px) {
  .float-whatsapp { bottom: 20px; right: 20px; width: 52px; height: 52px; padding: 0 14px; }
  .float-whatsapp:hover { width: 52px; }
  .float-whatsapp-label { display: none; }
}

/* ============================================================
   FOOTER SOCIAL LINKS
   ============================================================ */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #64748B;
  transition: all var(--transition-base);
}
.footer-social-link:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   FORM VALIDATION FEEDBACK
   ============================================================ */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--color-primary);
  background: rgba(215, 68, 68, 0.03);
}

.form-error-msg {
  display: none;
  font-size: 0.78rem;
  color: var(--color-primary);
  margin-top: 5px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.form-group.has-error .form-error-msg { display: block; }

.form-success-banner {
  display: none;
  padding: 16px 20px;
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.25);
  border-radius: var(--radius-sm);
  color: #00a854;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}
.form-success-banner.visible { display: flex; align-items: center; gap: 10px; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies-carousel {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 48px auto 0;
}

.case-studies-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.case-study-slide {
  min-width: 100%;
  padding: 0 12px;
}

.case-study-card {
  background: var(--color-surface);
  border-radius: var(--radius-base);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  border-color: var(--color-primary);
}

.case-study-header {
  padding: 28px;
  color: white;
}

.case-study-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.case-study-header p {
  font-size: 0.95rem;
  opacity: 0.95;
}

.case-study-body {
  padding: 28px;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-accent-bg);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.case-study-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 700;
}

.case-study-body p {
  margin: 0 0 16px 0;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.case-study-body .btn-sm {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.case-study-body .btn-sm:hover {
  background: var(--color-primary-dark);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .case-study-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .metric-value {
    font-size: 1.4rem;
  }

  .case-study-header {
    padding: 20px;
  }

  .case-study-body {
    padding: 20px;
  }

  .case-study-header h3 {
    font-size: 1.2rem;
  }
}