/* Scoped Styles for the HC Contact Section */
.hc-contact-section {
  background: #f4f4f4;
  padding: 30px 15px;
}

.hc-contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
}

.hc-contact-form {
  flex: 1 1 280px;
  padding: 25px 30px;
  background-color: #eee;
}

.hc-contact-info {
  flex: 1 1 280px;
  padding: 25px 30px;
  background-color: #ddd;
}

.hc-form-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 5px;
  line-height: 1.5;
}

.hc-heading {
  margin-bottom: 12px;
  font-size: 20px;
  color: #222;
}

.hc-info-item {
  margin: 6px 0;
  font-size: 18px;
  color: #555;
}

.hc-info-item i {
  color: #222;
  margin-right: 8px;
}

.hc-link {
  color: #222;
  text-decoration: none;
}

.hc-social-links {
  margin-top: 12px;
}

.hc-social-icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #444;
  transition: color 0.3s;
}

.hc-social-icon:hover {
  color: #1e88e5;
}

.hc-input,
.hc-textarea {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box; /* Include padding and border in width/height */
  resize: none;
}

.hc-button {
  background: #1e88e5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.3s;
}

.hc-button:hover {
  background: #1565c0;
}

.hc-success-message {
  display: none;
  margin-top: 10px;
  color: #2e7d32;
  font-size: 13px;
  background: #e8f5e9;
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 4px solid #2e7d32;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .hc-contact-container {
    flex-direction: column;
  }

  .hc-contact-info, .hc-contact-form {
    padding: 20px;
  }

  .hc-heading {
    font-size: 18px;
  }

  .hc-input,
  .hc-textarea {
    font-size: 16px;
  }

  .hc-button {
    font-size: 16px;
    padding: 12px 24px;
  }

  .hc-social-icon {
    font-size: 18px;
  }

  .hc-info-item {
    font-size: 16px;
  }

  /* Fix for Textarea Overflow Issue */
  .hc-textarea {
    height: auto;
    min-height: 120px;
    max-height: 250px;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .hc-heading {
    font-size: 15px;
  }

  .hc-input,
  .hc-textarea {
    font-size: 15px;
  }

  .hc-button {
    font-size: 15px;
    padding: 10px 20px;
  }

  .hc-social-icon {
    font-size: 16px;
  }

  /* Fix for Textarea Overflow Issue on Small Screens */
  .hc-textarea {
    height: auto;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
  }
}



/* Scoped Styles for the HC FAQ Section */
.hc-faq-section {
  background: #f0f0f0;
  padding: 40px 15px;
}

.hc-faq-heading {
  font-size: 24px;
  color: #222;
  text-align: center;
  margin-bottom: 20px;
}

.hc-faq-container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hc-faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px;
  background-color: #f9f9f9;
}

.hc-faq-item:last-child {
  border-bottom: none;
}

.hc-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hc-faq-question:hover {
  color: #1e88e5;
}

.hc-toggle-icon {
  font-size: 20px;
  color: #1e88e5;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.hc-toggle-icon.rotate {
  transform: rotate(45deg); /* Rotate the icon on toggle */
}

.hc-faq-answer {
  display: block;
  overflow: hidden;
  max-height: 0; /* Initially collapsed */
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease; /* Smooth opening/closing */
  padding: 0 15px;
}

.hc-faq-answer p {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .hc-faq-heading {
    font-size: 20px;
  }

  .hc-faq-question {
    font-size: 16px;
  }

  .hc-toggle-icon {
    font-size: 18px;
  }

  .hc-faq-answer {
    font-size: 14px;
  }
}



/* HC Map Section Styles */
.hc-map-section {
  padding: 40px 0;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
}

.hc-map-container {
  width: 80%;
  max-width: 1000px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
}

.hc-map-heading {
  font-size: 22px;
  color: #222;
  font-family: 'Poppins', sans-serif;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.hc-map-embed {
  width: 100%;
  height: 200px;
}

@media (max-width: 768px) {
  .hc-map-container {
    width: 95%;
  }

  .hc-map-heading {
    font-size: 18px;
    padding: 10px 0;
  }

  .hc-map-embed {
    height: 130px;
  }
}

@media (max-width: 480px) {
  .hc-map-container {
    width: 92%;
  }

  .hc-map-embed {
    height: 120px;
  }
}
