/* style/contact.css */
.page-contact {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Padding-top 10px as per rule */
  background-color: #0d0d0d;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-contact__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-contact__title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-contact__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Section Titles and Descriptions */
.page-contact__section-title,
.page-contact__form-title,
.page-contact__faq-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__section-description,
.page-contact__form-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Contact Info Section */
.page-contact__contact-info-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

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

.page-contact__info-item {
  background: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for brand color background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__icon {
  font-size: 3em;
  margin-bottom: 15px;
  display: block;
}

.page-contact__info-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-contact__info-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-contact__info-link:hover {
  color: #e0e0e0;
}

/* Contact Form Section */
.page-contact__contact-form-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background: #1a1a1a;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #26A9E0;
}

.page-contact__input,
.page-contact__textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #222;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__input::placeholder,
.page-contact__textarea::placeholder {
  color: #888;
}

.page-contact__input:focus,
.page-contact__textarea:focus {
  border-color: #26A9E0;
  outline: none;
}

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__submit-button:hover {
  background-color: #d16b06;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-contact__faq-item {
  background: #0d0d0d;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question */
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary default marker */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-contact__faq-answer {
  padding: 20px 25px;
  background-color: #1a1a1a;
  color: #cccccc;
  font-size: 0.95em;
  border-top: 1px solid #333;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  margin-top: 60px;
}

.page-contact__cta-text {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-contact__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Buttons */
.page-contact__cta-button,
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background-color: #EA7C07; /* Login/Primary CTA */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-contact__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand color text */
  border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-section {
    padding-bottom: 40px;
  }

  .page-contact__title {
    font-size: clamp(2em, 5vw, 3.5em);
  }

  .page-contact__section-title,
  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__cta-text {
    font-size: clamp(1.8em, 4vw, 2.2em);
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding-bottom: 30px;
    padding-top: 10px !important;
  }

  .page-contact__hero-image {
    margin-bottom: 20px;
  }

  .page-contact__hero-content,
  .page-contact__container {
    padding: 0 15px;
  }

  /* Image responsive rules */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-section,
  .page-contact__contact-info-section,
  .page-contact__contact-form-section,
  .page-contact__faq-section,
  .page-contact__cta-section,
  .page-contact__container,
  .page-contact__info-item,
  .page-contact__form,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Button responsive rules */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex; /* Ensure flex context for wrap */
    flex-direction: column; /* Stack buttons vertically */
  }

  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 15px 20px;
  }

  .page-contact__submit-button {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-contact__title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-contact__section-title,
  .page-contact__form-title,
  .page-contact__faq-title,
  .page-contact__cta-text {
    font-size: clamp(1.5em, 6vw, 2em);
  }
}