/* 
========================================================================
   AEP INTERNATIONAL LIMITED — PREMIUM ARCHITECTURAL STYLING SYSTEM
   Official Branding: Midnight Navy, Metallic Gold, Platinum & Pure White
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- DESIGN TOKENS --- */
:root {
  /* Official Color Palette — Premium Midnight Navy Architectural Scheme */
  --bg-darker: #050a14;      /* Deepest Black-Navy Canvas */
  --bg-primary: #0b1630;     /* Premium AEP Midnight Navy */
  --bg-secondary: #111f3f;   /* Medium Navy for Cards & Panels */
  --bg-tertiary: #182a54;    /* Subtle Highlights */
  
  /* Refined Architectural Accents (Metallic Gold & Lighter Accents) */
  --accent-gold-dark: #8a621a;
  --accent-gold: #c5933c;
  --accent-gold-light: #eed58d;
  --accent-gradient: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 50%, var(--accent-gold-dark) 100%);
  --accent-glow: rgba(197, 147, 60, 0.08);
  --accent-glow-strong: rgba(197, 147, 60, 0.18);
  
  --platinum: #abc0d8;
  --text-primary: #ffffff;    /* Pure White for Headings */
  --text-secondary: #abc0d8;  /* Light Blue-Slate for Readable Body Text */
  --text-muted: #788ca6;      /* Muted Slate-Gray for Labels */
  
  /* Borders & Clean Glassmorphic Cards */
  --border-subtle: rgba(255, 255, 255, 0.08); /* Crisp subtle white border */
  --border-active: rgba(197, 147, 60, 0.8);    /* Gold active border */
  --glass-bg: rgba(17, 31, 63, 0.65);
  --glass-bg-hover: rgba(24, 42, 84, 0.85);
  --glass-blur: blur(12px);
  --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 10px 30px rgba(197, 147, 60, 0.15), 0 0 0 1.5px rgba(197, 147, 60, 0.4);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Dimensions & Spacing */
  --header-height: 96px;
  --container-width: 1280px;
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-darker);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

/* --- SCROLLBAR SYSTEM --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-darker);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* --- TYPOGRAPHY & GRADIENTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Slogan style */
.slogan-tagline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slogan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: inline-block;
}

/* --- SECTION STRUCTURES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  width: 100%;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.03), transparent 45%);
  z-index: 1;
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--bg-darker);
  box-shadow: 0 4px 15px rgba(197, 147, 60, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 147, 60, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-outline {
  border: 1.5px solid var(--accent-gold);
  background: rgba(197, 147, 60, 0.02);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--accent-gradient);
  color: var(--bg-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Ambient Glow effects & Tech Grid */
.ambient-glows {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  mix-blend-mode: screen;
  pointer-events: none;
}

.glow-orb-1 {
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 80%);
}

.glow-orb-2 {
  bottom: -20%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #0c2048 0%, transparent 80%);
}

.glow-orb-3 {
  top: 40%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 147, 60, 0.08) 0%, transparent 80%);
}

.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 95%);
  opacity: 0.45;
}

/* --- DYNAMIC PICTURE HOLDER / PLACEHOLDER --- */
.picture-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.picture-container::after {
  content: 'ARCHITECTURAL PHOTO PLACEHOLDER';
  position: absolute;
  bottom: 16px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  z-index: 2;
  opacity: 0.7;
}

.picture-container:has(img)::after {
  display: none;
}

.picture-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.picture-container:hover img {
  transform: scale(1.05);
}

.picture-container svg.placeholder-icon {
  width: 56px;
  height: 56px;
  color: var(--accent-gold);
  opacity: 0.35;
  margin-bottom: 8px;
  transition: var(--transition-normal);
}

.picture-container:hover {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(197,147,60,0.05) 100%);
}

.picture-container:hover svg.placeholder-icon {
  opacity: 0.8;
  transform: scale(1.1);
  color: var(--accent-gold-light);
}

/* --- NAVIGATION BAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
  background: rgba(11, 22, 48, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header.scrolled {
  background: #0b1630;
  height: 78px;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 0 40px; /* Spacings on left and right viewport edges */
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 84px;        /* ~40% larger than previous 60px */
  max-height: 84px;
  width: auto;
  object-fit: contain;
  aspect-ratio: 2.5;   /* 500 / 200 — preserves proportions */
  transition: var(--transition-fast);
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05) contrast(1.02);
}

.logo:hover img {
  opacity: 0.88;
  transform: scale(1.04); /* Subtle premium zoom hover */
  filter: brightness(1.1) contrast(1.04);
}

.header.scrolled .logo img {
  height: 66px;   /* Proportional scrolled size */
  max-height: 66px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px; /* Improved spacing between items */
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem; /* Increased font size slightly */
  font-weight: 600; /* Medium-bold for premium feel */
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25), 0 0 15px rgba(197, 147, 60, 0.3);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* --- BROCHURE SECTION HEADER --- */
.section-header-brochure {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.section-title-brochure {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-underline-brochure {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: center;
  margin-bottom: 24px;
}

.sub-line {
  height: 1px;
  background: var(--accent-gold);
  width: 100px;
}

.sub-diamond {
  color: var(--accent-gold);
  font-size: 1rem;
}

/* --- SECTION 1: HERO Split screen --- */
.hero-brochure {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-brochure-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  min-height: calc(100vh - var(--header-height));
  width: 100%;
}

.hero-brochure-left {
  padding: 80px 60px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.hbl-logo-box {
  margin-bottom: 40px;
  max-width: 280px;
}

.hbl-title-box h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hbl-title-box h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-brochure-right {
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-large-picture {
  width: 100%;
  height: 520px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-active);
  box-shadow: var(--shadow-glow);
}

/* Hero categories toolbar */
.hero-categories-bar {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: rgba(8, 17, 37, 0.3);
  position: relative;
  z-index: 10;
}

.hero-cats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-normal);
  opacity: 0.75;
}

.hero-cat-btn:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.hcb-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  transition: var(--transition-normal);
}

.hero-cat-btn:hover .hcb-icon {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.hcb-icon svg {
  width: 32px;
  height: 32px;
}

.hero-cat-btn span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.hcb-divider {
  width: 1px;
  height: 50px;
  background: var(--border-subtle);
}

.hero-sub-caption {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 24px;
}

/* --- SECTION 2: ABOUT AEP & BADGES --- */
.about-brochure {
  padding: 120px 0;
  position: relative;
  background-color: var(--bg-darker);
}

.about-b-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.about-b-text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-b-text p.lead {
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-primary);
}

/* 5 circle badge row */
.badges-circle-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.circle-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
}

.cbc-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(197, 147, 60, 0.06);
  border: 2px solid rgba(197, 147, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(197, 147, 60, 0.05);
  transition: var(--transition-normal);
}

.circle-badge-card:hover .cbc-circle {
  background: var(--accent-gradient);
  color: var(--bg-darker);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
  transform: scale(1.08);
}

.cbc-circle svg {
  width: 32px;
  height: 32px;
}

.circle-badge-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.3;
}

.circle-badge-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Slide 2 corporate footer strip */
.strip-corporate-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 17, 37, 0.4);
  padding: 28px 0;
  margin-top: 60px;
}

.scf-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.scf-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
}

.scf-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.scf-info h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- SECTION 3: ENGINEERED FOR PERFORMANCE --- */
.performance-section {
  padding: 120px 0;
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.perf-left h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-gold-light);
  margin-bottom: 24px;
}

.perf-badge-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0;
}

.pbb-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  transition: var(--transition-fast);
}

.pbb-item:hover {
  border-color: var(--border-active);
  background: rgba(255,255,255,0.04);
}

.pbb-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(197,147,60,0.06);
  border: 1px solid rgba(197,147,60,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.pbb-info h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pbb-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.perf-bottom-bar {
  padding: 14px 24px;
  background: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-gold);
  display: flex;
  justify-content: space-around;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.perf-bottom-bar span {
  color: var(--text-primary);
}

/* Collage gallery on right side */
.performance-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 20px;
  width: 100%;
}

.collage-item-1 {
  grid-row: span 2;
}

.pic-label-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(4,9,19,0.95) 0%, transparent 100%);
  z-index: 5;
  text-align: left;
}

.pic-label-box span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold-light);
  text-transform: uppercase;
}

.pic-label-box h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* --- SECTION 4: SERVICES LIST --- */
.services-brochure-section {
  padding: 120px 0;
  position: relative;
}

.services-b-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: stretch;
}

.services-b-left-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  border-right: 1px solid var(--border-subtle);
}

.sbl-services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  list-style: none;
}

.sbl-services-list li {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.sbl-services-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  display: inline-block;
  transition: var(--transition-fast);
}

.sbl-services-list li.active {
  color: var(--accent-gold);
  transform: translateX(10px);
}

.sbl-services-list li.active::before {
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow);
}

/* Services right cards */
.services-b-right-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-b-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 32px;
  padding: 32px;
  align-items: center;
}

.service-b-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.service-b-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-b-card .service-pic-placeholder {
  height: 120px;
  width: 100%;
}

/* --- SECTION 5: PRODUCT RANGE LIST --- */
.products-brochure-section {
  padding: 120px 0;
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.product-b-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: stretch;
}

.product-b-left-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  border-right: 1px solid var(--border-subtle);
}

.pbl-products-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  list-style: none;
}

.pbl-products-list li {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.pbl-products-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  display: inline-block;
  transition: var(--transition-fast);
}

.pbl-products-list li.active {
  color: var(--accent-gold);
  transform: translateX(10px);
}

.pbl-products-list li.active::before {
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow);
}

/* Products right cards */
.product-b-right-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-b-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 32px;
  padding: 32px;
  align-items: center;
}

.product-b-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.product-b-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-b-card .product-pic-placeholder {
  height: 120px;
  width: 100%;
}

/* --- INTERACTIVE SYSTEM SPECIFICATIONS HUB (NEW) --- */
.systems-spec-section {
  padding: 85px 0;
  position: relative;
}

.sys-spec-layout {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
  gap: 40px;
  margin-top: 60px;
}

.sys-spec-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sys-spec-btn {
  padding: 16px 20px;
  text-align: left;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  background: rgba(255,255,255,0.01);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sys-spec-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.sys-spec-btn.active {
  background: var(--accent-gradient);
  color: var(--bg-darker);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

/* System Specifications Detailed sheets */
.sys-spec-sheets {
  position: relative;
}

.sys-spec-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.sys-spec-sheet-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sys-title-box h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.sys-title-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-gold-light);
  text-transform: uppercase;
}

.sys-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sfl-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--border-radius-sm);
}

.sfl-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(197,147,60,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.sfl-info h5 {
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.sfl-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Parameters grid specs */
.sys-parameters-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.01);
}

.spg-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
}

.spg-row:last-child {
  border-bottom: none;
}

.spg-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spg-val {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.sys-spec-sheet-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sys-cad-box {
  padding: 24px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.01);
  border-radius: var(--border-radius-md);
}

.sys-cad-box h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sys-cad-canvas {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sys-cad-canvas svg {
  width: 100%;
  height: 100%;
  max-width: 320px;
}

.sys-instruction-box {
  padding: 24px;
  border-left: 3px solid var(--accent-gold);
  background: rgba(255,255,255,0.01);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sys-instruction-box h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.sys-instruction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sig-item {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sig-item strong {
  color: var(--text-primary);
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Applications Gallery under Spec sheet */
.sys-apps-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.sys-app-card {
  height: 130px;
}

.sys-app-card .app-content {
  padding: 16px;
}

.sys-app-card .app-content h3 {
  font-size: 1rem;
}

.sys-app-card .app-content p {
  display: none;
}

/* --- NZBC COMPLIANCE HUD --- */
.compliance-section {
  padding: 85px 0;
  position: relative;
}

.compliance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.compliance-left {
  display: flex;
  flex-direction: column;
}

.compliance-h2 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}

.compliance-p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.compliance-badge-large {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(197, 147, 60, 0.04);
  border: 1px solid rgba(197, 147, 60, 0.15);
  border-radius: var(--border-radius-md);
  margin-bottom: 32px;
}

.cbl-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(197, 147, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.cbl-info h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cbl-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Compliance Cards Grid — 3x2 layout */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.compliance-card {
  padding: 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cc-code {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.cc-badge {
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.compliance-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.compliance-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.compliance-card:hover {
  border-color: var(--border-active);
  background: var(--glass-bg-hover);
}

.compliance-disclaimer {
  margin-top: 36px;
  padding: 20px 28px;
  max-width: 860px;        /* Matches the 3-col grid width on most desktops */
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.75;
  text-align: center;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .compliance-disclaimer {
    text-align: left;
    padding: 16px 0;
    max-width: 100%;
    font-size: 0.8rem;
  }
}

/* --- INQUIRY TERMINAL (CONTACT) --- */
.contact-section {
  padding: 85px 0;
  position: relative;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-left h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact-left p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 480px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cd-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cd-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(197, 147, 60, 0.05);
  border: 1px solid rgba(197, 147, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.cd-info h4 {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.cd-info p {
  font-size: 1.125rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Premium Clickable Contact Detail Cards */
.contact-detail-card {
  padding: 24px 20px; /* Increased height and spacing */
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  min-height: 105px; /* Ensures consistent layout spacing */
}

.contact-detail-card:hover {
  transform: translateY(-5px); /* Lift animation */
  border-color: rgba(0, 102, 255, 0.45); /* Technical blue border glow overlay */
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.12), 0 0 15px rgba(0, 102, 255, 0.08); /* Soft blue glow */
}

.contact-detail-card .cd-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(197, 147, 60, 0.05);
  border: 1px solid rgba(197, 147, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-detail-card:hover .cd-icon {
  background: rgba(0, 102, 255, 0.1);
  color: #5599ff;
  border-color: rgba(0, 102, 255, 0.4);
}

.contact-detail-card:hover .cd-icon svg {
  transform: scale(1.08);
}

.contact-detail-card .cd-info {
  display: flex;
  flex-direction: column;
}

.contact-detail-card .cd-info h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail-card .cd-info p {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* Premium Form Submit Button */
.btn-submit-premium {
  background: linear-gradient(135deg, #c5933c 0%, #e5ba6b 50%, #c5933c 100%);
  background-size: 200% auto;
  color: #050a14 !important; /* Premium contrast */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 30px;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 15px rgba(197, 147, 60, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-submit-premium:hover {
  transform: translateY(-3px); /* Hover lift animation */
  background-position: right center;
  box-shadow: 0 8px 25px rgba(197, 147, 60, 0.5), 0 0 15px rgba(197, 147, 60, 0.3); /* Gold glow overlay */
  color: #050a14 !important;
}

/* Glassmorphic Contact Form Overhaul */
.contact-form {
  padding: 48px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  background: rgba(17, 31, 63, 0.65) !important; /* Translucent backdrop */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  position: relative;
}

.contact-form-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  gap: 12px;
}

.contact-form-tab-btn {
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  background: transparent;
}

.contact-form-tab-btn:hover {
  color: var(--accent-gold) !important;
  background: rgba(197, 147, 60, 0.05);
}

.contact-form-tab-btn.active {
  color: var(--accent-gold) !important;
  border-bottom-color: var(--accent-gold);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-full {
  grid-column: span 2;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700; /* Increased font weight for strength */
  color: #d9e4f2; /* Brighter high contrast slate blue */
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-darker);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(197, 147, 60, 0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Custom Dropdown Styling */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 48px;
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.form-checkbox input {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-darker);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.form-checkbox input:checked + .custom-checkbox {
  background: var(--accent-gradient);
  border-color: var(--accent-gold);
  color: var(--bg-darker);
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Success Message Modal */
.form-success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.form-success-message.visible {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(197, 147, 60, 0.1);
  border: 1px solid var(--border-active);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow);
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
}

/* --- NZBC COMPLIANCE MODAL --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: 48px;
  border: 1px solid var(--border-subtle);
  z-index: 5;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-gold);
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* --- FOOTER --- */
.footer {
  position: relative;
  background: #050a14;
  border-top: 1px solid var(--border-subtle);
  padding: 90px 0 45px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  margin-bottom: 16px; /* High-end breathing room below logo */
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-logo-link:hover {
  transform: scale(1.03);
}

.footer-logo {
  height: 68px; /* Sleek, professional size increased by 30% */
  width: auto;
  aspect-ratio: 2.5; /* 500 / 200 */
  object-fit: contain;
}

/* --- FOOTER SOCIAL MEDIA ICONS --- */
.footer-socials .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-socials .social-icon:hover {
  background: rgba(197, 147, 60, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(197, 147, 60, 0.25);
}

.footer-socials .social-icon:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-gold);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase; /* Uppercase styling */
  margin: 0 0 10px 0; /* Sleek corporate spacing */
  letter-spacing: 0.05em;
}

.footer-positioning {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-positioning-sub {
  color: var(--accent-gold);
  font-weight: 600; /* Semi-bold font weight */
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em; /* Slightly increased letter spacing */
  display: block;
  margin-top: 6px;
}

.footer-details {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.footer-standards {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Column Headings with Underline Dividers */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
}

/* Quick Links with underline animation */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  padding-left: 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold); /* Smooth gold hover state */
}

.footer-links a:hover::after {
  width: 100%;
}

/* Compliance standards: premium icon list */
.footer-compliance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.footer-compliance-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-compliance-list li:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-compliance-list svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.footer-compliance-list li:hover svg {
  transform: scale(1.1);
}

/* Office Details & Hierarchy */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-company-name {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800; /* Stronger font weight */
  margin: 0;
  text-transform: uppercase; /* Uppercase styling */
  letter-spacing: 0.03em;
}

.footer-address {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 6px 0 16px 0; /* Comfortable spacing below address */
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  margin-top: 4px; /* Spacing between contact fields */
}

.contact-label {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase; /* Uppercase label styling */
  letter-spacing: 0.05em;
}

.contact-value {
  color: #ffffff; /* White content text */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-weight: 600;
}

.contact-value:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 8px rgba(197, 147, 60, 0.4);
}

/* Bottom Copyright Bar */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px; /* Better separation from main footer content */
}

.footer-bottom-copyright-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copyright {
  font-size: 0.88rem;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-rights {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  font-weight: 600;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-gold);
}

.footer-legal a:hover::after {
  width: 100%;
}

.footer-legal-divider {
  color: var(--border-subtle);
  font-size: 0.88rem;
  user-select: none;
}

/* --- TRUST SECTION --- */
.trust-section {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #040913 0%, #0b1c3a 100%);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.trust-bg-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.trust-bg-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-container {
  position: relative;
  z-index: 5;
  text-align: center;
}

.trust-section-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.trust-section-subtitle {
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 50px auto;
  font-size: 1.15rem;
  line-height: 1.7;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 50px;
  text-align: left;
}

.trust-card {
  padding: 32px;
  background: rgba(17, 31, 63, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.trust-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 147, 60, 0.85); /* Premium gold border glow */
  box-shadow: 0 16px 40px rgba(197, 147, 60, 0.15), 0 0 22px rgba(197, 147, 60, 0.25); /* Dual-layer gold glow */
  background: rgba(24, 42, 84, 0.55);
}

.trust-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(197, 147, 60, 0.06);
  border: 1px solid rgba(197, 147, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.trust-card-icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.trust-card:hover .trust-card-icon {
  background: var(--accent-gradient);
  color: #0b1630;
  border-color: var(--accent-gold);
}

.trust-card:hover .trust-card-icon svg {
  transform: rotate(8deg) scale(1.05);
}

.trust-card h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.trust-card p {
  font-size: 0.88rem;
  color: #d9e4f2; /* Increased contrast slate-blue for better readability */
  line-height: 1.65;
  margin: 0;
}

/* Responsive Rules for Trust Grid */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .trust-section-title {
    font-size: 2.2rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.15s; }
.reveal-d2 { transition-delay: 0.3s; }
.reveal-d3 { transition-delay: 0.45s; }
.reveal-d4 { transition-delay: 0.6s; }

/* --- RESPONSIVE DESIGNS --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 84px;
  }
  .logo img {
    height: 70px;   /* ~40% larger than previous 50px */
    max-height: 70px;
  }
  .header.scrolled .logo img {
    height: 58px;
    max-height: 58px;
  }
  
  .hero-brochure-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 40px;
  }
  
  .hero-brochure-left {
    padding: 40px 0;
    align-items: center;
  }
  
  .hero-brochure-right {
    padding: 20px 0;
  }
  
  .hero-large-picture {
    max-width: 540px;
    height: 380px;
  }
  
  .hero-cats-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }
  
  .hcb-divider {
    display: none;
  }
  
  .badges-circle-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .performance-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .services-b-grid, .product-b-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .services-b-left-panel, .product-b-left-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0 40px 0;
    align-items: center;
    text-align: center;
  }
  
  .sbl-services-list, .pbl-products-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
  }
  
  .sys-spec-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sys-spec-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sys-spec-sheet {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .sys-apps-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .compliance-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .compliance-left {
    text-align: center;
    align-items: center;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-left {
    text-align: center;
  }
  
  .cd-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }
  .logo img {
    height: 56px;   /* ~40% larger than previous 40px */
    max-height: 56px;
  }
  .header.scrolled .logo img {
    height: 50px;
    max-height: 50px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    padding: 60px 40px;
    gap: 32px;
    transition: var(--transition-normal);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hbl-title-box h1 {
    font-size: 2.85rem;
  }
  
  .section-title-brochure {
    font-size: 2.2rem;
  }
  
  .badges-circle-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .scf-inner {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    padding-left: 20px;
  }
  
  .service-b-card, .product-b-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  
  .service-b-card .service-pic-placeholder,
  .product-b-card .product-pic-placeholder {
    order: -1;
    max-width: 240px;
    height: 140px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-full {
    grid-column: span 1;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hbl-title-box h1 {
    font-size: 2.2rem;
  }
  
  .slogan-tagline {
    font-size: 0.95rem;
  }
  
  .badges-circle-row {
    grid-template-columns: 1fr;
  }
  
  .performance-collage {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  
  .collage-item-1 {
    grid-row: span 1;
  }
  
  .sys-apps-gallery {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
}

/* --- CAD / BROCHURE DRAWINGS SWITCHER --- */
.sys-cad-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.sys-cad-tab {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}

.sys-cad-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.sys-cad-tab.active {
  color: var(--bg-darker);
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow);
}

.sys-cad-view-brochure img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.sys-cad-view-brochure img:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

/* ========================================================================
   AEP ADDITIONAL CUSTOM STYLES (PROJECTS, LIGHTBOX, COMPLIANCE & TABS)
   ======================================================================== */

/* --- 1. COMPLIANCE PRODUCT RANGE GRID (PAGE 16) --- */
.compliance-product-range {
  margin: 60px 0;
}
.compliance-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.comp-product-card {
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
}
.comp-product-card:hover {
  border-color: var(--border-active);
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.comp-prod-img {
  width: 100%;
  height: 140px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}
.comp-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}
.comp-product-card:hover .comp-prod-img img {
  transform: scale(1.05);
}
.comp-product-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* --- 2. PROJECTS FILTERABLE GALLERY --- */
.gallery-section {
  padding: 120px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.gallery-filter-btn {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gallery-filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}
.gallery-filter-btn.active {
  background: var(--accent-gradient);
  color: var(--bg-darker);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.gallery-card {
  height: 260px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
  position: relative;
  cursor: zoom-in;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(4,9,19,0.95) 0%, rgba(4,9,19,0.4) 60%, transparent 100%);
  z-index: 5;
  text-align: left;
  transform: translateY(10px);
  opacity: 0.9;
  transition: var(--transition-normal);
}
.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
}
.gallery-overlay span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.gallery-overlay h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* --- 3. DUAL CONTACT / INQUIRY FORM TABS --- */
.contact-form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}
.contact-form-tab-btn {
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-form-tab-btn:hover {
  color: var(--text-primary);
}
.contact-form-tab-btn.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

/* --- 4. GLASSMORPHIC GOOGLE MAPS PLACEHOLDER --- */
.map-placeholder {
  width: 100%;
  height: 200px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-top: 24px;
  position: relative;
  background: var(--bg-darker);
}
.map-glow-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--accent-gold);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-gold-light);
  animation: pulse-marker 2s infinite;
}
@keyframes pulse-marker {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* --- 5. LIGHTBOX MODAL --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 19, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lightbox-modal.visible {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--border-active);
  box-shadow: var(--shadow-glow);
}
.lightbox-caption {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 2rem;
  transition: var(--transition-fast);
}
.lightbox-close:hover {
  color: var(--accent-gold);
}

/* --- 6. REGIONAL RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .compliance-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .compliance-product-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- ABOUT SECTION REDESIGN --- */
.about-section-new {
  padding: 90px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.about-new-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: flex-start;
}

.about-new-left {
  display: flex;
  flex-direction: column;
}

.about-new-left .section-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.about-new-left h2 {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* Elegant asymmetrical divider beneath the heading */
.about-heading-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.about-divider-line-long {
  height: 2px;
  background: var(--accent-gold);
  width: 60px;
}

.about-divider-diamond {
  color: var(--accent-gold);
  font-size: 0.8rem;
  line-height: 1;
}

.about-divider-line-short {
  height: 2px;
  background: var(--accent-gold);
  width: 20px;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-body {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px; /* Reduced by 24px for tighter visual connection */
}

/* Feature Highlights Grid */
.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-feature-card {
  padding: 24px;
  background: rgba(17, 31, 63, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.about-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 147, 60, 0.45); /* Subtle gold border glow */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(197, 147, 60, 0.12); /* Soft shadow increase and gold glow */
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: rgba(197, 147, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border: 1px solid rgba(197, 147, 60, 0.2);
  transition: all 0.3s ease;
}

.about-feature-card:hover .about-feature-icon {
  background: var(--accent-gold);
  color: #0b1630;
  border-color: var(--accent-gold);
}

.about-feature-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.about-feature-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Image & Visual Storytelling */
.about-new-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-image-card {
  border-radius: 16px; /* Slightly stronger border radius (14px-16px) */
  overflow: hidden;
  border: 1px solid rgba(197, 147, 60, 0.15); /* Subtle border using low-opacity gold */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); /* Soft shadow for depth */
  transition: all 0.3s ease; /* Premium transition animation (0.3s ease) */
  background: var(--bg-secondary);
  position: relative;
}

.about-img-top {
  height: 320px;
}

.about-img-bottom {
  height: 240px;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease; /* Premium transition animation (0.3s ease) */
}

.about-image-card:hover {
  transform: translateY(-4px); /* Smooth hover lift effect (translateY(-4px)) */
  border-color: rgba(197, 147, 60, 0.45); /* Subtle gold border glow */
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35), 0 0 15px rgba(197, 147, 60, 0.12); /* Soft shadow increase and gold glow */
}

.about-image-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .about-new-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-new-right {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .about-new-left h2 {
    font-size: 2.2rem;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-divider-line-long {
    width: 40px;
  }
  .about-img-top {
    height: 280px;
  }
  .about-img-bottom {
    height: 200px;
  }
}

/* --- HERO ARCHITECTURAL REVISION --- */
.hero-architectural {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  padding-bottom: 80px;  /* Clearance above slider dots */
  display: flex;
  align-items: flex-start; /* IMPORTANT: never fight padding-top — content flows from header down */
  justify-content: flex-start;
  overflow: visible;
  background: var(--bg-darker);
  box-sizing: border-box;
}

/* --- PREMIUM BACKGROUND SLIDER --- */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-darker);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.25, 1); /* Ultra smooth long crossfade transition */
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  filter: brightness(1.1) contrast(1.05); /* Ensure bright and sharp details */
  transform: scale(1.03) translate(0, 0);
  transition: transform 7.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Very slow and elegant Ken Burns transition */
}

/* Ken Burns: slow zoom and subtle pan movement when slide becomes active */
.hero-slide.active img {
  transform: scale(1.09) translate(1%, -0.5%);
}

/* --- HERO SLIDER NAVIGATION ARROWS --- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(5, 10, 20, 0.45);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  outline: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(197, 147, 60, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 15px rgba(197, 147, 60, 0.4);
}

.slider-arrow:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-gold);
}

.prev-arrow {
  left: 40px;
}

.next-arrow {
  right: 40px;
}

@media (max-width: 1024px) {
  .slider-arrow {
    width: 46px;
    height: 46px;
  }
  .prev-arrow {
    left: 20px;
  }
  .next-arrow {
    right: 20px;
  }
}

.hero-overlay-refined {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Calibrated Midnight Navy overlay — enough opacity for crisp white text legibility on the left,
     generous transparency on the right to maximise visible architectural detail in every slide image */
  background: linear-gradient(90deg, 
    rgba(11, 22, 48, 0.72) 0%, 
    rgba(11, 22, 48, 0.26) 45%, 
    rgba(11, 22, 48, 0.04) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content-box {
  position: relative;
  z-index: 5;
  max-width: 720px;
  text-align: left;
  /* Vertical centering via padding — safe at all zoom levels unlike align-items: center */
  padding-top: clamp(40px, 8vh, 90px);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-tagline-gold {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.hero-title-main {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem); /* Slightly reduced — keeps impact while fitting viewport */
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-title-main span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-desc-text {
  font-size: 1.15rem;
  color: #e2ebf5;
  line-height: 1.75;
  margin-bottom: 34px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 640px; /* Prevent very long lines on large screens */
}

.hero-btn-group {
  display: flex;
  gap: 20px;
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-architectural {
    min-height: 100svh;
    padding-bottom: 70px;
  }
  .hero-title-main {
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  }
  .hero-desc-text {
    font-size: 1.1rem;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .hero-architectural {
    min-height: 100svh;
    padding-top: var(--header-height);
    padding-bottom: 90px;
    align-items: flex-start; /* Always flex-start on mobile too */
  }
  .hero-overlay-refined {
    background: linear-gradient(180deg, 
      rgba(5, 10, 20, 0.92) 0%, 
      rgba(11, 22, 48, 0.78) 55%, 
      rgba(5, 10, 20, 0.65) 100%
    );
  }
  .hero-content-box {
    max-width: 100%;
    text-align: center;
    padding-top: clamp(24px, 5vh, 48px);
    padding-bottom: 10px;
  }
  .hero-title-main {
    font-size: clamp(2rem, 6.5vw, 2.8rem);
    margin-bottom: 14px;
  }
  .hero-tagline-gold {
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 0.14em;
  }
  .hero-desc-text {
    font-size: 0.98rem;
    margin-bottom: 22px;
    max-width: 100%;
    line-height: 1.7;
  }
  .hero-btn-group {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

/* --- HERO SLIDER NAVIGATION DOTS --- */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center; /* Center active/inactive dots vertically */
  gap: 16px; /* Spacing between dots */
  z-index: 10;
}

.hero-dot {
  width: 8px; /* Inactive dot size 8px */
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); /* Subtle and neutral inactive color */
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-dot.active {
  width: 12px; /* Active dot size 12px */
  height: 12px;
  background: var(--accent-gold); /* Highlight using AEP gold accent color */
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold); /* Golden glow */
}



/* =========================================================
   WHY CHOOSE AEP — PREMIUM 5-CARD SECTION
   Glassmorphism • Gold hover glow • Smooth animations
   ========================================================= */

/* Section wrapper */
.why-choose-section {
  padding: 96px 0 100px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

/* Subtle ambient radial bleed behind the cards */
.why-choose-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(197, 147, 60, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Section header spacing */
.why-choose-header {
  margin-bottom: 56px;
}

/* Improved subtitle — wider max-width, slightly larger, richer color */
.why-choose-subtitle {
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

/* Widen the section container so 5 cards have more room */
.why-choose-section .container {
  max-width: 1460px;
  padding: 0 20px;
}

/* 3-column grid — matches products section layout */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* ── Individual why-card ── */
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 32px 48px; /* More vertical breathing room */
  border-radius: var(--border-radius-lg);
  /* Glassmorphism base */
  background: rgba(17, 31, 63, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  /* Smooth premium transition — 0.3s as specified */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              background 0.3s ease;
  cursor: default;
  /* Equal height: flex column fills available row height */
  flex: 1;
}

/* Hover state: translateY(-8px) + gold border glow + premium shadow */
.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 147, 60, 0.55);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(197, 147, 60, 0.3),
    0 0 30px rgba(197, 147, 60, 0.1);
  background: rgba(24, 42, 84, 0.7);
}

/* Sheen sweep on hover */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.why-card:hover::before {
  left: 130%;
}

/* ── Icon circle ── */
.why-card-icon-wrap {
  width: 84px;  /* Increased from 72px */
  height: 84px;
  border-radius: 50%;
  /* Subtle gold-tinted background ring */
  background: rgba(197, 147, 60, 0.06);
  border: 1.5px solid rgba(197, 147, 60, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 28px;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Scale inline SVG icons to 38px regardless of HTML attribute */
.why-card-icon-wrap svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.why-card:hover .why-card-icon-wrap {
  background: rgba(197, 147, 60, 0.12);
  border-color: rgba(197, 147, 60, 0.6);
  transform: scale(1.08);
}

/* ── Card body ── */
.why-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Card title ── */
.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;           /* Slightly larger — helps titles breathe */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;     /* Tighter tracking reduces wrapping */
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.28;
  max-width: 100%;             /* Allow full card width for title */
}

/* ── Card body text ── */
.why-card-text {
  font-size: 0.95rem;   /* ~15.2px — readable body copy */
  color: var(--text-secondary);
  line-height: 1.72;
  margin: 0;
  flex: 1;
}

/* ── Gold accent bottom bar — reveals on hover ── */
.why-card-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.why-card:hover .why-card-accent-bar {
  transform: scaleX(1);
}

/* ── Responsive breakpoints ── */

/* Tablet landscape: 3 columns with reduced gap */
@media (max-width: 1200px) {
  .why-choose-grid {
    gap: 24px;
  }
}

/* Tablet portrait: 2 columns */
@media (max-width: 860px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-choose-section {
    padding: 72px 0 80px;
  }
}

/* Mobile: single column */
@media (max-width: 540px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-card {
    padding: 40px 24px 36px;
  }

  .why-choose-section {
    padding: 60px 0 68px;
  }

  .why-choose-subtitle {
    font-size: 0.95rem;
  }
}


/* =========================================================
   PRODUCT CATEGORIES — PREMIUM 5-CARD SECTION
   Image-dominant cards • Gold hover glow/* Section wrapper */
.prod-section {
  padding: 96px 0 104px;
  background: #081630;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.prod-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/extrusion_profile.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Wider container for more card breathing room */
.prod-section .container {
  max-width: 1460px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Section header spacing */
.prod-section-header {
  margin-bottom: 60px;
}

/* Subtitle text */
.prod-subtitle {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.72;
  letter-spacing: 0.01em;
}

/* Grid Layout */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* ── Individual product card ── */
.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 480px;
  border-radius: var(--border-radius-lg);
  background: rgba(17, 31, 63, 0.35); /* Translucent architectural backdrop */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              background 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover: translateY(-8px) + gold border glow + premium shadow + background shift */
.prod-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 147, 60, 0.85);
  box-shadow: 0 16px 40px rgba(197, 147, 60, 0.15), 0 0 20px rgba(197, 147, 60, 0.25);
  background: rgba(24, 42, 84, 0.55);
}

/* ── Image wrapper — occupies 70% of the card ── */
.prod-card-image-wrap {
  height: 70%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--accent-gold);
}

/* The image itself */
.prod-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prod-card:hover .prod-card-img {
  transform: scale(1.05);
}

/* Subtle gradient overlay on image for legibility */
.prod-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 22, 48, 0.95) 0%,
    rgba(8, 22, 48, 0.4) 60%,
    transparent 100%
  );
  pointer-events: none;
}

/* Category badge — top-left chip */
.prod-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px 12px;
  background: rgba(11, 22, 48, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 147, 60, 0.4);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  pointer-events: none;
  z-index: 5;
}

/* Product Title positioned at bottom-left over the image */
.prod-card-title-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin: 0;
  pointer-events: none;
  z-index: 5;
  transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prod-card:hover .prod-card-title-overlay {
  color: var(--accent-gold);
}

/* ── Card content area — 30% below the image ── */
.prod-card-content {
  height: 30%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(17, 31, 63, 0.2);
}

/* Card body text — maximum 2 lines */
.prod-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Responsive breakpoints ── */

/* Tablet portrait: 2 columns */
@media (max-width: 1024px) {
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .prod-card {
    height: 460px;
  }
}

/* Mobile: single column */
@media (max-width: 600px) {
  .prod-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .prod-card {
    height: 440px;
  }
}

/* --- FOOTER RESPONSIVE OVERRIDES --- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 70px 0 35px 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand, .footer-col {
    text-align: left;
  }
  
  .footer-col-title::after {
    left: 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .footer-legal {
    gap: 24px;
  }
}

/* =========================================================
   COMPLIANCE SECTION STYLING & ANIMATIONS
   ========================================================= */

/* --- TECHNICAL ENGINEERING SERVICES SECTION --- */
.engineering-services-section {
  padding: 96px 0 100px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

/* 6-column grid base on desktop for centering 5 cards */
.engineering-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: stretch;
}

.engineering-card {
  padding: 36px 32px;
  background: rgba(11, 22, 48, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              background 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.engineering-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 147, 60, 0.85);
  box-shadow: 0 16px 40px rgba(197, 147, 60, 0.15), 0 0 20px rgba(197, 147, 60, 0.25);
  background: rgba(24, 42, 84, 0.55);
}

.ec-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-md);
  background: rgba(197, 147, 60, 0.08);
  border: 1px solid rgba(197, 147, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  transition: all 0.3s ease;
}

.engineering-card:hover .ec-icon {
  background: var(--accent-gold);
  color: #0b1630;
  border-color: var(--accent-gold);
}

.ec-icon svg {
  width: 24px;
  height: 24px;
}

.ec-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.03em;
}

.ec-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.engineering-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
}

/* 6-column centering assignments for desktop */
@media (min-width: 1025px) {
  .engineering-card:nth-child(1),
  .engineering-card:nth-child(2),
  .engineering-card:nth-child(3) {
    grid-column: span 2;
  }
  .engineering-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .engineering-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .engineering-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .engineering-card {
    grid-column: span 1 !important;
  }
  .engineering-card:nth-child(5) {
    grid-column: span 2 !important;
    justify-self: center;
    max-width: calc(50% - 12px);
    width: 100%;
  }
}

@media (max-width: 768px) {
  .engineering-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .engineering-card {
    grid-column: span 1 !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   MAIN COMPLIANCE & ENGINEERING SUPPORT SECTION
   ========================================================= */

.compliance-section {
  padding: 85px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.compliance-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 60px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: 100%;
}

.compliance-card {
  padding: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-subtle);
}

.compliance-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 147, 60, 0.4);
  box-shadow: 0 10px 25px rgba(197, 147, 60, 0.08), 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tablet & Mobile responsive adjustments for Compliance Support */
@media (max-width: 1024px) {
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .compliance-layout {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .compliance-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .compliance-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- FAQ SECTION STYLES --- */
.faq-section {
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(17, 31, 63, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-gold);
  background: rgba(17, 31, 63, 0.7);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  transition: var(--transition-fast);
}

.faq-question h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  padding-right: 20px;
}

.faq-toggle-icon {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-gold);
  font-weight: 300;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: rgba(8, 17, 37, 0.3);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .contact-section,
  .contact-container,
  .contact-wrapper,
  .contact-content,
  .contact-grid,
  .contact-form,
  .modal-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
  }

  .contact-card,
  .contact-info,
  .form-card,
  .support-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  body {
    overflow-x: hidden !important;
  }
}
@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  #contact,
  #contact * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #contact .container,
  #contact .contact-wrapper,
  #contact .contact-grid,
  #contact .contact-content,
  #contact .contact-layout,
  #contact .contact-form-wrapper,
  #contact .contact-info,
  #contact form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #contact h2,
  #contact h3,
  #contact p {
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}
@media (max-width: 768px) {
  .modal-tabs,
  .support-tabs,
  .form-tabs,
  .tab-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .modal-tab,
  .support-tab,
  .form-tab,
  .tab-btn {
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    padding: 14px 12px !important;
  }
}
@media (max-width: 768px) {
  .contact-form-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    width: 100% !important;
  }

  .contact-form-tab-btn {
    font-size: 0.8rem !important;
    padding: 14px 8px !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
}