/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-contact__hero-section {
  background: linear-gradient(135deg, #FFD700, #4B0082);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #4B0082;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

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

.page-contact__method-card {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  color: #FFD700;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

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

.page-contact__method-text {
  color: #666;
  margin-bottom: 25px;
}

.page-contact__method-link {
  display: inline-block;
  background-color: #FFD700;
  color: #4B0082;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__method-link:hover {
  background-color: #e6c200;
  color: #330055;
}

.page-contact__btn-primary {
  background-color: #FFD700;
  color: #4B0082;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.page-contact__btn-primary:hover {
  background-color: #e6c200;
  color: #330055;
}

.page-contact__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

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

.page-contact__form-illustration {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-contact__form {
  flex: 1 1 400px;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px 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: #4B0082;
}

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

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

.page-contact__btn-submit {
  background-color: #4B0082;
  color: #FFD700;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
}

.page-contact__btn-submit:hover {
  background-color: #330055;
  color: #FFD700;
}

.page-contact__promotion-cta {
  padding: 80px 0;
  background-color: #4B0082;
  color: #fff;
  text-align: center;
}

.page-contact__promotion-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-contact__promotion-text {
  max-width: 800px;
}

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

.page-contact__promotion-description {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.page-contact__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

@media (min-width: 768px) {
  .page-contact__hero-title {
    font-size: 4em;
  }
  .page-contact__promotion-wrapper {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .page-contact__promotion-text {
    flex: 1;
    padding-right: 40px;
  }
  .page-contact__promotion-image {
    flex-shrink: 0;
    max-width: 45%;
  }
}

@media (max-width: 767px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__promotion-title {
    font-size: 2.2em;
  }
  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__form-content {
    flex-direction: column;
  }
  .page-contact__form-illustration {
    order: -1; /* Move illustration above form on small screens */
  }
  .page-contact__promotion-wrapper {
    flex-direction: column;
  }
  .page-contact__promotion-image {
    margin-top: 30px;
  }
}