/* Increased carousel width */
header.carousel {
  margin: 0 auto;
  max-width: 100%; /* Was 96% before */
  overflow: hidden;
  border-radius: 1px;
}


.bg-success .fa-envelope,
.bg-success .fa-phone {
  transition: color 0.3s;
}
.bg-success .fa-envelope:hover,
.bg-success .fa-phone:hover {
  color: #ffc107;
}

/* ===== Navigation Bar ===== */
nav {
  padding: 7px 30px; /* Reduced vertical padding */
  background: white;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

nav .logo {
  font-size: 24px;
  font-weight: bold;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}
nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: 550;
  transition: color 0.3s ease;
  font-weight: bold;
}
nav ul li a:hover {
  color: rgb(11, 114, 233);
}
/* Consistent image size */
.carousel-item img {
  height: 85vh;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease-in-out;  /* faster hover transition */
}

/* Image hover zoom effect */
.carousel-item img:hover {
  transform: scale(1.05);
}

/* Inner transition smoothness */
.carousel-inner {
  transition: transform 1s ease-in-out;
}

/* Overlay card smaller and auto-fit content */
.carousel-caption {
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  text-align: left;
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 25px;
  border-radius: 10px;
  width: auto;
  max-width: 650px; /* reduced width */
  height: 250px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* Overlay hover effect - lighten background and subtle shadow */
.carousel-caption:hover {
  background: rgba(0, 0, 0, 0.65);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Animate overlay text */
.carousel-item .carousel-caption h2,
.carousel-item .carousel-caption p,
.carousel-item .carousel-caption a {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-in-out;
}

.carousel-item.active .carousel-caption h2,
.carousel-item.active .carousel-caption p,
.carousel-item.active .carousel-caption a {
  opacity: 1;
  transform: translateX(0);
}

/* Arrow buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 50%;
  background-size: 60% 60%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* Get in Touch button inside overlay */
.carousel-caption a.btn {
  background-color: #007bff;
  border: none;
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

/* Hover effect for Get in Touch button */
.carousel-caption a.btn:hover {
  background-color: #0056b3;
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.6);
  text-decoration: none;
  color: white;
}

/* Service Cards Overlay */
/* Service card styles */
.service-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.service-box img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 8px;
}
.service-box .label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: 600;
}
.service-box:hover {
  transform: scale(1.05);
}
@keyframes slide {
  0%, 20% { margin-left: 0; }
  25%, 45% { margin-left: -100%; }
  50%, 70% { margin-left: -200%; }
  75%, 95% { margin-left: -300%; }
  100% { margin-left: -400%; }
}

/* Section Heading */
.about-heading {
  font-weight: 700;
  color: #333;
}

/* Shared Info Box Styling */
.info-box {
  background-color: #f8f9fa;
  border-left: 5px solid #007bff;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
  cursor: pointer;
}

.info-box h5 {
  margin-bottom: 0.5rem;
  color: #0056b3;
  font-weight: 600;
}

/* Smaller stacked right-side boxes */
.small-box {
  background-color: #fff;
  border-left: 5px solid #28a745;
}

/* Hover & Click Effects */
.clickable:hover {
  background-color: #e9f5ff;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2);
  transform: translateY(-3px);
}

.clickable:active {
  background-color: #d0e8ff;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
  transform: scale(0.98);
}


/* Image Styling - pull image up slightly */
.contact-section img {
  height: 470px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 1px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

/* Contact Form Card - pushed more up */
.contact-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-top: -70px;
  margin-left: -70px;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for contact card */
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}



/* Section background and padding */
.contact-section {
  background-color: #f9f9f9;
  position: relative;
  padding-top: 70px;
  overflow-x: hidden;
}

/* Heading and subheading aligned left, aligned with image */
.contact-section h2,
.contact-section p {
  max-width: 550px;      /* match approx image width */
  margin-left: 0;        /* align left */
  padding-left: 15px;    /* small left padding */
  text-align: right;     /* right aligned */
  color: #333333;        /* base text color */
  transition: color 0.3s ease;
  cursor: pointer;       /* optional, to indicate hover effect */
}

/* Hover color */
.contact-section h2:hover,
.contact-section p:hover {
  color:  rgb(139, 94, 8);        /* example: bootstrap primary blue on hover */
}


.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.contact-section p {
  font-size: 1rem;
  font-weight: 700;
  color: black;
  margin-bottom: 0.15rem;
}

/* Industry Icon Styling */
.industry-icon {
  font-size: 48px;
  color: #0d6efd;
  transition: transform 0.3s ease;
}
.industry-icon:hover {
  transform: scale(1.2);
  color: #063d99;
}
h6 {
  font-weight: 600;
  color: #333;
}
footer .social-icons a {
  transition: color 0.3s ease, transform 0.3s ease;
}
footer .social-icons a:hover {
  color: #0d6efd;
  transform: scale(1.2);
}


.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  text-decoration: none; /* This removes the underline */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}


.whatsapp-float:hover {
  background-color: #1ebd59;
  transform: scale(1.1);
}


.facebook i {
  color: #1877F2; /* Facebook Blue */
}

.instagram i {
  color: #E1306C; /* Instagram Pink/Red */
}

.twitter i {
  color: #1DA1F2; /* Twitter Blue */
}

.whatsapp i {
  color: #25D366; /* WhatsApp Green */
}
.social-icons a:hover i {
  opacity: 0.8;
  transform: scale(1.1);
  transition: 0.3s ease;
}





/* Clients Section */
.clients-section {
  padding: 50px 0;
  text-align: center;
  background: #fff; /* clean background */
}

.clients-heading {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* Slider container */
.clients-slider {
  width: 85%; /* slightly wider */
  margin: auto;
  overflow: hidden;
  position: relative;
}

/* Track to hold all logos */
.clients-track {
  display: flex;
  animation: slide 18s linear infinite;
}

/* Each logo box */
.client-logo {
  flex: 0 0 auto;
  padding: 15px;
}

.client-logo img {
  height: 90px; /* increased height */
  width: 160px; /* increased width */
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Hover effect */
.client-logo img:hover {
  transform: scale(1.1);
}

/* Animation keyframes */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo img {
  height: 90px; /* increased height */
  width: 160px; /* increased width */
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.1); /* light border */
  border-radius: 6px; /* slightly rounded edges */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* soft shadow on hover */
}

/* ===== Mobile (≤576px) ===== */
@media (max-width: 576px) {
  /* Navigation */
  nav {
    padding: 10px 15px;
  }
  nav .logo {
    font-size: 20px;
  }
  nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }
  nav ul li a {
    font-size: 14px;
  }

  /* Carousel */
  .carousel-caption {
    max-width: 90%;
    height: auto;
    padding: 15px 20px;
    font-size: 0.9rem;
  }
  .carousel-item img {
    height: 50vh;
  }

  /* Service Boxes */
  .service-box img {
    height: 180px;
  }
  .service-box .label {
    font-size: 0.9rem;
  }

  /* Contact Section */
  .contact-section {
    padding-top: 40px;
  }
  .contact-section h2,
  .contact-section p {
    max-width: 100%;
    text-align: center;
    padding-left: 0;
    margin-left: 0;
    font-size: 1.5rem;
  }
  .contact-card {
    margin: 0 auto;
    margin-top: 20px;
    margin-left: 0;
    width: 90%;
  }
  .contact-section img {
    height: 200px;
    margin-top: 20px;
  }

  /* Clients Section */
  .clients-slider {
    width: 95%;
  }
  .client-logo img {
    width: 100px;
    height: 50px;
  }
}

/* ===== Tablet (577px – 768px) ===== */
@media (min-width: 577px) and (max-width: 768px) {
  /* Navigation */
  nav {
    padding: 10px 20px;
  }
  nav .logo {
    font-size: 22px;
  }
  nav ul {
    gap: 20px;
    justify-content: center;
  }
  nav ul li a {
    font-size: 15px;
  }

  /* Carousel */
  .carousel-caption {
    max-width: 70%;
    height: 220px;
    padding: 18px 22px;
    font-size: 1rem;
  }
  .carousel-item img {
    height: 65vh;
  }

  /* Service Boxes */
  .service-box img {
    height: 220px;
  }
  .service-box .label {
    font-size: 1rem;
  }

  /* Contact Section */
  .contact-section {
    padding-top: 50px;
  }
  .contact-section h2,
  .contact-section p {
    max-width: 80%;
    font-size: 1.75rem;
    text-align: left;
    padding-left: 10px;
  }
  .contact-card {
    margin-top: -50px;
    margin-left: -40px;
    width: 80%;
  }
  .contact-section img {
    height: 350px;
  }

  /* Clients Section */
  .clients-slider {
    width: 90%;
  }
  .client-logo img {
    width: 130px;
    height: 70px;
  }
}

/* ===== Laptop (769px – 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Navigation */
  nav {
    padding: 12px 30px;
  }
  nav .logo {
    font-size: 24px;
  }
  nav ul {
    gap: 30px;
  }
  nav ul li a {
    font-size: 16px;
  }

  /* Carousel */
  .carousel-caption {
    max-width: 60%;
    height: 240px;
    padding: 20px 25px;
    font-size: 1.1rem;
  }
  .carousel-item img {
    height: 75vh;
  }

  /* Service Boxes */
  .service-box img {
    height: 250px;
  }
  .service-box .label {
    font-size: 1.1rem;
  }

  /* Contact Section */
  .contact-section {
    padding-top: 60px;
  }
  .contact-section h2,
  .contact-section p {
    max-width: 60%;
    font-size: 1.9rem;
    padding-left: 15px;
    text-align: right;
  }
  .contact-card {
    margin-top: -65px;
    margin-left: -65px;
    width: 60%;
  }
  .contact-section img {
    height: 400px;
  }

  /* Clients Section */
  .clients-slider {
    width: 85%;
  }
  .client-logo img {
    width: 150px;
    height: 80px;
  }
}

/* ===== Desktop (≥1025px) ===== */
@media (min-width: 1025px) {
  /* Navigation */
  nav {
    padding: 15px 40px;
  }
  nav .logo {
    font-size: 28px;
  }
  nav ul {
    gap: 40px;
  }
  nav ul li a {
    font-size: 18px;
  }

  /* Carousel */
  .carousel-caption {
    max-width: 650px;
    height: 250px;
    padding: 25px 30px;
    font-size: 1.2rem;
  }
  .carousel-item img {
    height: 85vh;
  }

  /* Service Boxes */
  .service-box img {
    height: 270px;
  }
  .service-box .label {
    font-size: 1.2rem;
  }

  /* Contact Section */
  .contact-section {
    padding-top: 70px;
  }
  .contact-section h2,
  .contact-section p {
    max-width: 550px;
    font-size: 2rem;
    padding-left: 15px;
    text-align: right;
  }
  .contact-card {
    margin-top: -70px;
    margin-left: -70px;
    width: 100%;
  }
  .contact-section img {
    height: 470px;
  }

  /* Clients Section */
  .clients-slider {
    width: 85%;
  }
  .client-logo img {
    width: 160px;
    height: 90px;
  }
}











