.page-contact {
  color: #333333; /* Dark text on light body background #F8F8F8 */
  padding-top: var(--header-offset, 120px);
  line-height: 1.6;
}

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

.page-contact__hero-section {
  background-color: #0A192F; /* Primary dark blue for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-contact__hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FFD700; /* Gold accent for title */
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-contact__cta-button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

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

.page-contact__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-contact__contact-methods-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-contact__methods-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: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 100px; /* Minimum 200px display size, this is for icon-like illustration */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__method-text {
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-contact__method-button:hover {
  background-color: #1a3a5e;
}

.page-contact__contact-form-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-contact__form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: #FFD700;
  color: #0A192F;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-contact__social-media-section {
  padding: 60px 0;
  background-color: #0A192F;
  color: #ffffff;
  text-align: center;
}

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

.page-contact__social-media-section .page-contact__section-description {
  color: #cccccc;
}

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

.page-contact__social-link {
  color: #ffffff;
  font-size: 1.2em;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #FFD700;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-contact__cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A192F 0%, #1a3a5e 100%);
  color: #ffffff;
  text-align: center;
}

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

.page-contact__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

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

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

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

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

  .page-contact__cta-button {
    width: 80%;
    max-width: 300px;
  }

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

  .page-contact__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-contact__method-card {
    padding: 25px;
  }

  .page-contact__form {
    padding: 20px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea,
  .page-contact__form-submit-button {
    font-size: 0.95em;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__social-link {
    width: 80%;
    max-width: 250px;
    margin: 0 auto;
  }

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

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

  .page-contact__container {
    padding: 0 15px;
  }

  /* Ensure images do not overflow */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images must be at least 200px wide */
  .page-contact__method-icon {
    width: 200px; /* Adjusted to meet minimum size requirement */
    height: 200px;
  }
}

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

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

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

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

  .page-contact__method-card {
    padding: 20px;
  }

  .page-contact__method-title {
    font-size: 1.5em;
  }

  .page-contact__method-text {
    font-size: 0.9em;
  }

  .page-contact__method-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .page-contact__form-submit-button {
    font-size: 1em;
  }

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