/* style/contact.css */

/* Variables from shared.css will be used */
:root {
  --primary-color: #1E3A8A;
  --secondary-color: #F59E0B;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --background-dark: #0a0a0a;
  --background-light-grey: #f1f3f5;
  --border-color: #e0e0e0;
}

.page-contact {
  color: var(--text-on-light); /* Default text color for light backgrounds within main */
  background-color: var(--background-dark); /* Main content area background, contrasting body */
  min-height: 100vh;
  /* Fixed navigation bar spacing */
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

/* Hero Banner Section */
.page-contact__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-on-dark);
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforcing minimum size */
  min-height: 200px; /* Enforcing minimum size */
}

/* General Container for sections */
.page-contact__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Card Styling */
.page-contact__card {
  background: #ffffff; /* Light background for cards */
  color: var(--text-on-light); /* Dark text on light card background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 30px;
}

.page-contact__card-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
}

/* Contact Info Section */
.page-contact__contact-info-section {
  padding: 60px 0;
  background-color: var(--background-light-grey); /* Light background for this section */
  color: var(--text-on-light);
}

.page-contact__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.1em;
}

.page-contact__contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  line-height: 1.5;
}

.page-contact__contact-icon {
  min-width: 200px; /* Enforcing minimum size for images */
  min-height: 200px; /* Enforcing minimum size for images */
  width: 200px; /* Default size for these images */
  height: 200px; /* Default size for these images */
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.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;
}

/* Form Section */
.page-contact__form-section {
  padding: 30px 0 60px;
  background-color: var(--background-light-grey);
  color: var(--text-on-light);
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  font-size: 1.1em;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-on-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  color: var(--text-on-light);
  background-color: #fcfcfc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Buttons */
.page-contact__submit-button,
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__btn-primary {
  background: var(--primary-color);
  color: var(--text-on-dark);
}

.page-contact__btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* SEO Content Section */
.page-contact__seo-content {
  padding: 60px 0;
  background-color: var(--background-light-grey);
  color: var(--text-on-light);
}

.page-contact__seo-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-contact__seo-content h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__seo-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-contact__seo-content strong {
  color: var(--primary-color);
}

.page-contact__seo-list {
  list-style: disc;
  padding-left: 30px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-contact__seo-list li {
  margin-bottom: 10px;
}

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

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

.page-contact__faq-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-contact__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px; /* Adjust border-radius to match item */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-on-light);
}