/* style/contact.css */

/* Variables for color scheme */
:root {
  --primary-color: #1A2A44; /* Dark blue/purple */
  --secondary-color: #FFCC00; /* Bright gold/yellow */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f9fa;
  --background-dark-card: rgba(255, 255, 255, 0.05);
  --border-color: #e0e0e0;
  --form-bg: #ffffff;
  --form-border: #cccccc;
  --input-bg: #f9f9f9;
  --button-hover: #e6b800;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for main content on dark body background */
  background-color: transparent; /* Body background handled by shared.css var(--dark-bg-1) */
}

/* Fixed nav bar spacing for first content section */
.page-contact__hero-contact-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background: var(--primary-color);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.page-contact__hero-contact-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-contact__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-contact__hero-description strong {
  color: var(--secondary-color);
}

.page-contact__hero-cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__hero-cta-button:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-contact__form-card, .page-contact__info-card {
  background: var(--form-bg);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.page-contact__form-title, .page-contact__info-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-contact__form-intro, .page-contact__info-intro {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-dark);
}

.page-contact__form-intro strong, .page-contact__info-intro strong {
  color: var(--primary-color);
}

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

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

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

.page-contact__form-input:focus,
.page-contact__form-select:focus,
.page-contact__form-textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
  outline: none;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-contact__form-submit-button:hover {
  background: #122036; /* Slightly darker primary */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.page-contact__contact-icon {
  font-size: 32px;
  color: var(--secondary-color);
  flex-shrink: 0;
  line-height: 1;
}

.page-contact__contact-details h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 8px;
}

.page-contact__contact-details p, .page-contact__contact-details address {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.page-contact__contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-contact__social-media {
  margin-top: 30px;
  text-align: center;
}

.page-contact__social-media h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-contact__social-media p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

.page-contact__social-link {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  justify-content: center;
  align-items: center;
  font-size: 24px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px) scale(1.05);
}

.page-contact__social-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-contact__faq-heading {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
}

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

.page-contact__faq-intro strong {
  color: var(--secondary-color);
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #122036; /* Slightly lighter than primary for contrast */
  border: 1px solid #2a3e5c;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-contact__faq-question:hover {
  background: #1a2a44;
  border-color: #3e5a80;
}

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

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--text-light);
  background: var(--secondary-color);
  transform: rotate(45deg);
}

.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 25px;
  opacity: 0;
  background: #0c182a; /* Even darker background for answer */
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

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

.page-contact__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-contact__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-contact__text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__grid {
    grid-template-columns: 1fr;
  }
  .page-contact__form-card, .page-contact__info-card {
    padding: 30px;
  }
  .page-contact__hero-title {
    font-size: 36px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__faq-heading {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-contact-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
  }
  .page-contact__hero-title {
    font-size: 28px;
  }
  .page-contact__hero-description {
    font-size: 15px;
  }
  .page-contact__hero-cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-contact__main-content-section {
    padding: 40px 0;
  }
  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__form-card, .page-contact__info-card {
    padding: 25px 20px;
  }
  .page-contact__form-title, .page-contact__info-title {
    font-size: 26px;
  }
  .page-contact__form-intro, .page-contact__info-intro {
    font-size: 14px;
  }
  .page-contact__form-label {
    font-size: 14px;
  }
  .page-contact__form-input,
  .page-contact__form-select,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  .page-contact__form-submit-button {
    font-size: 16px;
    padding: 12px 15px;
  }
  .page-contact__contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  .page-contact__contact-icon {
    font-size: 28px;
  }
  .page-contact__contact-details h3 {
    font-size: 18px;
  }
  .page-contact__contact-details p, .page-contact__contact-details address {
    font-size: 14px;
  }
  .page-contact__social-media h3 {
    font-size: 20px;
  }
  .page-contact__social-link {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  .page-contact__social-icon {
    width: 35px;
    height: 35px;
  }
  .page-contact__faq-section {
    padding: 40px 0;
  }
  .page-contact__faq-heading {
    font-size: 24px;
  }
  .page-contact__faq-intro {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .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-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px !important;
  }
  .page-contact__faq-answer p {
    font-size: 15px;
  }

  /* Mobile image adaptation */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__form-card img, .page-contact__info-card img, .page-contact__faq-item img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 24px;
  }
  .page-contact__hero-description {
    font-size: 14px;
  }
  .page-contact__form-title, .page-contact__info-title {
    font-size: 22px;
  }
  .page-contact__faq-heading {
    font-size: 20px;
  }
  .page-contact__faq-intro {
    font-size: 14px;
  }
  .page-contact__faq-question h3 {
    font-size: 15px;
  }
  .page-contact__faq-answer p {
    font-size: 14px;
  }
}