/* =======================
   FAQ + Contact Form Styles
======================== */

.faq-section {
  padding: 80px 20px;
  background: #f7faf9;
  font-family: "Montserrat", sans-serif;
}

.faq-container {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
  flex-wrap: wrap;
}

/* Left Side - FAQ */
.faq-left {
  flex: 1;
  min-width: 300px;
}

.faq-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #083b32;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  background: #f1f6f4;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  color: #fff;
}

.faq-icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-icon {
  transform: rotate(45deg); /* + becomes x-like */
}

.faq-answer {
  padding: 15px 20px;
  display: none;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Right Side - Contact Form */
.faq-right {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #083b32;
}

.faq-contact-form .form-group {
  margin-bottom: 15px;
}

.faq-contact-form input,
.faq-contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.faq-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.faq-contact-form .submit-button {
  background: #2a7f67;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-contact-form .submit-button:hover {
  background: #236653;
}

/* Responsive */
@media (max-width: 992px) {
  .faq-container {
    flex-direction: column;
    gap: 40px;
  }
}

/* =========================
   FAQ Ratings Section
========================= */

.faq-ratings-section {
  margin-top: 40px; /* spacing below FAQ items */
}

.ratings-container {
  display: flex;
  gap: 30px;
  justify-content: flex-start; /* align left within the column */
  flex-wrap: wrap;
  margin-top: 20px;
}

.rating-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rating-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #248268;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.rating-icon.google {
  background: linear-gradient(
    rgb(27, 89, 188),
    rgb(172, 40, 28),
    rgb(249, 191, 31),
    rgb(21, 217, 122)
  );
}

.rating-item:hover .rating-icon {
  transform: scale(1.1);
}

.rating-number {
  font-size: 18px;
  font-weight: 700;
  color: #083b32;
}

.rating-text {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .ratings-container {
    justify-content: center;
    gap: 20px;
  }

  .rating-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .rating-number {
    font-size: 16px;
  }

  .rating-text {
    font-size: 12px;
  }
}

.range-slider {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  z-index: 3;
  cursor: pointer;
  margin: 0;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-wrapper {
  position: relative;
}

.slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  height: 12px;
  width: 100%;
  background: #e0e0e0;
  border-radius: 6px;
  transform: translateY(-50%);
  z-index: 1;
}

.slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 12px;
  background: linear-gradient(90deg, #1e3a8a, #facc15);
  border-radius: 6px;
  width: 0%;
}
