.page-contact {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-contact__hero-section {
  position: relative;
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffc107;
}

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

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

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-contact__button--primary {
  background-color: #ffc107;
  color: #007bff;
  border: 2px solid #ffc107;
}

.page-contact__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-contact__button--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-contact__button--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
  transform: translateY(-2px);
}

.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__methods-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.page-contact__methods-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #007bff;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-contact__card-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Corresponding height for 4:3 aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-contact__button--card {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-contact__button--card:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-contact__contact-form {
  margin-top: 40px;
  text-align: left;
  display: grid;
  gap: 20px;
}

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

.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;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__button--submit {
  background-color: #ffc107;
  color: #007bff;
  border: 2px solid #ffc107;
  width: auto;
  padding: 12px 30px;
  cursor: pointer;
  margin-top: 20px;
  justify-self: center;
}

.page-contact__button--submit:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-contact__info-section {
  padding: 60px 20px;
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
}

.page-contact__info-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-contact__info-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
}

.page-contact__info-heading {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-contact__info-text {
  color: #f0f0f0;
  margin-bottom: 15px;
}

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

.page-contact__social-icon {
  color: #ffc107;
  font-size: 1.1em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__social-icon:hover {
  color: #e0a800;
  text-decoration: underline;
}

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

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

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

  .page-contact__card-icon {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 15px;
  }

  .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__button {
    width: 100%;
  }

  .page-contact__methods-section, .page-contact__form-section, .page-contact__info-section {
    padding: 40px 15px;
  }

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

  .page-contact__section-description {
    font-size: 0.95em;
  }

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

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

  .page-contact__social-links {
    justify-content: center;
  }
  
  .page-contact img {
    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__button {
    padding: 10px 20px;
  }

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

  .page-contact__card-icon {
    width: 200px;
    height: 150px;
  }
}