/* Root variables */
:root {
  --axo-green: #8ac647;
  --axo-green-hover: #7ab53a; /* Defined for hover states */
  --axo-dark: #000000;
  --axo-light: #ffffff;
  --axo-gray: #f8f9fa;
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--axo-dark);
  overflow-x: hidden; /* Added from user's CSS */
  width: 100%; /* Added from user's CSS */
  position: relative; /* Added from user's CSS */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600; /* Changed from 700 to match user's CSS */
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem; /* Matched user's CSS */
  font-weight: 700;
  color: var(--axo-dark);
  margin-bottom: 1rem; /* Matched user's CSS */
}

.section-subtitle {
  font-size: 1.25rem; /* Matched user's CSS */
  color: #6c757d; /* Matched user's CSS */
  margin-bottom: 2rem; /* Matched user's CSS */
}

/* Mobile Typography */
@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .display-4 {
    font-size: 2.5rem !important;
  }

  .lead {
    font-size: 1.1rem;
  }
}

/* Button styles */
.btn-axo-primary {
  background-color: var(--axo-green);
  border-color: var(--axo-green);
  color: var(--axo-light); /* Changed to var(--axo-light) */
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px; /* Matched user's CSS: 0.5rem is 8px, 6px is closer */
  transition: all 0.3s ease;
  border: 2px solid var(--axo-green); /* Added from user's CSS */
}

.btn-axo-primary:hover {
  background-color: var(--axo-light); /* Changed to var(--axo-light) */
  border-color: var(--axo-green); /* Matched user's CSS */
  color: var(--axo-green); /* Matched user's CSS */
  transform: translateY(-2px); /* Kept from original */
  box-shadow: 0 4px 12px rgba(138, 198, 71, 0.3); /* Kept from original */
}

.btn-axo-secondary {
  background-color: transparent;
  border: 2px solid var(--axo-green);
  color: var(--axo-green);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-axo-secondary:hover {
  background-color: var(--axo-green);
  color: white;
  transform: translateY(-2px);
}

/* Mobile button adjustments */
@media (max-width: 767px) {
  .btn-lg {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .hero-btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Navigation */
.navbar {
  padding: 0.5rem 0; /* Adjusted from user's CSS */
  transition: all 0.3s ease;
  height: 60px; /* From user's CSS */
  position: sticky; /* From user's CSS */
  top: 0; /* From user's CSS */
  z-index: 1030; /* From user's CSS */
}

.navbar-brand {
  padding: 0;
  margin: 0; /* From user's CSS */
  display: flex; /* From user's CSS */
  align-items: center; /* From user's CSS */
  position: relative; /* From user's CSS */
}

.logo-img {
  height: auto !important;
  max-height: 45px !important; /* Updated max-height */
  width: auto !important;
  /* opacity: 0; */ /* Temporarily comment out or remove this line for general .logo-img if needed */
  transition: opacity 0.3s ease;
  transform: translateZ(0);
  will-change: opacity;
  backface-visibility: hidden;
  object-fit: contain;
  filter: brightness(1.1);
  aspect-ratio: 3 / 1;
}

.logo-img.loaded {
  /* From user's CSS */
  opacity: 1;
}

.header-logo {
  opacity: 1 !important; /* Ensure visibility */
  height: 60px !important; /* Updated height */
  max-height: 60px !important; /* Updated max-height */
  width: auto !important; /* Allow natural width based on height and aspect ratio */
  object-fit: contain; /* Ensure the image scales correctly within the dimensions */
}

.footer-logo {
  height: 35px !important; /* From user's CSS */
  max-height: 35px !important; /* From user's CSS */
}

.navbar-dark .navbar-brand img {
  /* From user's CSS */
  filter: brightness(1.2);
}

.navbar-brand::before {
  /* From user's CSS */
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 120px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  z-index: -1;
}

.navbar-brand.logo-loaded::before {
  /* From user's CSS */
  display: none;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important; /* Matched user's CSS */
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  /* Added :focus from user's CSS */
  color: var(--axo-green) !important; /* Matched user's CSS */
}

.navbar-nav .nav-link.active {
  /* From user's CSS */
  color: var(--axo-green) !important;
  font-weight: 600;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  /* Matched user's CSS breakpoint */
  .navbar-collapse {
    margin-top: 0; /* Adjusted from 1rem */
    padding-top: 0; /* Adjusted from 1rem */
    border-top: none; /* Adjusted from 1px solid rgba(255, 255, 255, 0.1) */
    position: absolute; /* From user's CSS */
    top: 60px; /* From user's CSS */
    left: 0; /* From user's CSS */
    right: 0; /* From user's CSS */
    background-color: rgba(33, 37, 41, 0.95); /* From user's CSS */
    padding: 1rem; /* From user's CSS */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* From user's CSS */
    max-height: calc(100vh - 60px); /* From user's CSS */
    overflow-y: auto; /* From user's CSS */
    z-index: 1040; /* From user's CSS */
  }

  .navbar-nav {
    text-align: center;
    height: auto; /* From user's CSS */
    padding-bottom: 1rem; /* From user's CSS */
    align-items: center; /* From user's CSS */
  }

  .nav-item {
    margin: 0.5rem 0; /* From user's CSS */
  }

  .navbar-nav .nav-link {
    /* From user's CSS */
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    /* From user's CSS */
    background-color: rgba(138, 198, 71, 0.1);
  }

  .navbar-brand img.header-logo {
    /* From user's CSS */
    position: relative;
    top: 0;
    height: 45px !important;
    max-height: 45px !important;
    width: auto !important;
    object-fit: contain;
  }

  .navbar-toggler {
    /* From user's CSS */
    border: none;
    padding: 0.5rem;
    margin-right: 0.5rem;
  }

  .navbar-toggler:focus {
    /* From user's CSS */
    box-shadow: none;
    outline: none;
  }

  .navbar-toggler-icon {
    /* From user's CSS */
    width: 1.5em;
    height: 1.5em;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden; /* Added from user's CSS */
  color: white; /* Added from user's CSS */
  padding: 0; /* Added from user's CSS */
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Matched user's CSS */
  z-index: 1;
}

.z-index-1 {
  position: relative; /* Added from user's CSS */
  z-index: 2; /* Matched user's CSS */
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-btn {
  /* From user's CSS */
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.hero-btn:hover {
  /* From user's CSS */
  background-color: var(--axo-green);
  color: white;
  border-color: var(--axo-green);
}

/* Mobile Hero adjustments */
@media (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  }

  .hero-section .container {
    padding: 0 1rem;
  }

  .hero-section h1 {
    margin-bottom: 1.5rem;
  }

  .hero-section .lead {
    margin-bottom: 2rem;
  }
}

/* Hero text animation */
.hero-text {
  display: inline-block;
  min-height: 60px; /* From user's CSS */
}

.hero-text-animation {
  /* From user's CSS */
  animation: fadeInOut 0.5s ease-in-out;
}

@keyframes fadeInOut {
  /* From user's CSS */
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon circles */
.icon-circle {
  width: 3rem; /* Matched user's CSS */
  height: 3rem; /* Matched user's CSS */
  border-radius: 50%;
  background-color: rgba(138, 198, 71, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem; /* Matched user's CSS */
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.icon-circle i,
.icon-circle svg {
  /* Added svg from user's CSS */
  font-size: 1.25rem; /* Matched user's CSS */
  color: var(--axo-green);
  transition: all 0.3s ease;
}

.icon-circle:hover {
  background-color: var(--axo-green);
  transform: scale(1.1); /* Matched user's CSS */
  box-shadow: 0 5px 15px rgba(138, 198, 71, 0.3); /* Matched user's CSS */
}

.icon-circle:hover i,
.icon-circle:hover svg {
  /* Added svg from user's CSS */
  color: white;
  transform: scale(1.1); /* Added from user's CSS */
}

/* Mobile icon adjustments */
@media (max-width: 767px) {
  .icon-circle {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .icon-circle i {
    font-size: 1.5rem;
  }
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Matched user's CSS */
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px); /* Matched user's CSS */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important; /* Matched user's CSS */
}

.card-body {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.card-footer {
  padding: 1rem 2rem;
  background-color: var(--axo-light); /* Added from user's CSS */
  border-top: none; /* Added from user's CSS */
}

/* Mobile card adjustments */
@media (max-width: 767px) {
  .card-body {
    padding: 1.5rem;
  }

  .card-footer {
    padding: 1rem 1.5rem;
  }

  .card:hover {
    transform: translateY(-4px);
  }
}

/* Sections */
section {
  padding: 5rem 0;
  max-width: 100vw; /* Added from user's CSS */
  overflow-x: hidden; /* Added from user's CSS */
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
}

/* Badge section */
.badge-section {
  background-color: #f8f9fa; /* Matched user's CSS */
  position: relative; /* Added from user's CSS */
}

.badge-section .bi-shield-check {
  /* From user's CSS */
  transition: all 0.3s ease;
}

.badge-section .position-relative:hover .bi-shield-check {
  /* From user's CSS */
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(138, 198, 71, 0.6));
  color: var(--axo-green-hover) !important;
  animation: shieldPulse 1.5s infinite;
}

@keyframes shieldPulse {
  /* From user's CSS */
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(138, 198, 71, 0.8));
  }
  100% {
    transform: scale(1.1);
  }
}

/* Mobile badge section */
@media (max-width: 767px) {
  .badge-section .col-md-6:first-child {
    margin-bottom: 2rem;
  }

  .badge-section .position-relative {
    width: 200px !important;
    height: 200px !important;
  }

  .badge-section i {
    font-size: 4rem !important;
  }
}

/* Verified Products Logo Scroll */
.logo-scroll-container {
  width: 100%;
  overflow-x: hidden; /* Matched user's CSS */
  position: relative;
  padding: 20px 0 140px; /* Matched user's CSS */
}

.logo-scroll {
  display: flex;
  animation: scroll 30s linear infinite;
  width: fit-content; /* Matched user's CSS */
}

.logo-item {
  flex: 0 0 auto; /* Matched user's CSS */
  margin: 0 40px; /* Matched user's CSS */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px; /* Matched user's CSS */
  height: 100px; /* Matched user's CSS */
}

.logo-link {
  display: flex; /* Matched user's CSS */
  align-items: center; /* Matched user's CSS */
  justify-content: center; /* Matched user's CSS */
  text-decoration: none;
  position: relative;
  width: 100%; /* Matched user's CSS */
  height: 100%; /* Matched user's CSS */
  padding: 10px; /* Matched user's CSS */
  border-radius: 8px; /* Matched user's CSS */
  overflow: hidden; /* Matched user's CSS */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Matched user's CSS */
  z-index: 1; /* Matched user's CSS */
}

.logo-link::before {
  /* From user's CSS */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(138, 198, 71, 0.05);
  transform: scale(0.8);
  opacity: 0;
  border-radius: 8px;
  transition: all 0.4s ease;
  z-index: -1;
}

.logo-link:hover {
  /* From user's CSS */
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(138, 198, 71, 0.2);
}

.logo-link:hover::before {
  /* From user's CSS */
  transform: scale(1);
  opacity: 1;
}

.logo-link:hover .product-logo {
  /* From user's CSS */
  filter: grayscale(0%);
  animation: pulse 1s ease;
}

@keyframes pulse {
  /* From user's CSS */
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.product-logo {
  max-height: 80px;
  width: auto;
  max-width: 160px; /* Matched user's CSS */
  height: auto; /* Added from user's CSS */
  object-fit: contain;
  filter: grayscale(30%); /* Matched user's CSS */
  transition: all 0.4s ease; /* Matched user's CSS */
  will-change: transform, filter; /* Added from user's CSS */
}

.verified-badge {
  position: absolute;
  top: -8px; /* Matched user's CSS */
  right: -8px; /* Matched user's CSS */
  background-color: var(--axo-green);
  color: white;
  width: 24px; /* Matched user's CSS */
  height: 24px; /* Matched user's CSS */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px; /* Matched user's CSS */
  transform: scale(0); /* Added from user's CSS */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Added from user's CSS */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Added from user's CSS */
  z-index: 2; /* Added from user's CSS */
}

.logo-link:hover .verified-badge {
  /* From user's CSS */
  transform: scale(1);
  animation: popIn 0.4s forwards;
}

@keyframes popIn {
  /* From user's CSS */
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.logo-tooltip {
  position: absolute;
  bottom: -120px; /* Matched user's CSS */
  left: 50%;
  transform: translateX(-50%) scale(0.9); /* Matched user's CSS */
  background-color: white; /* Matched user's CSS */
  color: #333; /* Matched user's CSS */
  padding: 12px 15px; /* Matched user's CSS */
  border-radius: 6px; /* Matched user's CSS */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Matched user's CSS */
  width: 220px; /* Matched user's CSS */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Matched user's CSS */
  z-index: 100; /* Matched user's CSS */
  text-align: center; /* Added from user's CSS */
  pointer-events: none; /* Added from user's CSS */
  border-left: 3px solid var(--axo-green); /* Added from user's CSS */
}

.logo-tooltip::after {
  /* From user's CSS */
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background-color: white;
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.03);
}

.logo-tooltip h4 {
  margin: 0 0 5px; /* Matched user's CSS */
  color: var(--axo-green); /* Matched user's CSS */
  font-size: 14px; /* Matched user's CSS */
  font-weight: 600; /* Matched user's CSS */
}

.logo-tooltip p {
  margin: 0;
  font-size: 12px; /* Matched user's CSS */
  line-height: 1.4; /* Matched user's CSS */
  color: #666; /* Added from user's CSS */
}

.logo-link:hover .logo-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1); /* Matched user's CSS */
  transition-delay: 0.2s; /* Added from user's CSS */
}

.logo-link::after {
  /* From user's CSS */
  content: "Visit Website";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--axo-green);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 101;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 2)); /* Matched user's CSS */
  }
}

.logo-scroll-container:hover .logo-scroll {
  /* From user's CSS */
  animation-play-state: paused;
}

/* Mobile logo scroll adjustments */
@media (max-width: 767px) {
  .logo-item {
    margin: 0 20px; /* Matched user's CSS */
    width: 140px; /* Matched user's CSS */
    height: 80px; /* Matched user's CSS */
  }

  .product-logo {
    max-height: 60px; /* Matched user's CSS */
    max-width: 120px; /* Matched user's CSS */
  }

  .logo-tooltip {
    width: 180px; /* Matched user's CSS */
    bottom: -130px; /* Matched user's CSS */
  }

  .logo-tooltip h4 {
    font-size: 13px; /* Matched user's CSS */
  }

  .logo-tooltip p {
    font-size: 11px; /* Matched user's CSS */
  }
}

/* Contact section */
.contact-icon {
  font-size: 1.25rem;
  transition: all 0.3s ease; /* Added from user's CSS */
}

.contact-icon:hover {
  /* From user's CSS */
  color: var(--axo-green);
  transform: scale(1.2);
}

/* Mobile contact adjustments */
@media (max-width: 767px) {
  .contact-icon {
    font-size: 1.1rem;
  }

  #contact .col-lg-6:first-child {
    margin-bottom: 2rem;
  }

  #contact .ps-lg-4 {
    padding-left: 0 !important;
  }
}

/* Footer */
footer {
  background-color: var(--axo-dark) !important;
  max-width: 100vw; /* Added from user's CSS */
  overflow-x: hidden; /* Added from user's CSS */
}

.footer-link {
  color: rgba(255, 255, 255, 0.8); /* Matched user's CSS */
  transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link:focus {
  /* Added :focus from user's CSS */
  color: var(--axo-green);
  text-decoration: none; /* Added from user's CSS */
}

footer .btn-axo-primary {
  /* From user's CSS */
  background-color: var(--axo-green);
  color: var(--white);
  border: 2px solid var(--axo-green);
}

footer .btn-axo-primary:hover {
  /* From user's CSS */
  background-color: transparent;
  color: var(--axo-green);
}

/* Mobile footer adjustments */
@media (max-width: 767px) {
  footer .col-lg-3,
  footer .col-lg-6 {
    margin-bottom: 2rem;
  }

  footer .row.g-2 .col-sm-8,
  footer .row.g-2 .col-sm-4 {
    margin-bottom: 0.5rem;
  }

  footer .col-sm-4 .btn {
    width: 100%;
  }
}

/* Social icons */
.social-icons a {
  transition: all 0.3s ease;
  margin-right: 15px; /* Added from user's CSS */
  display: inline-flex; /* Added from user's CSS */
  align-items: center; /* Added from user's CSS */
  justify-content: center; /* Added from user's CSS */
}

.social-icons a:hover {
  transform: translateY(-3px) scale(1.1); /* Matched user's CSS */
}

.social-icons a:hover i {
  /* From user's CSS */
  color: var(--axo-green-hover);
}

/* Text utilities */
.text-axo-green {
  color: var(--axo-green) !important;
}

/* Form styles */
.form-control:focus {
  border-color: var(--axo-green);
  box-shadow: 0 0 0 0.2rem rgba(138, 198, 71, 0.25);
}

.form-select:focus {
  border-color: var(--axo-green);
  box-shadow: 0 0 0 0.2rem rgba(138, 198, 71, 0.25);
}

/* Mobile form adjustments */
@media (max-width: 767px) {
  .form-control,
  .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .btn-lg.w-100 {
    padding: 15px;
    font-size: 1.1rem;
  }
}

/* Responsive utilities */
@media (max-width: 575px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .col,
  [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for overflow issues */
.overflow-hidden {
  overflow: hidden !important;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logo-scroll {
    animation: none;
  }
}

/* Focus states for better accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--axo-green);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 1px solid #000;
  }

  .btn-axo-primary {
    border: 2px solid #000;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-section,
  footer {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .container {
    max-width: none;
    padding: 0;
  }
}

/* Styles from user's CSS for background images */
#training,
#outsourcing,
#verified-products {
  background-image: url("images/Tanining-Outsource-BG.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

#training::before,
#outsourcing::before,
#verified-products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

#training .container,
#outsourcing .container,
#verified-products .container {
  position: relative;
  z-index: 1;
}

#training.bg-light,
#outsourcing.bg-light,
#verified-products.bg-light {
  background-color: transparent !important;
}

/* Styles from user's CSS for services page background */
.services-bg-section {
  background-image: url("images/Tanining-Outsource-BG.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.services-bg-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.services-bg-section .container {
  position: relative;
  z-index: 1;
}

/* Ensure all containers respect viewport width (from user's CSS) */
.container {
  max-width: 100%; /* This was already present, ensuring it's kept */
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Fix potential issues with absolute positioned elements (from user's CSS) */
.position-absolute {
  max-width: 100%;
}

/* Fix potential issues with the hero section (from user's CSS) */
.hero-section {
  max-width: 100vw;
  /* overflow-x: hidden; This was already present */
}
