/* ========================================
   RESET & BASE STYLES
======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root Variables */
:root {
  /* Colors */
  --primary-color: #174f9f;
  --primary-light: #5d84bc;
  --primary-dark: #0e2f5f;
  --primary-ultra-light: #e8edf5;
  --accent-color: #9f6717;
  --accent-dark: #8f5d14;
  --accent-light: #b07a2a;
  --text-color: #333;
  --bg-color: #fff;

  /* Typography */
  --font-base: "Poppins", sans-serif;
  --font-size-base: 16px;

  /* Spacing */
  --container-padding: 1rem;
  --section-spacing: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-speed: 0.3s; /* Define a basic speed if needed */
  --transition-function: cubic-bezier(0.4, 0, 0.2, 1); /* Fallback easing */
}

/* Base Styles */
body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-fast);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header .navbar-brand img {
  max-height: 45px;
  width: auto;
  transition: transform var(--transition-speed) var(--transition-function);
}
.header .navbar-brand:hover img {
  transform: scale(1.05);
}

.header .navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header .nav-item {
  margin: 0 15px;
  position: relative;
}

.header .nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 5px 3px;
  position: relative;
  transition: color var(--transition-fast);
}
.header .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: width var(--transition-speed) var(--transition-function);
}
.header .nav-link:hover {
  color: var(--primary-color);
}
.header .nav-link:hover::after {
  width: 100%;
}

.header .header-actions {
  display: flex;
  align-items: center;
}
.header .header-actions .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  margin-left: 10px;
}

/* Outline and Danger Button Overrides */
/* Note: For darken() functionality consider using a CSS preprocessor like Sass */
.header .btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: transparent;
}
.header .btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Mobile Menu */
.navbar-toggler {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}
.navbar-toggler:hover {
  background-color: rgba(23, 79, 159, 0.1);
}
.navbar-toggler-icon {
  position: relative;
  width: 24px;
  height: 24px;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon i {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  left: 0;
  transition: all var(--transition-speed) var(--transition-function);
}
.navbar-toggler-icon::before {
  top: 6px;
}
.navbar-toggler-icon::after {
  bottom: 6px;
}
.navbar-toggler-icon i {
  top: 50%;
  transform: translateY(-50%);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
  top: 11px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
  bottom: 11px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon i {
  opacity: 0;
}

/* Mobile Navbar */
#mobileNavbar {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 15px 15px;
  border-top: 1px solid var(--border-light);
}
#mobile-primary-nav {
  list-style: none;
  padding-left: 0;
}
#mobile-primary-nav .nav-item {
  border-bottom: 1px solid var(--border-light);
}
#mobile-primary-nav .nav-item:last-child {
  border-bottom: none;
}
#mobile-primary-nav .nav-link {
  display: block;
  padding: 12px 15px;
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  border-radius: 4px;
}
#mobile-primary-nav .nav-link:hover {
  background-color: var(--primary-ultra-light);
  color: var(--primary-color);
  padding-left: 20px;
}
#mobile-primary-nav .nav-link.active {
  background-color: var(--primary-ultra-light);
  color: var(--primary-color);
  padding-left: 20px;
}

/* ========================================
    HERO SECTION
    ======================================== */
#hero {
  padding: 9rem 0 6rem;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(155deg, #fff 0%, var(--primary-ultra-light) 100%);
  background-image: radial-gradient(
      circle at 15% 20%,
      rgba(23, 79, 159, 0.08) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(23, 79, 159, 0.07) 0%,
      rgba(255, 255, 255, 0) 60%
    );
  border-bottom: 1px solid var(--border-light);
  margin-top: 0;
  position: relative;
}

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

#hero .container {
  position: relative;
  z-index: 10;
}

#hero h1 {
  font-size: 3.75rem;
  line-height: 1.1;
  margin-bottom: 1.8rem;
  color: var(--dark-color);
  animation: fadeInDown 1s ease-out;
}

#hero h1 span {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  z-index: 1;
}

#hero h1 span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 30%;
  background-color: rgba(23, 79, 159, 0.15);
  bottom: 5px;
  left: 0;
  z-index: -1;
  transform: skewX(-5deg);
}

#hero p.lead {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
  color: var(--text-color);
  line-height: 1.6;
}

#hero .hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.4s;
  animation-fill-mode: both;
  margin-bottom: 1rem;
}

#hero .btn {
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 5px 18px rgba(23, 79, 159, 0.28);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

#hero .btn:hover::before {
  left: 100%;
}

#hero .btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border: none;
  color: white;
}

#hero .btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

#hero .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(23, 79, 159, 0.4);
}

#hero .btn i {
  position: relative;
  z-index: 2;
}

/* Hero Stats Section */
.hero-stats {
  margin-top: 2.5rem;
  animation: fadeInUp 1.2s ease-out 0.6s;
  animation-fill-mode: both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(23, 79, 159, 0.15);
  background-color: white;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

/* Hero Image and Badge */
.hero-image-container {
  position: relative;
  padding: 20px;
  animation: fadeIn 1.5s ease-out;
}

.hero-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(23, 79, 159, 0.2));
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
  animation: float 8s ease-in-out infinite alternate;
}

.hero-badge {
  position: absolute;
  bottom: 10%;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(23, 79, 159, 0.3);
  animation: slideInRight 1.2s ease-out 0.8s;
  animation-fill-mode: both;
  max-width: 300px;
  transform: translateX(30px);
}

.badge-icon {
  background-color: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  font-size: 1rem;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Hero Shapes */
.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  background-color: var(--primary-ultra-light);
  border-radius: 50%;
}

.hero-shape:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 8%;
  opacity: 0.5;
  animation: float 12s infinite alternate;
}

.hero-shape:nth-child(2) {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 15%;
  opacity: 0.4;
  animation: float 9s 1s infinite alternate;
}

.hero-shape:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 10%;
  opacity: 0.3;
  animation: float 7s 0.5s infinite alternate;
}

.hero-shape.shape-4 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 20%;
  opacity: 0.2;
  animation: float 15s 1.2s infinite alternate;
  background-color: rgba(159, 103, 23, 0.1); /* accent color with low opacity */
}

.hero-shape.shape-5 {
  width: 40px;
  height: 40px;
  top: 40%;
  left: 25%;
  opacity: 0.25;
  animation: float 6s 0.7s infinite alternate;
  background-color: rgba(
    159,
    103,
    23,
    0.15
  ); /* accent color with low opacity */
}

/* Hero Graphic */
#hero .hero-graphic {
  position: absolute;
  top: 60%;
  right: 4%;
  transform: translateY(-50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(
    circle at center,
    rgba(23, 79, 159, 0.25) 0%,
    rgba(93, 132, 188, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
  animation: pulse 10s infinite alternate;
  backdrop-filter: blur(40px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-radius: 50%;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.scroll-indicator a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(23, 79, 159, 0.2);
}

/* New Animation Keyframes */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(30px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* Improved responsive behavior */
@media (max-width: 1200px) {
  #hero {
    padding: 7rem 0 5rem;
  }

  #hero h1 {
    font-size: 3.2rem;
  }

  #hero .hero-graphic {
    width: 400px;
    height: 400px;
    right: 2%;
  }
}

@media (max-width: 992px) {
  #hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }

  #hero h1 {
    font-size: 2.8rem;
  }

  #hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #hero .hero-buttons {
    justify-content: center;
  }

  #hero .hero-graphic {
    width: 350px;
    height: 350px;
    opacity: 0.5;
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 5rem 0 4rem;
  }

  #hero h1 {
    font-size: 2.4rem;
  }

  #hero p.lead {
    font-size: 1.2rem;
    padding: 0 5%;
  }

  .hero-stat {
    padding: 0.5rem 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  #hero .hero-graphic {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 576px) {
  #hero {
    padding: 4rem 0 3rem;
  }

  #hero h1 {
    font-size: 2.1rem;
  }

  #hero p.lead {
    font-size: 1.1rem;
  }

  #hero .btn {
    width: 100%;
    margin-bottom: 1rem;
    padding: 12px 20px;
  }

  #hero .hero-buttons {
    flex-direction: column;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: space-around;
    width: 100%;
  }

  .hero-stat {
    padding: 0.4rem 0.8rem;
    margin: 0 0.3rem 0.6rem;
  }

  .scroll-indicator {
    bottom: 15px;
  }
}

/* ==============================
       Carousel Layout
    =============================== */
    .cards-carousel-container {
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
      margin: 2rem 0;
    }
    /* Arrow Controls – hidden by default, appear on hover */
    .carousel-control {
      background: rgba(0, 0, 0, 0.5);
      border: none;
      color: #fff;
      font-size: 1.5rem;
      padding: 0.5rem 1rem;
      cursor: pointer;
      transition: background 0.3s ease;
      opacity: 0;
      pointer-events: none;
      position: absolute;
      z-index: 10;
    }
    .carousel-control:hover {
      background: rgba(0, 0, 0, 0.7);
    }
    /* Show arrows when hovering over container on devices that support hover */
    @media (hover: hover) {
      .cards-carousel-container:hover .carousel-control {
        opacity: 1;
        pointer-events: auto;
      }
    }
    .carousel-control.prev {
      left: 0.5rem;
    }
    .carousel-control.next {
      right: 0.5rem;
    }

    /* The scrollable wrapper – using scroll-snap for smooth, natural scrolling */
    .cards-track-wrapper {
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      width: 100%;
      margin: 0 3rem;
    }
    .cards-track-wrapper::-webkit-scrollbar {
      display: none;
    }
    /* The track that holds all cards */
    .cards-track {
      display: flex;
      gap: 2rem;
      transition: transform 0.4s ease;
    }

    /* ==============================
       Client Card Styles
    =============================== */
    .client-card {
      flex: 0 0 auto;
      width: 300px;
      scroll-snap-align: center;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .client-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    }
    .client-logo {
      padding: 1rem;
      max-width: 150px;
      margin: 0 auto;
    }
    .client-logo img {
      width: 100%;
      display: block;
      object-fit: contain;
      filter: grayscale(100%);
      transition: filter 0.3s ease;
    }
    .client-logo img:hover {
      filter: grayscale(0%);
    }
    .client-card-body {
      padding: 1rem;
    }
    .client-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #212529;
    }
    .client-description {
      font-size: 0.9rem;
      color: #6c757d;
      line-height: 1.4;
    }

    /* ==============================
       Responsive Adjustments
    =============================== */
    @media (max-width: 576px) {
      .client-card {
        width: 220px;
      }
    }



/***************************************
  FEATURES SECTION
***************************************/
.features-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 4rem;
}

.features-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(23, 79, 159, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

/* Container for each feature card */
.feature-card {
  position: relative;
  width: 100%;
  height: 320px; /* Ensures consistent height */
  perspective: 1000px; /* 3D space for flip */
  transition: transform 0.4s ease;
  overflow: visible;
}

/* Flip Container (front & back) */
.feature-card-front,
.feature-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hide backface on flip */
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-sm, 0 2px 5px rgba(0, 0, 0, 0.1));
  background-color: #fff;
  padding: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* FRONT */
.feature-card-front {
  z-index: 2;
  transform: rotateY(0deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* BACK */
.feature-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f8f9fa;
}

/* Hover or click to flip - optional approach */
.feature-card:hover .feature-card-front {
  transform: rotateY(-180deg);
}
.feature-card:hover .feature-card-back {
  transform: rotateY(0deg);
  z-index: 3;
}

/* Icon & Title */
.feature-icon {
  font-size: 2rem;
  color: var(--primary, #0d6efd);
  margin-bottom: 1rem;
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-brief {
  color: var(--text-color, #6c757d);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Flip Indicator */
.flip-indicator {
  font-size: 0.85rem;
  color: var(--text-light, #a5a9ad);
  margin-top: auto;
  display: inline-block;
}

/* BACK SIDE DETAILS */
.feature-details {
  margin-bottom: 1rem;
}
.feature-detail-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.feature-detail-list {
  list-style: none;
  padding-left: 1.2rem;
  margin: 0;
}
.feature-detail-list li {
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--dark-color, #212529);
}
.feature-detail-list li::before {
  content: "✓";
  color: var(--primary, #0d6efd);
  position: absolute;
  left: -1.2rem;
}

/* ACTION BUTTON */
.feature-action .btn {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .feature-card {
    height: auto;
    margin-bottom: 1rem;
  }
  .feature-card-front,
  .feature-card-back {
    position: relative;
    transform: none;
    box-shadow: none;
  }
  .feature-card:hover .feature-card-front,
  .feature-card:hover .feature-card-back {
    transform: none;
  }
  .flip-indicator {
    display: none; /* On small screens, just show all content */
  }
}

/* ========================================
   WHAT WE DO SECTION - Service Overview
======================================== */

/* Container & Section Layout */
.what-we-do-section {
  padding: 4rem 0;
  background: var(--neutral-light, #f8f9fa);
}

/* Section Header */
.section-header {
  margin-bottom: 2rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary, #0d6efd);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-headings, "Poppins", sans-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--neutral-dark, #1f252b);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--neutral-medium, #6c757d);
  max-width: 700px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background-color: var(--neutral-light, #fff);
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary, linear-gradient(90deg, #0d6efd, #1a5bff));
  border-radius: 50%;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.5s ease;
}
.service-card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
}
.service-title {
  font-family: var(--font-headings, "Poppins", sans-serif);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 0.5rem;
  color: var(--neutral-dark, #1f252b);
}
.service-text {
  font-size: 1rem;
  color: var(--neutral-medium, #6c757d);
  margin-bottom: 1rem;
}

/* Features Reveal */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}
.service-card:hover .service-features {
  max-height: 200px;
  opacity: 1;
}
.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--neutral-dark, #1f252b);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-features li {
  opacity: 1;
  transform: translateX(0);
}
/* Staggered Delay */
.service-card:hover .service-features li:nth-child(1) {
  transition-delay: 0.1s;
}
.service-card:hover .service-features li:nth-child(2) {
  transition-delay: 0.2s;
}
.service-card:hover .service-features li:nth-child(3) {
  transition-delay: 0.3s;
}

/* Checkmark Icon for Each Feature */
.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary, #0d6efd);
  font-weight: bold;
}

/* Animated Border on Hover */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary, linear-gradient(90deg, #0d6efd, #1a5bff));
  transition: width 0.3s ease;
}
.service-card:hover::after {
  width: 100%;
}

/* Stats Section */
.stats-row {
  margin-top: 4rem;
}
.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat-card {
  text-align: center;
  padding: 1rem;
  min-width: 150px;
}
.stat-number {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--accent, #ff6b6b);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat-number.animate {
  opacity: 1;
  transform: translateY(0);
}
.stat-label {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--neutral-medium, #6c757d);
  margin-top: 0.25rem;
}

/* CTA Content */
.cta-content h3 {
  font-size: 1.75rem;
  color: var(--neutral-dark, #1f252b);
}
.cta-content p {
  color: var(--neutral-medium, #6c757d);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .what-we-do-section {
    padding: 2rem 0;
  }
  .service-card {
    padding: 1rem;
  }
  /* Always show features on smaller screens */
  .service-features {
    max-height: 200px;
    opacity: 1;
  }
  .service-features li {
    opacity: 1;
    transform: translateX(0);
  }
  .stats-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ----------------------------------------
       CLIENT CARDS SECTION
    ---------------------------------------- */
.clients-section {
  padding: 4rem 0;
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

/* ----------------------------------------
       CAROUSEL LAYOUT
    ---------------------------------------- */
.cards-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden; /* Hide overflow for a clean design */
}
/* Hide arrow controls by default; show on hover (desktop) */
.carousel-control {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .cards-carousel-container:hover .carousel-control {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Arrow Controls */

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.carousel-control.prev {
  left: 0.5rem;
}
.carousel-control.next {
  right: 0.5rem;
}

/* Scrollable Wrapper: hide scrollbar, keep snapping */
.cards-track-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 0 2.5rem;
}
/* Hide scrollbar across browsers */
.cards-track-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, etc. */
}

/* Horizontal Track */
.cards-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.4s ease;
}

/* Single Card: wider for better readability */
.client-card {
  flex: 0 0 auto;
  width: 300px; /* increased width */
  scroll-snap-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* Logo */
.client-logo {
  margin: 0 auto;
  max-width: 150px;
  padding-top: 1rem;
}
.client-logo img {
  width: 100%;
  display: block;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.client-logo img:hover {
  filter: grayscale(0%);
}

/* Card Body */
.client-card-body {
  padding: 1rem;
}
.client-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #212529;
}
.client-description {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .client-card {
    width: 220px;
  }
  .carousel-control {
    font-size: 1.1rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Pricing Section Base */
.pricing-section {
  position: relative;
  background: #f8f9fa;
  padding: 4rem 1rem;
  overflow: hidden;
}

/* Decorative Background Gradient */
.pricing-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200px;
  background: radial-gradient(ellipse at center, var(--primary-ultra-light, #e8edf5) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Section Header */
.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.section-header .lead {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-light, #6c757d);
  position: relative;
  z-index: 2;
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
  z-index: 2;
  position: relative;
}
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  outline: none;
}
.pricing-toggle:focus {
  box-shadow: 0 0 0 3px rgba(13,110,253,0.5);
}
.pricing-toggle-label {
  font-weight: 600;
  color: var(--text-color, #333);
  transition: color 0.3s ease;
}
.pricing-toggle-label.active {
  color: var(--primary-color, #0d6efd);
}
.toggle-switch {
  position: relative;
  width: 60px;
  height: 30px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-color, #0d6efd), var(--primary-dark, #0a58ca));
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}
.toggle-switch::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toggle-switch.yearly::before {
  transform: translateX(30px);
}

/* Pricing Plans Layout */
.pricing-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

/* Pricing Card */
.pricing-card {
  flex: 1 1 300px;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  border: 1px solid var(--border-light, #dee2e6);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl, 0 12px 32px rgba(0, 0, 0, 0.15));
  border-color: var(--primary-light, #5d84bc);
}

/* Featured Card */
.pricing-card.featured {
  transform: scale(1.02);
  border-color: var(--accent-color, #9f6717);
  position: relative;
}
.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-color, #0d6efd), var(--primary-dark, #0a58ca));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.pricing-badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: var(--accent-color, #9f6717);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 45px;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(159, 103, 23, 0.3);
  z-index: 10;
}

/* Card Header */
.pricing-card-header {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color, #0d6efd);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: transform 0.4s ease;
}
.pricing-card:hover .pricing-price {
  transform: scale(1.1);
}
.pricing-period {
  color: var(--text-light, #6c757d);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

/* Card Body */
.pricing-card-body {
  padding: 1.5rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}
.pricing-card:hover .pricing-features li:hover {
  transform: translateX(5px);
  color: var(--primary-dark, #0a2f5f);
}
.pricing-features li i {
  color: var(--primary-color, #0d6efd);
  font-size: 1.1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Action Button */
.pricing-action .btn {
  width: 100%;
  padding: 12px 20px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-action .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(23, 79, 159, 0.15);
}

/* Pricing Notes */
.pricing-notes {
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.08));
  padding: 1.5rem;
  border: 1px solid var(--border-light, #dee2e6);
  position: relative;
  z-index: 2;
}
.pricing-notes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color, #0d6efd), var(--primary-dark, #0a58ca));
}

/* FAQs (Accordion) */
.pricing-faqs {
  margin-bottom: 2rem;
  z-index: 2;
  position: relative;
}
.pricing-faq-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--primary-dark, #0a2f5f);
  font-weight: 700;
}
.accordion-item {
  border: 1px solid var(--border-light, #dee2e6);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.08));
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-item:hover {
  box-shadow: var(--shadow-xl, 0 12px 32px rgba(0,0,0,0.15));
  border-color: var(--primary-light, #5d84bc);
}
.accordion-button {
  background: #fff;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color, #333);
  padding: 1.2rem;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.3s ease;
}
.accordion-button:not(.collapsed) {
  background: var(--primary-ultra-light, #e8edf5);
  color: var(--primary-color, #0d6efd);
}
.accordion-body {
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .pricing-plans {
    gap: 1.5rem;
  }
  .pricing-card {
    flex: 1 1 280px;
  }
}
@media (max-width: 576px) {
  .pricing-toggle {
    flex-direction: column;
    gap: 0.5rem;
  }
  .pricing-card-header,
  .pricing-card-body {
    padding: 1.25rem;
  }
  .pricing-price {
    font-size: 2rem;
  }
  .pricing-notes .list-group-item {
    padding-left: 25px;
  }
}

/* ========================================
       FOOTER BASE STYLES
       ======================================== */
    :root {
      --primary-color: #174f9f;
      --primary-light: #5d84bc;
      --primary-dark: #0e2f5f;
      --primary-ultra-light: #e8edf5;
      --accent-color: #9f6717;
      --accent-dark: #8f5d14;
      --accent-light: #b07a2a;
      --text-color: #333;
      --bg-color: #fff;

      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --radius-circle: 50%;

      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
      --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);

      --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

      --gradient-primary: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-dark)
      );
    }

    body {
      margin: 0;
      font-family: "Poppins", sans-serif;
      line-height: 1.6;
      background-color: #f8f9fa;
      color: var(--text-color);
    }

    /* Keyframe for gradient flow (top border) */
    @keyframes gradientFlow {
      0% {
        background-position: 0% center;
      }
      50% {
        background-position: 100% center;
      }
      100% {
        background-position: 0% center;
      }
    }

    /* FOOTER */
    .footer {
      background: linear-gradient(150deg, #1a1e25 0%, #0e1319 100%);
      color: #f8f9fa;
      position: relative;
      overflow: hidden;
      padding: 5rem 0 2rem;
      margin-top: 3rem;
      font-size: clamp(0.9rem, 2vw, 1rem);
      z-index: 1;
    }
    .footer::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--accent-color),
        var(--primary-light)
      );
      background-size: 200% auto;
      animation: gradientFlow 6s ease infinite;
      z-index: 2;
    }
    .footer::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: radial-gradient(
          circle at 20% 30%,
          rgba(23, 79, 159, 0.15) 0%,
          transparent 50%
        ),
        radial-gradient(
          circle at 80% 70%,
          rgba(159, 103, 23, 0.1) 0%,
          transparent 50%
        );
      opacity: 0.4;
      z-index: -1;
    }
    .footer .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    .footer-content {
      display: flex;
      flex-wrap: nowrap;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 3rem;
      width: 100%;
    }
    .footer-column {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    /* Column Titles */
    .footer-column h4 {
      color: white;
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 0.75rem;
      display: inline-block;
    }
    .footer-column h4::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--primary-color);
      transition: width 0.3s ease;
    }
    .footer-column h4:hover::after {
      width: 100%;
    }

    /* Footer Nav Lists */
    .footer-nav {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-nav li {
      margin-bottom: 0.75rem;
      transition: transform 0.3s ease;
    }
    .footer-nav li:hover {
      transform: translateX(5px);
    }
    .footer-nav a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 0.3s ease;
      display: inline-block;
      position: relative;
    }
    .footer-nav a::before {
      content: "";
      position: absolute;
      bottom: -3px;
      left: 0;
      width: 0;
      height: 1px;
      background-color: var(--primary-light);
      transition: width 0.3s ease;
    }
    .footer-nav a:hover {
      color: white;
    }
    .footer-nav a:hover::before {
      width: 100%;
    }

    /* Contact Info */
    .contact-info {
      margin-bottom: 0.75rem;
      display: flex;
      align-items: flex-start;
    }
    .contact-info i {
      color: var(--primary-light);
      margin-right: 12px;
      font-size: 1.1rem;
      transform: translateY(3px);
    }
    .contact-info span {
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.5;
    }
    .contact-info span a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 0.3s ease;
    }
    .contact-info span a:hover {
      color: white;
    }

    /* Newsletter */
    .newsletter-form {
      position: relative;
      margin-top: 1.25rem;
    }
    .newsletter-form input {
      width: 100%;
      padding: 0.9rem 4.5rem 0.9rem 1.2rem;
      border-radius: var(--radius-md);
      background-color: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      transition: all 0.3s ease;
    }
    .newsletter-form input:focus {
      outline: none;
      background-color: rgba(255, 255, 255, 0.15);
      border-color: var(--primary-light);
      box-shadow: 0 0 0 3px rgba(23, 79, 159, 0.2);
    }
    .newsletter-form input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }
    .newsletter-form button {
      position: absolute;
      right: 4px;
      top: 4px;
      bottom: 4px;
      padding: 0 1.2rem;
      background: var(--gradient-primary);
      color: white;
      border: none;
      border-radius: calc(var(--radius-md) - 2px);
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .newsletter-form button:hover {
      filter: brightness(1.1);
      transform: translateX(-2px);
    }

    /* Social Icons */
    .social-icons {
      display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
    }
    .social-icon {
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      transition: all 0.3s var(--transition-bounce);
      text-decoration: none;
      position: relative;
    }
    .social-icon i {
      font-size: 1.1rem;
      transition: transform 0.3s ease;
    }
    .social-icon:hover {
      background-color: var(--primary-color);
      color: white;
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(23, 79, 159, 0.3);
    }
    .social-icon:hover i {
      transform: scale(1.1);
    }

    /* Footer Brand */
    .footer-brand {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .footer-logo {
      margin-bottom: 1.25rem;
      max-width: 160px;
      height: auto;
    }
    .footer-column p {
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 1.5rem;
      line-height: 1.7;
    }

    /* Footer Bottom */
    .footer-bottom {
      padding-top: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.875rem;
      gap: 1rem;
    }
    .copyright {
      margin: 0;
    }
    .legal-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
    .legal-links a {
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      transition: color 0.3s ease;
      position: relative;
    }
    .legal-links a:hover {
      color: white;
    }
    .legal-links a::after {
      content: "";
      position: absolute;
      bottom: -3px;
      left: 0;
      width: 0;
      height: 1px;
      background-color: white;
      transition: width 0.3s ease;
    }
    .legal-links a:hover::after {
      width: 100%;
    }

    /* Footer Badges */
    .footer-badges {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-top: 1rem;
      justify-content: flex-start;
    }
    .footer-badge {
      display: flex;
      align-items: center;
      padding: 0.5rem 1rem;
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: var(--radius-sm);
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.8);
      transition: all 0.3s ease;
    }
    .footer-badge:hover {
      background-color: rgba(255, 255, 255, 0.1);
      transform: translateY(-3px);
    }
    .footer-badge i {
      margin-right: 0.5rem;
      font-size: 1.1rem;
      color: var(--primary-light);
    }

    /* Back to Top Button */
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 44px;
      height: 44px;
      background: var(--gradient-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      border-radius: var(--radius-circle);
      cursor: pointer;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s var(--transition-bounce);
      opacity: 0;
      visibility: hidden;
      z-index: 999;
    }
    .back-to-top.show {
      opacity: 1;
      visibility: visible;
    }
    .back-to-top:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(23, 79, 159, 0.4);
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      align-items: center;
      justify-content: center;
      z-index: 1200;
    }
    .modal-content {
      background: #fff;
      border-radius: var(--radius-md);
      max-width: 600px;
      width: 90%;
      margin: 0 auto;
      padding: 1.5rem;
      position: relative;
    }
    .modal-header,
    .modal-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }
    .modal-header h3 {
      margin: 0;
      font-size: 1.2rem;
      color: var(--primary-dark);
    }
    .modal-body p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 1rem;
      color: #444;
    }
    .modal-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--primary-dark);
    }

    /* Responsive Footer Content */
    @media (max-width: 992px) {
      .footer-content {
        overflow-x: auto;
        padding-bottom: 1rem;
      }
      .footer-column {
        flex: 0 0 auto;
        min-width: 250px;
      }
    }