/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: whitesmoke;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding-bottom: 2rem;
}

/* Animated Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar */
nav {
    padding: 1.2rem 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: gray;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.brand a {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-items {
    display: flex;
    gap: 2rem;
}

.nav-items a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-items a:hover {
    color: purple;
}
.phone-icon-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.phone-icon {
    background-color: purple;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.phone-icon:hover {
    background-color: #0056b3;
}

.phone-icon {
    animation: pulse 2s infinite;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 1rem;
}

.contact-phone {
    margin-top: 8px;
    font-weight: bold;
    color: purple;
}

/* Menu Toggle (burger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    margin: 4px 0;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 2rem;
    gap: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-image img {
    width: 100%;
    max-width: 680px;
    height: auto;
    border-radius: 10px;
}

.hero-content {
    max-width: 600px;
    padding: 1rem;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: gray;
}

.hero-content p {
    color: rgb(21, 20, 20);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}
.hero-content h2 {
    font-size: 1.3rem;
        color: gray;

    margin-bottom: 1rem;
}
/* Carousel */
.image-carousel {
    padding: 2.5rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    text-align: center;
    border-radius: 12px;
    margin: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.image-carousel h2 {
    margin-bottom: 1.5rem;
    color: gray;
    font-size: 1.5rem;
}

.image-carousel {
    padding: 2rem;
    text-align: center;
    background-color: #1a1a1a;
}

.image-carousel h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: gray;
}

.image-carousel {
    padding: 2rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 2rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-align: center;
}

.image-carousel h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: gray;

}

.carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;

     /* Smooth on iOS */
}
.carousel-container::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .carousel-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
.carousel-slide {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-section {
    padding: 4rem 1.5rem;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }
  
  .hero-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 15px;
  }
  
  .hero-container h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .hero-container p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-container ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 0;
    
  }
  
  .hero-container ul li {
    background-color: rgba(255, 255, 255, 0.1);
    color: wheat;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
  }
  .hero-container ul li a {
    color: wheat;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
  }
  
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background-color: #f39c12;
    color: #000;
  }
  
  .btn-primary:hover {
    background-color: #e67e22;
  }
  
  .btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
  }
  
  .btn-secondary:hover {
    background-color: #fff;
    color: #000;
  }
  #services {
    padding: 3rem 1.5rem;
}

#services .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#services h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
        color: rgb(21, 20, 20);

}



#services .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    display: flex; /* Make the grid a flex container */
    flex-wrap: wrap; /* Allow items to wrap */
}

.service-card {
    /* ... other styles ... */
    display: flex;
    flex-direction: column;
    /* Remove fixed height */
}

.service-card > * { /* Target direct children (h3, p) */
    flex-grow: 1; /* Allow content to take up available vertical space */
    /* Consider adjusting margins if needed */
}


.service-card h3 {
    font-size: 1.2rem;
        color: rgb(21, 20, 20);

    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Section - Our Work Speaks (Gallery) */
#gallery {
    padding: 3rem 1.5rem;
    text-align: center;
}

#gallery h2 {
    font-size: 1.6rem;
    color: gray;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Section - Client Experiences (Testimonials) */
#testimonials {
    padding: 3rem 1.5rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

#testimonials h2 {
    font-size: 1.6rem;
    color: gray;
    margin-bottom: 2rem;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-slider blockquote {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-slider strong {
    display: block;
    font-weight: bold;
    font-style: normal;
    color: #ddd;
}

/* Section - What Sets Us Apart (Why Choose Us) */
#why {
    padding: 3rem 1.5rem;
    text-align: center;
}

#why h2 {
    font-size: 1.6rem;
    color: gray;
    margin-bottom: 2rem;
}



.grid-icons div {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-icons i {
    font-size: 2rem; /* You'll need to include a font library like Font Awesome for these icons */
    margin-bottom: 0.8rem;
    color: #f39c12;
}

.grid-icons span {
    font-size: 1rem;
        color: rgb(21, 20, 20);

}

/* Section - Areas We Serve (Locations) */
#locations {
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
}

#locations h2 {
    font-size: 1.4rem;
    color: gray;
    margin-bottom: 1rem;
}

#locations p {
    font-size: 1rem;
}

/* Section - Book a Free Consultation (Contact Form) */
#contact {
    padding: 3rem 1.5rem;
    text-align: center;
}

#contact h2 {
    font-size: 1.6rem;
        color: rgb(21, 20, 20);

    margin-bottom: 1.5rem;
}

#contact form {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact select,
#contact input[type="date"],
#contact textarea {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
        color: rgb(21, 20, 20);

    font-size: 1rem;
}

#contact textarea {
    resize: vertical;
    min-height: 100px;
}

#contact button[type="submit"] {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    background-color: gray;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact button[type="submit"]:hover {
    background-color: gray;
}

.whatsapp-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color:gray;;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128c7e;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #ccc;
    background-color: rgba(0, 0, 0, 0.4);
    margin-top: 2rem;

}
footer p{
    margin-top: 1rem;
}
.footer-links a {
    color: #ddd;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: white;
}

  

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-items {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
     
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        display: none;
        z-index: 99;
    }

    .nav-items.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content {
        padding: 1rem 0.5rem;
    }

  
    .carousel-slide {
        width: 220px;
    }

    .image-carousel h2 {
        font-size: 1.2rem;
    }
    .hero-container h1 {
        font-size: 1.8rem;
      }
    
      .hero-container ul {
        flex-direction: column;
        align-items: center;
      }
    
      .hero-buttons {
        flex-direction: column;
      }
      
      
}
