/* style/contact.css */
.page-contact {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #ffffff; /* Default light background */
  color: #333333; /* Dark text for readability on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff; /* Light text on dark hero overlay */
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 36, 99, 0.8), rgba(255, 215, 0, 0.4)); /* Overlay with brand colors */
  z-index: 2;
}

.page-contact__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A2463; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-contact__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Dark blue title */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Methods Section */
.page-contact__methods-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-contact__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-contact__method-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #0A2463; /* Dark blue button */
  color: #FFD700; /* Gold text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__method-button:hover {
  background-color: #071a4f;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__faq-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FFD700;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__faq-button:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

/* Social Media Section */
.page-contact__social-section {
  background-color: #0A2463; /* Dark blue background */
  color: #ffffff; /* Light text */
  padding: 60px 0;
}

.page-contact__social-section .page-contact__section-title {
  color: #FFD700; /* Gold title */
}

.page-contact__social-section .page-contact__section-intro {
  color: #f0f0f0;
}

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

.page-contact__social-link img {
  width: 200px; /* Minimum 200px for content images */
  height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.page-contact__social-link img:hover {
  transform: scale(1.1);
}

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-contact__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.page-contact__benefit-item {
  background-color: #ffffff;
  padding: 25px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
}

.page-contact__benefit-item strong {
  color: #0A2463;
  display: block;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.page-contact__section-outro {
  font-size: 1.1em;
  text-align: center;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* Register Section */
.page-contact__register-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-contact__register-section .page-contact__section-title {
  color: #FFD700;
}

.page-contact__register-section .page-contact__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-contact__register-section .page-contact__cta-button {
  margin: 0 15px 20px 15px;
}

.page-contact__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-contact__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description {
    font-size: 1.15em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__method-icon {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-contact__main-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 200px; /* Enforce min size for mobile */
    height: 150px;
    max-width: 100%;
    height: auto;
  }
  .page-contact__social-link img {
    width: 200px; /* Enforce min size for mobile */
    height: 200px;
    max-width: 100%;
    height: auto;
  }
  .page-contact__benefits-list {
    grid-template-columns: 1fr;
  }
  .page-contact__section-intro, .page-contact__section-outro {
    font-size: 0.95em;
  }
  .page-contact__register-section .page-contact__cta-button {
    display: block;
    margin: 15px auto;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-contact img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min- /* Adjusted min-height for better aspect ratio for content images */
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__method-title {
    font-size: 1.5em;
  }
  .page-contact__cta-button, .page-contact__method-button, .page-contact__faq-button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
  .page-contact__social-links {
    gap: 15px;
  }
}