/* ==========================================================================
   SAN-GLOBAL Main Stylesheet (style.css)
   ========================================================================== */

/* --- Design Tokens & Variables --- */
:root {
  --primary-blue: #001846;
  /* Updated to match the dark navy-slate brand color */
  --primary-blue-hover: #003d66;
  --primary-blue-dark: #001846;
  --accent-yellow: #f4b400;
  --accent-yellow-hover: #e5a900;

  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #252525;
  --text-muted: #252525;
  --border-color: #e2e8f0;

  /* Override Bootstrap Muted/Secondary Classes */
  .text-muted,
  .text-secondary {
    color: #252525 !important;
  }

  --font-heading: "DM Sans",
  sans-serif;
  --font-body: "DM Sans",
  sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --text-responsive: clamp(14px, 0.8vw + 10px, 16px);
}

.product-details-section {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

@media (min-width: 992px) {
  .sidebar-wrapper {
    position: sticky;
    top: 30px;
    align-self: start;
    height: fit-content;
  }
}


/* Responsive Card Font Scaling to Maintain Text Wrap */
.product-card {
  container-type: inline-size;
  padding: clamp(10px, 5.2cqw, 16px) !important;
}
.product-card h5 {
  font-size: clamp(12px, 6.5cqw, 20px) !important;
}
.product-card p.small {
  font-size: clamp(10px, 4.5cqw, 14px) !important;
}

/* Uniform product image sizing */
.product-image {
  border-bottom: 1px solid rgba(0, 24, 70, 0.15);
  margin-bottom: 0 !important; /* Override mb-3 to align with the icon */
  padding-bottom: 25px; /* Adds white space between the image and the line */
}

/* Product Icon Overlapping Line */
.product-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-top: -30px; /* Overlaps the bottom border perfectly */
  margin-left: auto !important;
  margin-right: auto !important;
  z-index: 2;
  border: 2px solid #fff;
}

.product-image img {
  width: 100%;
  height: clamp(150px, 81.7cqw, 250px); /* Scales proportionally with width to maintain 100% zoom shape */
  object-fit: cover; /* Preserve aspect ratio and fill */
  border-radius: 4px;
}

/* Custom Owl Carousel Nav Styling */
.top-features-carousel .owl-nav {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.top-features-carousel .owl-nav button.owl-prev,
.top-features-carousel .owl-nav button.owl-next {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  background-color: var(--primary-blue) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.top-features-carousel .owl-nav button.owl-prev:hover,
.top-features-carousel .owl-nav button.owl-next:hover {
  background-color: var(--accent-yellow) !important;
  color: var(--primary-blue) !important;
}

/* Force Equal Height for Top Features Carousel */
.top-features-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}
.top-features-carousel .owl-item {
  display: flex;
}
.top-features-carousel .item {
  width: 100%;
}

/* Enhanced Product Card Styles */
.product-card {
  border: 1px solid rgba(0, 24, 70, 0.15) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
  transition: var(--transition-smooth);
}

.product-card:hover {
  border-color: var(--accent-yellow) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px);
}

/* Sidebar Widget Custom Background */
.sidebar-widget.bg-light {
  background-color: #e2e8f0 !important;
  border: 1px solid rgba(0, 24, 70, 0.05);
}

/* Feature Badges Background & Scaling */
.feature-badge {
  background-color: #e6edf5 !important;
  border: 1px solid rgba(0, 24, 70, 0.05);
  transition: var(--transition-smooth);
}
.feature-badge:hover {
  background-color: #dce5f0 !important;
}

@media (max-width: 1199px) {
  .feature-badge {
    padding: 0.75rem !important;
  }
  .feature-badge .icon-circle {
    width: 36px !important;
    height: 36px !important;
    margin-right: 0.5rem !important;
  }
  .feature-badge .icon-circle i {
    font-size: 1.1rem !important;
  }
  .feature-badge h6 {
    font-size: 0.85rem !important;
  }
  .feature-badge small {
    font-size: 0.65rem !important;
    line-height: 1.1;
  }
}

/* --- Base Reset & General Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  width: 100%;
  margin: 0;
  padding: 0;
}

body,
p,
a,
span,
li,
td,
th,
label,
input,
textarea,
select,
button {
  font-family: var(--font-body);
  font-size: var(--text-responsive);
  color: var(--text-main);
}

body {
  background-color: var(--bg-white);
}

/* Typography */
p {
  text-align: justify;
}

/* Remix Icon Custom Adjustments */
[class^="ri-"],
[class*=" ri-"] {
  vertical-align: middle;
  line-height: 1;
}

.mobile-nav-link .ri-chevron-down-line {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link.open .ri-chevron-down-line {
  transform: rotate(180deg);
}

.top-social-icons [class^="ri-"],
.top-social-icons [class*=" ri-"] {
  font-size: 16px;
}

.whatsapp-float-btn [class^="ri-"],
.whatsapp-float-btn [class*=" ri-"] {
  font-size: 32px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  /* Light weight heading as requested */
  color: var(--primary-blue);
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Section Spacing (Strictly 30px) */
section {
  padding: 30px 0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow);
}

/* ==========================================================================
   Common Layout Components (Topbar, Header, Footer)
   ========================================================================== */

/* Topbar */
.top-bar {
  background-color: #6c757d;
  /* Distinct dark royal navy matching the navy palette */
  padding: 3px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px !important;
}

.top-bar a {
  color: rgb(255, 255, 255);
  font-size: 11px !important;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--accent-yellow);
}

.top-social-icons a {
  color: rgba(255, 255, 255, 0.8) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.top-social-icons a:hover {
  color: #ffffff !important;
}

.top-bar-link span {
  color: #fff !important;
  font-size: 13px !important;
}

/* Header */
.main-header {
  background: #001846;
  /* Dark slate blue like the image, matching the logo & footer */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Premium subtle bottom border */
}

.main-header .navbar {
  padding: 0 !important;
}

.main-header .navbar-brand {
  background-color: #ffffff;
  padding: 12px 30px 12px 24px;
  margin-left: -24px;
  /* Pull to left edge of container-fluid px-4 */
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

@media (max-width: 767.98px) {
  .brand-logo {
    height: 38px;
  }
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
}

/* Navigation Links (Sentence Case & Capsule Highlights) */
.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 8px 14px !important;
  margin: 0 4px;
  text-transform: capitalize;
  /* Enforce Sentence Case */
  position: relative;
  border-radius: 6px;
  /* Capsule shape container */
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover {
  color: var(--accent-yellow) !important;
  background-color: rgba(255, 255, 255, 0.05);
  /* Soft hover highlight */
}

.navbar-nav .nav-link.active {
  color: var(--accent-yellow) !important;
  background-color: rgba(244,
      180,
      0,
      0.15) !important;
  /* Premium brand active capsule */
}

.dropdown-toggle::after {
  display: none !important;
}

/* Dropdown Menu styling starting from bottom of navbar */
.navbar-nav .dropdown-menu {
  background-color: rgba(12, 31, 45, 0.95);
  /* Lighter dark blue with premium glassmorphism opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  top: 100%;
  margin-top: 17px;
  /* Align to the bottom line of the navbar */
  padding: 10px 0;
}

/* Invisible hover bridge to prevent losing hover state over the gap */
.navbar-nav .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -25px;
  /* Spans the gap up to the nav link */
  left: 0;
  right: 0;
  height: 25px;
  background: transparent;
  z-index: -1;
}

@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;
    pointer-events: none;
  }

  .navbar-nav .nav-item.dropdown:hover .nav-link.dropdown-toggle {
    color: var(--accent-yellow) !important;
    background-color: rgba(255, 255, 255, 0.05);
  }
}

.navbar-nav .dropdown-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-responsive);
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: capitalize;
  /* Enforce Sentence Case */
  transition: var(--transition-smooth);
}

.navbar-nav .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-yellow);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-quote {
  background-color: var(--accent-yellow);
  color: #001846 !important;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  /* Premium rounded corner shape */
  text-transform: capitalize;
  text-decoration: none;
  /* Enforce Sentence Case */
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
  z-index: -1;
}

.btn-quote:hover::before {
  left: 125%;
}

.btn-quote:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #001846 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Reduced padding for header action */
.header-action {
  padding: 4px 8px; /* Slightly reduced padding */
}

.header-action .btn-quote {
  background-color: transparent !important;
  color: var(--accent-yellow) !important;
  border: 2px solid var(--accent-yellow) !important;
}

.header-action .btn-quote:hover {
  background-color: var(--accent-yellow) !important;
  color: #001846 !important;
}

/* Hamburger Button */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  padding: 0;
  z-index: 1010;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  /* White bars for visibility on dark background */
  transition: var(--transition-smooth);
}

/* --- Mobile Menu Styles (Right slide, scrollable, dark overlay) --- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  z-index: 1050;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 1060;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  /* Scrolling happens inside the menu only */
  display: flex;
  flex-direction: column;
}

.mobile-nav-menu.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.brand-logo-mobile {
  height: 40px;
  width: auto;
  display: block;
}

.brand-text-mobile {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-blue);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-nav-body {
  padding: 20px 0;
  flex-grow: 1;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid #eee;
}

.mobile-nav-link {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-responsive);
  color: var(--text-main);
  text-transform: capitalize;
}

.mobile-nav-link:hover {
  background-color: #f5f5f5;
  color: var(--primary-blue);
}

.mobile-submenu {
  list-style: none;
  padding-left: 0;
  background-color: #fafafa;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-submenu.active {
  max-height: 300px;
}

.mobile-submenu-link {
  display: block;
  padding: 10px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-responsive);
  color: var(--text-main);
  text-transform: capitalize;
  border-bottom: 1px solid #f1f1f1;
}

.mobile-submenu-link:hover {
  background-color: #f5f5f5;
  color: var(--primary-blue);
}

/* ==========================================================================
   Home Page Sections
   ========================================================================== */

/* --- Hero Slider --- */
.hero-slider-section {
  padding: 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1351 / 480;
}

/* Static overlay to ensure consistent high text legibility on all backgrounds */
.hero-slider-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(9, 83, 110, 0.685) 0%,
      rgba(8, 78, 106, 0) 50%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  pointer-events: none;
}



.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  transform: scale(1);
  transition:
    opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 6000ms cubic-bezier(0.1, 0.8, 0.25, 1);
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1.05);
}

.hero-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 950px;
  pointer-events: auto;
}

.hero-badge {
  background: #6c757d80;
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 6px 15px;
  border-radius: 30px;
  font-size: var(--text-responsive);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}


.hero-content p {
  font-size: var(--text-responsive);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  max-width: 600px;
background-color: #6c757d6b
}

.hero-ctas .btn {
  margin-right: 15px;
  margin-bottom: 10px;
}

/* Owl Carousel Fade Animation Overrides */
.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
  z-index: 0;
}

.owl-carousel .owl-animated-out {
  z-index: 1;
}

.owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.hero-ctas .btn-quote,
.hero-ctas .btn-secondary-quote {
  height: 44px;
  width: 150px;
  padding: 0 10px;
  white-space: nowrap;
  border-radius: 6px;
}

.hero-ctas .btn-quote:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #001846 !important;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.btn-secondary-quote {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-responsive);
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 6px;
  /* Premium rounded corner shape */
  transition: var(--transition-smooth);
}

.btn-secondary-quote:hover {
  background-color: #ffffff;
  color: #001846 !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

@media (max-width: 480px) {
  .hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 6px; /* extremely tight gap */
  }
  .hero-ctas .btn {
    margin-right: 0;
    margin-bottom: 0;
  }
  .hero-ctas .btn-quote,
  .hero-ctas .btn-secondary-quote {
    width: 100%;
    height: 32px; /* Very small button height */
    font-size: 11px; /* Very small font size */
    padding: 0 8px;
  }
}

.text-link-arrow {
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--primary-blue);
  padding-bottom: 2px;
  transition: var(--transition-smooth);
}

.text-link-arrow:hover {
  color: var(--accent-yellow);
  border-bottom-color: var(--accent-yellow);
}

.text-link-arrow i {
  transition: transform 0.3s ease;
  font-size: 18px;
}

.text-link-arrow:hover i {
  transform: translateX(4px);
}

/* --- Ticker Section --- */
.ticker-section {
  background-color: var(--accent-yellow);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-content {
  display: flex;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #001846;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  margin-right: 60px;
}

.ticker-item i {
  font-size: 20px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- About SAN-GLOBAL Section --- */
.about-section {
  padding: 30px 0 0 0;
  /* 30px top section spacing on mobile, 0 bottom spacing */
  overflow: hidden;
}

@media (min-width: 992px) {
  .about-section {
    padding-top: 0;
    /* No section spacing above the image on desktop */
  }
}

.about-text-col {
  background-color: #ffffff;
  display: flex;
  align-items: center;
}

.about-text-content {
  width: 100%;
}

@media (min-width: 992px) {
  .about-text-col {
    align-items: center; /* Center vertically instead of pushing to top */
    min-height: 450px;
  }

  .about-text-content {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
  }

  .about-image-wrapper {
    min-height: 450px;
    height: 100%;
  }
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .about-image-wrapper {
    height: 430px;
  }
}

@media (max-width: 575.98px) {
  .about-image-wrapper {
    height: 320px;
  }
}

.about-img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  /* Sharp corners */
  box-shadow: none;
  object-fit: cover;
  display: block;
}

.section-subtitle {
  color: var(--primary-blue);
  background-color: rgba(244, 180, 0, 0.1);
  border: 1px solid rgba(244, 180, 0, 0.4);
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 20px;
  border-radius: 50px;
  letter-spacing: 1.5px;
}

/* Ensure the blue text is readable if placed on a dark background section */
.problems-solve-section .section-subtitle,
.stats-grid-dark .section-subtitle {
  background-color: #ffffff;
  border-color: #ffffff;
}

/* --- Hero Title 2-Line Enforcement (Desktop) --- */
@media (min-width: 991px) and (max-width: 1920px) {
  .hero-content h1 {
    white-space: nowrap !important;
  }
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark, var(--primary-blue));
}

.stats-grid {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.stats-grid-dark {
  background-color: #0b1a30;
  /* Match the dark theme background in the second image */
  border: none;
  margin: 0;
  padding: 20px 15px;
}

.stat-item-col {
  padding: 5px 30px;
}

@media (min-width: 992px) {
  .stat-item-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.stat-icon {
  font-size: 42px;
  color: var(--accent-yellow);
  display: inline-block;
}

.stat-number-wrapper {
  margin-bottom: 8px;
}

.stat-num-val {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.stat-num-suffix {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-yellow);
  vertical-align: super;
  margin-left: 2px;
}

.stat-desc-label {
  font-size: var(--text-responsive);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* --- What We Do Section --- */
.bg-light-section {
  background-color: var(--bg-light);
}

.services-clean-section {
  position: relative;
  background-color: #ffffff;
  padding: 30px 0;
}

/* --- Problems We Solve Section (Full Background & Glassmorphic Table) --- */
.problems-section-bg {
  position: relative;
  padding: 30px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.problems-section-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,
      24,
      70,
      0.9);
  /* Deep premium dark blue overlay for text contrast */
  z-index: 1;
}

.problems-section-bg .container-fluid {
  position: relative;
  z-index: 2;
}

.problems-section-bg .problem-solve-table {
  max-width: 1140px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.problems-section-bg .problem-solve-header-row {
  border-bottom: 2px solid rgba(255, 255, 255, 0.12) !important;
  padding-bottom: 12px;
}

.problems-section-bg .psth-label {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
  display: block;
  text-align: center;
}

@media (min-width: 768px) {

  /* Center line divider for comparison table */
  .problems-section-bg .problem-solve-header-row>div:first-child,
  .problems-section-bg .problem-solve-row-new>div:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-right: 28px !important;
  }

  .problems-section-bg .problem-solve-header-row>div:last-child,
  .problems-section-bg .problem-solve-row-new>div:last-child {
    padding-left: 28px !important;
  }
}

.problems-section-bg .text-danger-light {
  color: #fca5a5 !important;
}

.problems-section-bg .text-success-light {
  color: #86efac !important;
}

.problems-section-bg .problem-solve-row-new {
  background-color: transparent !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.problems-section-bg .problem-solve-row-new:last-child {
  border-bottom: none !important;
}

.problems-section-bg .problem-solve-row-new:hover {
  background-color: rgba(255, 255, 255, 0.06) !important;
  padding-left: 20px !important;
  border-left: 4px solid var(--accent-yellow) !important;
}

.problems-section-bg .pst-problem-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8) !important;
}

.problems-section-bg .pst-solution-text {
  font-size: 15px;
  color: #ffffff !important;
}

.problems-section-bg .text-white-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.problems-section-bg .text-danger {
  color: #fca5a5 !important;
}

.problems-section-bg .text-success {
  color: #86efac !important;
}

.result-highlight-text {
  font-size: 18px;
  color: var(--primary-blue);
}

@media (max-width: 767px) {
  .psc-top-problem {
    height: auto;
    margin-bottom: 12px;
  }
}

/* --- How We Work Section (Left Image, Right Steps) --- */
.how-we-work-section {
  padding: 30px 0;
}

.how-we-work-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  background-color: #f1f5f9;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

@media (max-width: 991.98px) {
  .how-we-work-img-wrapper {
    height: 330px;
    min-height: auto;
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .how-we-work-img-wrapper {
    height: 230px;
  }
}

.how-work-val-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  /* Sharp borders */
}

/* Steps Styling */
.how-we-work-steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interactive-step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  /* Sharp borders */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-step-item:hover,
.interactive-step-item.active {
  border-color: var(--primary-blue);
  background: #f8fafc;
  box-shadow: 0 8px 25px rgba(0, 24, 70, 0.05);
}

.interactive-step-item.active {
  background: #f0f4f8;
}

.step-num-bubble {
  width: 40px;
  height: 40px;
  background-color: var(--border-color);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step-num-bubble i {
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interactive-step-item.active .step-num-bubble,
.interactive-step-item:hover .step-num-bubble {
  background-color: var(--accent-yellow);
  color: var(--primary-blue);
}

.step-content-box {
  flex-grow: 1;
}

.step-title-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 6px;
  text-transform: capitalize;
}

.step-desc-text {
  font-size: var(--text-responsive);
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.interactive-step-item.active .step-desc-text {
  opacity: 1;
}

/* --- Combined Services Carousel Section --- */
.services-carousel .owl-stage-outer {
  padding: 15px 0;
  margin: -15px 0;
}

.services-carousel .owl-stage {
  display: flex;
}

.services-carousel .owl-item {
  display: flex;
  flex: 1 0 auto;
}

.services-carousel .item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.service-card-new {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(244, 180, 0, 0.15);
}

.service-card-img-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h4 {
  color: var(--primary-blue);
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card-body p {
  color: #252525;
  margin-bottom: 0;
  font-size: var(--text-responsive);
}

/* --- Why Buyers Choose Us Section (White background with colored left-icon grid) --- */
#why-choose-us {
  background-color: #ffffff !important;
  padding: 30px 0;
}

.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 20px;
  background: #f8fafc;
  border: none;
  border-left: 4px solid #cbd5e1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.why-choose-content {
  flex-grow: 1;
}

.why-choose-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 24, 70, 0.04);
  border: 1px solid rgba(0, 24, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.why-choose-title {
  font-size: 18px;
  font-weight: 700;
  color: #001846;
  margin-top: 0;
  margin-bottom: 8px;
  text-transform: capitalize;
}

.why-choose-desc {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Individual Color Customizations */
.item-blue {
  background-color: #eff6ff !important;
  border-color: #2563eb !important;
}

.item-blue .why-choose-icon-wrapper {
  background-color: rgba(37, 99, 235, 0.08) !important;
  color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
}

.item-blue:hover {
  background-color: #dbeafe !important;
}

.item-blue:hover .why-choose-icon-wrapper {
  background-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.3) !important;
}

.item-cyan {
  background-color: #ecfeff !important;
  border-color: #0891b2 !important;
}

.item-cyan .why-choose-icon-wrapper {
  background-color: rgba(8, 145, 178, 0.08) !important;
  color: #0891b2 !important;
  border-color: rgba(8, 145, 178, 0.15) !important;
}

.item-cyan:hover {
  background-color: #cffafe !important;
}

.item-cyan:hover .why-choose-icon-wrapper {
  background-color: #0891b2 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(8, 145, 178, 0.3) !important;
}

.item-amber {
  background-color: #fffbeb !important;
  border-color: #d97706 !important;
}

.item-amber .why-choose-icon-wrapper {
  background-color: rgba(217, 119, 6, 0.08) !important;
  color: #d97706 !important;
  border-color: rgba(217, 119, 6, 0.15) !important;
}

.item-amber:hover {
  background-color: #fef3c7 !important;
}

.item-amber:hover .why-choose-icon-wrapper {
  background-color: #d97706 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(217, 119, 6, 0.3) !important;
}

.item-red {
  background-color: #fef2f2 !important;
  border-color: #dc2626 !important;
}

.item-red .why-choose-icon-wrapper {
  background-color: rgba(220, 38, 38, 0.08) !important;
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, 0.15) !important;
}

.item-red:hover {
  background-color: #fee2e2 !important;
}

.item-red:hover .why-choose-icon-wrapper {
  background-color: #dc2626 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.3) !important;
}

.item-green {
  background-color: #ecfdf5 !important;
  border-color: #059669 !important;
}

.item-green .why-choose-icon-wrapper {
  background-color: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.15) !important;
}

.item-green:hover {
  background-color: #d1fae5 !important;
}

.item-green:hover .why-choose-icon-wrapper {
  background-color: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(5, 150, 105, 0.3) !important;
}

.item-indigo {
  background-color: #eef2ff !important;
  border-color: #4f46e5 !important;
}

.item-indigo .why-choose-icon-wrapper {
  background-color: rgba(79, 70, 229, 0.08) !important;
  color: #4f46e5 !important;
  border-color: rgba(79, 70, 229, 0.15) !important;
}

.item-indigo:hover {
  background-color: #ede9fe !important;
}

.item-indigo:hover .why-choose-icon-wrapper {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.3) !important;
}

/* Hover States */
.why-choose-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.why-choose-item * {
  position: relative;
  z-index: 1;
}

/* --- Footer Logo White Background --- */
.footer-logo {
  background-color: #ffffff !important;
  padding: 8px 15px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  max-height: 55px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* --- Services CTA Banner Section --- */
.services-cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 80px 0;
  overflow: hidden;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgb(54 54 54 / 90%) 0%,
      rgb(0 0 0 / 75%) 100%);
  z-index: 1;
}

.services-cta-banner .z-index-2 {
  z-index: 2;
}

.cta-banner-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.cta-banner-title .highlight-text {
  color: var(--accent-yellow);
}

.cta-banner-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin: 15px auto 30px;
  /* Center-aligned, with custom margins for spacing */
  max-width: 700px;
}

.btn-premium-cta {
  background-color: #ffffff;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-decoration: none;
}

.btn-premium-cta:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .services-cta-banner {
    padding: 60px 0;
  }

  .cta-banner-overlay {
    background: rgba(0, 24, 70, 0.85);
  }

  .cta-banner-title {
    font-size: 28px;
  }

  .cta-banner-desc {
    font-size: 16px;
  }
}

/* --- Who We Work With Section --- */
.work-with-badge {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 18px 25px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-blue);
  font-size: var(--text-responsive);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-with-badge:hover {
  background-color: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
  transform: translateY(-3px);
}

/* --- Closing CTA & Contact Form --- */
.closing-cta-section {
  background: linear-gradient(135deg,
      var(--primary-blue-dark) 0%,
      var(--primary-blue) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}

.cta-subtitle {
  font-size: var(--text-responsive);
}

.contact-circle-icon {
  width: 30px;
  height: 30px;
}

.closing-cta-section h2 {
  color: #fff;
  /* Single color */
  font-size: 32px;
  margin-bottom: 20px;
}

.quote-form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.quote-form-container .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 6px;
  font-size: var(--text-responsive);
  padding: 10px 14px;
  margin-bottom: 15px;
}

.quote-form-container .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.quote-form-container .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-yellow);
  box-shadow: none;
  color: #fff;
}

.quote-form-container textarea.form-control {
  height: 100px;
  resize: none;
}

/* reCAPTCHA wrapper */
.recaptcha-wrapper {
  margin-bottom: 15px;
  overflow: hidden;
  max-width: 100%;
}

.g-recaptcha {
  transform-origin: left top;
  -webkit-transform-origin: left top;
}

.btn-submit-premium {
  width: 100%;
  background-color: var(--accent-yellow);
  border: 2px solid var(--accent-yellow);
  color: #001846;
  font-family: var(--font-heading);
  font-weight: 700;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  /* Premium rounded corner shape */
  font-size: var(--text-responsive);
  transition: var(--transition-smooth);
}

.btn-submit-premium:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #001846;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Footer Component & WhatsApp Floating Button
   ========================================================================== */

.main-footer-section {
  background-color: var(--primary-blue);
  /* Matches the main theme background */
  color: #fff;
  border-top: 2px solid var(--accent-yellow);
}

.footer-logo {
  height: 55px;
  width: auto;
  display: block;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-yellow);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-responsive);
}

.footer-links a:hover {
  color: var(--accent-yellow);
  padding-left: 5px;
}

.footer-divider {
  opacity: 0.1;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-blue);
  color: #ffffff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-blue-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(244, 180, 0, 0.4);
}

/* Responsive Floating Buttons */
@media (max-width: 767.98px) {
  .scroll-top-btn {
    bottom: 20px !important;
    right: 20px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
  }
}

/* ==========================================================================
   SAN-GLOBAL Auxiliary customized styles (merged from customized.css)
   ========================================================================== */

/* Slide Fade Transition Enhancements */
.hero-slider.owl-carousel .owl-stage-outer {
  overflow: hidden;
}

/* Glassmorphic Cards & Accents */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

/* --- About Section Layout & Image Matching --- */
.about-section {
  background-color: #ffffff;
  overflow: hidden;
}

.about-text-col {
  background-color: #fff;
}

.about-image-wrapper {
  width: 100%;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {

  .about-text-col,
  .about-image-wrapper {
    height: 480px !important;
    /* Forces identical height on desktop */
  }
}

@media (max-width: 991.98px) {
  .about-image-wrapper {
    height: 330px !important;
    /* Nice height for tablets and phones */
  }
}

/* --- Topbar Style Overrides --- */
.top-bar-icon,
.top-social-icon {
  font-size: 14px !important;
  width: 25px !important;
  height: 25px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover States for Topbar Icons */
.top-bar-link:hover .top-bar-icon,
.top-social-link:hover .top-social-icon {
  background: var(--accent-yellow) !important;
  color: var(--primary-blue-dark) !important;
  border-color: var(--accent-yellow) !important;
  transform: translateY(-2px);
}

.top-bar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.top-bar-link span {
  margin-left: 8px;
  font-weight: 500;
}

.top-bar-link:hover {
  color: var(--accent-yellow) !important;
}

.top-social-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Smooth Focus States for Inputs */
.form-input-focus:focus {
  border-color: var(--accent-yellow) !important;
  box-shadow: 0 0 10px rgba(244, 180, 0, 0.2) !important;
}

/* --- Footer Section Styling Override --- */
.main-footer-section {
  background-color: var(--primary-blue-dark) !important;
}

.main-footer-section,
.main-footer-section p,
.main-footer-section span,
.main-footer-section a,
.main-footer-section li,
.main-footer-section div {
  color: #ffffff !important;
}

.main-footer-section h4.footer-heading {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.main-footer-section h4.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-yellow);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links li a:hover,
.footer-contact-list li a:hover {
  color: var(--accent-yellow) !important;
}

.footer-links li a:hover {
  transform: translateX(4px);
}

.footer-contact-list li {
  color: rgba(255, 255, 255, 0.85) !important;
}

.footer-contact-list li span,
.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

@media (min-width: 992px) {
  .main-footer-section .footer-col:nth-child(2) {
    padding-left: 45px !important;
  }

  .main-footer-section .footer-col:nth-child(3) {
    padding-left: 35px !important;
  }
}

/* ==========================================================================
   SAN-GLOBAL Responsive adjustments (merged from responsive.css)
   ========================================================================== */

/* --- Large Desktop Adjustments (1200px and up) --- */
@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* --- Breakpoint for Hamburger Menu (below 1200px) --- */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    display: none !important;
    /* Hide bootstrap default collapse */
  }

  .main-header .navbar-brand {
    padding: 8px 35px 8px 24px;
    margin-left: -24px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  }

  .brand-logo {
    height: 40px;
  }

  /* Ensure Topbar alignment stays clean */
  .top-bar {
    text-align: center;
  }

  .top-bar .text-md-start,
  .top-bar .text-md-end {
    text-align: center !important;
  }
}

/* --- Tablet / Medium Devices (below 992px) --- */
@media (max-width: 991.98px) {
  section {
    padding: 30px 0;
    /* Tight layout for medium devices */
  }

  .section-title {
    font-size: 28px;
  }

  .hero-slider-section,
  .hero-slide {
    height: 50vh !important;
    min-height: 380px !important;
  }

  .about-image-wrapper {
    margin-top: 40px;
  }

  .problems-table thead th,
  .problems-table tbody td {
    padding: 12px 14px;
  }

  .footer-col {
    margin-bottom: 30px;
  }

  /* Why Choose Items 2-Column Responsive Sizing */
  .why-choose-item {
    padding: 16px 12px !important;
    gap: 12px !important;
  }

  .why-choose-icon-wrapper {
    width: 42px !important;
    height: 42px !important;
    font-size: 18px !important;
  }

  .why-choose-title {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }

  .why-choose-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  /* Stats Grid Responsive Overrides */
  .stats-grid-dark {
    padding: 35px 10px !important;
  }

  .stat-item-col {
    padding: 10px 15px !important;
    margin-bottom: 12px !important;
  }

  .stat-icon {
    font-size: 30px !important;
    margin-bottom: 6px !important;
  }

  .hero-content h1 {
    font-size: 32px !important;
  }

  .stat-num-val {
    font-size: 32px !important;
  }

  .stat-num-suffix {
    font-size: 20px !important;
  }

  .stat-desc-label {
    font-size: 13px !important;
  }

  /* Sourcing Categories 2-Column Responsive for Tablet/Mobile */
  .how-we-work-steps-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .interactive-step-item {
    padding: 10px 12px !important;
    gap: 10px !important;
    height: 100% !important;
  }

  .interactive-step-item:last-child {
    grid-column: span 2 !important;
  }

  .interactive-step-item .step-num-bubble {
    width: 32px !important;
    height: 32px !important;
  }

  .interactive-step-item .step-num-bubble i {
    font-size: 14px !important;
  }

  .interactive-step-item .step-title-text {
    font-size: 14px !important;
    margin-bottom: 4px !important;
  }

  .interactive-step-item .step-desc-text {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  /* Problems We Solve Responsive Customization */
  .problems-section-bg .problem-solve-table {
    padding: 12px !important;
  }

  .problems-section-bg .problem-solve-row-new {
    padding: 12px 8px !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .problems-section-bg .pst-problem-text,
  .problems-section-bg .pst-solution-text {
    font-size: 13px !important;
  }
}

/* --- Small Mobile Viewports (below 576px) --- */
@media (max-width: 575.98px) {
  .section-title {
    font-size: 24px;
  }

  .hero-slider-section,
  .hero-slide {
    height: 45vh !important;
    min-height: 290px !important;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-ctas .btn {
    width: auto;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
  }

  .btn-quote,
  .btn-secondary-quote,
  .btn-submit-premium {
    height: 42px !important;
    font-size: var(--text-responsive) !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
  }

  .stats-grid .col-6 {
    margin-bottom: 20px;
  }

  .stat-number {
    font-size: 28px;
  }

  .work-step-card {
    padding: 15px;
  }

  .step-title {
    font-size: 14px;
  }

  .step-image-container {
    height: 100px;
  }

  .g-recaptcha {
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

/* --- Ultra Small Mobile Viewports (down to 320px) --- */
@media (max-width: 330px) {
  body {
    padding: 0;
  }

  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .brand-text {
    font-size: 16px;
  }

  .main-header .navbar-brand {
    margin-left: -15px;
    padding-left: 15px;
    padding-right: 25px;
  }

  .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }

  .recaptcha-wrapper {
    height: 62px;
    /* Prevent trailing margins */
  }

  .quote-form-container {
    padding: 15px;
  }
}

/* --- About SAN-GLOBAL Section Buttons (Creative Alternative) --- */
.about-actions {
  display: flex;
  gap: 15px;
}

.btn-about-primary {
  background-color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-responsive);
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 12px;
  text-transform: capitalize;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-about-primary:hover {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #001846 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 180, 0, 0.25);
}

.btn-about-secondary {
  background-color: transparent;
  border: 2px solid rgba(0, 24, 70, 0.3);
  color: var(--primary-blue) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-responsive);
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 12px;
  text-transform: capitalize;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-about-secondary:hover {
  background-color: var(--primary-blue);
  color: #ffffff !important;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 24, 70, 0.15);
}

/* --- Services Carousel Centered Button --- */
.btn-services-more {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-responsive);
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 12px;
  text-transform: capitalize;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-services-more:hover {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #001846 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 180, 0, 0.25);
}

/* ==========================================================================
   Premium Image Shine & Hover Zoom Effects (All non-hero content images)
   ========================================================================== */

.about-image-wrapper,
.service-card-img-wrapper,
.how-we-work-img-wrapper {
  position: relative;
  overflow: hidden;
}

/* Base image transition styling */
.about-img,
.service-card-img,
.how-work-val-img {
  transition: transform 0.8s cubic-bezier(0.15, 0.85, 0.45, 1) !important;
}

/* Premium zoom effect on hover */
.about-image-wrapper:hover .about-img,
.service-card-new:hover .service-card-img,
.how-we-work-img-wrapper:hover .how-work-val-img {
  transform: scale(1.06);
}

/* Diagonal shining silver gradient overlay */
.about-image-wrapper::after,
.service-card-img-wrapper::after,
.how-we-work-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: left 0.75s cubic-bezier(0.15, 0.85, 0.45, 1);
  z-index: 2;
  pointer-events: none;
}

/* Sweep shining light from left to right on hover */
.about-image-wrapper:hover::after,
.service-card-new:hover .service-card-img-wrapper::after,
.how-we-work-img-wrapper:hover::after {
  left: 150%;
}

/* --- Inner Page Banner --- */
.inner-page-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1351 / 400;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.inner-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.inner-page-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.inner-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.inner-page-breadcrumb {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-page-breadcrumb li {
  display: inline-block;
}

.inner-page-breadcrumb li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.inner-page-breadcrumb li a:hover {
  color: #0d6efd;
}

.inner-page-breadcrumb li.separator {
  margin: 0 10px;
  color: #ccc;
}

.inner-page-breadcrumb li.active {
  color: #ccc;
}

@media (max-width: 768px) {
  .inner-page-banner {
    aspect-ratio: auto !important;
    padding: 40px 0 !important;
  }
  .inner-page-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .inner-page-banner {
    padding: 30px 0 !important;
  }
  .inner-page-title {
    font-size: 1.4rem;
  }
  .breadcrumb,
  .inner-page-breadcrumb {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 375px) {
  .inner-page-banner {
    padding: 25px 0 !important;
  }
  .inner-page-title {
    font-size: 1.25rem;
  }
}

/* --- Contact Page Section --- */
.contact-section-wrapper {
  background-color: var(--bg-white);
}

.contact-info-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.contact-form-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon-wrapper i {
  color: var(--accent-yellow);
}

.contact-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-link:hover {
  color: var(--primary-blue);
}

.contact-form-box .form-control {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 4px;
}

.contact-form-box .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: none;
}

.contact-form-box label {
  color: var(--primary-blue);
  font-weight: 600;
}

.contact-info-box .contact-heading {
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- Custom Nav Pills --- */
.custom-nav-pills .nav-link {
  color: var(--text-main);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-smooth);
  border-left: 4px solid transparent;
}

.custom-nav-pills .nav-link:hover {
  background-color: #e2e8f0;
}

.custom-nav-pills .nav-link.active {
  text-transform: capitalize;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-services-more:hover {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #001846 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 180, 0, 0.25);
}

/* ==========================================================================
   Premium Image Shine & Hover Zoom Effects (All non-hero content images)
   ========================================================================== */

.about-image-wrapper,
.service-card-img-wrapper,
.how-we-work-img-wrapper {
  position: relative;
  overflow: hidden;
}

/* Base image transition styling */
.about-img,
.service-card-img,
.how-work-val-img {
  transition: transform 0.8s cubic-bezier(0.15, 0.85, 0.45, 1) !important;
}

/* Premium zoom effect on hover */
.about-image-wrapper:hover .about-img,
.service-card-new:hover .service-card-img,
.how-we-work-img-wrapper:hover .how-work-val-img {
  transform: scale(1.06);
}

/* Diagonal shining silver gradient overlay */
.about-image-wrapper::after,
.service-card-img-wrapper::after,
.how-we-work-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: left 0.75s cubic-bezier(0.15, 0.85, 0.45, 1);
  z-index: 2;
  pointer-events: none;
}

/* Sweep shining light from left to right on hover */
.about-image-wrapper:hover::after,
.service-card-new:hover .service-card-img-wrapper::after,
.how-we-work-img-wrapper:hover::after {
  left: 150%;
}

/* --- Inner Page Banner --- */
.inner-page-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1351 / 400;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.inner-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.inner-page-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.inner-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.inner-page-breadcrumb {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-page-breadcrumb li {
  display: inline-block;
}

.inner-page-breadcrumb li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.inner-page-breadcrumb li a:hover {
  color: #0d6efd;
}

.inner-page-breadcrumb li.separator {
  margin: 0 10px;
  color: #ccc;
}

.inner-page-breadcrumb li.active {
  color: #ccc;
}

@media (max-width: 768px) {
  .inner-page-banner {
    aspect-ratio: auto !important;
    padding: 40px 0 !important;
  }
  .inner-page-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .inner-page-banner {
    padding: 30px 0 !important;
  }
  .inner-page-title {
    font-size: 1.4rem;
  }
  .breadcrumb,
  .inner-page-breadcrumb {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 375px) {
  .inner-page-banner {
    padding: 25px 0 !important;
  }
  .inner-page-title {
    font-size: 1.25rem;
  }
}

/* --- Contact Page Section --- */
.contact-section-wrapper {
  background-color: var(--bg-white);
}

.contact-info-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.contact-form-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon-wrapper i {
  color: var(--accent-yellow);
}

.contact-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-link:hover {
  color: var(--primary-blue);
}

.contact-form-box .form-control {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 4px;
}

.contact-form-box .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: none;
}

.contact-form-box label {
  color: var(--primary-blue);
  font-weight: 600;
}

.contact-info-box .contact-heading {
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- Custom Nav Pills --- */
.product-tab-container {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 24, 70, 0.05);
  padding: 24px;
}

.product-tab-nav-col {
  background-color: var(--primary-blue);
  /* Navy Blue brand color */
  padding: 24px 20px;
  border-radius: 14px;
  height: max-content;
  align-self: flex-start;
}

@media (min-width: 992px) {
  .product-tab-nav-col {
    position: sticky;
    top: 110px;
    /* Float alongside content on scroll */
    z-index: 10;
  }
}

.product-tab-content-col {
  padding: 10px 20px;
  background-color: transparent;
}

.custom-nav-pills .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  /* Fully rounded pills like the reference */
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14.5px;
  text-align: left;
  transition: var(--transition-smooth);
  margin-bottom: 10px;
}

.custom-nav-pills .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.custom-nav-pills .nav-link.active {
  background-color: var(--accent-yellow) !important;
  color: var(--primary-blue) !important;
  border-color: var(--accent-yellow) !important;
  box-shadow: 0 4px 12px rgba(244, 180, 0, 0.2);
}

@media (max-width: 767.98px) {
  .custom-nav-pills .nav-link {
    font-size: 13px;
    padding: 10px 16px;
  }
  .product-tab-nav-col {
    padding: 16px 14px;
  }
}

.tab-pane-header {
  border-bottom: 2px solid var(--accent-yellow) !important;
}

.tab-pane-header h3 {
  color: var(--primary-blue);
  font-size: 24px;
  font-family: var(--font-heading);
}

/* Utility Classes */
.max-width-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-700 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


/* --- Masonry Gallery --- */
.masonry-gallery {
  column-count: 2;
  column-gap: 1.5rem;
}

@media (max-width: 768px) {
  .masonry-gallery {
    column-count: 1;
  }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.13);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: block;
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 24, 70, 0.08);
  border-color: rgba(0, 24, 70, 0.15);
}

.masonry-item .img-wrapper {
  overflow: hidden;
  position: relative;
}

.masonry-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-item .gallery-item-title {
  padding: 14px 15px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--primary-blue);
  text-align: center;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- Breadcrumbs Customization --- */
.breadcrumb {
  --bs-breadcrumb-divider: '>';
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
  color: var(--accent-yellow, #ffc107) !important;
}

/* --- Expand Container Width for Product and Contact Pages --- */
@media (min-width: 992px) {
  .product-details-section .container,
  .contact-section-wrapper .container,
  .map-section .container {
    max-width: 96%;
  }
}
@media (min-width: 1400px) {
  .product-details-section .container,
  .contact-section-wrapper .container,
  .map-section .container {
    max-width: 1500px;
  }
}

/* --- Why Choose Us Section --- */
.badge-danger-custom {
  background-color: #ff3355;
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: 12px;
  display: inline-block;
}

.badge-success-custom {
  background-color: #28a745;
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: 12px;
  display: inline-block;
}

.problem-card {
  background-color: rgba(255, 51, 85, 0.03);
  border: 1px solid rgba(255, 51, 85, 0.1);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.solution-card {
  background-color: rgba(40, 167, 69, 0.03);
  border: 1px solid rgba(40, 167, 69, 0.1);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.icon-wrap-red {
  background-color: rgba(255, 51, 85, 0.1);
  color: #ff3355;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.icon-wrap-green {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.card-title-red, .card-title-green {
  color: #252525;
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 700;
  margin-bottom: 6px;
}

.card-desc {
  color: #6c757d;
  font-size: clamp(10px, 1vw, 14px);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Reduced Gap & Arrow Styling --- */
.problem-solve-container .row {
  justify-content: center;
}

@media (min-width: 768px) {
  .problem-solve-container .col-md-5 {
    width: 44%;
  }
  
  .problem-solve-container .col-md-2 {
    width: 8%;
    position: relative;
  }
  
  /* The thin connecting line */
  .problem-solve-container .col-md-2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e2e8f0;
    z-index: 1;
  }
}

.flow-arrow {
  background: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  font-size: 20px;
  color: #ff3355 !important;
  z-index: 2;
  position: relative;
}

@media (max-width: 767.98px) {
  .problem-card {
    margin-bottom: 12px;
  }
}

/* --- Our Services Blog-Style Cards --- */
.service-card-new {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-card-img-wrapper {
  width: 100%;
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-tag {
  background-color: #fff9e6; /* Pale yellow */
  color: #ffb800; /* Yellow/Orange text */
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  width: max-content;
  letter-spacing: 1px;
}

.service-title {
  font-size: 18px;
  color: #252525;
  margin-top: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.service-desc {
  font-size: 14px;
  color: #6c757d;
  margin-top: 10px;
  margin-bottom: 0;
  flex-grow: 1;
}

.service-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
}

.service-meta {
  color: #999;
}

.service-read-more {
  color: #ffb800;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}

.service-read-more:hover {
  color: #e6a600;
}

/* --- Category Cards --- */
.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.category-link {
  color: var(--accent-yellow);
  border-bottom: 2px solid var(--accent-yellow);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.category-link:hover {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}
.bg-light-blue {
  background-color: #dbeafe !important;
}

/* --- Fluid Typography for 125% Zoom Layout Maintenance --- */
.section-title { font-size: clamp(24px, 2.2vw, 36px) !important; }
.section-subtitle { font-size: clamp(10px, 0.8vw, 13px) !important; }
.section-description-text { font-size: clamp(12px, 1vw, 16px) !important; }

.why-choose-title, .service-title { font-size: clamp(14px, 1.2vw, 20px) !important; }
.why-choose-desc, .service-desc { font-size: clamp(12px, 0.95vw, 15px) !important; }

.category-card h6 { font-size: clamp(12px, 1.1vw, 16px) !important; }
.category-link { font-size: clamp(11px, 0.9vw, 13px) !important; }

/* --- Stats Block Fluid Sizing (Force single row on 320px) --- */
.stat-icon { font-size: clamp(16px, 2.5vw, 48px) !important; }
.stat-num-val { font-size: clamp(18px, 3.5vw, 56px) !important; }
.stat-num-suffix { font-size: clamp(14px, 2.5vw, 40px) !important; }
.stat-desc-label { font-size: clamp(7px, 1vw, 16px) !important; line-height: 1.2 !important; white-space: normal !important; }

/* --- Card Background Fix for Dark Overlay --- */
.problem-card, .solution-card {
  background-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Stats Block Full Width & Height Reduction --- */
.stats-grid-dark {
  padding: 15px 0 !important; /* Drastically reduce height */
  width: 100vw !important; /* Force exact full viewport width */
  max-width: 100%;
  margin: 0 !important;
}

.stat-item-col {
  padding: 0 5px !important; /* Reduce internal spacing to shrink height */
  margin-bottom: 0 !important;
}

/* --- 2-Slide Toggle for Problems Section (Mobile) --- */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 767.98px) {
  /* Default: Show Slide 1 (Problems), Hide Slide 2 (Solutions) */
  .problem-solve-container:not(.show-slide-2) .row > .col-md-5:nth-child(3) {
    display: none !important;
  }
  .problem-solve-container:not(.show-slide-2) .row > .col-md-5:nth-child(1) {
    animation: slideInLeft 0.3s ease-out forwards;
  }
  
  /* When Slide 2 is active: Hide Slide 1 (Problems), Show Slide 2 (Solutions) */
  .problem-solve-container.show-slide-2 .row > .col-md-5:nth-child(1) {
    display: none !important;
  }
  .problem-solve-container.show-slide-2 .row > .col-md-5:nth-child(3) {
    animation: slideInRight 0.3s ease-out forwards;
  }
  
  /* Ensure columns take full width on mobile */
  .problem-solve-container .col-md-5 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* --- Mobile Slide Control Buttons --- */
.slide-control-btn {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  background-color: var(--accent-yellow, #f4b400) !important; /* Theme Yellow for active */
  color: var(--primary-blue, #001846) !important; /* Theme Blue for icon */
  border: none !important;
  box-shadow: 0 4px 10px rgba(244, 180, 0, 0.3) !important;
  transition: all 0.3s ease !important;
}

.slide-control-btn:disabled {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

.problems-solve-section {
  background-image: linear-gradient(rgba(0, 24, 70, 0.85), rgba(0, 24, 70, 0.85)), url('../img/problems_solve_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ==========================================================================
   Ultimate Overrides for Mobile Hero 
   ========================================================================== */
@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: clamp(1.2rem, 5.5vw, 1.8rem) !important;
    margin-bottom: 15px !important;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    padding: 3px 8px !important;
    font-size: 10px !important;
    margin-bottom: 8px !important;
  }
  .hero-content h1 {
    font-size: 20px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }
  .hero-content h1 br {
    display: none !important;
  }
}
