/* ==========================================================================
   ACTIVE POWER SYSTEMS - CORE STYLESHEET
   Location: Gondal Road, Rajkot - 360002, Gujarat, India
   Phone / WhatsApp: +91 91068 11259
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  /* Brand Color Palette */
  --navy-950: #071321;
  --navy-900: #0a1b2f;
  --navy-850: #0f2742;
  --navy-800: #153457;
  --navy-700: #1d4573;
  --navy-600: #295c96;

  --orange-600: #c2410c;
  --orange-500: #ea580c;
  --orange-400: #f97316;
  --orange-300: #fb923c;
  --orange-100: #ffedd5;
  --orange-50: #fff7ed;

  --electric-blue: #0284c7;
  --electric-cyan: #06b6d4;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(10, 27, 47, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 27, 47, 0.08), 0 2px 4px -2px rgba(10, 27, 47, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(10, 27, 47, 0.1), 0 4px 6px -4px rgba(10, 27, 47, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(10, 27, 47, 0.15), 0 8px 10px -6px rgba(10, 27, 47, 0.08);
  --shadow-glow-orange: 0 0 25px rgba(234, 88, 12, 0.35);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Globals */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--slate-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--orange-400);
  outline-offset: 3px;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-orange {
  color: var(--orange-500);
}

.text-navy {
  color: var(--navy-900);
}

.text-slate {
  color: var(--slate-500);
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

/* Section Headers */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--orange-100);
  color: var(--orange-600);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-badge.blue {
  background: #e0f2fe;
  color: #0369a1;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--slate-600);
  max-width: 680px;
  line-height: 1.65;
}

.section-subtitle.light {
  color: var(--slate-300);
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-primary:hover {
  background: var(--orange-600);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy-950);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-700);
}

.btn-outline-navy:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--slate-300);
}

.top-bar-item a:hover {
  color: var(--orange-400);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--orange-400);
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  gap: 1.25rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-400);
  border: 1px solid rgba(249, 115, 22, 0.3);
  box-shadow: 0 4px 10px rgba(10, 27, 47, 0.15);
  flex-shrink: 0;
}

.logo-icon-box svg {
  width: 24px;
  height: 24px;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

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

.footer-brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mobile-drawer-logo-img {
  height: 38px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-950);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--orange-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Nav Menu Desktop */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-block;
}

.nav-link:hover {
  color: var(--orange-500);
  background: var(--slate-100);
}

.nav-link.active {
  color: var(--orange-500);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2.5px;
  background: var(--orange-500);
  border-radius: 2px;
}

/* Nav CTAs */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-actions .btn {
  font-size: 0.875rem;
  padding: 0.65rem 1.15rem;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--navy-900);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 27, 47, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 380px;
  height: 100%;
  background: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 1.5rem;
}

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

.mobile-nav-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--orange-50);
  color: var(--orange-600);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-850) 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(234, 88, 12, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(2, 132, 199, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--orange-400);
  margin-bottom: 1.5rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--orange-400);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange-400);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--orange-400);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.highlight-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
}

.highlight-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

/* Hero Media Card */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 100%);
  aspect-ratio: 16 / 11;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 27, 47, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.badge-text-subtitle {
  font-size: 0.775rem;
  color: var(--slate-300);
}

/* ==========================================================================
   OUR TRACK RECORD - STATISTICS SECTION
   ========================================================================== */
.track-record-section {
  position: relative;
  background: linear-gradient(180deg, var(--navy-950) 0%, #081729 50%, var(--navy-900) 100%);
  color: var(--white);
  padding: 4.75rem 0 5.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.track-record-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(234, 88, 12, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.1) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
}

.track-record-section .section-header-center {
  position: relative;
  z-index: 2;
  margin-bottom: 3.25rem;
}

.track-record-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(234, 88, 12, 0.16);
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 1rem;
}

.track-record-badge svg {
  width: 14px;
  height: 14px;
  color: var(--orange-400);
}

.track-record-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  position: relative;
  background: linear-gradient(150deg, rgba(15, 39, 66, 0.75) 0%, rgba(10, 27, 47, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--orange-500);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.6);
  border-top-color: var(--orange-400);
  background: linear-gradient(150deg, rgba(20, 50, 85, 0.85) 0%, rgba(10, 27, 47, 0.98) 100%);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.45), 0 0 25px rgba(234, 88, 12, 0.25);
}

.stat-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.32);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.stat-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.08);
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.stat-placeholder-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(234, 88, 12, 0.18);
  border: 1px solid rgba(234, 88, 12, 0.4);
  color: var(--orange-300);
  white-space: nowrap;
}

.stat-placeholder-pill.is-hidden {
  display: none !important;
}

.stat-placeholder-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-400);
  box-shadow: 0 0 6px var(--orange-400);
  animation: pulseDot 2s infinite ease-in-out;
}

.stat-metric-display {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: var(--orange-400);
  margin-left: 0.15rem;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
  min-height: 2.9rem;
  display: flex;
  align-items: flex-start;
}

.stat-description {
  font-size: 0.865rem;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.stat-meta-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--slate-400);
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-meta-bar svg {
  width: 14px;
  height: 14px;
  color: var(--orange-400);
  flex-shrink: 0;
}

.track-record-notice {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(234, 88, 12, 0.35);
  border-radius: var(--radius-md);
  font-size: 0.835rem;
  color: var(--slate-300);
  text-align: center;
}

.track-record-notice svg {
  width: 18px;
  height: 18px;
  color: var(--orange-400);
  flex-shrink: 0;
}

.track-record-notice code {
  background: rgba(234, 88, 12, 0.18);
  color: var(--orange-300);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
}

/* Responsive adjustments for Track Record */
@media (max-width: 1024px) {
  .track-record-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .track-record-section {
    padding: 3.75rem 0 4rem;
  }

  .track-record-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .stat-card {
    padding: 1.6rem 1.35rem 1.5rem;
  }

  .stat-label {
    min-height: auto;
  }

  .track-record-notice {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .stat-card,
  .stat-icon-wrapper,
  .stat-placeholder-dot {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   QUICK ACTION STRIP / VERIFIED CREDENTIALS
   ========================================================================== */
.credentials-strip {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cred-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-500);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.cred-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
}

.cred-desc {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.section-padding {
  padding: 5.5rem 0;
}

.bg-slate {
  background-color: var(--slate-50);
}

.bg-navy {
  background-color: var(--navy-950);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--orange-300);
}

.product-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy-900);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-category-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 27, 47, 0.85);
  backdrop-filter: blur(8px);
  color: var(--orange-400);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.product-description {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  padding: 1rem;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
}

.product-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-700);
}

.product-spec-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange-500);
  flex-shrink: 0;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.65rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-400);
  box-shadow: var(--shadow-lg);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  color: var(--orange-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 8px 16px rgba(234, 88, 12, 0.3);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  margin-top: auto;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange-500);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-700);
  box-shadow: var(--shadow-md);
}

.industry-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.industry-card:hover .industry-icon-box {
  background: var(--navy-900);
  color: var(--orange-400);
}

.industry-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}

.industry-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE US / EXPERTISE
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-us-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.why-us-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-point-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.why-point-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--orange-100);
  color: var(--orange-600);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-point-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.35rem;
}

.why-point-content p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   LEAD GENERATION / CONTACT FORM SECTION
   ========================================================================== */
.quote-section {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 5.5rem 0;
  position: relative;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.quote-info-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.contact-method-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(234, 88, 12, 0.2);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-method-info p,
.contact-method-info a {
  font-size: 0.9rem;
  color: var(--slate-300);
  line-height: 1.5;
}

.contact-method-info a:hover {
  color: var(--orange-400);
}

/* Lead Enquiry Form */
.enquiry-form-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--slate-800);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.form-header-box {
  margin-bottom: 2rem;
}

.form-header-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.35rem;
}

.form-header-box p {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-col-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.form-label .required {
  color: var(--orange-600);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--slate-800);
  font-size: 0.925rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange-500);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-error-msg {
  font-size: 0.75rem;
  color: #dc2626;
  min-height: 1rem;
}

.form-helper {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.form-action-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.form-submission-feedback {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-submission-feedback.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-submission-feedback.notice {
  background: #eff6ff;
  border: 1px solid #3b82f6;
  color: #1e40af;
}

/* ==========================================================================
   PAGE HERO FOR SUB-PAGES
   ========================================================================== */
.subpage-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.breadcrumb-nav a:hover {
  color: var(--orange-400);
}

/* ==========================================================================
   MODAL WINDOW (REQUEST A QUOTE ANYWHERE)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 47, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-window {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--slate-200);
  color: var(--navy-950);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & CALL)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.floating-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--whatsapp-green);
  color: var(--white);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

.floating-scroll-top {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.floating-scroll-top:hover {
  background: var(--orange-500);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.65;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--orange-500);
}

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

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

.footer-links a:hover {
  color: var(--orange-400);
  transform: translateX(3px);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--orange-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--orange-400);
}

.gst-notice {
  font-size: 0.775rem;
  color: var(--slate-400);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange-500);
  margin-top: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--slate-400);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--orange-400);
}

/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP COMPACT, TABLET & MOBILE)
   ========================================================================== */

/* 1024px to 1220px: Keep Single-Row Desktop Header Balanced & Compact */
@media (max-width: 1220px) and (min-width: 992px) {
  .nav-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .logo-icon-box {
    width: 38px;
    height: 38px;
  }

  .logo-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .nav-menu {
    gap: 0.15rem;
  }

  .nav-link {
    font-size: 0.825rem;
    padding: 0.4rem 0.45rem;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .nav-actions .btn {
    font-size: 0.8rem;
    padding: 0.55rem 0.8rem;
    gap: 0.4rem;
  }

  .nav-actions .btn-whatsapp svg {
    width: 15px;
    height: 15px;
  }
}

/* Tablet & Below: Switch to Clean Mobile Toggle */
@media (max-width: 991px) {
  .top-bar-right {
    display: none;
  }

  .nav-menu-wrapper {
    display: none;
  }

  .nav-actions .btn-whatsapp,
  .nav-actions #headerQuoteBtn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-col-full {
    grid-column: span 1;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .enquiry-form-container {
    padding: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* Mobile Small Screen: 390px and 360px */
@media (max-width: 480px) {
  .nav-container {
    height: 68px;
    padding: 0 1rem;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 58px;
  }

  .logo-icon-box {
    width: 36px;
    height: 36px;
  }

  .logo-icon-box svg {
    width: 20px;
    height: 20px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.04em;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .top-bar-item {
    font-size: 0.75rem;
  }

  .hero-section {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   WEBSITE INTRO ANIMATION OVERLAY (Home Page Entry & Refresh)
   ========================================================================== */
.intro-skip #siteIntroOverlay,
.intro-skip .site-intro-overlay {
  display: none !important;
}

.site-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 19, 33, 0.76);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.5s ease,
    -webkit-backdrop-filter 0.5s ease,
    visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  pointer-events: all;
  -webkit-font-smoothing: antialiased;
}

.site-intro-overlay.fade-out {
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  visibility: hidden;
  pointer-events: none;
}

.site-intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  max-width: 90vw;
  user-select: none;
}

.site-intro-logo-wrap {
  width: 92px;
  height: 92px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 39, 66, 0.85), rgba(10, 27, 47, 0.95));
  border: 1.5px solid rgba(234, 88, 12, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 30px rgba(234, 88, 12, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: scale(0.85);
  animation: introLogoFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.site-intro-logo {
  width: 60px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.site-intro-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  animation: introTextFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
  white-space: nowrap;
}

/* Subtle loading indicator */
.site-intro-loader {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1.15rem;
  position: relative;
  opacity: 0;
  animation: introLoaderFadeIn 0.4s ease 0.35s forwards;
}

.site-intro-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400), #fb923c);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.8);
  border-radius: 999px;
  animation: introLoaderProgress 1.35s cubic-bezier(0.2, 0.8, 0.25, 1) 0.35s forwards;
}

@keyframes introLogoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introTextFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introLoaderFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes introLoaderProgress {
  0% {
    width: 0%;
  }

  65% {
    width: 78%;
  }

  100% {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-intro-logo-wrap {
    width: 76px;
    height: 76px;
    margin-bottom: 1rem;
  }

  .site-intro-logo {
    width: 48px;
    max-height: 48px;
  }

  .site-intro-title {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
  }

  .site-intro-loader {
    width: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {

  #siteIntroOverlay,
  .site-intro-overlay {
    display: none !important;
  }
}


/* ==========================================================================
   OUR BRAND PARTNERS CAROUSEL SECTION
   ========================================================================== */

.brand-partners-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--slate-50) 50%, #ffffff 100%);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
}

.brand-partners-section .section-header-center {
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 3;
}

.brand-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
}

/* Gradient edge masks for high-end infinite marquee fade */
.carousel-gradient-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.carousel-gradient-edge.edge-left {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 100%);
}

.carousel-gradient-edge.edge-right {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Viewport & Scrolling Track */
.brand-carousel-viewport {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 0.5rem 0;
  outline: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.brand-carousel-viewport:active {
  cursor: grabbing;
}

.brand-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
  animation: brandCarouselScroll 28s linear infinite;
}

/* Continuous Horizontal Scrolling Animation */
@keyframes brandCarouselScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Pause on hover, focus-within, and active pause state */
.brand-carousel-viewport:hover .brand-carousel-track,
.brand-carousel-viewport:focus-within .brand-carousel-track,
.brand-carousel-track.is-paused {
  animation-play-state: paused !important;
}

/* Brand Card Styling */
.brand-card {
  flex: 0 0 280px;
  width: 280px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 4px rgba(10, 27, 47, 0.04), 0 1px 2px rgba(10, 27, 47, 0.02);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              background-color 0.28s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.brand-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 12px 24px -4px rgba(10, 27, 47, 0.08), 0 4px 8px -2px rgba(10, 27, 47, 0.04);
}

/* Highlighted brand card (Fuji Electric) */
.brand-card.highlight-brand {
  border-color: rgba(2, 132, 199, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.brand-card.highlight-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0284c7 0%, #06b6d4 100%);
  opacity: 0.85;
}

.brand-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem 1.25rem;
  height: 100%;
  min-height: 165px;
  text-decoration: none;
  color: inherit;
}

/* Logo Media Container */
.brand-logo-wrap {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.brand-logo-img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
  /* Preserve original colors & proportions */
  filter: none !important;
}

.brand-card:hover .brand-logo-img {
  transform: scale(1.04);
}

/* Brand Card Meta (Title + Relationship Pill) */
.brand-card-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  margin-top: auto;
}

.brand-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.brand-relation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition);
}

.brand-card:hover .brand-relation-badge {
  background: var(--orange-50);
  color: var(--orange-600);
  border-color: var(--orange-200);
}

/* Verified partner badge variant (used when verified) */
.brand-relation-badge.verified {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

/* Fuji Electric Highlight Callout (Only appears when verified) */
.fuji-verified-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 780px;
  margin: 1.75rem auto 0;
  padding: 0.85rem 1.5rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  color: #166534;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* Certificate display preservation (ensures aspect ratio, prevents stretching/distortion) */
.certificate-preview-img,
.fuji-certificate-img,
.partner-certificate-modal img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .brand-partners-section {
    padding: 3.5rem 0 2.5rem;
  }

  .brand-card {
    flex: 0 0 240px;
    width: 240px;
  }

  .brand-logo-wrap {
    height: 56px;
  }

  .brand-logo-img {
    max-height: 42px;
    max-width: 155px;
  }

  .carousel-gradient-edge {
    width: 60px;
  }
}

@media (max-width: 640px) {
  .brand-partners-section {
    padding: 3rem 0 2rem;
  }

  .brand-partners-section .section-header-center {
    margin-bottom: 2rem;
  }

  .brand-card {
    flex: 0 0 205px;
    width: 205px;
    border-radius: var(--radius-md);
  }

  .brand-card-link {
    padding: 1.15rem 0.85rem 1rem;
    min-height: 145px;
  }

  .brand-logo-wrap {
    height: 48px;
    margin-bottom: 0.6rem;
  }

  .brand-logo-img {
    max-height: 36px;
    max-width: 135px;
  }

  .brand-card-name {
    font-size: 0.88rem;
  }

  .brand-relation-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }

  .carousel-gradient-edge {
    width: 36px;
  }
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .brand-carousel-track {
    animation: none !important;
  }

  .brand-carousel-viewport {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .brand-card {
    scroll-snap-align: start;
    transition: none !important;
  }

  .carousel-gradient-edge {
    display: none;
  }
}
