:root {
  --section-gap: 7rem;
}
* {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400px;
  font-style: normal;
}
section {
  margin: 0 0 var(--section-gap) 0;
}
.ls {
  letter-spacing: 0.1rem;
}
.bg-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

form {
  margin: auto;
  padding: 1em;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
input,
textarea {
  width: 100%;
  padding: 0.8em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.carousel-item {
  position: relative;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.carousel-caption {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.carousel-caption h2,
.carousel-caption p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-content {
  padding: 20px;
}
.card-content h3 {
  margin-top: 0;
}

.card-content p {
  color: #555;
  margin-bottom: 15px;
}

.card-content a {
  display: inline-block;
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.card-content a:hover {
  background-color: #0056b3;
}

/* ...existing code... */

.about_us .bg-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 12; /* Modern browsers support this */
  min-height: 200px; /* Fallback for very small screens */
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.about_us .bg-image > .d-flex {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  padding: 1.5rem 0;
  justify-content: center;
}

.gradient-bg {
  background: #833ab4;
  background: linear-gradient(
    90deg,
    rgba(131, 58, 180, 1) 0%,
    rgba(253, 29, 29, 1) 50%,
    rgba(252, 176, 69, 1) 100%
  );
}

.gradient-text {
      background: linear-gradient(
        to right,
        rgba(131, 58, 180, 1) 0%,
        rgba(253, 29, 29, 1) 50%,
        rgba(252, 176, 69, 1) 100%
      );
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text; /* For Firefox */
      color: transparent;
    }

.business .business-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* Adjust opacity as needed */
  z-index: 1;
  border-radius: inherit;
}

.business .container > *:not(.business-overlay) {
  position: relative;
  z-index: 2;
}
.business .container-fluid,
.business .container-fluid .text-center,
.business .container-fluid .row,
.business .container-fluid .col-md-8 {
  color: #fff;
}

.process-cards .card {
  width: 18rem;
  height: 250px;
}
@media screen and (max-width: 768px) {
  .process-cards .card {
    width: 100%;
    height: 100%;
    margin-block: 1rem;
  }
}

/* --------- */
.section-heading {
  font-weight: 600;
  color: #003366;
}
.lead {
  color: #666;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.section-subheading {
  font-size: 1.25rem;
  color: #555;
}
.bg-light-blue {
  background-color: #f5f9ff;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.icon-box {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}
.hero {
  background: #ffffff;
  padding: 60px 0;
}
.section-padding {
  padding: 60px 0;
}

.highlight {
  color: #0056b3;
  font-weight: 600;
}
.premium-section {
  padding: 60px 0;
}
.premium-heading {
  font-size: 2.5rem;
  font-weight: bold;
}

/* Apply only to top-level nav links inside navbar-nav (not dropdown items) */
.navbar-nav > .nav-item > .nav-link {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.navbar-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 0%;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.navbar-nav > .nav-item > .nav-link:hover::after,
.navbar-nav > .nav-item > .nav-link:focus::after {
  width: 100%;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
}

.client-card {
  background-color: #003366;
  color: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.achievement-text {
      max-width: 900px;
      margin: 0 auto 50px auto;
      font-size: 1.1rem;
      line-height: 1.7;
      text-align: center;
    }

    .achievement-card {
      background-color: white;
      padding: 30px 20px;
      border-radius: 15px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
      text-align: center;
      transition: all 0.3s ease;
    }

    .achievement-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

    .achievement-icon {
      font-size: 2.5rem;
      color: #006699;
      margin-bottom: 15px;
    }

    .achievement-title {
      font-size: 1.25rem;
      font-weight: 600;
    }

    .achievement-desc {
      font-size: 0.95rem;
      margin-top: 10px;
      color: #666;
    }
    
  /* Stagger effect */
.stagger-menu li { opacity:0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.dropdown-menu.show li { opacity:1; transform: translateY(0); }
.dropdown-menu.show li:nth-child(1){transition-delay:.1s;} 
.dropdown-menu.show li:nth-child(2){transition-delay:.2s;} 
.dropdown-menu.show li:nth-child(3){transition-delay:.3s;} 
.dropdown-menu.show li:nth-child(4){transition-delay:.4s;} 


    
