/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.header {
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-bottom: 1px solid #f1f1f1;
}

.logo {
  font-family: 'Prosto One', serif;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 1px; 
}

/* Hamburger button */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Navbar */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar li {
  display: inline-block;
}

.navbar a:hover {
  opacity: 0.7;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  background: #f9f9f9;
}

.hero-content {
  max-width: 780px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #2E86C1; /* Accent color */
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #276f9d;
}

/* Services */
.services {
  padding: 3rem 2rem;
  text-align: center;
}
.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.service-card {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 4px;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Why Us */
.why-us {
  padding: 3rem 2rem;
  background-color: #fff;
  text-align: center;
}
.why-us h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.why-us ul {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
.why-us li {
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  padding: 3rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}
.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.testimonial {
  margin: 1rem auto;
  max-width: 600px;
}
blockquote {
  font-style: italic;
  margin-bottom: 0.5rem;
}
cite {
  font-size: 0.9rem;
  color: #666;
}

/* Contact */
.contact {
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
label {
  font-weight: 600;
}
input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button[type="submit"] {
  align-self: flex-start;
}
.field-error {
  color: #c0392b;
  font-size: 0.875rem;
  margin-top: -0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid #f1f1f1;
  text-align: center;
  flex-direction: column;
  margin-top: 2rem;
  padding: 1rem;
}
footer p {
  margin: 0.5rem 0;
}

/* ------------------------------
   MEDIA QUERIES FOR RESPONSIVE
   ------------------------------ */

/* Mobile-first approach:
   By default, the .menu-toggle is hidden (display: none).
   We show it on smaller screens and hide the nav items until toggled.
*/
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show hamburger on mobile */
    margin-left: auto;
  }

  /* Hide the nav items by default on mobile */
  .navbar ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: #fff;
    position: absolute;
    top: 60px; /* just under the header */
    right: 20px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
  }

  /* When the nav is "active", display the menu */
  .navbar.active ul {
    display: flex;
  }

  .navbar li {
    margin: 0.5rem 0;
  }

  /* Adjust hero text size for mobile */
  .hero h1 {
    font-size: 2rem;
  }
}

.testimonials{
  padding: 20px;
  padding-top: 0px !important;
  background-color: #f2f2f2;
}
#google-reviews{
  padding-top: 0px !important;
}
.swiper {
  width: 100%;
  height: 400px;
  margin: auto;
  padding: 20px 0; 
}

.swiper-wrapper {
  align-items: center; 
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 10px 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  border-radius: 10px;
  background: #fff; 
  max-width: 700px; 
  margin: auto;
}

.swiper-pagination {
  bottom: 2px !important;
}

.review h3 {
  font-size: 1.2em;
  color: #333;
}

.review p {
  font-size: 1em;
  margin: 10px 0;
  color: #555;
}

.review small {
  font-size: 0.9em;
  color: #888;
}

.swiper-pagination-bullet {
  background: #007bff;
}
button.button {
  padding: 10px 20px;
  background-color: #8dc63f;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

button.button:hover {
  background-color: #0c660c;
}
#google_rating{
  font-size:1.2em;
  font-weight:600;
  position: relative;
  top: -2px;
}
#totalReviews{
  font-size: 0.7em !important;
  color: #333;
  position: relative;
  top: 1px !important;
}

#testimonials_header{
  padding: 0 20px;
}
#testimonials_header table{
  width: 100%;
  padding: 0 50px;
}

#testimonials_header table td span{
  font-size: 1.4em;
  font-weight: 600;
  color: #333;
  position: relative;
  top: -10px;
  padding-left:5px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .swiper {
    height: 400px;
  }
  .review p {
    font-size: 0.9em !important;
    color: #444;
  }
}
@media (max-width: 1024px) {
  .swiper {
    height: 375px;
  }
  .review p {
    font-size: 0.8em !important;
    color: #333;
  }
  .testimonials {
    padding: 7px;
  }
  #testimonials_header{
    padding: 0 7px !important;
  }
  footer {
    padding: 7px;
  }  
}
@media (max-width: 800px) {
  .swiper {
    height: 380px !important;
  }
  .review p {
    /* margin: 0; */
    font-size: 0.7em !important;
    color: #222;
  }
  .testimonials {
    padding: 5px;
  }
  #testimonials_header{
    padding: 0 5px !important;
  }
  footer {
    padding: 5px;
  }
  #testimonials_header table {
    padding: 0 5px;
  }
}
