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

.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2239; /* Main brand color for hero background */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

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

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

.page-contact__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__hero-image {
  margin-top: 40px;
  max-width: 100%;
  height: auto;
}

.page-contact__hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__methods-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

.page-contact__methods-title {
  font-size: 2.2em;
  color: #0A2239;
  margin-bottom: 40px;
}

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

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

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

.page-contact__method-icon {
  width: 250px; /* Ensuring minimum size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-contact__method-icon img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__method-heading {
  font-size: 1.6em;
  color: #0A2239;
  margin-bottom: 15px;
}

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

.page-contact__method-button {
  display: inline-block;
  background-color: #0A2239;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #FFD700;
  color: #0A2239;
}

.page-contact__form-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-contact__form-title {
  font-size: 2.2em;
  color: #0A2239;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__form-description {
  text-align: center;
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

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

.page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #0A2239;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
}

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

.page-contact__form-submit-button {
  background-color: #FFD700;
  color: #0A2239;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__cta-section {
  background-color: #0A2239;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.page-contact__cta-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-contact__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2239;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-contact__cta-image {
  max-width: 100%;
  height: auto;
}

.page-contact__cta-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

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

  .page-contact__methods-title,
  .page-contact__form-title,
  .page-contact__cta-title {
    font-size: 1.8em;
  }

  .page-contact__hero-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__cta-section {
    padding: 30px 15px;
  }

  .page-contact__cta-description {
    font-size: 1em;
  }

  /* Ensures content images are responsive and do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
  
  /* Specific override for method icons to prevent small fixed sizes on mobile */
  .page-contact__method-icon {
    width: 100%; /* Adjust to fill container on mobile */
    height: auto;
  }

  /* Ensure no fixed width/height for content area images that would cause overflow */
  .page-contact__hero-image img,
  .page-contact__cta-image img {
    width: 100%;
    height: auto;
  }
}