/* style/contact.css */
:root {
  --primary-color: #B80F0A; /* Deep Red */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark-card: rgba(255, 255, 255, 0.1);
  --background-light-card: #ffffff;
  --border-color: #e0e0e0;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

/* Fixed navigation bar spacing */
.page-contact__hero-banner {
  padding-top: 180px; /* Desktop: Adjust based on actual header height */
}

@media (max-width: 768px) {
  .page-contact__hero-banner {
    padding-top: 160px !important; /* Mobile: Adjust based on actual mobile header height */
  }
}

/* Hero Banner Section */
.page-contact__hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
}

.page-contact__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image slightly */
  color: var(--text-light);
}

.page-contact__main-heading {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold for main heading */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__sub-heading {
  font-size: 20px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Section common styles */
.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.page-contact__description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Dark background sections */
.page-contact__dark-bg {
  background: #0d0d0d; /* Slightly lighter dark background for contrast with body */
  color: var(--text-light);
  padding: 80px 0;
}

.page-contact__dark-bg .page-contact__section-title {
  color: var(--secondary-color);
}

.page-contact__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page-contact__dark-section .page-contact__section-title {
  color: var(--secondary-color);
}

.page-contact__dark-section .page-contact__description {
  color: var(--text-light);
}

/* Light background sections */
.page-contact__light-bg {
  background: #f1f3f5;
  color: var(--text-dark);
  padding: 80px 0;
}

.page-contact__light-bg .page-contact__section-title {
  color: var(--primary-color);
}

.page-contact__light-bg .page-contact__description {
  color: var(--text-dark);
}

/* Contact Info Section */
.page-contact__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__info-card {
  background: var(--background-dark-card);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__info-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__info-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-contact__info-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-contact__info-text-address {
  font-size: 16px;
  color: var(--text-light);
  font-weight: bold;
}

.page-contact__info-link {
  display: inline-block;
  font-size: 17px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__info-link:hover {
  color: var(--text-light);
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--background-light-card);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  font-size: 17px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  color: var(--text-dark);
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #888;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb-values), 0.2);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__btn-submit {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Why Contact Section */
.page-contact__why-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__why-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__why-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

.page-contact__why-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__why-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-contact__why-text {
  font-size: 16px;
  color: var(--text-light);
}

.page-contact__description--center {
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-contact__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-contact__btn-cta {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--background-light-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-contact__faq-question:active {
  background: #eeeeee;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-contact__faq-answer p {
  color: var(--text-dark);
  font-size: 16px;
}

.page-contact__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-contact__faq-answer a:hover {
  text-decoration: underline;
}

/* Button styles */
.page-contact__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
  background: #a00c08; /* Slightly darker primary */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-heading {
    font-size: 38px;
  }
  .page-contact__sub-heading {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__description {
    font-size: 17px;
  }
  .page-contact__info-card,
  .page-contact__why-card {
    padding: 25px;
  }
  .page-contact__info-title,
  .page-contact__why-title {
    font-size: 22px;
  }
  .page-contact__btn-cta {
    padding: 16px 35px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-banner {
    padding-bottom: 40px;
  }
  .page-contact__hero-image {
    max-height: 250px;
  }
  .page-contact__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-contact__main-heading {
    font-size: 30px;
  }
  .page-contact__sub-heading {
    font-size: 16px;
  }
  .page-contact__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-contact__description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-contact__dark-bg, .page-contact__light-bg, .page-contact__dark-section {
    padding: 50px 0;
  }
  .page-contact__info-grid,
  .page-contact__why-contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__info-icon,
  .page-contact__why-icon {
    width: 80px;
  }
  .page-contact__info-title,
  .page-contact__why-title {
    font-size: 20px;
  }
  .page-contact__info-text,
  .page-contact__why-text {
    font-size: 15px;
  }
  .page-contact__contact-form {
    padding: 30px 20px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }
  .page-contact__btn-submit,
  .page-contact__btn-cta {
    padding: 15px 25px;
    font-size: 16px;
  }
  .page-contact__faq-question {
    padding: 15px;
  }
  .page-contact__faq-question h3 {
    font-size: 15px;
  }
  .page-contact__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-contact__faq-answer p {
    font-size: 15px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
  /* Ensure all images and containers are responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-heading {
    font-size: 26px;
  }
  .page-contact__sub-heading {
    font-size: 14px;
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__info-title,
  .page-contact__why-title {
    font-size: 18px;
  }
  .page-contact__btn-submit,
  .page-contact__btn-cta {
    font-size: 15px;
    padding: 12px 20px;
  }
}