/**
 * Alpha Steel Frame - Production CSS Stylesheet
 * Location: Brisbane, Queensland, Australia
 * Core Palette: Deep Industrial Navy (#080D15), Steel Blue (#0164EC), Safety Steel Orange (#FF5E14)
 * Typography: 'Space Grotesk' (Display/Headings) & 'Plus Jakarta Sans' (Body/UI)
 */

/* ==========================================================================
   1. CSS VARIABLES & DESIGN SYSTEM
   Light is the default. Dark is opt-in via html[data-theme="dark"].
   Photo bands (hero, CTA) re-declare light text locally so copy stays
   readable on imagery in both themes.
   ========================================================================== */
:root {
  color-scheme: light;

  /* Surfaces — names stay stable so existing selectors keep working */
  --bg-dark-950: #E7EDF5;
  --bg-dark-900: #F4F7FB;
  --bg-dark-850: #FFFFFF;
  --bg-dark-800: #FFFFFF;
  --bg-dark-750: #E7EDF5;
  --bg-dark-700: #D5DEEA;

  --brand-blue: #0164EC;
  --brand-blue-glow: rgba(1, 100, 236, 0.22);
  --brand-blue-light: #0156D6;
  --brand-blue-dark: #004BC7;

  --accent-orange: #FF5E14;
  --accent-orange-hover: #E04B06;
  --accent-orange-glow: rgba(255, 94, 20, 0.28);
  --accent-orange-subtle: rgba(255, 94, 20, 0.1);

  --steel-silver: #475569;
  --steel-muted: #64748B;
  --steel-light: #0F172A;
  --text-primary: #0B1220;
  --text-secondary: #334155;
  --text-muted: #64748B;

  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-strong: rgba(15, 23, 42, 0.14);
  --border-accent: rgba(1, 100, 236, 0.28);

  --surface-glass: rgba(255, 255, 255, 0.92);
  --surface-card: #FFFFFF;
  --surface-card-hover: #F8FAFC;

  --wash: rgba(15, 23, 42, 0.04);
  --wash-strong: rgba(15, 23, 42, 0.08);
  --grid-line: rgba(15, 23, 42, 0.05);
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-bg-shrunk: rgba(255, 255, 255, 0.96);
  --header-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --input-bg: #FFFFFF;
  --input-bg-focus: #FFFFFF;
  --cookie-bg: rgba(255, 255, 255, 0.96);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.1);
  --shadow-glow-blue: 0 8px 28px rgba(1, 100, 236, 0.16);
  --shadow-glow-orange: 0 8px 28px rgba(255, 94, 20, 0.18);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --header-height: 84px;
  --header-height-shrunk: 68px;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg-dark-950: #05080E;
  --bg-dark-900: #080D15;
  --bg-dark-850: #0B121D;
  --bg-dark-800: #0F1826;
  --bg-dark-750: #142033;
  --bg-dark-700: #1B2B43;

  --brand-blue-glow: rgba(1, 100, 236, 0.35);
  --brand-blue-light: #2A7FFF;

  --accent-orange-glow: rgba(255, 94, 20, 0.4);
  --accent-orange-subtle: rgba(255, 94, 20, 0.12);

  --steel-silver: #CBD5E1;
  --steel-muted: #94A3B8;
  --steel-light: #F1F5F9;
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(1, 100, 236, 0.3);

  --surface-glass: rgba(15, 24, 38, 0.78);
  --surface-card: #0D1624;
  --surface-card-hover: #121F33;

  --wash: rgba(255, 255, 255, 0.04);
  --wash-strong: rgba(255, 255, 255, 0.1);
  --grid-line: rgba(255, 255, 255, 0.02);
  --header-bg: rgba(8, 13, 21, 0.85);
  --header-bg-shrunk: rgba(5, 8, 14, 0.97);
  --header-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-bg-focus: rgba(255, 255, 255, 0.07);
  --cookie-bg: rgba(13, 22, 36, 0.96);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-blue: 0 0 30px rgba(1, 100, 236, 0.25);
  --shadow-glow-orange: 0 0 30px rgba(255, 94, 20, 0.3);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  background-color: var(--bg-dark-900);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
}

/* Fallback and containment for older and modern mobile browsers */
main,
section,
footer,
header,
.site-header,
.site-footer,
.hero-section,
.about-section,
.services-section,
.why-us-section,
.process-section,
.projects-section,
.testimonials-section,
.faq-section,
.cta-banner-section,
.contact-section {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
}

@supports not (overflow-x: clip) {
  main,
  section,
  footer,
  header,
  .site-header,
  .site-footer,
  .hero-section,
  .about-section,
  .services-section,
  .why-us-section,
  .process-section,
  .projects-section,
  .testimonials-section,
  .faq-section,
  .cta-banner-section,
  .contact-section {
    overflow-x: hidden;
  }
}

/* Blueprint Grid Background Pattern */
.blueprint-grid-bg {
  background-color: var(--bg-dark-900);
  background-image: 
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--brand-blue-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-orange);
}

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

/* Focus Visible Accessibility */
:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 3px;
}

/* ==========================================================================
   3. PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--bg-dark-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  text-align: center;
  position: relative;
}

.loader-logo-wrapper {
  width: 140px;
  height: auto;
  margin: 0 auto 1.5rem;
  position: relative;
  animation: pulseLogo 2s infinite ease-in-out;
}

.loader-logo-wrapper img {
  width: 100%;
  height: auto;
}

.loader-logo-wrapper .brand-logo-slot {
  display: block;
  width: 100%;
}

.loader-bar {
  width: 180px;
  height: 3px;
  background: var(--wash-strong);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent-orange));
  border-radius: 4px;
  animation: loadProgress 1.4s infinite ease-in-out;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-muted);
  margin-top: 1rem;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(1, 100, 236, 0.2)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 25px rgba(255, 94, 20, 0.4)); }
}

@keyframes loadProgress {
  0% { left: -40%; width: 30%; }
  50% { width: 60%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   4. SECTION UTILITIES & BADGES
   ========================================================================== */
.section-padding {
  padding: 100px 0;
}

@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  background: var(--accent-orange-subtle);
  border: 1px solid rgba(255, 94, 20, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-tag i {
  font-size: 0.85rem;
}

.section-title {
  position: relative;
  margin-bottom: 1.25rem;
}

.section-title span.text-highlight {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--steel-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span.text-orange {
  color: var(--accent-orange);
  -webkit-text-fill-color: var(--accent-orange);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   5. BUTTONS & CTAS
   ========================================================================== */
.btn-primary-alpha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-orange);
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid var(--accent-orange);
  box-shadow: 0 4px 18px rgba(255, 94, 20, 0.35);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  text-decoration: none;
  z-index: 1;
}

.btn-primary-alpha::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary-alpha:hover {
    background: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 94, 20, 0.5);
  }
  .btn-primary-alpha:hover::before {
    left: 100%;
  }
}

.btn-primary-alpha:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 94, 20, 0.3);
}

.btn-outline-alpha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wash);
  color: var(--text-primary) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  cursor: pointer;
  max-width: 100%;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline-alpha:hover {
    background: var(--wash-strong);
    border-color: var(--text-primary);
    color: var(--text-primary) !important;
    transform: translateY(-2px);
  }
}

.btn-outline-alpha:active {
  background: var(--wash-strong);
  transform: translateY(0);
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(1, 100, 236, 0.12);
  color: var(--brand-blue-light) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid rgba(1, 100, 236, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  cursor: pointer;
  max-width: 100%;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline-blue:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px var(--brand-blue-glow);
    transform: translateY(-2px);
  }
}

.btn-outline-blue:active {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  color: #FFFFFF !important;
  transform: translateY(0);
}

.btn-sm-custom {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-inline: auto;
  z-index: 1030;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-bottom-color: var(--border-glass);
  border-radius: 0;
  overflow: visible;
  transition:
    top var(--transition-smooth),
    width var(--transition-smooth),
    height var(--transition-smooth),
    border-radius var(--transition-smooth),
    background-color var(--transition-smooth),
    box-shadow var(--transition-smooth),
    border-color var(--transition-smooth);
}

.site-header.shrunk {
  top: 14px;
  width: calc(100% - 32px);
  height: var(--header-height-shrunk);
  border-radius: 999px;
  background: var(--header-bg-shrunk);
  border-color: var(--border-glass-strong);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

html[data-theme="dark"] .site-header.shrunk {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
  .site-header.shrunk {
    top: 8px;
    width: calc(100% - 16px);
  }
}

.site-header .container-xl {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.shrunk .container-xl {
  max-width: none;
  padding-left: 40px;
  padding-right: 28px;
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  transition: height var(--transition-fast);
}

.site-header.shrunk .brand-logo-img {
  height: 46px;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--steel-muted);
  text-transform: uppercase;
}

/* Nav Menu Items */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a.nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--steel-silver);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

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

.header-action-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-silver);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .header-phone-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-orange);
    background: var(--accent-orange-subtle);
  }
}

.header-phone-link i {
  color: var(--accent-orange);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass-strong);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .mobile-nav-toggle:hover {
    background: var(--wash-strong);
  }
}

@media (max-width: 991px) {
  .desktop-nav,
  .header-phone-link {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}

/* Offcanvas Mobile Navigation */
.offcanvas-alpha {
  background-color: var(--bg-dark-950) !important;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-glass-strong) !important;
}

.offcanvas-alpha .offcanvas-header {
  border-bottom: 1px solid var(--border-glass);
  padding: 1.25rem 1.5rem;
}

.offcanvas-alpha .offcanvas-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-list a.nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--steel-silver);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-glass);
  transition: color var(--transition-fast);
}

.mobile-nav-list a.nav-link:active,
.mobile-nav-list a.nav-link.active {
  color: var(--accent-orange);
}

@media (hover: hover) and (pointer: fine) {
  .mobile-nav-list a.nav-link:hover {
    color: var(--accent-orange);
    padding-left: 8px;
  }
}

/* Sticky Floating Mobile Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: var(--header-bg-shrunk);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glass-strong);
  z-index: 1020;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
}

.mobile-sticky-bar .btn-outline-alpha,
.mobile-sticky-bar .btn-primary-alpha {
  padding: 10px 8px;
  font-size: 0.88rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background-color: var(--bg-dark-950);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: -12%;
  left: 0;
  right: 0;
  height: 124%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  filter: brightness(0.) contrast(1.15);
  transition: transform 10s ease-out;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(5, 8, 14, 0.72) 0%, rgba(8, 13, 21, 0.9) 62%, #080D15 100%),
    radial-gradient(circle at 80% 20%, rgba(1, 100, 236, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(1, 100, 236, 0.12);
  border: 1px solid rgba(1, 100, 236, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--brand-blue-light);
  margin-bottom: 1.5rem;
}

.hero-trust-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 10px #00E676;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-headline {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-headline span.gradient-word {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--steel-silver) 50%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  color: var(--steel-silver);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 3rem;
}

/* Hero Highlight Badges / Quick Metrics */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

@media (max-width: 575px) {
  .hero-metrics-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hero-metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--wash);
  border: 1px solid var(--border-glass-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.1rem;
}

.hero-metric-text {
  display: flex;
  flex-direction: column;
}

.hero-metric-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-metric-sub {
  font-size: 0.75rem;
  color: var(--steel-muted);
}

/* Floating Technical Spec Card (Hero Right) */
.hero-spec-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass-strong);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  position: relative;
  overflow: hidden;
}

.hero-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent-orange));
  opacity: 0.3;
}

.spec-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glass);
}

.spec-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(1, 100, 236, 0.15);
  color: var(--brand-blue-light);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(1, 100, 236, 0.3);
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.spec-item:last-child {
  margin-bottom: 0;
}

.spec-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 94, 20, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.spec-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.spec-info p {
  font-size: 0.82rem;
  color: var(--steel-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   8. ABOUT SECTION
   ========================================================================== */
.about-section {
  background-color: var(--bg-dark-850);
  position: relative;
}

.about-image-stack {
  position: relative;
  padding-bottom: 40px;
}

.about-main-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-glass-strong);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-floating-badge {
  position: absolute;
  bottom: 0;
  right: 15px;
  background: var(--bg-dark-900);
  border: 2px solid var(--accent-orange);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 94, 20, 0.25);
  max-width: 260px;
}

.floating-badge-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.floating-badge-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--steel-silver);
  line-height: 1.3;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 575px) {
  .feature-check-list {
    grid-template-columns: 1fr;
  }
}

.feature-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--steel-light);
}

.feature-check-item i {
  color: var(--brand-blue-light);
  font-size: 1.1rem;
}

/* ==========================================================================
   9. SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: var(--bg-dark-900);
  position: relative;
}

.service-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background var(--transition-fast);
}

.service-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: rgba(1, 100, 236, 0.1);
  border: 1px solid rgba(1, 100, 236, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-light);
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    background-color: var(--surface-card-hover);
    border-color: rgba(1, 100, 236, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  }

  .service-card:hover::before {
    background: linear-gradient(90deg, var(--brand-blue), var(--accent-orange));
  }

  .service-card:hover .service-icon-wrapper {
    background: var(--brand-blue);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--brand-blue-glow);
    transform: scale(1.08);
  }
}

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

.service-card p {
  color: var(--steel-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-specs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--wash);
  border: 1px solid var(--border-glass);
  color: var(--steel-silver);
  padding: 3px 8px;
  border-radius: 4px;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-orange);
  transition: gap var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-learn-more {
    gap: 12px;
  }
}

/* ==========================================================================
   10. WHY CHOOSE US & STATS SECTION
   ========================================================================== */
.why-us-section {
  background-color: var(--bg-dark-850);
  position: relative;
}

.benefit-box {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
}

.benefit-icon-cube {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--accent-orange-subtle);
  border: 1px solid rgba(255, 94, 20, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.benefit-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.benefit-info p {
  font-size: 0.9rem;
  color: var(--steel-muted);
  margin-bottom: 0;
}

/* Stat Counter Cards */
.stats-strip-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--border-glass-strong);
  border-radius: 16px;
  padding: 40px 24px;
  box-shadow: var(--shadow-lg);
  margin-top: 50px;
}

.stat-card {
  text-align: center;
  padding: 10px 16px;
  position: relative;
}

.stat-number-wrapper {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number-wrapper span.stat-suffix {
  color: var(--accent-orange);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-silver);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-subtext {
  font-size: 0.75rem;
  color: var(--steel-muted);
}

/* ==========================================================================
   11. PROCESS TIMELINE SECTION
   ========================================================================== */
.process-section {
  background-color: var(--bg-dark-900);
  position: relative;
}

.process-timeline {
  position: relative;
  margin-top: 50px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 58px;
  transform: translateY(-50%);
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--accent-orange) 100%);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 991px) {
  .process-timeline::before {
    display: none;
  }
}

.process-step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

@media (max-width: 991px) {
  .process-step-item {
    text-align: left;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0;
  }
}

.process-number-badge {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg-dark-900);
  border: 2px solid var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  box-shadow: 0 0 20px var(--brand-blue-glow);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .process-step-item:hover .process-number-badge {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
    color: #FFFFFF;
    box-shadow: 0 0 25px var(--accent-orange-glow);
    transform: scale(1.1);
  }
}

.process-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-content p {
  font-size: 0.88rem;
  color: var(--steel-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   12. PROJECTS & GALLERY (MASONRY + LIGHTBOX)
   ========================================================================== */
.projects-section {
  background-color: var(--bg-dark-850);
  position: relative;
}

.gallery-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--wash);
  border: 1px solid var(--border-glass-strong);
  color: var(--steel-silver);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 15px var(--brand-blue-glow);
}

@media (hover: hover) and (pointer: fine) {
  .filter-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #FFFFFF;
    box-shadow: 0 4px 15px var(--brand-blue-glow);
  }
}

.project-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--surface-card);
  margin-bottom: 24px;
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 21, 0.1) 0%, rgba(8, 13, 21, 0.95) 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.92;
  transition: opacity var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
  }
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.project-title {
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.project-location {
  font-size: 0.8rem;
  color: var(--steel-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-lightbox-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: rgba(8, 13, 21, 0.8);
  border: 1px solid var(--border-glass-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.95rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-lightbox-icon {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   13. TESTIMONIALS SECTION (SWIPER)
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-dark-900);
  position: relative;
}

.testimonials-slider {
  padding-bottom: 50px;
}

.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--border-glass-strong);
  border-radius: 14px;
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.quote-icon {
  color: rgba(1, 100, 236, 0.25);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 14px;
}

.star-rating {
  color: #FFB800;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  object-fit: cover;
}

.client-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.client-info p {
  font-size: 0.78rem;
  color: var(--steel-muted);
  margin-bottom: 0;
}

.swiper-pagination-bullet {
  background: var(--steel-muted) !important;
  opacity: 0.4 !important;
  transition: all var(--transition-fast) !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent-orange) !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ==========================================================================
   14. FAQ SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-dark-850);
  position: relative;
}

.accordion-alpha {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
}

.accordion-alpha .accordion-item {
  background: var(--surface-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px !important;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .accordion-alpha .accordion-item:hover {
    border-color: rgba(1, 100, 236, 0.4);
  }
}

.accordion-alpha .accordion-button {
  background: var(--surface-card);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px 24px;
  box-shadow: none;
}

.accordion-alpha .accordion-button:not(.collapsed) {
  background: var(--surface-card-hover);
  color: var(--accent-orange);
  box-shadow: none;
}

.accordion-alpha .accordion-button::after {
  filter: none;
  transition: transform var(--transition-fast);
}

html[data-theme="dark"] .accordion-alpha .accordion-button::after {
  filter: invert(1);
}

.accordion-alpha .accordion-button:not(.collapsed)::after {
  filter: invert(53%) sepia(85%) saturate(2329%) hue-rotate(345deg) brightness(101%) contrast(102%);
}

.accordion-alpha .accordion-body {
  padding: 10px 24px 24px;
  color: var(--steel-silver);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   15. PARALLAX CTA BANNER
   ========================================================================== */
.cta-banner-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background-color: var(--bg-dark-950);
}

.cta-bg-wrapper {
  position: absolute;
  top: -12%;
  left: 0;
  right: 0;
  height: 124%;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28) contrast(1.2);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 100, 236, 0.22) 0%, rgba(8, 13, 21, 0.9) 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

/* ==========================================================================
   16. CONTACT & ENQUIRY SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark-900);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.contact-card-box {
  background: var(--surface-card);
  border: 1px solid var(--border-glass-strong);
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .contact-card-box {
    padding: 24px 18px;
    border-radius: 12px;
  }
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(1, 100, 236, 0.12);
  border: 1px solid rgba(1, 100, 236, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-content {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.channel-content h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.channel-content a,
.channel-content p {
  font-size: 0.92rem;
  color: var(--steel-silver);
  margin-bottom: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.channel-content a {
  display: inline-block;
  max-width: 100%;
}

/* Contact Form Styles */
.form-label-custom {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control-custom,
.form-select-custom {
  background-color: var(--input-bg);
  border: 1px solid var(--border-glass-strong);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 1rem; /* 16px minimum prevents iOS Safari horizontal viewport auto-zoom */
  max-width: 100%;
  width: 100%;
  transition: all var(--transition-fast);
}

.form-control-custom:focus,
.form-select-custom:focus {
  background-color: var(--input-bg-focus);
  border-color: var(--brand-blue);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(1, 100, 236, 0.25);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--steel-muted);
}

.form-select-custom option {
  background-color: var(--bg-dark-900);
  color: var(--text-primary);
}

/* Honeypot field for anti-spam */
.website-field-hp {
  display: none !important;
  visibility: hidden !important;
}

/* Map Embed Container */
.map-embed-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass-strong);
  height: 280px;
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  position: relative;
  touch-action: pan-y;
}

.map-embed-wrapper iframe {
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

html[data-theme="dark"] .map-embed-wrapper iframe {
  filter: invert(90%) hue-rotate(180deg) contrast(1.1);
}

/* ==========================================================================
   17. FOOTER & BACK-TO-TOP
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark-950);
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 30px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.footer-brand-logo {
  height: 58px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-bio {
  font-size: 0.9rem;
  color: var(--steel-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-widget h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 8px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: var(--steel-muted);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav-list a:hover {
    color: var(--accent-orange);
    transform: translateX(4px);
  }
}

.footer-nav-list a:active {
  color: var(--accent-orange);
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.25rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--wash);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-silver);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.82rem;
  color: var(--steel-muted);
}

/* Back to Top Floating Button */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-glass-strong);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .social-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #FFFFFF;
    transform: translateY(-2px);
  }

  #backToTopBtn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--accent-orange-glow);
    transform: translateY(-4px);
  }
}

@media (max-width: 767px) {
  #backToTopBtn {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   18. MOBILE RESPONSIVE STABILIZATION & AOS NORMALIZATION (PWA GRADE)
   ========================================================================== */
@media (max-width: 991.98px) {
  /* Keep fade-up scroll motion. Block only sideways shifts that overflow the viewport. */
  [data-aos="fade-left"],
  [data-aos="fade-right"],
  [data-aos^="slide"] {
    transform: none !important;
  }

  /* 2. Responsive Bootstrap gutter limits to prevent row horizontal overflow */
  .row {
    --bs-gutter-x: 1.5rem !important;
  }
  .row.g-5, .row.g-4 {
    --bs-gutter-x: 1.5rem !important;
    --bs-gutter-y: 1.5rem !important;
  }

  /* 3. Containers strict boundary */
  .container,
  .container-fluid,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm {
    padding-right: 16px !important;
    padding-left: 16px !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  /* 4. Disable all touch hover dimensional shifts & scales.
     The header is centered with margin, so a sticky :hover must not clear a translate. */
  *:hover:not(.site-header) {
    transform: none !important;
  }

  .site-header,
  .site-header:hover,
  .site-header:active {
    left: 0;
    right: 0;
    margin-inline: auto;
    transform: none !important;
  }

  .service-card:hover,
  .project-card:hover,
  .project-card:hover .project-img-wrapper img,
  .about-floating-badge:hover,
  .stat-card:hover,
  .process-step-item:hover,
  .process-step-item:hover .process-number-badge,
  .btn-primary-alpha:hover,
  .btn-outline-alpha:hover,
  .btn-outline-blue:hover,
  .social-btn:hover,
  #backToTopBtn:hover {
    transform: none !important;
  }
}

@media (max-width: 575px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn-primary-alpha,
  .hero-actions .btn-outline-alpha {
    width: 100%;
    text-align: center;
  }
  .about-floating-badge {
    position: static;
    margin-top: -20px;
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(100% - 20px);
  }
  .stats-strip-wrapper {
    padding: 24px 16px;
    margin-top: 30px;
  }
}

/* ==========================================================================
   19. ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   20. COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 500px;
  background: var(--cookie-bg);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  z-index: 1040;
  opacity: 0;
  transform: translateY(30px);
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-banner.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cookie-consent-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-consent-text {
  font-size: 0.88rem;
  color: var(--steel-silver);
  line-height: 1.5;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .cookie-consent-banner {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: calc(75px + env(safe-area-inset-bottom, 0px));
    padding: 18px 16px;
    border-radius: 12px;
  }
}

/* ==========================================================================
   21. THEME CHROME, LOGO SWAP, SCROLL MOTION, CUSTOM CURSOR
   Light theme uses Assets/image/logo.svg. Dark theme uses logo-white.svg.
   ========================================================================== */
.brand-logo-slot {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-on-dark {
  display: none;
}

html[data-theme="dark"] .logo-on-light {
  display: none;
}

html[data-theme="dark"] .logo-on-dark {
  display: block;
}

.offcanvas-header .brand-logo-slot img {
  height: 34px;
  width: auto;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-glass-strong);
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}

.theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .theme-toggle:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
  }
}

/* Photo bands stay dark in both themes so white type remains readable */
.hero-section,
.cta-banner-section {
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --steel-silver: #CBD5E1;
  --steel-muted: #94A3B8;
  --steel-light: #F1F5F9;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);
  --surface-glass: rgba(15, 24, 38, 0.78);
  --wash: rgba(255, 255, 255, 0.06);
  --wash-strong: rgba(255, 255, 255, 0.12);
  --bg-dark-950: #05080E;
  --bg-dark-900: #080D15;
  color: #E2E8F0;
  background-color: #05080E;
}

html:not([data-theme="dark"]) .text-white {
  color: var(--text-primary) !important;
}

html:not([data-theme="dark"]) .btn-close-white {
  filter: none;
}

html:not([data-theme="dark"]) .table-dark {
  --bs-table-color: var(--text-primary);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--border-glass);
  --bs-table-striped-bg: transparent;
  --bs-table-active-bg: transparent;
  --bs-table-hover-bg: transparent;
  color: var(--text-primary);
}

.parallax-item {
  will-change: transform;
}

.cursor-dot,
.cursor-ring {
  --cursor: #FF5E14;
  --cursor-ring: rgba(255, 94, 20, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  opacity: 0;
}

.cursor-dot.on-dark,
.cursor-ring.on-dark {
  --cursor: #F4F7FB;
  --cursor-ring: rgba(244, 247, 251, 0.92);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cursor);
  transition:
    width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s ease,
    border-radius 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--cursor-ring);
  background: transparent;
  transition:
    background-color 0.25s ease,
    border-color 0.2s ease;
}

/* Links and buttons: ring opens up, dot stays a precise point */
.cursor-ring.is-pointer {
  background: rgba(255, 94, 20, 0.1);
}

.cursor-ring.on-dark.is-pointer {
  background: rgba(244, 247, 251, 0.12);
}

/* Photos: viewfinder cross */
.cursor-dot.is-image {
  width: 12px;
  height: 1.5px;
  border-radius: 1px;
}

.cursor-dot.is-image::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: 12px;
  border-radius: 1px;
  background: var(--cursor);
  transform: translate(-50%, -50%);
}

@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: none !important;
  }

  html.has-custom-cursor input,
  html.has-custom-cursor textarea,
  html.has-custom-cursor select,
  html.has-custom-cursor input *,
  html.has-custom-cursor textarea *,
  html.has-custom-cursor select * {
    cursor: text !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-item {
    transform: none !important;
  }
}
