@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500&family=Roboto:wght@100;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gwendolyn:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
html, body {
  overflow-x: hidden;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the content horizontally */
  text-align: left; /* Ensure text is left-aligned */
  margin: 0 auto; /* Center the container itself */
  max-width: 1000px; /* Optional: Limit the maximum width for better control */
  ;
}


.section-divider p {
  font-family: Quicksand;
  flex: 1;
  font-size: 16px;
  line-height: 2;
  max-width: 600px;
}

.hopefully {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section-header {
  font-family: Gwendolyn;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 35px;
  color: #4D231C;
  width: 50%;
  font-size: 3em;
  font-weight: bolder;
  border-bottom: 3px solid #4D231C;
}

.section-header span {
  font-family: Gwendolyn;
  font-weight: bold;
}


/* image row css  */
.image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* Adjust the gap between images as needed */
  padding: 20px; /* Adjust padding as needed */
  background-color: #fff; /* Set the background color as needed */
}

.image-row img {
  width: 100%;
  max-width: 24%; /* Adjust the max-width as needed */
  height: auto;
  object-fit: cover;
  border-radius: 10px; /* Optional: adds rounded corners to images */
}

/* Testimonial styling */
.testimonial-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: #fff;
}

.testimonial-container {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  max-width: 800px;
  position: relative;
  background-color: #fff;
}

.quote-left, .quote-right {
  font-size: 50px;
  color: #ddd;
  flex-shrink: 0;
}

.quote-left {
  margin-right: 20px;
}

.quote-right {
  margin-left: 20px;
}

.testimonial-content {
  text-align: center;
}

.testimonial-content h3 {
  font-family: QuickSand;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-family: QuickSand;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-author span {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  font-family: QuickSand;
}

.stars {
  display: flex;
}

.stars span {
  color: #f39c12;
  font-size: 18px;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .image-row {
      flex-direction: column;
  }

  .image-row img {
      max-width: 100%;
  }
}

/* Mobile responsiveness  */
/* Responsive styles */
@media (max-width: 1024px) {
  .section-divider {
    flex-direction: column;
    margin-left: 10px;
    gap: 10px;
  }

  .section-divider img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  .section-divider p {
    font-size: 14px;
  }

  .testimonial-container {
    flex-direction: column;
    padding: 10px;
  }

  .quote-left, .quote-right {
    display: none;
  }

  .testimonial-content h3 {
    font-size: 20px;
  }

  .testimonial-content p {
    font-size: 14px;
  }

  .testimonial-author span {
    font-size: 12px;
  }

  .stars span {
    font-size: 16px;
    margin-right: 3px;
  }
}

@media (max-width: 768px) {
  .section-header {
    font-size: 24px;
  }

  .section-divider {
    margin-left: 0;
  }

  .image-row {
    flex-direction: column;
  }

  .image-row img {
    max-width: 100%;
  }

  .testimonial-container {
    padding: 20px;
  }

  .testimonial-content h3 {
    font-size: 18px;
  }

  .testimonial-content p {
    font-size: 14px;
  }

  .testimonial-author span {
    font-size: 12px;
  }

  .stars span {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .section-header {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .section-divider img {
    max-width: 100%;
  }

  .section-divider p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
  }

  .testimonial-container {
    padding: 15px;
  }

  .testimonial-content h3 {
    font-size: 16px;
  }

  .testimonial-content p {
    font-size: 12px;
  }

  .testimonial-author span {
    font-size: 10px;
  }

  .stars span {
    font-size: 14px;
  }
}