/* ==========================================================================
   SAHABA GROUP OF COMPANIES - MASTER STYLESHEET
   Accredited Luxury UAE Architecture & Multi-Disciplinary Standard
   Strict Color Palette, Typography & WCAG AAA Accessibility
   ========================================================================== */

:root {
  /* Strict User-Specified Color Palette */
  --bg-primary: #0B3D2E;          /* Deep Emerald */
  --bg-darkest: #062218;          /* Darkest Green (Footer, Hero Accent) */
  --bg-card: #0F4A38;             /* Card Green */
  --accent-gold: #C9A24B;         /* Gold (Headings, Main Accent, CTA) */
  --accent-gold-light: #E6C879;   /* Light Gold (Hover, Highlights, Glow) */
  --accent-gold-dark: #9A7A32;    /* Dark Gold (Active, Pressed, Shadows) */
  --text-body: #F5F1E6;           /* Off-White */
  --text-muted: #CFC6AE;          /* Soft Sand */
  
  /* Company / Division Accents */
  --color-construction: #8A5A2B;  /* Brick Gold */
  --color-engineering: #1F5C63;   /* Blueprint Blue-Green */
  --color-maintenance: #14513D;   /* Deep Green */
  --color-autocare: #22262B;      /* Charcoal */
  
  /* Accent Utilities */
  --color-whatsapp: #25D366;
  --gold-border: rgba(201, 162, 75, 0.6);
  --gold-border-soft: rgba(201, 162, 75, 0.25);
  --mashrabiya-tint: rgba(201, 162, 75, 0.06);
  --gold-glow: rgba(230, 200, 121, 0.25);
  --gold-glow-intense: rgba(201, 162, 75, 0.4);

  /* Fonts */
  --font-serif-heading: 'Cormorant Garamond', Georgia, serif;
  --font-company: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic-heading: 'Amiri', serif;
  --font-arabic-body: 'Noto Naskh Arabic', serif;

  /* Strict Font Sizes: Mobile by default, Desktop via media queries */
  --size-hero: 30px;
  --size-arabic-hero: 26px;
  --size-section: 28px;
  --size-company: 22px;
  --size-body: 16px;
  --size-button: 15px;

  /* Elevation & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(201, 162, 75, 0.25);
  --shadow-card-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.7), 0 0 16px rgba(230, 200, 121, 0.35);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1240px;
}

@media (min-width: 992px) {
  :root {
    --size-hero: 56px;
    --size-arabic-hero: 40px;
    --size-section: 40px;
    --size-company: 28px;
    --size-body: 17px;
    --size-button: 15px;
  }
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Authentic Mashrabiya Geometric Lattice Pattern Overlay */
.mashrabiya-bg {
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(201,162,75,0.08) 1px, transparent 1px),
    linear-gradient(45deg, rgba(201,162,75,0.04) 25%, transparent 25%, transparent 75%, rgba(201,162,75,0.04) 75%),
    linear-gradient(45deg, rgba(201,162,75,0.04) 25%, transparent 25%, transparent 75%, rgba(201,162,75,0.04) 75%);
  background-size: 40px 40px, 60px 60px, 60px 60px;
  background-position: 0 0, 0 0, 30px 30px;
}

/* Architectural Radial Ambient Glow */
.gold-spotlight {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 100vw;
  height: 550px;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, rgba(11, 61, 46, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
  color: var(--accent-gold);
  line-height: 1.25;
  font-weight: 600;
  text-wrap: balance;
}

h1.hero-title {
  font-family: var(--font-serif-heading);
  font-size: var(--size-hero);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.arabic-title {
  font-family: var(--font-arabic-heading);
  font-size: var(--size-arabic-hero);
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1.4;
  direction: rtl;
}

.section-title {
  font-family: var(--font-serif-heading);
  font-size: var(--size-section);
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  margin-top: 8px;
}

.section-title.center-title::after {
  margin: 10px auto 0;
}

.company-title {
  font-family: var(--font-company);
  font-size: var(--size-company);
  font-weight: 600;
  color: var(--accent-gold-light);
  line-height: 1.35;
}

p {
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

p.description,
p.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
  color: var(--accent-gold-light);
  background: rgba(15, 74, 56, 0.6);
  backdrop-filter: blur(8px);
}

.badge-construction {
  background-color: var(--color-construction);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.badge-engineering {
  background-color: var(--color-engineering);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.badge-maintenance {
  background-color: var(--color-maintenance);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.badge-autocare {
  background-color: var(--color-autocare);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

a {
  color: var(--accent-gold-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus-visible {
  color: #ffffff;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-gold);
  color: var(--bg-darkest);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 99999;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid #ffffff;
}

:focus-visible {
  outline: 2px solid var(--accent-gold-light);
  outline-offset: 4px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION & HEADER (MOBILE-FIRST OPTIMIZED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(6, 34, 24, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-border-soft);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

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

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

.site-logo-img {
  height: 52px;
  width: auto;
  max-width: 290px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  transition: var(--transition);
}

@media (max-width: 768px) {
  .site-logo-img {
    height: 44px;
    max-width: 220px;
  }
}

@media (max-width: 420px) {
  .site-logo-img {
    height: 38px;
    max-width: 175px;
  }
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.03);
}

.drawer-logo-img {
  height: 46px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 54px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.arabic-brand {
  font-family: var(--font-arabic-heading);
  font-size: 0.95rem;
  color: var(--accent-gold-light);
  line-height: 1;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.8rem;
  }

  .nav-desktop a {
    font-family: var(--font-body);
    font-size: var(--size-button);
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 0.5rem 0;
  }

  .nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
  }

  .nav-desktop a:hover::after,
  .nav-desktop a.active::after {
    width: 100%;
  }

  .nav-desktop a.active {
    color: var(--accent-gold);
    font-weight: 600;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Hamburger Button (Strict 48px touch target) */
.mobile-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: rgba(15, 74, 56, 0.5);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  transition: var(--transition);
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-darkest);
  border-left: 1px solid var(--gold-border);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 85px 1.75rem 2rem;
  transition: right 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 34, 24, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 1.1rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(15, 74, 56, 0.5);
  border-color: var(--gold-border);
  color: var(--accent-gold-light);
}

.mobile-drawer-contact {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-contact a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BUTTONS & CTAs (ACCESSIBLE 48PX TOUCH TARGETS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--size-button);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--bg-darkest);
  border-color: var(--accent-gold-light);
  box-shadow: 0 4px 15px rgba(201, 162, 75, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  color: var(--bg-darkest);
  box-shadow: 0 6px 20px rgba(230, 200, 121, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  background: var(--accent-gold-dark);
  transform: translateY(0);
}

.btn-outline {
  background: rgba(15, 74, 56, 0.4);
  color: var(--accent-gold-light);
  border: 1px solid var(--gold-border);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(201, 162, 75, 0.15);
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background-color: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
}

.btn-full {
  width: 100%;
}

/* Floating WhatsApp Button for UAE Instant Contact */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  border: 2px solid #ffffff;
}

.floating-whatsapp:hover, .floating-whatsapp:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.7);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Floating Back-to-Top Button */
.floating-back-to-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--bg-darkest);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 998;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              visibility 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-back-to-top:hover,
.floating-back-to-top:focus-visible {
  background: var(--accent-gold);
  color: var(--bg-darkest);
  border-color: var(--accent-gold-light);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 30px rgba(201, 162, 75, 0.45);
  outline: none;
}

.floating-back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

.floating-back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
  .floating-back-to-top {
    bottom: 80px;
    right: 23px;
    width: 46px;
    height: 46px;
  }
  .floating-back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--gold-border-soft);
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-section {
    padding: 7rem 0 7.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 1rem;
}

.hero-arabic {
  margin-bottom: 1.5rem;
  display: block;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-border-soft);
}

@media (min-width: 640px) {
  .hero-stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Showcase Frame */
.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right, var(--gold-glow-intense), transparent 70%);
  pointer-events: none;
}

.hero-ecosystem-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.ecosystem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.ecosystem-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: rgba(6, 34, 24, 0.6);
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.ecosystem-item:hover {
  border-color: var(--accent-gold);
  transform: translateX(4px);
  background: rgba(6, 34, 24, 0.9);
}

.ecosystem-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.eco-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold-light);
}

.eco-indicator.construction { background: var(--color-construction); }
.eco-indicator.engineering { background: var(--color-engineering); }
.eco-indicator.maintenance { background: var(--color-maintenance); }
.eco-indicator.autocare { background: var(--color-autocare); }

.eco-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-body);
}

.eco-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CARDS & GRID SYSTEMS
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding: 6rem 0;
  }
}

.section-dark {
  background-color: var(--bg-darkest);
  border-top: 1px solid var(--gold-border-soft);
  border-bottom: 1px solid var(--gold-border-soft);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Standard Company & Service Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-number {
  font-family: var(--font-serif-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
  padding-top: 1rem;
}

.card-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.card-list-item::before {
  content: '✦';
  color: var(--accent-gold);
  font-size: 0.75rem;
  margin-top: 3px;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 162, 75, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Project Card Specifics */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.project-card-header {
  background: rgba(6, 34, 24, 0.8);
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--gold-border-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-location {
  font-size: 0.85rem;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.project-cost {
  font-family: var(--font-serif-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.88rem;
}

.project-specs-table tr {
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
}

.project-specs-table td {
  padding: 0.6rem 0;
}

.project-specs-table td:first-child {
  color: var(--text-muted);
  width: 35%;
  font-weight: 500;
}

.project-specs-table td:last-child {
  color: var(--text-body);
  font-weight: 600;
}

/* ==========================================================================
   CLIENTS / PARTNERS LOGO GRID
   ========================================================================== */
.client-logo-card {
  background: rgba(15, 74, 56, 0.4);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  transition: var(--transition);
}

.client-logo-card:hover {
  background: rgba(15, 74, 56, 0.8);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.client-logo-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  color: var(--accent-gold);
}

.client-title {
  font-family: var(--font-company);
  font-size: 1.05rem;
  color: var(--text-body);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   FORMS & INPUTS (ACCESSIBLE TOUCH TARGETS)
   ========================================================================== */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .form-card {
    padding: 2.75rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: rgba(6, 34, 24, 0.75);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold-light);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.25);
  outline: none;
  background: rgba(6, 34, 24, 0.95);
}

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

.form-control::placeholder {
  color: rgba(207, 198, 174, 0.5);
}

/* Contact Info Item */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(15, 74, 56, 0.45);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--accent-gold);
  background: rgba(15, 74, 56, 0.75);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(6, 34, 24, 0.7);
  border: 1px solid var(--gold-border);
  color: var(--accent-gold);
}

.contact-info-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  margin-bottom: 0.25rem;
}

.contact-info-content p,
.contact-info-content a {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-info-content a:hover {
  color: #fff;
}

/* ==========================================================================
   CALL TO ACTION BANNER (LET'S BUILD WHAT'S NEXT)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #093427 0%, var(--bg-darkest) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  margin: 3rem 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-serif-heading);
  font-size: var(--size-section);
  color: var(--accent-gold-light);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FOOTER (STRICT DARKEST GREEN #062218)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-darkest);
  border-top: 1px solid var(--gold-border);
  padding: 4.5rem 0 5.5rem;
  margin-top: auto;
  position: relative;
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 7rem; /* Guaranteed safe clearance so floating WhatsApp button never covers footer data on mobile */
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr 1.2fr;
    gap: 3rem;
  }
}

.footer-widget h3 {
  font-family: var(--font-company);
  font-size: 1.15rem;
  color: var(--accent-gold-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
}

.footer-widget h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 6px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-gold);
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 162, 75, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* User-Requested Footer Credit Line */
.footer-credit {
  width: 100%;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px dashed rgba(201, 162, 75, 0.22);
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  line-height: 1.6;
}

.footer-credit a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: var(--accent-gold-light);
}

.footer-credit .sep {
  color: var(--accent-gold);
  opacity: 0.65;
  margin: 0 0.15rem;
}

.footer-credit .flags {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.footer-credit .flag-icon {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.18);
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.footer-credit .flag-icon:hover {
  transform: scale(1.18);
}

/* ==========================================================================
   INTERACTIVE TABS & FILTER BAR
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.tab-btn {
  background: rgba(15, 74, 56, 0.5);
  border: 1px solid var(--gold-border-soft);
  color: var(--text-body);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.tab-btn.active {
  background: var(--accent-gold);
  color: var(--bg-darkest);
  border-color: var(--accent-gold-light);
  font-weight: 600;
}

/* Modal Popup Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 34, 24, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  max-width: 580px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(6, 34, 24, 0.6);
  border: 1px solid var(--gold-border);
  color: var(--accent-gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: var(--bg-darkest);
}

/* ==========================================================================
   GEO-SEO & AEO SCHEMA SECTION HELPERS
   ========================================================================== */
.geo-tag-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.geo-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Alert Notification toast */
.toast-msg {
  position: fixed;
  bottom: 150px;
  right: 24px;
  background: var(--bg-darkest);
  border: 1px solid var(--accent-gold);
  color: var(--text-body);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  z-index: 2001;
  display: none;
  align-items: center;
  gap: 0.75rem;
  animation: slideInUp 0.3s ease;
}

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

/* ==========================================================================
   CLIENT BRAND SHOWCASE (EXCLUSIVELY PROVIDED LOGOS)
   ========================================================================== */
.client-brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3.5rem 0 5rem;
}

@media (min-width: 640px) {
  .client-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .client-brand-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.client-brand-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.client-brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-brand-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card-hover);
}

.client-brand-card:hover::before {
  opacity: 1;
}

.client-logo-wrapper {
  width: 100%;
  height: 150px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.client-brand-card:hover .client-logo-wrapper {
  transform: scale(1.02);
}

.client-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.client-brand-card:hover .client-logo-wrapper img {
  transform: scale(1.06);
}

.client-brand-title {
  font-family: var(--font-company);
  font-size: 1.35rem;
  color: var(--accent-gold-light);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.client-brand-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(11, 61, 46, 0.8);
  border: 1px solid var(--gold-border-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-darkest) 100%);
  border-top: 1px solid var(--gold-border-soft);
  border-bottom: 1px solid var(--gold-border-soft);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(201, 162, 75, 0.5);
}

.faq-item.active {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--accent-gold-light);
  outline: none;
}

.faq-icon {
  width: 22px;
  height: 22px;
  stroke: var(--accent-gold);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  stroke: var(--accent-gold-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  border-top: 1px solid rgba(201, 162, 75, 0.15);
  padding-top: 1.15rem;
  margin: 0;
}

/* ==========================================================================
   ENHANCED SERVICE DIVISION SHOWCASE
   ========================================================================== */
.division-banner-card {
  background: linear-gradient(135deg, rgba(15, 74, 56, 0.85) 0%, rgba(6, 34, 24, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.division-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(201, 162, 75, 0.12), transparent 70%);
  pointer-events: none;
}

.division-info {
  max-width: 720px;
}

.division-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.division-pill {
  font-size: 0.8rem;
  background: rgba(11, 61, 46, 0.6);
  border: 1px solid var(--gold-border-soft);
  color: var(--accent-gold-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

