/* General Styles */
/* -------------------------------Body Styles---------------------- */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
/* ----------------------------------------------------------------- */
/* Carousel Styling */
.carousel {
  position: relative;
  z-index: 0;
}

.carousel-item {
  height: 80vh;
  overflow: hidden;
  position: relative; /* Required for pseudo-element positioning */
}

/* Add dark overlay */
.carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Black transparent overlay */
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 7s ease-in-out infinite;
  position: relative;
  z-index: 0;
}

/* Keyframes for zoom effect */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.carousel-item.active img {
  transform: scale(1.2);
}

/* Carousel Overlay Content */
.carousel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  padding: 0 1rem;
}

.carousel-overlay h1,
.carousel-overlay p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.overlay-divider {
  width: 460px;
  height: 4px;
  background-color: white;
  margin: 1rem auto;
  border: none;
  opacity: 0.9;
  border-radius: 2px;
}

.carousel-caption-custom .btn {
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.carousel-caption-custom .btn:hover {
  background-color: white;
  color: black;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* -------------------Header Styling-------------------------------- */
/* Main Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.4); /* More visible white background */
  backdrop-filter: blur(12px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow for depth */
  z-index: 1000;
  padding-bottom: 0.5rem;
}

/* First Row: Logo & Social Links */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 5rem;
  position: relative;
}

/* Logo */
.logo {
  flex-grow: 1;
  /* margin-left: 5%; */
}

.logo img {
  width: 18rem; /* Adjusted for better fit */
  transition: transform 0.3s ease-in-out;
}

.logo img:hover {
  transform: scale(1.05); /* Subtle hover zoom */
}

/* Social Media Icons */
.social-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* margin-right: 5%; */
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a:first-child {
  color: #47c355;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  padding: 0.2rem 0.3rem;
}

.social-links a:first-child:hover {
  transform: translateY(-2px);
}

.social-links a:last-child {
  color: #12cbc4;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  padding: 0.2rem 0.3rem;
}

.social-links a:last-child:hover {
  transform: translateY(-2px);
}

/* Labels Section */
.header-labels {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.header-labels label {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.2rem 0.3rem;
  transition: color 0.4s ease-in-out;
}

.header-labels label:hover {
  color: #28b7e7;
  transform: translateY(-2px);
}

/* Horizontal Divider */
.header-line {
  width: calc(100% - 10rem);
  margin: 0 auto;
}

.header-line hr {
  border: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0;
}

/* Navbar */
.navbar {
  background: transparent !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.7rem 0;
}

.navbar-collapse {
  display: flex;
  justify-content: center;
}

.navbar-nav .nav-link {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0 1.2rem;
  transition: color 0.5s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #28b7e7;
  text-decoration: underline;
  text-underline-offset: 8px; /* More space between text and underline */
  text-decoration-color: #28b7e7; /* Underline color */
  text-decoration-thickness: 3px; /* Thicker underline */
  transform: translateY(-2px);
}

/* Sticky Header Effect */
.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding-bottom: 0.3rem;
  transition: all 0.3s ease-in-out;
}

/* -------------------------------------------------------- */
/* -------------------------------------------heading section */
/* Container for heading */
.heading-con {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Shorter Horizontal Lines */
.heading-line {
  flex: 0.1; /* Reduced width */
  height: 2px;
  background: #59c2ae;
  margin: 0 10px;
}

/* Heading */
.heading-service {
  font-size: 24px;
  font-weight: bold;
  color: #28b7e7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Description */
.heading-description {
  font-size: 14px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

/* ----------------------------------------ABOUT US SECTION ------------------------------ */
.feature-section {
  padding: 4rem 2rem;
  /* background-color: #f9f9f9; */
}

.overlap-images {
  position: relative;
  height: 300px;
}

.overlap-images img {
  position: absolute;
  width: 280px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.img-one {
  top: 0;
  left: 0;
  z-index: 3;
  transform: rotate(-5deg);
}

.img-two {
  top: 80px;
  left: 100px;
  z-index: 2;
  transform: rotate(8deg);
}

.img-three {
  top: 160px;
  left: 60px;
  z-index: 1;
  transform: rotate(-3deg);
}

.overlap-images img:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 4;
}

.feature-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.feature-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.feature-content .btn {
  margin-right: 10px;
}

.company-btn {
  background: linear-gradient(135deg, #59c2ae, #007bff);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.company-btn:hover {
  background: linear-gradient(135deg, #0056b3, #00aaff);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.6);
  transform: translateY(-2px);
}

.touch-btn {
  background: linear-gradient(
    135deg,
    #59c2ae,
    #4caf50
  ); /* Soft teal to green */
  color: #fff;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3); /* Green glow */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.touch-btn:hover {
  background: linear-gradient(
    135deg,
    #43a047,
    #2e7d32
  ); /* Deeper green on hover */
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.6);
  transform: translateY(-2px);
}

/* -----------------------------------------------------------PRODUCTS CSS */
.services-bg {
  background-image: url("/utilities/images/Carousel/car2.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 40px;
}

.services-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* margin-top: 50px; */
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  background: linear-gradient(
    135deg,
    #cdfcff,
    #c6deff
  ); /* Light blue to soft purple */
  color: #fff;
  transition: all 0.4s ease-in-out;
}

.service-btn {
  background: linear-gradient(135deg, #59c2ae, #3da284);
  color: #fff;
  padding: 0.5rem 1.3rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(89, 194, 174, 0.4);
  text-decoration: none;
  font-size: 0.8rem;
}

.service-btn:hover {
  background: linear-gradient(135deg, #3da284, #2b8770);
  box-shadow: 0 6px 15px rgba(89, 194, 174, 0.6);
  transform: translateY(-2px);
}

/* Animation keyframes */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animated list */
.animated-list {
  margin-top: 1rem;
}

.list-item {
  display: flex;
  align-items: center; /* vertical centering */
  justify-content: flex-start; /* horizontal alignment to left */
  text-align: left;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(89, 194, 174, 0.1)
  );
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  animation: slideIn 0.6s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
  transition: background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(4px);
}

.list-item:hover {
  background-color: rgba(89, 194, 174, 0.1);
}

.list-item .icon {
  font-size: 1.7rem;
  color: #59c2ae;
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list-item:nth-child(1) {
  animation-delay: 0.2s;
}

.list-item:nth-child(2) {
  animation-delay: 0.4s;
}

.list-item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ------------------------------------------------------------WHY SECTION------------------------------ */
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transform: scale(0.95);
  opacity: 0;
  animation: fadeInZoom 1s ease forwards;
}

.image-card:nth-child(1) {
  animation-delay: 0.2s;
}
.image-card:nth-child(2) {
  animation-delay: 0.4s;
}
.image-card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInZoom {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  color: white;
  text-align: center;
  transition: background 0.3s ease;
}

.overlay-text h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.overlay-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* ------------------------------------------------------------------request a call div */
.services-request-bg {
  background-image: url("/utilities/images/Carousel/car3.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 40px;
}

.services-request-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.content-box {
  text-align: center;
  padding: 40px;
  border-radius: 12px;
}

.main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 60px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.sub-description {
  font-size: 1.2rem;
  color: #ddd;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 30px;
}

.button-group .btn {
  font-size: 1rem;
  padding: 10px 25px;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin-bottom: 60px;
}

.button-group .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
  background-color: #25d366; /* WhatsApp green */
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1da851; /* Darker green on hover */
  color: white;
}

/* -----------------------------------------Application DIv------------------ */
.card-section {
  padding: 80px 20px;
  text-align: center;
}

.card-section h2 {
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.animated-card {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.animated-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-img-top {
  height: 260px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: #28b7e7;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

/* -----------------------------------------------------------Footer Starts */
footer {
  background: linear-gradient(
    135deg,
    #c0cac9,
    #59c2ae
  ); /* Gradient background */
  color: #fff;
  padding: 10px 0;
  margin-top: 5rem;
}

/* Footer Brand */
footer .col-md-3 img {
  width: 160px;
  transition: transform 0.3s ease-in-out;
}
footer .col-md-3 img:hover {
  transform: scale(1.1);
}

/* Footer Links */
footer h5 {
  font-size: 18px;
  font-weight: bolder;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #1758a5; /* Highlight color */
}
footer ul {
  padding: 0;
}
footer ul li {
  list-style: none;
  margin-bottom: 8px;
}
footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
footer ul li a:hover {
  color: #1758a5; /* Change color on hover */
  text-decoration: underline;
}

/* Contact Info */
footer p {
  margin-bottom: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* Social Icons */
footer .fab {
  font-size: 22px;
  margin-right: 12px;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  color: rgba(255, 255, 255, 0.8);
}
footer .fab:hover {
  transform: translateY(-5px);
  color: #1758a5;
}

/* Bottom Copyright Section */
footer .rights {
  background: rgba(23, 41, 132, 0.8);
  font-size: 14px;
  font-weight: 400;
}

.footer-container {
  width: 90%;
  /* text-align: center; */
  margin-left: auto;
  margin-right: auto;
}

.footerAbout {
  text-align: justify;
  max-width: 85%;
}
/* ------------------------------------------------------------ */

/* |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| MEDIA QUERIES ||||||||||||||||||||||||||||||||||||||||||||| */

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 660px) {
  .top-header {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  .logo img {
    width: 10rem;
  }

  .social-container {
    align-items: center;
    margin-top: 0.5rem;
    display: none;
  }

  .header-labels {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    display: none;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
    margin: 0 0.5rem;
  }

  .header-line {
    width: 90%;
  }

  /* -------------------------------------------- */

  /* Adjust carousel height for small screens */
  .carousel-item {
    height: 60vh;
  }

  /* Make overlay content more compact */
  .carousel-overlay,
  .carousel-caption-custom {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 0.5rem;
    width: 100%;
  }

  .carousel-caption-custom h1 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .carousel-caption-custom p {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .overlay-divider {
    width: 200px;
    height: 3px;
    margin: 0.8rem auto;
  }

  .carousel-caption-custom .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    margin-top: 0.6rem;
  }

  /* ------------------------------------- */

  /* Heading */
  .heading-service {
    font-size: 20px;
  }

  /* Description */
  .heading-description {
    font-size: 12px;
  }

  /* ------------------------------------ */

  .feature-section {
    padding: 2rem 1rem;
  }

  .overlap-images {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .overlap-images img {
    position: relative;
    width: 80%;
    margin-bottom: 1rem;
    transform: none !important;
    z-index: auto;
  }

  .img-one,
  .img-two,
  .img-three {
    top: auto;
    left: auto;
  }

  .feature-content h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .feature-content p {
    font-size: 1rem;
    text-align: center;
  }

  .feature-content .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    text-align: center;
  }

  .company-btn,
  .touch-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
    border-radius: 25px;
  }

  /* --------------------------------- */

  .services-bg {
    background-attachment: scroll; /* Disable fixed for smoother mobile experience */
    padding: 2rem 1rem;
  }

  .service-card {
    margin: 1rem 0;
    border-radius: 10px;
    padding: 1rem;
  }

  .service-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    margin-top: 1rem;
    border-radius: 12px;
  }

  .animated-list {
    margin-top: 2rem;
  }

  .list-item {
    flex-direction: row;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
  }

  .list-item .icon {
    font-size: 1.5rem;
    margin-right: 0.6rem;
  }

  .list-item:hover {
    transform: translateX(2px);
  }

  /* -------------------------------------- */

  .image-card {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    transform: scale(1);
    animation: fadeInZoom 1s ease forwards;
  }

  .image-card img {
    height: 180px; /* reduce height for smaller screens */
    border-radius: 10px;
  }

  .overlay-text {
    padding: 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  }

  .overlay-text h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .overlay-text p {
    font-size: 0.75rem;
  }

  /* -------------------------------------------- */

  .services-request-bg {
    background-attachment: scroll; /* Avoid fixed background on mobile */
    padding: 1.5rem 0;
    margin-top: 20px;
  }

  .content-box {
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
  }

  .main-heading {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .sub-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .button-group .btn {
    font-size: 0.8rem;
    padding: 8px 18px;
    margin-bottom: 10px;
    width: 100%; /* Full width buttons */
    max-width: 200px;
  }

  /* --------------------------------------------- */

  .card-section {
    padding: 40px 15px;
  }

  .card-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .animated-card {
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: none; /* Remove initial offset for mobile smoothness */
  }

  .card-img-top {
    height: 180px;
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  /* -------------------------------------------------------- */
  footer {
    padding: 20px 10px;
    text-align: center;
  }

  footer .col-md-3,
  footer .col-md-4,
  footer .col-md-2 {
    margin-bottom: 30px;
    text-align: center !important;
  }

  footer .col-md-3 img {
    width: 130px;
    margin-bottom: 10px;
  }

  footer h5 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  footer ul li {
    margin-bottom: 6px;
  }

  footer ul li a {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }

  footer .fab {
    font-size: 20px;
    margin: 10px 8px;
  }

  .footerAbout {
    max-width: 100%;
    text-align: center;
    font-size: 14px;
  }

  .footer-container {
    width: 100%;
    padding: 0 10px;
  }

  footer .rights {
    font-size: 13px;
    padding: 10px;
    text-align: center;
  }
}

@media (min-width: 661px) and (max-width: 767px) {
  @media (max-width: 768px) {
    .top-header {
      flex-direction: column;
      align-items: center;
      padding: 0.5rem 1rem;
    }

    .logo img {
      width: 10rem;
    }

    .social-container {
      align-items: center;
      margin-top: 0.5rem;
      display: none;
    }

    .header-labels {
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.5rem;
      display: none;
    }

    .navbar-nav .nav-link {
      font-size: 0.9rem;
      margin: 0 0.5rem;
    }

    .header-line {
      width: 90%;
    }

    .carousel-item {
      height: 60vh;
    }

    .carousel-overlay,
    .carousel-caption-custom {
      top: 55%;
      left: 50%;
      transform: translate(-50%, -50%);
      padding: 0 0.5rem;
      width: 100%;
    }

    .carousel-caption-custom h1 {
      font-size: 1.3rem;
      line-height: 1.3;
    }

    .carousel-caption-custom p {
      font-size: 0.85rem;
      margin-top: 0.5rem;
    }

    .overlay-divider {
      width: 200px;
      height: 3px;
      margin: 0.8rem auto;
    }

    .carousel-caption-custom .btn {
      font-size: 0.9rem;
      padding: 0.5rem 1.2rem;
      border-radius: 25px;
      margin-top: 0.6rem;
    }

    .heading-service {
      font-size: 20px;
    }

    .heading-description {
      font-size: 12px;
    }

    .feature-section {
      padding: 2rem 1rem;
    }

    .overlap-images {
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .overlap-images img {
      position: relative;
      width: 80%;
      margin-bottom: 1rem;
      transform: none !important;
      z-index: auto;
    }

    .img-one,
    .img-two,
    .img-three {
      top: auto;
      left: auto;
    }

    .feature-content h2 {
      font-size: 1.5rem;
      text-align: center;
    }

    .feature-content p {
      font-size: 1rem;
      text-align: center;
    }

    .feature-content .btn {
      display: block;
      width: 100%;
      margin: 0.5rem 0;
      text-align: center;
    }

    .company-btn,
    .touch-btn {
      width: 100%;
      padding: 0.8rem;
      font-size: 0.9rem;
      border-radius: 25px;
    }

    .services-bg {
      background-attachment: scroll;
      padding: 2rem 1rem;
    }

    .service-card {
      margin: 1rem 0;
      border-radius: 10px;
      padding: 1rem;
    }

    .service-btn {
      display: block;
      width: 100%;
      text-align: center;
      font-size: 0.9rem;
      padding: 0.7rem 1rem;
      margin-top: 1rem;
      border-radius: 12px;
    }

    .animated-list {
      margin-top: 2rem;
    }

    .list-item {
      flex-direction: row;
      padding: 0.7rem 1rem;
      font-size: 0.9rem;
      margin-bottom: 0.7rem;
    }

    .list-item .icon {
      font-size: 1.5rem;
      margin-right: 0.6rem;
    }

    .list-item:hover {
      transform: translateX(2px);
    }

    .image-card {
      margin-bottom: 1.5rem;
      border-radius: 10px;
      transform: scale(1);
      animation: fadeInZoom 1s ease forwards;
    }

    .image-card img {
      height: 180px;
      border-radius: 10px;
    }

    .overlay-text {
      padding: 0.8rem;
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0)
      );
    }

    .overlay-text h5 {
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }

    .overlay-text p {
      font-size: 0.75rem;
    }

    .services-request-bg {
      background-attachment: scroll;
      padding: 1.5rem 0;
      margin-top: 20px;
    }

    .content-box {
      padding: 1.2rem;
      border-radius: 10px;
      text-align: center;
    }

    .main-heading {
      font-size: 1.8rem;
      margin-top: 30px;
      margin-bottom: 15px;
    }

    .sub-description {
      font-size: 1rem;
      margin-bottom: 20px;
    }

    .button-group .btn {
      font-size: 0.8rem;
      padding: 8px 18px;
      margin-bottom: 10px;
      width: 100%;
      max-width: 200px;
    }

    .card-section {
      padding: 40px 15px;
    }

    .card-section h2 {
      font-size: 1.5rem;
      margin-bottom: 25px;
    }

    .animated-card {
      margin-bottom: 30px;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      transform: none;
    }

    .card-img-top {
      height: 180px;
    }

    .card-body {
      padding: 1rem;
    }

    .card-title {
      font-size: 0.95rem;
    }

    .card-text {
      font-size: 0.85rem;
    }

    footer {
      padding: 20px 10px;
      text-align: center;
    }

    footer .col-md-3,
    footer .col-md-4,
    footer .col-md-2 {
      margin-bottom: 30px;
      text-align: center !important;
    }

    footer .col-md-3 img {
      width: 130px;
      margin-bottom: 10px;
    }

    footer h5 {
      font-size: 16px;
      margin-bottom: 10px;
    }

    footer ul li {
      margin-bottom: 6px;
    }

    footer ul li a {
      font-size: 14px;
    }

    footer p {
      font-size: 14px;
    }

    footer .fab {
      font-size: 20px;
      margin: 10px 8px;
    }

    .footerAbout {
      max-width: 100%;
      text-align: center;
      font-size: 14px;
    }

    .footer-container {
      width: 100%;
      padding: 0 10px;
    }

    footer .rights {
      font-size: 13px;
      padding: 10px;
      text-align: center;
    }
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .top-header {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
  }

  .logo img {
    width: 10rem;
  }

  .social-container {
    align-items: center;
    margin-top: 0.5rem;
    display: none;
  }

  .header-labels {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    display: none;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
    margin: 0 0.5rem;
  }

  .header-line {
    width: 90%;
  }

  .carousel-item {
    height: 60vh;
  }

  .carousel-overlay,
  .carousel-caption-custom {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 0.5rem;
    width: 100%;
  }

  .carousel-caption-custom h1 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .carousel-caption-custom p {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .overlay-divider {
    width: 200px;
    height: 3px;
    margin: 0.8rem auto;
  }

  .carousel-caption-custom .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    margin-top: 0.6rem;
  }

  .heading-service {
    font-size: 20px;
  }

  .heading-description {
    font-size: 12px;
  }

  .feature-section {
    padding: 2rem 1rem;
  }

  .overlap-images {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .overlap-images img {
    position: relative;
    width: 80%;
    margin-bottom: 1rem;
    transform: none !important;
    z-index: auto;
  }

  .img-one,
  .img-two,
  .img-three {
    top: auto;
    left: auto;
  }

  .feature-content h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .feature-content p {
    font-size: 1rem;
    text-align: center;
  }

  .feature-content .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    text-align: center;
  }

  .company-btn,
  .touch-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
    border-radius: 25px;
  }

  .services-bg {
    padding: 2rem 2rem;
  }

  .service-card {
    margin: 1.5rem 0;
    padding: 1.5rem;
  }

  .service-btn {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .animated-list {
    margin-top: 2.5rem;
  }

  .list-item {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .list-item .icon {
    font-size: 1.7rem;
    margin-right: 0.8rem;
  }

  .image-card {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    transform: scale(1);
    animation: fadeInZoom 1s ease forwards;
  }

  .image-card img {
    height: 180px;
    border-radius: 10px;
  }

  .overlay-text {
    padding: 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  }

  .overlay-text h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .overlay-text p {
    font-size: 0.75rem;
  }

  .services-request-bg {
    background-attachment: scroll;
    padding: 1.5rem 0;
    margin-top: 20px;
  }

  .content-box {
    padding: 1.2rem;
    border-radius: 10px;
    text-align: center;
  }

  .main-heading {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .sub-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .button-group .btn {
    font-size: 0.8rem;
    padding: 8px 18px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 200px;
  }

  .card-section {
    padding: 40px 15px;
  }

  .card-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .animated-card {
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: none;
  }

  .card-img-top {
    height: 180px;
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  footer {
    padding: 20px 10px;
    text-align: center;
  }

  footer .col-md-3,
  footer .col-md-4,
  footer .col-md-2 {
    margin-bottom: 30px;
    text-align: center !important;
  }

  footer .col-md-3 img {
    width: 130px;
    margin-bottom: 10px;
  }

  footer h5 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  footer ul li {
    margin-bottom: 6px;
  }

  footer ul li a {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }

  footer .fab {
    font-size: 20px;
    margin: 10px 8px;
  }

  .footerAbout {
    max-width: 100%;
    text-align: center;
    font-size: 14px;
  }

  .footer-container {
    width: 100%;
    padding: 0 10px;
  }

  footer .rights {
    font-size: 13px;
    padding: 10px;
    text-align: center;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  /* Adjusted Header */
  .header {
    padding-bottom: 0.2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Top Header */
  .top-header {
    padding: 0.7rem 2rem;
  }

  .logo img {
    width: 14rem; /* Slightly smaller logo */
  }

  .social-links a {
    font-size: 0.7rem;
  }

  .header-labels {
    gap: 1rem;
  }

  .header-labels label {
    font-size: 0.7rem;
  }

  .header-line {
    width: calc(100% - 4rem);
  }

  .navbar-nav .nav-link {
    font-size: 0.8rem;
    margin: 0 0.8rem;
  }

  .navbar-nav .nav-link:hover {
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }

  /* ------------------------------------ */

  .breadcrumb-label {
    margin-left: 7%;
    font-size: 0.8rem;
  }

  /* --------------------------------------------- */

  /* Container for heading */
  .heading-con {
    margin-top: 30px;
  }

  /* Heading */
  .heading-service {
    font-size: 20px;
  }

  /* Description */
  .heading-description {
    font-size: 12px;
  }

  /* --------------------------------------------- */

  .carousel-item {
    height: 90vh;
  }

  .carousel-overlay,
  .carousel-caption-custom {
    padding: 0 2rem;
  }

  .carousel-overlay h1 {
    font-size: 2rem;
  }

  .carousel-overlay p {
    font-size: 1rem;
  }

  .carousel-caption-custom h1 {
    font-size: 2rem;
  }

  .carousel-caption-custom p {
    font-size: 1rem;
  }

  .overlay-divider {
    width: 320px;
    height: 3px;
  }

  .carousel-caption-custom .btn {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
  }

  /* -------------------------------------- */

  .feature-section {
    padding: 3rem 1.5rem;
  }

  .overlap-images {
    height: 250px;
  }

  .overlap-images img {
    width: 220px;
  }

  .img-one {
    top: 0;
    left: 0;
  }

  .img-two {
    top: 60px;
    left: 80px;
  }

  .img-three {
    top: 120px;
    left: 50px;
  }

  .feature-content h2 {
    font-size: 1.6rem;
  }

  .feature-content p {
    font-size: 1rem;
  }

  .company-btn,
  .touch-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  /* ----------------------------------------- */

  .services-bg {
    background-attachment: scroll; /* Improves performance on mid-sized screens */
    padding: 0.8rem 0;
    margin-top: 30px;
  }

  .service-card {
    border-radius: 12px;
    padding: 1rem;
  }

  .service-btn {
    font-size: 0.75rem;
    padding: 0.4rem 1.1rem;
  }

  .list-item {
    font-size: 0.7rem;
    padding: 0.5rem 0.7rem;
  }

  .list-item .icon {
    font-size: 1rem;
    margin-right: 0.6rem;
  }

  .animated-list {
    margin-top: 0.8rem;
  }

  .card-body h5 {
    font-size: 1rem;
  }

  /* --------------------------------------------- */

  .image-card {
    transform: scale(0.97);
    border-radius: 10px;
  }

  .image-card img {
    height: 220px;
  }

  .overlay-text {
    padding: 0.8rem;
  }

  .overlay-text h5 {
    font-size: 1.1rem;
  }

  .overlay-text p {
    font-size: 0.75rem;
  }

  /* ----------------------------------------------- */

  .services-request-bg {
    padding: 0.8rem 0;
    margin-top: 30px;
    background-position: center;
    background-attachment: scroll; /* Improves performance on medium screens */
  }

  .content-box {
    padding: 30px;
  }

  .main-heading {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 18px;
  }

  .sub-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .button-group .btn {
    font-size: 0.85rem;
    padding: 8px 22px;
    margin-bottom: 50px;
  }

  /* -------------------------------------------------- */

  .card-section {
    padding: 60px 15px;
  }

  .card-section h2 {
    font-size: 1.9rem;
    margin-bottom: 35px;
  }

  .animated-card {
    transform: translateY(15px);
  }

  .animated-card:hover {
    transform: translateY(-8px) scale(1.015);
  }

  .card-img-top {
    height: 220px;
  }

  .card-body {
    padding: 1.2rem;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  /* --------------------------------------------------------- */

  footer {
    padding: 8px 0;
    margin-top: 3rem;
  }

  footer .col-md-3 img {
    width: 120px;
  }

  footer h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  footer ul li {
    margin-bottom: 6px;
  }

  footer ul li a {
    font-size: 14px;
  }

  footer p {
    font-size: 12px;
  }

  footer .fab {
    font-size: 20px;
    margin-right: 10px;
  }

  footer .rights {
    font-size: 12px;
  }

  .footer-container {
    width: 95%;
  }

  .footerAbout {
    max-width: 90%;
    font-size: 12px;
  }

  .text-white {
    font-size: 12px;
  }
}
