/* style/contact.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f1f3f5;
  --card-bg: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-contact {
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark);
}

/* Ensure content is below fixed header */
.page-contact__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--secondary-color), var(--bg-dark));
}

.page-contact__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

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

.page-contact__hero-content {
  text-align: center;
}

.page-contact__main-heading {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-contact__main-heading .highlight {
  color: var(--primary-color);
}

.page-contact__intro-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
}

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

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-contact__section-description {
  font-size: 17px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-contact__section-description a:hover {
  text-decoration: underline;
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: var(--secondary-color); /* Dark section */
  color: var(--text-light);
}

.page-contact__contact-form {
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent dark background for form */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 16px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--primary-color);
  background-color: rgba(255, 215, 0, 0.1);
  outline: none;
}

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

.page-contact__submit-button {
  width: 100%;
  padding: 18px;
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__submit-button a {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
}

.page-contact__submit-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-contact__submit-button:hover a {
  color: var(--text-light);
}

.page-contact__info-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-contact__contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-contact__detail-item {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-contact__detail-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-contact__detail-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  font-size: 15px;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 80px; /* Larger size for social images */
  height: 80px;
  border-radius: 50%;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

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

.page-contact__faq-question h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Plus sign becomes an X */
}

.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;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid var(--border-color);
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-contact__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-heading {
    font-size: 36px;
  }

  .page-contact__section-title {
    font-size: 30px;
  }

  .page-contact__contact-details {
    grid-template-columns: 1fr;
  }

  .page-contact__detail-item {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
    padding-bottom: 40px;
  }

  .page-contact__hero-container {
    padding: 0 15px;
  }

  .page-contact__main-heading {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-contact__intro-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-contact__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-contact__section-title {
    font-size: 26px;
    padding-top: 30px;
  }

  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-contact__form-section, .page-contact__info-section, .page-contact__faq-section {
    padding: 40px 0;
  }

  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__submit-button {
    padding: 15px;
    font-size: 16px;
  }

  .page-contact__detail-title {
    font-size: 20px;
  }

  .page-contact__detail-text {
    font-size: 15px;
  }

  .page-contact__social-icon {
    width: 60px;
    height: 60px;
  }

  .page-contact__social-link {
    font-size: 14px;
  }

  .page-contact__faq-list {
    padding: 0 15px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-question h3 {
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px !important;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-container,
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}