/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark gray for general text */
  background-color: #f8f8f8;
}

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

.page-contact .highlight {
  color: #B22222;
  font-weight: bold;
}

/* Hero Section */
.page-contact__hero {
  background: linear-gradient(135deg, #B22222, #FFD700);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-contact__hero-title .highlight {
  color: #FFD700;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

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

.page-contact__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.15;
  max-height: 100%;
  width: auto;
  z-index: 0;
}

/* General Buttons */
.page-contact__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
}

.page-contact__button--primary {
  background-color: #FFD700; /* Gold */
  color: #B22222; /* Deep Red */
  border: 2px solid #FFD700;
}

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

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

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

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: #B22222;
  color: #FFFFFF;
  border: 1px solid #B22222;
}

.page-contact__button--small:hover {
  background-color: #8c1a1a;
  border-color: #8c1a1a;
}

.page-contact__button--submit {
  background-color: #B22222;
  color: #FFFFFF;
  border: none;
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  border-radius: 8px;
}

.page-contact__button--submit:hover {
  background-color: #8c1a1a;
}

/* Section Titles */
.page-contact__section-title {
  font-size: 2.5em;
  color: #B22222; /* Deep Red */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-top: 20px;
}

.page-contact__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Contact Methods Section */
.page-contact__methods {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.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: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-contact__method-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-contact__method-title {
  font-size: 1.6em;
  color: #B22222;
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__form-intro {
  text-align: center;
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fefefe;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  position: relative;
  z-index: 1;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1em;
  color: #333333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-contact__form-image {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0.08;
  max-height: 100%;
  width: auto;
  z-index: 0;
}

/* Social Media Section */
.page-contact__social-media {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-contact__social-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
}

.page-contact__social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.page-contact__social-link {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #B22222;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__social-link:hover {
  transform: translateY(-5px) scale(1.1);
  background-color: #FFD700;
}

.page-contact__social-icon {
  width: 30px;
  height: 30px;
  filter: invert(100%); /* Make icons white */
}

/* CTA Download Section */
.page-contact__cta-download {
  background: linear-gradient(90deg, #B22222, #8c1a1a);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__cta-download .page-contact__section-title {
  color: #FFFFFF;
}

.page-contact__cta-download .page-contact__section-title::after {
  background-color: #FFD700;
}

.page-contact__cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-contact__cta-image {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0.15;
  max-height: 100%;
  width: auto;
  z-index: 0;
}

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

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

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

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

  .page-contact__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
  }

  .page-contact__form {
    padding: 25px;
  }

  .page-contact__hero-image,
  .page-contact__form-image,
  .page-contact__cta-image {
    display: none;
  }
}

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

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

  .page-contact__hero,
  .page-contact__methods,
  .page-contact__form-section,
  .page-contact__social-media,
  .page-contact__cta-download {
    padding: 40px 0;
  }

  .page-contact__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}