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

/* ==========================================
   CSS VARIABLES & DESIGN SYSTEM TOKENS
   Color palette matched directly with FGS Logo (#014b96)
   & Corporate Light/Navy combination
   ========================================== */
:root {
  /* Logo Color Combination */
  --fgs-blue: #014b96;
  /* Primary Logo Royal Blue */
  --fgs-blue-dark: #061830;
  /* Deep Corporate Navy */
  --fgs-blue-hover: #0056b3;
  /* Hover Bright Blue */
  --fgs-blue-light: #e0f2fe;
  /* Soft Blue Accent Tint */
  --fgs-gold: #d97706;
  /* Accent Gold/Amber CTA */
  --fgs-gold-hover: #b45309;

  /* Logo Green Accent Palette */
  --fgs-green: #10b981;
  /* Emerald Green from Logo */
  --fgs-green-dark: #059669;
  /* Deep Green Accent */
  --fgs-green-light: #ecfdf5;
  /* Soft Green Accent Tint */
  --fgs-green-glow: rgba(16, 185, 129, 0.25);

  /* Website Light/Navy Color Scheme */
  --bg-primary: #f8fafc;
  /* Clean Light Slate Background */
  --bg-surface: #ffffff;
  /* Pure White Surface Cards */
  --bg-surface-hover: #f1f5f9;
  /* Light Hover Slate */
  --bg-dark-section: #061830;
  /* Deep Navy Dark Section */

  --border-color: #e2e8f0;
  /* Light Subtle Border */
  --border-color-active: #cbd5e1;

  --text-heading: #0f172a;
  /* Dark Slate Heading */
  --text-body: #334155;
  /* Readable Slate Body Text */
  --text-muted: #64748b;
  /* Slate Muted Text */

  /* Geometry & Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-letter-spacing: -0.03em;
  --border-radius: 6px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

/* Headers Typography Reset */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-family);
  letter-spacing: var(--header-letter-spacing);
  color: var(--text-heading);
  font-weight: 700;
}

p {
  color: var(--text-body);
  line-height: 1.65;
}

/* Anti-AI Overrides */
*,
.card,
.btn,
.dropdown-menu,
.modal-content {
  background-image: none;
}

/* Max border-radius constraint */
.card,
.btn,
.form-control,
.form-select,
.nav-pills .nav-link,
.dropdown-menu,
.badge {
  border-radius: var(--border-radius);
}

/* ==========================================
   TOP BAR COMPONENT (DEEP LOGO NAVY)
   ========================================== */
.top-bar-industrial {
  background-color: #041021;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.top-bar-industrial .top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-industrial .top-info-item span.label {
  color: #93c5fd;
  font-weight: 700;
}

.btn-top-cta {
  background-color: var(--fgs-gold);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.3);
}

.btn-top-cta:hover {
  background-color: var(--fgs-gold-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ==========================================
   3D INDUSTRIAL NAVBAR COMPONENT
   ========================================== */
.navbar-industrial {
  background-color: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow:
    0 10px 30px -10px rgba(6, 24, 48, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -1px 0 rgba(0, 0, 0, 0.04) inset;
  padding: 0.85rem 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

.navbar-industrial .navbar-brand img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-industrial .brand-text {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fgs-blue-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-industrial .nav-link {
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--border-radius);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.navbar-industrial .nav-link:hover {
  color: var(--fgs-blue);
  background: rgba(1, 75, 150, 0.05);
  transform: translateY(-1px);
}

.navbar-industrial .nav-link.active {
  color: var(--fgs-blue);
  background: rgba(1, 75, 150, 0.08);
  box-shadow: inset 0 -2px 0 0 var(--fgs-green), 0 2px 6px rgba(1, 75, 150, 0.08);
}

/* 3D Language Switcher Toggle */
.lang-switcher-3d {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.9);
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--fgs-blue) 0%, #00366d 100%);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(1, 75, 150, 0.35), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  transform: translateY(-1px);
}

.lang-btn:hover:not(.active) {
  color: var(--fgs-blue-dark);
}

/* ==========================================
   INDUSTRIAL BADGE COMPONENT WITH GREEN ACCENTS
   ========================================== */
.badge-industrial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fgs-blue);
  background-color: var(--fgs-blue-light);
  border: 1px solid rgba(1, 75, 150, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.badge-industrial-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fgs-green-dark);
  background-color: var(--fgs-green-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius);
}

.badge-industrial-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  background-color: #0b254a;
  border: 1px solid #1d4ed8;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-industrial .badge-dot,
.badge-industrial-dark .badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--fgs-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--fgs-green);
}

.badge-industrial-green .badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--fgs-green-dark);
  border-radius: 50%;
}

/* ==========================================
   BUTTON COMPONENTS WITH 3D DEPTH
   ========================================== */
.btn-industrial-primary {
  background: linear-gradient(135deg, var(--fgs-blue) 0%, #00366d 100%);
  border: 1px solid var(--fgs-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(1, 75, 150, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-industrial-primary:hover {
  background: linear-gradient(135deg, #00366d 0%, #061830 100%);
  border-color: var(--fgs-blue-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(1, 75, 150, 0.35);
}

.btn-industrial-outline {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(4px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-industrial-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-industrial-gold {
  background: linear-gradient(135deg, var(--fgs-gold) 0%, #b45309 100%);
  border: 1px solid var(--fgs-gold);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-industrial-gold:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}

.btn-industrial-green {
  background: linear-gradient(135deg, var(--fgs-green) 0%, #059669 100%);
  border: 1px solid var(--fgs-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-industrial-green:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* ==========================================
   HERO SECTION (ENRICHED 3D VISUAL SHOWCASE)
   ========================================== */
.hero-section-v2 {
  position: relative;
  padding: 6.5rem 0 8.5rem;
  background-color: #061830 !important;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(1, 75, 150, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(6, 24, 48, 0.90) 0%, rgba(1, 51, 110, 0.95) 100%),
    url('../assets/img/hero-bg.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-color);
  color: #ffffff !important;
  overflow: hidden;
}

/* Grid Tech Pattern Overlay */
.hero-section-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Large Transparent Background Overlay Image */
.hero-bg-overlay-img {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 70%;
  height: 120%;
  background-image: url('../assets/img/gallery/1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: saturate(150%) contrast(110%);
  mask-image: radial-gradient(circle at 60% 50%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 50%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

.hero-section-v2 .container {
  position: relative;
  z-index: 2;
}

.hero-section-v2 h1,
.hero-section-v2 h2,
.hero-section-v2 h3,
.hero-section-v2 .hero-title {
  color: #ffffff !important;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-title .highlight-green {
  color: var(--fgs-green);
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.hero-subtitle {
  color: #e2e8f0 !important;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 640px;
}

/* 3D Visual Cards Showcase Container */
.hero-3d-visual {
  position: relative;
  perspective: 1000px;
}

.hero-3d-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hero-main-3d-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.55),
    0 0 30px var(--fgs-green-glow),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-main-3d-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6deg);
  box-shadow:
    0 30px 60px -12px rgba(0, 0, 0, 0.65),
    0 0 45px var(--fgs-green-glow),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-3d-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Floating 3D Badge */
.floating-3d-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: floatBadge 3.5s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* Floating Stat Pill */
.floating-stat-pill {
  position: absolute;
  bottom: -22px;
  left: -20px;
  background: linear-gradient(135deg, #061830 0%, #014b96 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 5;
}

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fgs-green);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #cbd5e1;
  line-height: 1.2;
}

/* Pulse Dot Green */
.pulse-green-dot {
  width: 8px;
  height: 8px;
  background-color: var(--fgs-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Floating Feature Overlays below Hero */
.hero-features-overlap {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.hero-feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-feature-card:hover {
  border-color: var(--fgs-green);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -5px rgba(16, 185, 129, 0.15), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}


.hero-feature-card .card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.hero-feature-card .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.hero-feature-card .card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-feature-card .card-link {
  color: var(--fgs-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-feature-card .card-link:hover {
  color: var(--fgs-blue-hover);
}

/* ==========================================
   SECTIONS GENERAL
   ========================================== */
.section-padding {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================
   ABOUT & VALUES CARDS
   ========================================== */
.info-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
}

.info-box p {
  color: var(--text-body);
  line-height: 1.65;
}

.value-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.value-card:hover {
  border-color: var(--fgs-blue);
  background-color: var(--bg-surface-hover);
}

.value-num {
  font-family: monospace;
  font-size: 0.8125rem;
  color: var(--fgs-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==========================================
   SERVICES SECTION (4 CORE SERVICES)
   ========================================== */
.service-card-full {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-card-full:hover {
  border-color: var(--fgs-blue);
}

.service-code {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--fgs-blue);
  background-color: var(--fgs-blue-light);
  border: 1px solid rgba(1, 75, 150, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: var(--border-radius);
  display: inline-block;
  margin-bottom: 1rem;
}

.service-card-full .service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.service-card-full .service-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-scope-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.service-scope-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

.service-scope-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--fgs-green-dark);
  font-weight: 800;
  font-size: 0.8rem;
}

/* ==========================================
   REAL PROJECT GALLERY & FILTERING
   ========================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.125rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
  border-color: var(--fgs-green);
  color: var(--fgs-green-dark);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--fgs-blue) 0%, #00366d 100%);
  border-color: var(--fgs-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(1, 75, 150, 0.25), inset 0 -2px 0 0 var(--fgs-green);
}

.gallery-card-v2 {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-card-v2:hover {
  border-color: var(--fgs-blue);
  transform: translateY(-2px);
}

.gallery-card-v2 .gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.gallery-card-v2 .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card-v2:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-card-v2 .gallery-content {
  padding: 1.25rem;
}

.gallery-card-v2 .gallery-cat {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--fgs-blue);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.gallery-card-v2 .gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.gallery-item.is-hidden {
  display: none !important;
}

/* ==========================================
   MID-PAGE BANNER & TRUST BAR (DEEP NAVY)
   ========================================== */
.banner-trust-section {
  position: relative;
  padding: 5.5rem 0;
  background-color: #061830 !important;
  background-image: linear-gradient(180deg, rgba(6, 24, 48, 0.94) 0%, rgba(1, 51, 110, 0.98) 100%), url('../assets/img/hero-bg.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  color: #ffffff !important;
}

.banner-trust-section h2 {
  color: #ffffff !important;
}

.trust-badge-item {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  font-family: monospace;
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================
   CONTACT FORM SPACING & FOCUS REFINEMENT
   ========================================== */
.form-control,
.form-select {
  padding: 12px 16px;
  background-color: #ffffff !important;
  border: 1px solid var(--border-color-active) !important;
  color: var(--text-heading) !important;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--fgs-blue) !important;
  box-shadow: 0 0 0 3px rgba(1, 75, 150, 0.2) !important;
  outline: none;
}

/* ==========================================
   FOOTER COMPONENT (DEEP NAVY)
   ========================================== */
.footer-industrial {
  background-color: var(--fgs-blue-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.footer-brand-logo {
  max-height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 380px;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* ==========================================
   NATIVE RELIABLE SCROLL ANIMATIONS (AOS SYSTEM)
   ========================================== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

[data-aos="fade-right"] {
  transform: translateX(-35px);
}

[data-aos="fade-left"] {
  transform: translateX(35px);
}

[data-aos="zoom-in"] {
  transform: scale(0.92);
}

[data-aos="fade-down"] {
  transform: translateY(-35px);
}

/* Animated state */
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Safety Fallback: Ensure visibility if JS is slow or reduced motion preferred */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================
   MOBILE RESPONSIVENESS & OVERFLOW PREVENTION
   Fixes side-scrolling / horizontal scroll on mobile devices (e.g. iPhone 12 Pro)
   ========================================== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .navbar-industrial .brand-text {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section-v2 {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .floating-3d-badge {
    right: 0px;
    top: -12px;
  }

  .floating-stat-pill {
    left: 0px;
    bottom: -15px;
    padding: 0.5rem 0.85rem;
  }

  .hero-bg-overlay-img {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .navbar-industrial .brand-text {
    font-size: 0.85rem;
    max-width: 200px;
    line-height: 1.2;
  }

  .hero-title {
    font-size: 1.6rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* ==========================================
   SUBPAGE HERO BANNER & BREADCRUMBS
   ========================================== */
.subpage-hero {
  background: linear-gradient(135deg, #0b1329 0%, #111d3d 50%, #061127 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  border-bottom: 2px solid rgba(16, 185, 129, 0.25);
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb-industrial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.breadcrumb-industrial a {
  color: #10b981;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-industrial a:hover {
  color: #34d399;
  text-decoration: underline;
}

.breadcrumb-industrial .separator {
  color: rgba(255, 255, 255, 0.3);
}

.subpage-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.subpage-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  line-height: 1.6;
}

/* ==========================================
   GREEN ACCENT SUBTITLES & REFINED LAYOUT STYLES
   ========================================== */
.subtitle-red-line,
.subtitle-green-line {
  color: #10b981;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.subtitle-red-line::after,
.subtitle-green-line::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: #10b981;
  border-radius: 2px;
}

.dual-img-container {
  display: flex;
  gap: 18px;
  width: 100%;
}

.dual-img-card {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  height: 440px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  position: relative;
}

.dual-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.dual-img-card:hover img {
  transform: scale(1.06);
}

.dual-img-card.cut-top-left {
  border-top-left-radius: 55px;
}

.dual-img-card.cut-top-right {
  border-top-right-radius: 55px;
}

.goal-section {
  background-color: #f8fafc;
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 5.5rem 0;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.goal-quote {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0f172a;
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.team-mission-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.prefooter-bar {
  background: linear-gradient(135deg, #0b1329 0%, #111d3d 100%);
  padding: 3.5rem 0;
  border-top: 2px solid rgba(16, 185, 129, 0.2);
}

.prefooter-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.prefooter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.prefooter-icon {
  font-size: 2.2rem;
  color: #10b981;
  line-height: 1;
  flex-shrink: 0;
}

.prefooter-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.prefooter-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Clean Photo Card Gallery (No Captions) */
.clean-gallery-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 300px;
  cursor: pointer;
}

.clean-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.clean-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.clean-gallery-card:hover img {
  transform: scale(1.08);
}