/* Fix Top Bar */
.top-bar {
  background-color: #1a1e24 !important;
  font-size: 0.85rem;
}

/* Ensure Nav Links Align and Spread Correctly */
.navbar-nav .nav-link {
  color: #242E51 !important;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: #2E489D !important;
}

/* Dropdown styling & fix z-index overlay */
.navbar-nav .dropdown-menu {
  margin-top: 0;
  border-radius: 4px;
  background: #ffffff;
  z-index: 1050;
}

.dropdown-item {
  color: #333333;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #2E489D;
}

/* CTA Yellow Button */
.btn-warning {
  background-color: #FBB82C !important;
  border-color: #FBB82C !important;
  color: #000000 !important;
  font-size: 0.85rem;
  padding: 15px 40px !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-warning:hover {
  background-color: #e0a220 !important;
  border-color: #e0a220 !important;
}


/* Show dropdown on hover for desktop screens */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
  }
}



/* ==========================================================================
   MODERN HERO WITH ZOOM EFFECT & TYPOGRAPHY
   ========================================================================== */

:root {
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --color-primary: #2e489d;
  --color-accent: #2E489E;
}

.modern-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  background-color: #0d1117;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background Zoom Effect Engine */
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out, transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Active Slide Zoom Animation */
.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1.12); /* Smooth zoom effect */
}

/* Gradient Overlay for Text Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(13, 17, 23, 0.92) 0%, 
    rgba(13, 17, 23, 0.65) 55%, 
    rgba(13, 17, 23, 0.2) 100%
  );
  z-index: 2;
}

/* Content Container */
.hero-content-container {
  z-index: 3;
  padding-top: 80px;
  padding-bottom: 10px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
}

/* Typography */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.text-highlight {
  color: var(--color-accent);
}

.hero-description {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* CTA Buttons */
.btn-hero-primary {
  background-color: var(--color-accent);
  color: #0f172a;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
}

.btn-hero-primary:hover {
  background-color: #e0a220;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(251, 184, 44, 0.25);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Stats Bar */
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.stat-item h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0;
}

.stat-item p {
  font-family: var(--font-body);
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 0;
}

.stat-divider {
  width: 1px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Slider Controls */
.hero-controls {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* Entrance Animations */
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Update Font Imports in HTML <head>:
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800&display=swap" rel="stylesheet">
*/

:root {
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --color-primary: #2e489d;
  --color-accent: #fbb82c;
}

/* Fix Headline Typography */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

/* Fix Stats Layout & Spacing */
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem; /* Prevents text collisions */
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item h3 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-family: var(--font-body);
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 0;
  white-space: nowrap;
}

/* Ensure background image shows properly */
.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}


/* Fix Back To Top button position over slider controls */
.back-to-top, 
.js-back-to-top {
  bottom: 80px !important; /* Move up above slider controls */
  right: 25px !important;
  z-index: 99 !important;
}

/* Adjust hero dots position */
.hero-controls {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 10;
  display: flex;
  gap: 10px;
}


/* ==========================================
   DROPDOWN & NAV INDICATORS
   ========================================== */

/* Caret Icon Styling */
.nav-link .dropdown-caret {
  font-size: 0.70rem;
  margin-left: 5px;
  transition: transform 0.25s ease;
  display: inline-block;
  vertical-align: middle;
}

/* Rotate Caret on Hover */
.has-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

/* Modern Dropdown Styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Show Dropdown on Hover */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Item Hover Effects */
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: #2c3e50;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-menu li a:hover {
  background-color: #f8fafc;
  color: #2563eb; /* Primary theme color */
  padding-left: 22px; /* Subtle slide-right effect */
}

/* Optional: Subtle left border dynamic accent on item hover */
.dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #2563eb;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dropdown-menu li a:hover::before {
  opacity: 1;
}


/* ==========================================
   MODERN CTA BUTTON ("REQUEST QUOTE")
   ========================================== */

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #000000;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Modern Hover: Lift, Soft Glow & Shimmer */
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.45);
  background: linear-gradient(135deg, #ffca28 0%, #ffa000 100%);
  color: #000000;
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}


/* ==========================================
   DROPDOWN CARET (PURE CSS - NO FONTAWESOME NEEDED)
   ========================================== */

/* Pure CSS Chevron Arrow */
.nav-link .caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  margin-bottom: 2px;
  vertical-align: middle;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Rotate Chevron on Hover */
.has-dropdown:hover .caret {
  transform: rotate(225deg);
}


/* ==========================================
   MODERN DROPDOWN CONTAINER & LINKS
   ========================================== */

.has-dropdown {
  position: relative;
}

/* Dropdown Menu Box */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08) !important; /* Subtle Border */
  padding: 8px 0;
  margin-top: 12px;
  list-style: none;
  
  /* Soft Glass/Elevated Shadow */
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 
              0 4px 12px -2px rgba(0, 0, 0, 0.03) !important;
  
  /* Animation Parameters */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Show Dropdown on Parent Hover */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Links */
.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #334155 !important;
  font-size: 0.80rem !important; /* Elegant size */
  font-weight: 600 !important;
  text-transform: uppercase !important; /* Forced Uppercase */
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  position: relative;
}

/* Dropdown Link Subtle Hover Effect */
.dropdown-menu li a:hover {
  background-color: #f8fafc !important; /* Light slate tint */
  color: #1e40af !important; /* Primary Brand Accent */
  padding-left: 24px; /* Subtle slide-right effect */
}

/* Subtle Left Accent Line on Hover */
.dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #ffc107; /* Matches CTA Accent */
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dropdown-menu li a:hover::before {
  opacity: 1;
}


/* ==========================================
   DROPDOWN CARET (PURE CSS - NO FONTAWESOME NEEDED)
   ========================================== */

/* Pure CSS Chevron Arrow */
.nav-link .caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  margin-bottom: 2px;
  vertical-align: middle;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Rotate Chevron on Hover */
.has-dropdown:hover .caret {
  transform: rotate(225deg);
}


/* ==========================================
   MODERN DROPDOWN CONTAINER & LINKS
   ========================================== */

.has-dropdown {
  position: relative;
}

/* Dropdown Menu Box */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08) !important; /* Subtle Border */
  padding: 8px 0;
  margin-top: 12px;
  list-style: none;
  
  /* Soft Glass/Elevated Shadow */
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 
              0 4px 12px -2px rgba(0, 0, 0, 0.03) !important;
  
  /* Animation Parameters */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Show Dropdown on Parent Hover */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Links */
.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #334155 !important;
  font-size: 0.80rem !important; /* Elegant size */
  font-weight: 600 !important;
  text-transform: uppercase !important; /* Forced Uppercase */
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  position: relative;
}

/* Dropdown Link Subtle Hover Effect */
.dropdown-menu li a:hover {
  background-color: #f8fafc !important; /* Light slate tint */
  color: #1e40af !important; /* Primary Brand Accent */
  padding-left: 24px; /* Subtle slide-right effect */
}

/* Subtle Left Accent Line on Hover */
.dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #ffc107; /* Matches CTA Accent */
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dropdown-menu li a:hover::before {
  opacity: 1;
}


/* Ensure mobile dropdowns collapse properly inside the hamburger menu */
@media (max-width: 991.98px) {
  .navbar-collapse .dropdown-menu {
    border: none !important;
    background-color: #f8fafc !important;
    box-shadow: none !important;
    padding-left: 15px;
    margin-top: 5px;
    margin-bottom: 10px;
  }
  
  .navbar-collapse .dropdown-menu.show {
    display: block !important;
  }
}


@media (max-width: 991.98px) {
  /* Prevent dropdown overlay issues on mobile */
  .navbar-collapse .dropdown-menu {
    position: static !important;
    float: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    padding-left: 15px !important;
  }

  .navbar-collapse .dropdown-menu.show {
    display: block !important;
  }
}




/* =========================================================
   CORE VALUES SECTION - LIGHT THEME WITH HOVER EFFECTS
   ========================================================= */
.core-values-section {
  background: #f8fafc; /* Crisp, modern light contrast */
  position: relative;
  overflow: hidden;
  color: #1e293b;
  padding: 90px 0;
  border-bottom: 1px solid #e2e8f0;
}

/* Section Title & Typography */
.values-title {
  color: #0f172a;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

.text-gradient {
  background: #2E489E;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.values-subtitle {
  color: #64748b;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.brand-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fa-spin-slow {
  animation: fa-spin 12s infinite linear;
}

/* Card Base Styling */
.value-card {
  position: relative;
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  height: 100%;
}

.card-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

/* Icon Badge Styling */
.icon-wrapper {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: #fffbe3;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #d97706;
  transition: all 0.4s ease;
}

.value-heading {
  font-family: 'Syne', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.value-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

/* Premium Hover Micro-Interactions */
.value-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.value-card:hover .card-inner {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(245, 158, 11, 0.12);
}

.value-card:hover .icon-wrapper {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border-color: #d97706;
  transform: rotate(8deg) scale(1.1);
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.value-card:hover .value-heading {
  color: #d97706;
}

.value-card:hover .value-text {
  color: #334155;
}

/* Wide Card Alignment on Tablet/Desktop */
@media (min-width: 768px) {
  .value-card-wide .card-inner {
    align-items: center;
  }
}


/* =========================================================
   CORE VALUES SECTION - BRAND BLUE THEME
   ========================================================= */
.core-values-section {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  color: #1e293b;
  padding: 90px 0;
  border-bottom: 1px solid #e2e8f0;
}

/* Typography & Title Fixes */
.values-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase;
  transform: none !important;
  color: #0f172a;
}

/* Blue Gradient for 'VALUES' */
.values-title span.text-gradient {
  background: linear-gradient(90deg, #02529c, #0f75bc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  transform: none !important;
}

.values-subtitle {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  letter-spacing: normal !important;
}

/* Blue Brand Badge */
.brand-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(2, 82, 156, 0.08);
  border: 1px solid rgba(2, 82, 156, 0.25);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #02529c;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fa-spin-slow {
  animation: fa-spin 12s infinite linear;
}

/* Card Styling */
.value-card {
  position: relative;
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  height: 100%;
}

.card-inner {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

/* Icon Badges - Soft Blue Tint */
.icon-wrapper {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: #eff6ff !important;
  border: 1px solid rgba(2, 82, 156, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #02529c !important;
  transition: all 0.4s ease;
}

.value-heading {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.value-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

/* Hover Effects with Blue Accent */
.value-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.value-card:hover .card-inner {
  background: #ffffff;
  border-color: rgba(2, 82, 156, 0.4);
  box-shadow: 0 20px 25px -5px rgba(2, 82, 156, 0.08), 0 8px 10px -6px rgba(2, 82, 156, 0.1);
}

.value-card:hover .icon-wrapper {
  background: linear-gradient(135deg, #02529c, #0f75bc) !important;
  color: #ffffff !important;
  border-color: #02529c;
  transform: rotate(8deg) scale(1.1);
  box-shadow: 0 8px 16px rgba(2, 82, 156, 0.3);
}

.value-card:hover .value-heading {
  color: #02529c;
}

.value-card:hover .value-text {
  color: #334155;
}

/* Wide Card Alignment */
@media (min-width: 768px) {
  .value-card-wide .card-inner {
    align-items: center;
  }
}


/* =========================================================
   ABOUT US SECTION - TITLE & CARD SPACING FIXES
   ========================================================= */

/* Elegant Title Styling */
.about-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 2.1rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important; /* Converts force uppercase back to natural formatting */
  color: #0f172a;
}

.about-title span.text-gradient {
  background: linear-gradient(90deg, #02529c, #0f75bc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  font-weight: 800 !important;
}

/* Card Spacing & Internal Padding */
.about-feature-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px; /* Expanded padding for a lighter feel */
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.about-feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 82, 156, 0.4);
  box-shadow: 0 12px 24px -6px rgba(2, 82, 156, 0.12);
  background: #ffffff;
}

.about-feature-item .feature-icon {
  font-size: 20px;
  color: #02529c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.about-feature-item:hover .feature-icon {
  transform: scale(1.15);
  color: #0f75bc;
}

.about-feature-item .feature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

/* Enforce Brand Blue Button Styling */
a.btn-brand-blue,
.btn-brand-blue {
  background: linear-gradient(135deg, #02529c, #0f75bc) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px -4px rgba(2, 82, 156, 0.4) !important;
  transition: all 0.3s ease !important;
}

/* Hover & Active States */
a.btn-brand-blue:hover,
.btn-brand-blue:hover {
  background: linear-gradient(135deg, #0f75bc, #02529c) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px -4px rgba(2, 82, 156, 0.55) !important;
}

/* Ensure the arrow icon inside retains its color and alignment */
.btn-brand-blue i,
.btn-brand-blue svg {
  color: #ffffff !important;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-brand-blue:hover i,
.btn-brand-blue:hover svg {
  transform: translateX(4px);
}



/* =========================================================
   DARK INTERMISSION CTA SECTION
   ========================================================= */

.dark-intermission-section {
  position: relative;
  background-color: #0b1120; /* Deep industrial slate background */
  padding: 85px 0;
  overflow: hidden;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Background Subtle Grid Texture */
.intermission-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

/* Ambient Radial Glow Effect */
.intermission-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
}

.glow-left {
  top: -100px;
  left: -50px;
  background: #02529c;
}

.glow-right {
  bottom: -100px;
  right: -50px;
  background: #0f75bc;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

/* Badge */
.intermission-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(2, 82, 156, 0.15);
  border: 1px solid rgba(15, 117, 188, 0.3);
  border-radius: 30px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pulse-dot-blue {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
}

/* Headline */
.intermission-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff;
}

/* Brand Blue Gradient Text */
.text-gradient-blue {
  background: linear-gradient(90deg, #38bdf8, #60a5fa) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.intermission-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 620px;
}

/* Glowing Primary CTA Button */
a.btn-brand-blue-glow,
.btn-brand-blue-glow {
  background: linear-gradient(135deg, #02529c, #0f75bc) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 16px 32px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  text-decoration: none !important;
  box-shadow: 0 10px 25px -5px rgba(2, 82, 156, 0.5), 
              0 0 15px rgba(15, 117, 188, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap;
}

a.btn-brand-blue-glow:hover,
.btn-brand-blue-glow:hover {
  background: linear-gradient(135deg, #0f75bc, #02529c) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 30px -5px rgba(2, 82, 156, 0.65), 
              0 0 25px rgba(56, 189, 248, 0.4) !important;
}

/* Arrow Hover Slide Animation */
.btn-brand-blue-glow i {
  transition: transform 0.3s ease;
}

.btn-brand-blue-glow:hover i {
  transform: translateX(5px);
}

/* Trust Subtext */
.trust-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #64748b !important;
}

.trust-caption i {
  color: #38bdf8 !important;
}



/* =========================================================
   DARK INTERMISSION CTA SECTION - REFINED
   ========================================================= */

.dark-intermission-section {
  position: relative;
  background-color: #080d1a;
  padding: 80px 0;
  overflow: hidden;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Background Texture */
.intermission-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

/* Title Refinement (Removes forced uppercase & balances fonts) */
.intermission-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important; /* Fixes blocky uppercase */
  color: #ffffff !important;
}

.text-gradient-blue {
  background: linear-gradient(90deg, #38bdf8, #60a5fa) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  font-weight: 800 !important;
}

.intermission-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 580px;
}

/* Badge */
.intermission-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(2, 82, 156, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.3px;
  text-transform: none;
}

.pulse-dot-blue {
  width: 7px;
  height: 7px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

/* Button & Arrow Spacing */
a.btn-brand-blue-glow,
.btn-brand-blue-glow {
  background: linear-gradient(135deg, #02529c, #0f75bc) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 10px 20px -5px rgba(2, 82, 156, 0.5) !important;
  transition: all 0.3s ease !important;
}

a.btn-brand-blue-glow:hover,
.btn-brand-blue-glow:hover {
  background: linear-gradient(135deg, #0f75bc, #02529c) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 25px -4px rgba(2, 82, 156, 0.65), 0 0 20px rgba(56, 189, 248, 0.3) !important;
}

.btn-brand-blue-glow i {
  margin-left: 10px !important; /* Ensures space between text and arrow */
  transition: transform 0.3s ease;
}

.btn-brand-blue-glow:hover i {
  transform: translateX(4px);
}

/* Trust Caption Legibility Fix */
.trust-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #cbd5e1 !important; /* Brightened from #64748b so it's clearly readable */
  display: inline-flex;
  align-items: center;
}

.trust-caption i {
  color: #38bdf8 !important;
}



/* =========================================================
   WHY CHOOSE US SECTION
   ========================================================= */

.why-choose-us-section {
  background-color: #ffffff;
  color: #1e293b;
}

/* Title Styling */
.why-choose-title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a;
}

.why-choose-title span.text-gradient {
  background: linear-gradient(90deg, #02529c, #0f75bc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.why-choose-lead {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #64748b;
}

.why-choose-lead strong {
  color: #0f172a;
}

/* Feature Highlights List */
.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  background: #ffffff;
  border-color: rgba(2, 82, 156, 0.3);
  box-shadow: 0 10px 20px -5px rgba(2, 82, 156, 0.08);
  transform: translateY(-2px);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #eff6ff;
  border: 1px solid rgba(2, 82, 156, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #02529c;
  font-size: 18px;
  transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
  background: linear-gradient(135deg, #02529c, #0f75bc);
  color: #ffffff;
}

.highlight-text h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.highlight-text p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Image Column Modern Framing */
.why-choose-image-wrapper {
  position: relative;
  padding: 20px;
}

.why-choose-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(2, 82, 156, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.main-image-circle {
  position: relative;
  z-index: 2;
  width: 380px;
  height: 380px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 12px;
  background: #ffffff;
  border: 2px solid rgba(2, 82, 156, 0.2);
  box-shadow: 0 20px 40px -10px rgba(2, 82, 156, 0.15);
  overflow: hidden;
}

.main-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Floating Detail Badge (Replaces old yellow mini image) */
.floating-detail-badge {
  position: absolute;
  bottom: 20px;
  right: 10%;
  z-index: 3;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
}

.floating-detail-badge .floating-icon {
  width: 38px;
  height: 38px;
  background: #eff6ff;
  color: #02529c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.floating-detail-badge .floating-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floating-detail-badge .floating-text strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #02529c;
  line-height: 1;
}

.floating-detail-badge .floating-text span {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

/* Responsive Scaling */
@media (max-width: 576px) {
  .main-image-circle {
    width: 280px;
    height: 280px;
  }
  .floating-detail-badge {
    right: 0;
    bottom: 0;
  }
}



/* =========================================================
   CLIENTS INFINITE CAROUSEL SECTION
   ========================================================= */

.clients-carousel-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 60px 0;
}

/* Typography */
.clients-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.clients-title span.text-gradient {
  background: linear-gradient(90deg, #02529c, #0f75bc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Slider Container */
.logo-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* Edge Gradient Overlays (Soft Blending Effect) */
.slider-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

/* Infinite Track Animation */
.logo-slider-track {
  display: flex;
  width: max-content; /* Dynamically expands to fit all 50+ slides */
  animation: scrollLogos 75s linear infinite; /* Smooth speed across 26+ logos */
}

/* Pause scroll on hover so users can inspect logos */
/*.logo-slider-container:hover .logo-slider-track {
  animation-play-state: paused;
}*/

/* Individual Slide Styling */
.logo-slide {
  width: 260px;
  height: 120px;
  margin: 0 15px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%) opacity(0.89); /* Subtle grayscale default */
  transition: all 0.3s ease;
}

/* Hover Effect - Full Brand Color Pop & Lift */
.logo-slide:hover {
  border-color: rgba(2, 82, 156, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgba(2, 82, 156, 0.12);
}

.logo-slide:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Keyframe Infinite Loop */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Moves exactly half way across the cloned set */
  }
}

/* Sub-header Lead Paragraph */
.clients-lead-text {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 680px;
}

.clients-lead-text strong {
  color: #0f172a;
  font-weight: 600;
}




/* =========================================================
   PREMIUM CORPORATE FOOTER
   ========================================================= */

.footer-dark {
  background-color: #060a14; /* Deep rich dark navy base */
  color: #94a3b8;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Inter', system-ui, sans-serif;
}

/* Background Grid Overlay */
.footer-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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);
  background-size: 30px 30px;
  z-index: 1;
}

.footer-ambient-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(circle, rgba(2, 82, 156, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

/* Brand Title & Headings */
.footer-brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.text-gradient-blue {
  background: linear-gradient(90deg, #38bdf8, #60a5fa) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
}

/* Footer Column Headings with Accent Pill */
.footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.heading-glow {
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #38bdf8, #02529c);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* Navigation Links */
.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.footer-links a i {
  font-size: 0.7rem;
  color: #38bdf8;
  transition: transform 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover i {
  color: #60a5fa;
  transform: translateX(2px);
}

/* Contact Info Pills */
.contact-pill {
  font-size: 0.83rem;
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

a.contact-pill:hover {
  background: rgba(2, 82, 156, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.contact-pill i {
  color: #38bdf8;
  font-size: 0.9rem;
}

/* Social Icon Buttons */
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: linear-gradient(135deg, #02529c, #0f75bc);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(2, 82, 156, 0.4);
}

/* Footer Divider */
.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 0;
}

/* Bottom Bar & Copyright */
.copyright-text {
  font-size: 0.82rem;
  color: #64748b;
}

.copyright-text strong {
  color: #94a3b8;
}

/* Back to Top Button */
.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 82, 156, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-top-btn:hover {
  background: #02529c;
  color: #ffffff;
  border-color: #02529c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 82, 156, 0.4);
}


/* =========================================================
   INDUSTRIAL COLLAGE COMPONENT
   ========================================================= */

.industrial-collage-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 30px 10px;
}

/* Background Ambient Glow */
.collage-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(2, 82, 156, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
}

/* Grid Layout for Asymmetric Stacking */
.collage-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  height: 480px;
}

/* Image Frames */
.collage-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border: 4px solid #ffffff;
  transition: all 0.4s ease;
}

.collage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collage-frame:hover img {
  transform: scale(1.05);
}

/* Frame Placement & Overlaps */
.frame-primary {
  grid-column: 1 / span 8;
  grid-row: 1 / span 9;
  z-index: 2;
}

.frame-secondary {
  grid-column: 5 / span 8;
  grid-row: 4 / span 9;
  z-index: 3;
}

/* Stat Floating Glass Cards */
.stat-glass-card {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(2, 82, 156, 0.15);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 30px -5px rgba(2, 82, 156, 0.18);
  transition: transform 0.3s ease;
}

.stat-glass-card:hover {
  transform: translateY(-4px);
}

/* Card 1: Top Right Placement */
.stat-card-top {
  top: 10px;
  right: 0;
  background: linear-gradient(135deg, #02529c, #0f75bc);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card-top .stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  color: #ffffff;
}

.stat-card-top .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.stat-card-top .stat-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
}

/* Card 2: Bottom Left Placement */
.stat-card-bottom {
  bottom: 10px;
  left: 0;
}

.stat-card-bottom .stat-number-sm {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  display: block;
  color: #0f172a;
}

.stat-card-bottom .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.stat-card-bottom .stat-icon {
  width: 38px;
  height: 38px;
  background: #eff6ff;
  border: 1px solid rgba(2, 82, 156, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #02529c;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
  .collage-grid {
    height: 380px;
  }
  .stat-glass-card {
    padding: 10px 14px;
  }
  .stat-card-top .stat-number {
    font-size: 1.25rem;
  }
}


/* =========================================================
   CONTACT SECTION & 3D CARDS
   ========================================================= */

.contact-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.contact-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.contact-section-lead {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  max-width: 620px;
  margin: 0 auto;
}

/* 3D Glassmorphic Cards */
.contact-3d-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.contact-3d-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 20px 35px -10px rgba(2, 82, 156, 0.15);
  border-color: rgba(2, 82, 156, 0.3);
}

.card-icon-wrapper {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.icon-blue { background: #eff6ff; color: #02529c; border: 1px solid rgba(2, 82, 156, 0.2); }
.icon-cyan { background: #ecfeff; color: #0891b2; border: 1px solid rgba(8, 145, 178, 0.2); }
.icon-emerald { background: #ecfdf5; color: #059669; border: 1px solid rgba(5, 150, 105, 0.2); }

.card-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.card-content p {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 6px;
}

.card-link, .card-link-static {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #02529c;
  text-decoration: none;
}

.card-link:hover {
  color: #0f75bc;
  text-decoration: none;
}

/* Contact Form Styling */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.form-subtitle {
  font-size: 0.88rem;
  color: #64748b;
}

.form-group-custom label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.form-group-custom .form-control,
.form-group-custom .form-select {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: #0f172a;
  background-color: #f8fafc;
  transition: all 0.25s ease;
}

.form-group-custom .form-control:focus,
.form-group-custom .form-select:focus {
  background-color: #ffffff;
  border-color: #02529c;
  box-shadow: 0 0 0 4px rgba(2, 82, 156, 0.1);
  outline: none;
}

/* Map Wrapper */
.map-container-wrapper {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.05);
}


/* Desktop Hover Dropdowns (Large Screens Only) */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    transform: translateY(0);
    transition: all 0.2s ease-in-out;
  }
}

/* Mobile Dropdown Styling & Layout Fix */
@media (max-width: 991.98px) {
  /* Prevent weird layout shifts & white space gaps */
  #mainNavbar {
    background-color: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
  }

  /* Make sure submenus expand cleanly inside the container on mobile */
  .navbar-nav .dropdown-menu {
    border: none;
    background-color: #f8f9fa;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 3px solid #02529c;
    display: none; /* Controlled by JS toggle */
  }

  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }
}


.dropdown-menu {
  /* ... */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Ensure dropdowns display on desktop hover */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

/* Ensure dropdowns display when the '.show' class is added (Bootstrap & Mobile JavaScript) */
.dropdown-menu.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}