.page-contact {
  color: #333333; /* Dark text for default light body background */
  padding-top: var(--header-offset, 120px);
  font-family: Arial, sans-serif;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px; /* Ensure hero section has a minimum height */
}

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

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold main color */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold main color */
  color: #1E90FF; /* Blue auxiliary color for contrast */
  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;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Blue auxiliary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-contact__form-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-contact__form-illustration {
  flex: 1;
  min-width: 300px;
}

.page-contact__form-illustration img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__contact-form {
  flex: 1;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #1E90FF; /* Blue auxiliary color */
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
  outline: none;
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  background-color: #1E90FF; /* Blue auxiliary color */
  color: #ffffff;
  padding: 15px 20px;
  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: #176fcc;
  transform: translateY(-2px);
}

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

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

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

.page-contact__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__info-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 15px;
}

.page-contact__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-contact__card-link,
.page-contact__social-link {
  display: inline-block;
  color: #1E90FF; /* Blue auxiliary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover,
.page-contact__social-link:hover {
  color: #0d5fb3;
  text-decoration: underline;
}

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

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1E90FF, #0d5fb3);
  color: #ffffff;
  text-align: center;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold main color */
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-contact__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold main color */
  color: #1E90FF; /* Blue auxiliary color */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__form-content {
    flex-direction: column;
  }
  .page-contact__form-illustration, .page-contact__contact-form {
    width: 100%;
    max-width: 600px;
  }
  .page-contact__form-illustration img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 20px 40px;
    min-height: 350px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__form-section, .page-contact__info-section, .page-contact__cta-section {
    padding: 40px 0;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__cta-title {
    font-size: 2.2em;
  }
  .page-contact__cta-description {
    font-size: 1em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-button {
    width: 100%;
    max-width: 300px;
  }
  /* Mobile content area image resizing */
  .page-contact__form-illustration img, 
  .page-contact__info-icon {
    max-width: 100%; 
    height: auto; 
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__info-icon {
    width: 150px;
    height: 150px;
  }
  .page-contact__cta-title {
    font-size: 1.8em;
  }
}