/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fffaf7;
  color: #333;
  overflow-x: hidden;
}

/* Header Styles */
header {
  background-color: #e0cfc1;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

header img {
  height: 70px;
  border-radius: 50%;
}

/* Navigation Links */
.nav {
  display: flex;
  gap: 15px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Call Button */
.call-btn {
  background-color: #e0cfc1;
  color: black;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease;
}

.call-btn:hover {
  background-color: #fffaf7;
}

/* Toggle Buttons */
.toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

#close {
  display: none;
}

/* Mobile / Tablet */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: #6d6a68;
    width: 30%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 10px;
    z-index: 5;
    gap: 0px;
  }

  .call-btn{
    display: none;
  }

  .nav.adjust {
    display: flex;
  }

  .toggle {
    display: block;
  }

}


.hero {
  padding: 2rem 1rem;
  background: rgba(246, 238, 224, 0.5); /* slight transparency */
  text-align: center;
  border-radius: 10px;
  max-width: 90%;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.call-hero{
  display: none;
  background-color: #e0cfc1;
  color: black;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease;
}

.call-hero:hover {
  background-color: #fffaf7;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4a4a4a;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
}

/* Main section background image */
main {
  background-image: url("./images/hero2.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  min-height: 100vh;
  padding-top: 150px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

/* Features (cards section) */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 1rem;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.card {
  flex: 1 1 300px;
  max-width: 330px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.card p {
  color: #666;
}

/* Responsive Design for Tablets and Mobiles */
@media (max-width: 1024px) {
  main {
    padding-top: 100px;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  main {
    padding-top: 80px;
    background-size: contain;
    max-width: 100%;
  }

  .features {
    flex-direction: column;
    padding: 1rem;
    gap: 15px;
  }

  .card {
    flex: 1 1 100px;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }
  .call-hero {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #e0cfc1;
    z-index: 6;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .card {
    padding: 1rem;
  }
}


/* Footer */
footer {
  background: #e0cfc1;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.about-section {
      padding: 40px 20px;
      text-align: center;
      background: #fff4f4;
      display: flex;
     align-items: center;
     justify-content: center;
     gap: 30px;
    }

    .about-section h2 {
      margin-bottom: 20px;
      color: #b53c3c;
    }

    .about-section p {
      max-width: 800px;
      margin: auto;
      line-height: 1.6;
      color: #444;
    }

    @media (max-width: 768px) {
      .about-section {
        padding: 20px 10px;
        flex-direction: column;
      }

      nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }

      nav a {
        margin: 10px;
      }
      .about-section p{
        margin: 20px;
      }
    }



    .services-section {
      padding: 40px 20px;
      background: #fff0f5;
    }

    .services-section h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #b53c3c;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      max-width: 1000px;
      margin: auto;
    }

    .service-card {
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      text-align: center;
    }

    .service-card h3 {
      margin-bottom: 10px;
      color: #d14a4a;
    }

    .service-card p {
      font-size: 14px;
      color: #444;
    }

    @media (max-width: 768px) {
      nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }

      nav a {
        margin: 10px;
      }
    }





    .gallery-section {
      padding: 40px 20px;
      background-color: #fff8f4;
    }

    .gallery-section h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #b53c3c;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 15px;
      max-width: 1000px;
      margin: auto;
    }

    .gallery-grid img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 10px;
    }

    @media (max-width: 768px) {
      nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }

      nav a {
        margin: 10px;
      }

      .gallery-grid img {
        height: 150px;
      }
    }


.reviews-section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 40px 20px;
      background-color: #fffefc;
    }

    .reviews-section h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #b53c3c;
    }

    .card-container{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      max-width: 1300px;
    }
    .review-card {
      background: #fff0f0;
      border: 1px solid #f7baba;
      padding: 20px;
      margin: 10px;
      border-radius: 10px;
      width: 450px;
      box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
    }

    .review-card h4 {
      margin-bottom: 10px;
      color: #8c2c2c;
    }

    .review-card p {
      font-style: italic;
    }

    @media (max-width: 768px) {
      nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }

      nav a {
        margin: 10px;
      }

      .review-card {
        margin: 15px;
        padding: 15px;
        width: auto;
      }
    }



.contact-section {
      padding: 40px 20px;
      background-color: #fffdfc;
    }

    .contact-section h2 {
      text-align: center;
      color: #b53c3c;
      margin-bottom: 30px;
    }

    .contact-info {
      max-width: 700px;
      margin: auto;
      background: #fff0f0;
      padding: 30px;
      border-radius: 10px;
      border: 1px solid #f4b9b9;
      box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
    }

    .contact-info p {
      font-size: 18px;
      line-height: 1.6;
    }

    .contact-info a {
      color: #b53c3c;
      text-decoration: none;
    }

    .map-container {
      margin-top: 30px;
      text-align: center;
    }

    iframe {
      width: 100%;
      max-width: 600px;
      height: 350px;
      border: 0;
      border-radius: 8px;
    }

    @media (max-width: 768px) {
      nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }

      nav a {
        margin: 10px;
      }

      .contact-info {
        margin: 10px;
        padding: 20px;
      }
    } 
    
    
    .floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column; /* Stack vertically for better UX on mobile */
  gap: 15px;
  z-index: 9999;
}

.floating-buttons a {
  width: 55px;
  height: 55px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.floating-buttons a:hover {
  transform: scale(1.1);
}

.floating-buttons .phone-btn {
  background-color: #1abc9c;
}

.floating-buttons .whatsapp-btn {
  background-color: #25D366;
}

/* Responsive adjustments for small devices */
@media (max-width: 600px) {
  .floating-buttons a {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 12px;
  }
}

