   *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   }
   
   body {font-family: 'Segoe UI', sans-serif;}
    .navbar-brand {color:#ff6600 !important; font-weight:600;}
    .btn-orange {background:#ff6600; color:#fff; border:none;}
    .btn-orange:hover {background:#e65c00; color:#fff;}
    .hero {background:#f9f9f9; padding:4rem 0;}
    .hero h1 {font-size:2.5rem; font-weight:700;}
    
    /* Responsive Typography */
    @media (max-width: 768px) {
        .hero h1 {font-size:1.8rem;}
        .hero {padding:2rem 0;}
    }
    
    @media (max-width: 576px) {
        .hero h1 {font-size:1.5rem;}
        .hero {padding:1.5rem 0;}
    }
    .search-box {background:#fff; padding:1rem; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,.08);}
    .card h5 {color:#ff6600; font-weight:600;}
    .gallery img {border-radius:10px;}
    .testimonial-card {background:#fff; padding:1.5rem; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,.08);}
    footer {background:#002244; color:#fff;}
    footer a {color:#fff; text-decoration:none;}
    footer a:hover {color:#ff6600;}

    .logo{
    background-image: url(logo_small.png);
    width: 120px;
    background-size: 100% 100%;
    height: 60px;
}
  
  
  .about-section {
      position: relative;
      padding: 4rem 0;
    }
    .about-img img {
      border-radius: 15px;
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    .about-card {
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      padding: 2rem;
      max-width: 800px;
      position: absolute;
      top: 50%;
      right: 5%;
      transform: translateY(-50%);
    }
    .about-card h3 {
      font-weight: 700;
      color: #0a1a3c;
    }
    .btn-orange {
      background-color:#2a88ad;
      border: none;
      color: #fff;
      padding: 0.6rem 1.2rem;
      border-radius: 8px;
    }
    .btn-orange:hover {
      background-color:#48b57f;
      color: #fff;
    }

    .marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #fff;
    padding: 20px 0;
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
  }
  .marquee-track img {
    margin: 0 40px;
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  .marquee-track img:hover {
    filter: grayscale(0);
  }
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* Responsive Marquee */
  @media (max-width: 768px) {
    .marquee-track img {
      margin: 0 20px;
      max-height: 50px;
    }
  }
  
  @media (max-width: 576px) {
    .marquee-track img {
      margin: 0 15px;
      max-height: 40px;
    }
  }


.subscribe-div{
    border-radius: 10px;
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), /* black overlay with 50% opacity */
    url("img/workers-examining-work.jpg") center/cover no-repeat;    padding: 94px;
    width: 70%;
    background-size: cover;
    box-shadow: 0px 0px 9px -1px;
}

/* Responsive Newsletter */
@media (max-width: 768px) {
  .subscribe-div {
    width: 90%;
    padding: 60px 40px;
  }
  .subscribe-div h2 {
    font-size: 1.8rem;
  }
  .subscribe-div p {
    font-size: 0.9rem;
  }
  .subscribe-div .newsletter-form {
    margin-left: 20px !important;
    margin-right: 20px !important;
    flex-direction: column;
    gap: 10px;
  }
  .subscribe-div .form-control {
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .subscribe-div {
    width: 95%;
    padding: 40px 20px;
  }
  .subscribe-div h2 {
    font-size: 1.5rem;
  }
  .subscribe-div p {
    font-size: 0.8rem;
  }
  .subscribe-div .newsletter-form {
    margin-left: 10px !important;
    margin-right: 10px !important;
    padding: 15px !important;
  }
}



.border-r-20px{
 border-radius: 20px;
}

.section-bg {
  background-image: url("wave.png"), linear-gradient(#49b67f54, #49b67f54);
  background-size: 100% 100%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat, no-repeat;
  color: #000;
}

.service-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #fff;
  }
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  .service-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f8f9fa;
    margin-bottom: 1rem;
  }
  
  /* Responsive Services */
  @media (max-width: 768px) {
    .service-card {
      padding: 1.5rem !important;
    }
    .service-card .icon {
      width: 60px;
      height: 60px;
    }
    .service-card .icon i {
      font-size: 1.5rem !important;
    }
  }
  
  @media (max-width: 576px) {
    .service-card {
      padding: 1rem !important;
    }
    .service-card .icon {
      width: 50px;
      height: 50px;
    }
    .service-card .icon i {
      font-size: 1.2rem !important;
    }
    .service-card h5 {
      font-size: 1rem;
    }
    .service-card p {
      font-size: 0.85rem;
    }
  }

    /* Responsive About Section */
    @media (max-width: 991px) {
      .about-card {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin-top: 1.5rem;
        max-width: 100%;
      }
      .about-section {
        padding: 2rem 0;
      }
    }
    
    @media (max-width: 768px) {
      .about-card {
        padding: 1.5rem;
        margin-top: 1rem;
      }
      .about-card h3 {
        font-size: 1.5rem;
      }
      .about-section {
        padding: 1.5rem 0;
      }
    }
    
    @media (max-width: 576px) {
      .about-card {
        padding: 1rem;
        margin-top: 0.5rem;
      }
      .about-card h3 {
        font-size: 1.3rem;
      }
      .about-card p {
        font-size: 0.9rem;
      }

      .social-logo-footer{
        justify-content: center;
      }
    }




  .stack__card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;

  position: sticky;
  top: 0;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1),
              0 -1px 2px rgba(0, 0, 0, 0.25);

  font-size: 3rem;
  color: #fff;
}

.stack__card:nth-child(1) {
  background-color: #2a88ad;
}

.stack__card:nth-child(2) {
  background-color: #48b57f;
}

.stack__card:nth-child(3) {
  background-color: #2a88ad;
}

.stack__card:nth-child(4) {
  background-color: #48b57f;
}

  .stack__card:nth-child(5) {
  background-color: #2a88ad;
  }
  
  /* Responsive Stack Cards */
  @media (max-width: 768px) {
    .stack__card {
      height: 40vh;
      font-size: 2rem;
      padding: 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .stack__card {
      height: 35vh;
      font-size: 1.5rem;
      padding: 0.5rem;
    }
  }


/**/
  .slider-wrapper {
      position: relative;
      flex: 1;
      display: flex;
      align-items: center;
      padding: 40px 0;
      overflow: hidden;
      background: #fff;
    }
    .gallery {
      display: flex;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      gap: 24px;
      padding-left: 60px;
      padding-right: 60px;
      flex: 1;
      scrollbar-width: none; /* Firefox */
    }
    .gallery::-webkit-scrollbar {
      display: none; /* Chrome, Safari */
    }
    .card {
      scroll-snap-align: start;
      background-color: #fff;
      background-size: cover;
      background-position: center;
      transition: background-image 0.5s ease;
      cursor: pointer;
      position: relative;
      z-index: 0;
      flex: 0 0 320px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      overflow: hidden;
      height: 70vh;
      padding: 24px 20px;
      box-sizing: border-box;
    }
    .card.active,
    .card:hover {
      background-image: var(--bg-image);
      /* color: #fff; */
      box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    }
    .card.active .card-number,
    .card:hover .card-number {
      /* color: #fff; */
      text-shadow: 0 4px 32px rgba(0,0,0,0.5);
    }
    .card.active .card-content,
    .card:hover .card-content {
      /* color: #fff; */
    }
    .card.active .arrow-link,
    .card:hover .arrow-link {
      /* color: #fff; */
    }
    .card.active .arrow-link:hover,
    .card:hover .arrow-link:hover {
      color: #F66D9B;
    }

    .card-number {
      font-size: 8rem;
      font-weight: 400;
      margin: auto 0;
      line-height: 1;
      z-index: 2;
      color: #222;
      user-select: none;
      pointer-events: none;
    }
    .card-content {
      text-align: left;
      z-index: 2;
      user-select: none;
    }
    .card-content p {
      font-size: 1.1rem;
      margin-top: 8px;
      color: #888;
    }
    .arrow-link {
      font-size: 1.2rem;
      margin-left: 8px;
      text-decoration: none;
      color: #222;
      transition: color 0.2s;
    }
    .arrow-link:hover {
      color: #3490dc;
    }
    /* Navigation buttons */
    .nav-btn {
      position: absolute;
      top: 50%;
      background: rgba(50, 50, 50, 0.3);
      border: none;
      color: white;
      font-size: 2rem;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      cursor: pointer;
      transform: translateY(-50%);
      z-index: 10;
      transition: background 0.3s;
      user-select: none;
    }
    .nav-btn:hover {
      background: rgba(50, 50, 50, 0.6);
    }
    .nav-left {
      left: 10px;
    }
    .nav-right {
      right: 10px;
    }
    @media (max-width: 768px) {
      .card {
        flex: 0 0 90vw;
        height: 45vh;
        padding: 20px 15px;
      }
      .card-number {
        font-size: 4rem;
      }
      .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
      }
      .gallery {
        padding-left: 40px;
        padding-right: 40px;
      }
    }
    
    @media (max-width: 576px) {
      .card {
        flex: 0 0 85vw;
        height: 40vh;
        padding: 15px 10px;
      }
      .card-number {
        font-size: 3rem;
      }
      .card-content p {
        font-size: 0.9rem;
      }
      .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
      }
      .gallery {
        padding-left: 30px;
        padding-right: 30px;
      }
    }
    
    @media (max-width: 480px) {
      .card {
        flex: 0 0 80vw;
        height: 35vh;
      }
      .card-number {
        font-size: 2.5rem;
      }
      .card-content p {
        font-size: 0.8rem;
      }
    }


    .card-hover:hover{
        background-image: url(img/119990310.avif);
        color: #fff;
    }

    .card-hover{
        color: #000;
    }

/* Responsive Footer */
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  footer iframe {
    width: 100%;
    height: 200px;
    margin-top: 2rem;
  }
  footer .text-white h6 {
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  footer iframe {
    height: 150px;
  }
  footer .text-white ul li {
    font-size: 0.9rem;
  }
  footer .text-white h6 {
    font-size: 1rem;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .text-muted {
    font-size: 0.9rem;
  }
  
  h2.fw-bold {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  h2.fw-bold {
    font-size: 1.5rem;
  }
  
  .text-muted {
    font-size: 0.85rem;
  }
}

/* Banner (Hero) */
   .banner {position: relative; width: 100%; min-height: 70vh; display: none; align-items: center; justify-content: center; overflow: hidden;}
   .banner-media {position: absolute; inset: 0;}
   .banner-image {width: 100%; height: 100%; object-fit: cover; display: block;}
   .banner-overlay {position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35));}
   .banner-content {position: relative; z-index: 1; color: #fff; padding: 0 1rem; max-width: 900px;}
   .banner-title {font-size: 2.5rem; font-weight: 800; letter-spacing: 0.5px;}
   .banner-subtitle {margin-top: 0.5rem; margin-bottom: 1.2rem; font-size: 1.1rem; opacity: 0.95;}

   @media (max-width: 991px) {
       .banner {min-height: 60vh;}
       .banner-title {font-size: 2.2rem;}
       .banner-subtitle {font-size: 1rem;}
   }
   @media (max-width: 768px) {
       .banner {min-height: 55vh;}
       .banner-title {font-size: 2rem;}
       .banner-subtitle {font-size: 0.95rem;}
   }
   @media (max-width: 576px) {
       .banner {min-height: 50vh;}
       .banner-title {font-size: 1.7rem;}
       .banner-subtitle {font-size: 0.9rem;}
   }

/* Visibility rules: show banner only on small screens, hero on md+ */
@media (max-width: 767.98px) {
  .banner {display: flex;}
  .hero {display: none;}
}
@media (min-width: 768px) {
  .banner {display: none;}
  .hero {display: block;}
}

/* Mobile: show gallery card images without hover */
@media (max-width: 768px) {
  .gallery .card { background-image: var(--bg-image) !important; }
  .gallery .card.card-hover { background-image: url('img/119990310.avif') !important; }
}

/* Mobile: add black overlay and white text on gallery cards */
@media (max-width: 768px) {
  .gallery .card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
  .gallery .card .card-number,
  .gallery .card .card-content,
  .gallery .card .card-content p,
  .gallery .card .arrow-link { color: #fff !important; }
  .gallery .card .card-content p { color: rgba(255,255,255,0.9) !important; }
  .gallery .card .arrow-link:hover { color: #fff; }
}