* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: sans-serif;
  height: 100%;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
}

.nav-container a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-container a.active {
  border-bottom: 1px solid white;
}

.nav-container a:hover {
  color: #15259e;
}

.carousel {
  position: relative;
  height: 100vh; /* Or any fixed height you want */
  overflow: hidden;
}


.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 3s ease-in-out; /* Smooth fade */
  z-index: 0;
}


.slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers entire slide without stretching */
  vertical-align: middle;
}


.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.201); /* transparent black layer */
  color: white;
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  max-width: 700px;
}

.overlay h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.overlay p {
  font-size: 18px;
  line-height: 1.6;
}

/* Fade animation */
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .overlay {
    padding: 20px;
  }

  .overlay h1 {
    font-size: 24px;
  }

  .overlay p {
    font-size: 16px;
  }

  .nav-container {
    gap: 15px;
  }

  .nav-container a {
    font-size: 16px;
  }
}

/* About-Us */

  .dev-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 50px 100px;
  font-family: Arial, sans-serif;
  gap: 30px;
}

.dev-image {
  flex: 1 1 400px;
}

.dev-image img {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

.dev-content {
  flex: 1 1 500px;
}

.dev-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 15px;
}

.dev-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.dev-content a {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}

.dev-content button {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* 🔁 Responsive styles */
@media (max-width: 992px) {
  .dev-section {
    margin: 40px 50px;
  }
}

@media (max-width: 768px) {
  .dev-section {
    flex-direction: column;
    margin: 30px 30px;
  }

  .dev-content {
    padding-left: 0;
  }

  .dev-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .dev-section {
    margin: 20px 15px;
  }

  .dev-content h2 {
    font-size: 20px;
  }

  .dev-content p {
    font-size: 14px;
  }

  .dev-content button {
    width: 100%;
    font-size: 16px;
  }
}

/* servic Animatin-icon */


  /* * {
    box-sizing: border-box;
  } */
  /* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: #f4f7fb;
    color: #333;
    padding: 40px 20px;
    overflow-x: hidden; 
  } */
   .mdi{
   
    font-size: xx-large;
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
    color: #00ff5e; 
    text-transform: uppercase;
    
  }
  .scrolling-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 460px; /* fixed height to hide vertical overflow; roughly height of one card */
  }
  .scrolling-inner {
    display: flex;
    flex-wrap: nowrap; /* No wrapping - keep horizontally side by side */
  }
  .scrolling-content {
    display: flex;
    gap: 28px;
    /* We'll use will-change for smooth GPU acceleration */
    will-change: transform;
  }

  .scrolling-content.animate {
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: scroll;
    animation-play-state: running;
  }

  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(var(--scroll-amount));
    }
  }

  .service-card {
    flex: 0 0 270px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.1);
    padding: 24px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
  }
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgb(0 0 0 / 0.2);
  }
  .icon-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2, #1f65c6);
    box-shadow: 0 6px 22px rgba(31, 101, 198, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background 0.3s ease;
    flex-shrink: 0;
  }
  .icon-container:hover {
    background: linear-gradient(135deg, #1f65c6, #4a90e2);
    box-shadow: 0 8px 30px rgba(31, 101, 198, 1);
  }
  .service-icon svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.35));
    transition: transform 0.6s ease;
  }
  /* Animations on hover */
  .icon-broom:hover svg {
    animation: broom-swing 1.5s infinite ease-in-out;
    transform-origin: 50% 80%;
  }
  @keyframes broom-swing {
    0%, 100% { transform: rotate(0deg);}
    50% { transform: rotate(15deg);}
  }
  .icon-bolt:hover svg {
    animation: bolt-flash 1.2s infinite ease-in-out;
  }
  @keyframes bolt-flash {
    0%, 100% { filter: drop-shadow(0 1px 6px rgba(255, 235, 59, 1)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 235, 59, 1)) brightness(1.3); }
  }
  .icon-wrench:hover svg {
    animation: wrench-turn 3s infinite linear;
    transform-origin: 50% 50%;
  }
  @keyframes wrench-turn {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
  }
  .icon-cogs:hover svg {
    animation: cogs-spin 3s infinite linear;
    transform-origin: 50% 50%;
  }
  @keyframes cogs-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(-360deg);}
  }
  .icon-utensils:hover svg {
    animation: utensils-bounce 1.5s infinite ease-in-out;
    transform-origin: center bottom;
  }
  @keyframes utensils-bounce {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-8px);}
  }
  .icon-car:hover svg {
    animation: car-zoom 1.5s infinite ease-in-out;
    transform-origin: center;
  }
  @keyframes car-zoom {
    0%, 100% { transform: scale(1);}
    50% { transform: scale(1.1);}
  }
  .service-image {
    width: 100%;
    border-radius: 16px;
    max-height: 180px;
    object-fit: cover;
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgb(0 0 0 / 0.14);
    pointer-events: none;
    user-select: none;
  }
  .service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 14px;
    user-select: none;
  }
  .service-desc {
    font-size: 1rem;
    color: #555;
    text-align: center;
    line-height: 1.6;
    padding: 0 12px;
    min-height: 72px;
    user-select: none;
  }
  @media (max-width: 480px) {
    body {
      padding: 20px 12px;
    }
    .service-card {
      flex: 0 0 220px;
    }
    .icon-container {
      width: 80px;
      height: 80px;
      margin-bottom: 18px;
    }
    .service-icon svg {
      width: 52px;
      height: 52px;
    }
    .service-image {
      max-height: 140px;
      margin-bottom: 14px;
    }
    .service-title {
      font-size: 1.25rem;
      margin-bottom: 10px;
    }
    .service-desc {
      min-height: auto;
      font-size: 0.9rem;
    }
  }
   

/* services with image */

.service-section {
  padding: 60px 60px;
}

.service-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.service-left {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.service-left .icon {
  color: #0a65f5;
  font-size: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.service-left h2 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px 0;
}

.service-left .big-number {
  font-size: 120px;
  font-weight: bold;
  color: #eaf1ff;
  line-height: 1;
  margin-top: 20px;
}

.service-middle {
  flex: 2;
  min-width: 300px;
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
}

.service-middle .underline {
  width: 40px;
  height: 3px;
  background-color: #0a65f5;
  margin-bottom: 20px;
}

.service-right {
  flex: 1;
  min-width: 250px;
}

.service-right img {
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .service-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-left, .service-middle, .service-right {
    width: 100%;
  }

  .service-left .big-number {
    font-size: 80px;
  }

  .service-middle {
    margin-top: 20px;
  }

  .service-right {
    margin-top: 20px;
  }
}

/* score */

.stats-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #f7f9fb;
  padding: 40px 20px;
  flex-wrap: wrap;
  text-align: center;
}

.stat-box {
  margin: 20px;
}

.stat-box h2 {
  font-size: 48px;
  color: #485563;
  margin-bottom: 10px;
}

.underline {
  width: 30px;
  height: 4px;
  background: #d50000;
  margin: 0 auto 10px;
}

.stat-box p {
  color: #7a7a7a;
  font-size: 16px;
}

/* emergency services */

  @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

.emergency-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.emergency-image {
  flex: 1 1 50%;
  background-image: url('https://img.freepik.com/free-vector/everyday-service-concept_1017-30337.jpg?ga=GA1.1.1380887713.1745660169&semt=ais_hybrid&w=740'); /* Replace with actual image path */
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  min-height: 400px;
}

.emergency-content {
  flex: 1 1 50%;
  background-color: #007bff;
  color: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emergency-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.emergency-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.phone {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
}

.phone i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

