/* style/contact.css */

/* Variables */
:root {
  --page-contact-primary-color: #003366;
  --page-contact-secondary-color: #FFCC00;
  --page-contact-text-light: #f7f7f7;
  --page-contact-text-dark: #333333;
  --page-contact-background-light: #ffffff;
  --page-contact-background-dark: #002244;
  --page-contact-accent-color: #FFCC00;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-contact-text-dark);
  background-color: var(--page-contact-background-light);
}

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

.page-contact__hero {
  background: var(--page-contact-primary-color);
  color: var(--page-contact-text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(255, 204, 0, 0.2));
  z-index: 1;
}

.page-contact__hero > .page-contact__container {
  position: relative;
  z-index: 2;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--page-contact-text-light);
}

.page-contact__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--page-contact-text-light);
}

.page-contact__hero-image-wrapper {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: var(--page-contact-primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-contact__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-contact-secondary-color);
  border-radius: 2px;
}

.page-contact__methods {
  padding: 60px 0;
  background-color: var(--page-contact-background-light);
}

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

.page-contact__card {
  background-color: var(--page-contact-background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-contact__card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  color: var(--page-contact-primary-color);
}

.page-contact__card-title {
  font-size: 1.8em;
  color: var(--page-contact-primary-color);
  margin-bottom: 15px;
}

.page-contact__card-description {
  font-size: 1.05em;
  color: var(--page-contact-text-dark);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-contact__btn--primary {
  background-color: var(--page-contact-secondary-color);
  color: black; /* Ensuring high contrast */
}

.page-contact__btn--primary:hover {
  background-color: #e6b800; /* Slightly darker yellow */
  transform: translateY(-2px);
}

.page-contact__btn--secondary {
  background-color: transparent;
  color: var(--page-contact-primary-color);
  border: 2px solid var(--page-contact-primary-color);
}

.page-contact__btn--secondary:hover {
  background-color: var(--page-contact-primary-color);
  color: var(--page-contact-text-light);
  transform: translateY(-2px);
}

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

.page-contact__social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.page-contact__social-icon:hover {
  transform: scale(1.1);
}

.page-contact__form-section {
  background-color: #f0f4f8; /* Light blue-gray for contrast */
  padding: 60px 0;
}

.page-contact__form-description {
  text-align: center;
  font-size: 1.1em;
  color: var(--page-contact-text-dark);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--page-contact-background-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--page-contact-primary-color);
  font-size: 1.05em;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--page-contact-secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.3);
  outline: none;
}

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

.page-contact__cta {
  background: linear-gradient(135deg, var(--page-contact-primary-color), var(--page-contact-background-dark));
  color: var(--page-contact-text-light);
  padding: 70px 0;
  text-align: center;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: var(--page-contact-text-light);
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--page-contact-text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__cta-buttons .page-contact__btn {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-contact__cta-buttons .page-contact__btn--primary {
  background-color: var(--page-contact-secondary-color);
  color: black;
  border: 2px solid var(--page-contact-secondary-color);
}

.page-contact__cta-buttons .page-contact__btn--primary:hover {
  background-color: #e6b800;
}

.page-contact__cta-buttons .page-contact__btn--secondary {
  background-color: transparent;
  color: var(--page-contact-text-light);
  border: 2px solid var(--page-contact-text-light);
}

.page-contact__cta-buttons .page-contact__btn--secondary:hover {
  background-color: var(--page-contact-text-light);
  color: var(--page-contact-primary-color);
}

.highlight {
  color: var(--page-contact-secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__form {
    padding: 30px;
  }

  .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-buttons .page-contact__btn {
    width: 80%;
    margin: 0 auto;
  }
}

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

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

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

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

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

  .page-contact__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-contact__form {
    padding: 20px;
  }

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

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

  .page-contact__cta-buttons .page-contact__btn {
    width: 90%;
  }
}