.page-contact {
  color: #333333; /* Dark text for light body background */
}

.page-contact__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  padding-bottom: 60px;
  background-color: #0A192F; /* Dark background for hero */
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-contact__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-contact__hero-button--primary {
  background-color: #FFD700;
  color: #0A192F;
}

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

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

.page-contact__hero-button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

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

.page-contact__why-contact-section,
.page-contact__channels-section,
.page-contact__form-section,
.page-contact__resources-section,
.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__why-contact-section {
  background-color: #f4f4f4;
}

.page-contact__channels-section {
  background-color: #ffffff;
}

.page-contact__form-section {
  background-color: #f9f9f9;
}

.page-contact__resources-section {
  background-color: #f4f4f4;
}

.page-contact__cta-section {
  background-color: #0A192F;
  color: #ffffff;
}

.page-contact__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #0A192F;
  font-weight: 700;
}

.page-contact__why-contact-section .page-contact__section-title,
.page-contact__resources-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-title {
  color: #0A192F;
}

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

.page-contact__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-contact__cta-section .page-contact__section-description {
  color: #f0f0f0;
}

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

.page-contact__feature-card,
.page-contact__channel-card,
.page-contact__resource-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__feature-card:hover,
.page-contact__channel-card:hover,
.page-contact__resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact__feature-icon,
.page-contact__channel-icon,
.page-contact__resource-image {
  width: 100%; /* Ensure images fill card width */
  max-width: 400px; /* Max width for feature icons */
  height: auto;
  min-height: 200px; /* Enforce minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-contact__channel-icon,
.page-contact__resource-image {
  max-width: 600px; /* Larger max-width for channel and resource images */
}

.page-contact__feature-title,
.page-contact__channel-title,
.page-contact__resource-title {
  font-size: 1.6em;
  color: #0A192F;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__resource-title a {
  color: #0A192F;
  text-decoration: none;
}

.page-contact__resource-title a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-contact__feature-text,
.page-contact__channel-text,
.page-contact__resource-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-contact__email-address {
  font-weight: 600;
  color: #0A192F;
}

.page-contact__channel-button,
.page-contact__resource-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push button to bottom of card */
}

.page-contact__channel-button:hover,
.page-contact__resource-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-contact__contact-form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 50px auto 0 auto;
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: #0A192F;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999999;
}

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

.page-contact__form-submit-button {
  background-color: #0A192F;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: auto;
  display: block;
  margin: 0 auto;
}

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

.page-contact__form-note {
  margin-top: 30px;
  font-size: 0.95em;
  color: #777777;
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-contact__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-contact__cta-button--primary {
  background-color: #FFD700;
  color: #0A192F;
}

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

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

.page-contact__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

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

  .page-contact__section-title {
    font-size: 2.2em;
  }

  .page-contact__cta-title {
    font-size: 2.5em;
  }

  .page-contact__hero-image,
  .page-contact__feature-icon,
  .page-contact__channel-icon,
  .page-contact__resource-image {
    max-width: 100%;
    min-width: 200px; /* Ensure minimum display size */
    min-height: 200px; /* Ensure minimum display size */
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }

  .page-contact__hero-title {
    font-size: 2.2em;
  }

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__hero-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-contact__why-contact-section,
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__resources-section,
  .page-contact__cta-section {
    padding: 60px 0;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-contact__features-grid,
  .page-contact__channels-grid,
  .page-contact__resources-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-contact__feature-card,
  .page-contact__channel-card,
  .page-contact__resource-card {
    padding: 25px;
  }

  .page-contact__feature-title,
  .page-contact__channel-title,
  .page-contact__resource-title {
    font-size: 1.4em;
  }

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

  .page-contact__form-submit-button {
    width: 100%;
  }

  .page-contact__cta-title {
    font-size: 2em;
  }

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

  .page-contact__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Mobile content area image constraint */
  .page-contact img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum display size */
    min-height: 200px; /* Ensure minimum display size */
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }

  .page-contact__section-title {
    font-size: 1.6em;
  }

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

  .page-contact__hero-section {
    padding: 30px 15px;
  }

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

  .page-contact__hero-button,
  .page-contact__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}