

/*----slider code------*/
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 450px;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.swiper-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slider-content {
  position: relative;
  z-index: 2;
  background: rgb(0 0 0 / 0.6);
  color: #fff;
  padding: 60px;
  max-width: 1200px;
  text-align: left;
  border-radius: 10px;
  width: 90%; /* Ensures content fits well */
}

.slider-title {
  font-size: 36px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700;
}

.slider-description {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Adjusted Button Style with High Contrast */
.slider-btn.orange {
    background-color: #FF5722; /* Darker orange background */
    color: white; /* White text for high contrast */
    padding: 12px 24px; /* Slightly larger padding for better clickability */
    font-size: 18px; /* Larger text for better readability */
    font-weight: bold; /* Bold text for better visibility */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.slider-btn.orange:hover {
    background-color: #E64A19; /* Slightly darker orange on hover */
}

/* Icon Style */
.slider-btn.orange i {
    margin-right: 8px; /* Space between the icon and the text */
}

/* Ensuring Accessibility */
.slider-btn.orange:focus {
    outline: 3px solid #0056b3; /* Focus state for accessibility */
}

/* Center the heading and make it visually appealing */
header h1 {
  text-align: center;
  font-size: 25px;
  font-family: Arial, sans-serif;
  color: #333;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Style the paragraph */
header p {
  text-align: center;
  font-size: 18px;
  font-family: Arial, sans-serif;
  color: #666;
  line-height: 1.6;
  margin: 0 20px 20px 20px;
  padding: 0 15px;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
  .slider-content {
    padding: 20px; /* Adjust padding for smaller screens */
    max-width: 100%;
  }

  .slider-title {
    font-size: 28px; /* Adjust title size for mobile */
  }

  .slider-description {
    font-size: 16px; /* Adjust description size for mobile */
  }

  .slider-btn {
    font-size: 16px; /* Adjust button font size */
    padding: 10px 20px; /* Adjust button padding */
    min-width: 150px; /* Adjust button width */
  }

  header h1 {
    font-size: 22px; /* Slightly smaller font on mobile */
    margin-top: 30px;
  }

  header p {
    font-size: 16px; /* Slightly smaller font on mobile */
    margin: 0 15px 20px 15px;
  }
}

/* Extra small devices (max-width: 384px, e.g., small phones) */
@media (max-width: 384px) {
  .slider-content {
    padding: 15px; /* Reduce padding for very small screens */
  }

  .slider-title {
    font-size: 24px; /* Make title smaller on very small screens */
  }

  .slider-description {
    font-size: 14px; /* Adjust description size for small screens */
  }

  .slider-btn {
    font-size: 14px; /* Adjust button font size */
    padding: 10px 15px; /* Adjust button padding */
    min-width: 140px; /* Ensure button is not too big */
  }
}

/*------Slider  container--------------*/

/*---------services container--------*/

#services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 30px;
  background: #f9f9f9
}

.service-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgb(0 0 0 / .1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  padding: 20px
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgb(0 0 0 / .2)
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.3s
}

.service-card:hover .service-title {
  color: #007bff
}

.service-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px
}

.service-btn a {
  display: inline-block;
  padding: 12px 30px;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s
}

.service-btn a:hover {
  background: linear-gradient(135deg, #0056b3, #003f7f);
  transform: scale(1.1)
}

@media (max-width:768px) {
  #services-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
  }
}

.service-card {
  opacity: 0;
  transform: scale(.9);
  animation: cardFadeIn 0.7s ease-in-out forwards
}

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: scale(.9)
  }

  100% {
    opacity: 1;
    transform: scale(1)
  }
}

/*---footer css-----?*/

    .footer {
        background: #006400;
        color: #fff;
        padding: 20px 0;
        font-family: Arial, sans-serif;
    }

    .footer .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
    }

    .footer-col {
        flex: 1 1 calc(33.333% - 20px);
        min-width: 250px;
    }

    .footer-logo {
        max-width: 60px;
        margin-bottom: 10px;
    }

    .footer-contact,
    .footer-menu {
        list-style: none;
        padding: 0;
        margin: 10px 0 0;
    }

    .footer-contact li,
    .footer-menu li {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .footer-contact li i {
        margin-right: 10px;
    }

    .footer-menu a {
        color: #fff;
        text-decoration: none;
    }

    .footer-menu a:hover {
        text-decoration: underline;
    }

    .footer-form {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    .footer-form input {
        flex: 1;
        padding: 8px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
    }

    .footer-form button {
        padding: 8px 16px;
        border: none;
        background-color: #ff7f00;
        color: #fff;
        font-size: 14px;
        border-radius: 4px;
        cursor: pointer;
    }

    .footer-form button:hover {
        background-color: #e66c00;
    }

    .footer-social {
        margin-top: 10px;
        display: flex;
        gap: 10px;
    }

    .footer-social a {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
    }

    .footer-social a:hover {
        color: #ff7f00;
    }

    .footer-bottom {
        margin-top: 20px;
        text-align: center;
        font-size: 12px;
    }

    .footer-bottom a {
        color: #ff7f00;
        text-decoration: none;
    }

    .footer-bottom a:hover {
        text-decoration: underline;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
        .footer-row {
            flex-direction: column;
            gap: 40px;
        }

        .footer-col {
            flex: 1 1 100%;
            min-width: unset;
        }

        .footer-form {
            flex-direction: column;
            gap: 10px;
        }

        .footer-form input,
        .footer-form button {
            width: 100%;
        }
    }
    
/*------for Dynamic links*/
  
  
/* General Styling */
.plumber-services-container {
    text-align: center;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff; /* Dark grey background for a modern look */
    font-family: Arial, sans-serif;
}

/* Header Styling */
.header-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333; /* White text for contrast */
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Loader Styling */
#loading {
    font-size: 1.2rem;
    color: #00bcd4; /* Teal color for loader */
    font-weight: bold;
    display: none;
}

/* Grid Layout for Buttons */
.plumber-state-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4 columns by default */
    gap: 15px;
    justify-items: center;
    margin-bottom: 30px;
}

/* Button Styling with Modern Colors */
.plumber-state-button {
    background-color: #006400; /* Teal background for buttons */
    border: none;
    padding: 20px 30px; /* Increased padding for larger touch targets */
    font-size: 1.2rem; /* Larger text for better readability */
    font-weight: bold;
    color: #ffffff; /* White text for good contrast */
    cursor: pointer;
    text-transform: capitalize;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    text-align: center;
    min-width: 120px; /* Ensure buttons are wide enough */
    min-height: 50px; /* Minimum height for better touch target */
}

.plumber-state-button:hover {
    background-color: #ff5722; /* Darker orange on hover for contrast */
    transform: scale(1.05);
}

.plumber-state-button a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

.plumber-state-button a:hover {
    color: #f1f1f1;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .plumber-state-row {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
    }
}

@media screen and (max-width: 1024px) {
    .plumber-state-row {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .header-title {
        font-size: 2rem; /* Adjust header font for tablets */
    }

    .plumber-state-row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }

    .plumber-state-button {
        font-size: 1.2rem; /* Adjust font size for mobile devices */
        padding: 15px 20px;
        min-width: 120px; /* Ensure button is large enough */
        min-height: 50px; /* Maintain sufficient touch target size */
    }
}

@media screen and (max-width: 480px) {
    .header-title {
        font-size: 1.5rem; /* Adjust header font for mobile */
    }

    .plumber-state-row {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }

    .plumber-state-button {
        font-size: 1.1rem;
        padding: 12px 18px; /* Slightly smaller padding for small devices */
        min-width: 120px; /* Maintain touch target size */
        min-height: 60px; /* Ensure proper size on small screens */
    }
}