/* Contact Page Styles */
.contact-hero {
  height: 100vh;
}

/* Hero Image Styles */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Overlay for Darkening Effect */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
  z-index: -1;
}

/* Hero Text Styles for Readability */
.contact-hero .hero-title,
.contact-hero .hero-subtitle {
  color: #fff; /* White text for better contrast */
}

.contact-section {
  padding: 100px 0;
  background-color: #111;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Contact Form Styles */
.contact-form-container {
  background-color: #000;
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #ffd700;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  background-color: #222;
  border: 2px solid #333;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffd700;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

/* Contact Info Styles */
.contact-info-container {
  padding: 2rem 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: #ffd700;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h4 {
  color: #ffd700;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-text p {
  color: #ccc;
  line-height: 1.6;
}

.social-section {
  padding-top: 2rem;
  border-top: 1px solid #333;
}

.social-section h4 {
  color: #ffd700;
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: #000;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #333;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #ffd700;
}

.faq-question h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #ffd700;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

/* Form Success Message */
.form-success {
  background-color: #2d5a2d;
  color: #90ee90;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

.form-error {
  background-color: #5a2d2d;
  color: #ff9090;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .contact-hero {
    height: 100vh; /* Match about page */
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .contact-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
  }
}