/* style/contact.css */

/* Base styles for page-contact */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--black-color) */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #cccccc;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: #0d0d0d; /* Dark background for hero section */
  color: #ffffff;
  text-align: center;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0; /* Brand color for H1 */
  margin-bottom: 20px;
}

.page-contact__intro-text {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-contact__btn-primary {
  background: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

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

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

.page-contact__btn-login {
  background: #EA7C07; /* Login color */
  border-color: #EA7C07;
}

.page-contact__btn-login:hover {
  background: #c26505;
  border-color: #c26505;
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 20px;
  background: #f8f9fa; /* Light background for contrast */
  color: #333333;
}

.page-contact__info-section .page-contact__section-title {
  color: #000000; /* Dark title on light background */
}

.page-contact__info-section .page-contact__section-description {
  color: #555555;
}

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

.page-contact__contact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-contact__contact-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-contact__card-text {
  font-size: 1em;
  margin-bottom: 15px;
  color: #666666;
}

.page-contact__card-detail {
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 20px;
}

.page-contact__btn-link {
  display: inline-block;
  padding: 10px 25px;
  background: #26A9E0;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-contact__btn-link:hover {
  background: #1e87c0;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 20px;
  background: #0d0d0d; /* Dark background */
  color: #f0f0f0;
}

.page-contact__form-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__form-section .page-contact__section-description {
  color: #cccccc;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #444444;
  border-radius: 8px;
  background: #222222;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #aaaaaa;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #26A9E0;
  outline: none;
}

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

.page-contact__form-submit {
  width: 100%;
  padding: 18px;
  background: #26A9E0;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__form-submit:hover {
  background: #1e87c0;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 20px;
  background: #f8f9fa; /* Light background */
  color: #333333;
}

.page-contact__faq-section .page-contact__section-title {
  color: #000000;
}

.page-contact__faq-section .page-contact__section-description {
  color: #555555;
}

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

.page-contact__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #26A9E0;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-item summary:hover {
  background-color: #e2e6ea;
}

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

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 15px;
  color: #26A9E0;
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 20px;
  background: #1a1a1a; /* Darker background */
  color: #f0f0f0;
  text-align: center;
}

.page-contact__commitment-section .page-contact__section-title {
  color: #26A9E0;
}

.page-contact__commitment-section .page-contact__section-description {
  color: #cccccc;
  margin-bottom: 40px;
}

.page-contact__commitment-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__main-title {
    font-size: 2.5em;
  }
}

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

  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-contact__main-title {
    font-size: clamp(2em, 5vw, 2.5em); /* Use clamp for H1 */
    padding: 0 10px; /* Add some horizontal padding */
  }

  .page-contact__intro-text {
    font-size: 1em;
  }

  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section {
    padding: 40px 15px;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact__btn-link,
  .page-contact__form-submit,
  .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;
  }

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

  .page-contact__contact-card {
    padding: 25px;
  }

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

  .page-contact__hero-image-wrapper,
  .page-contact__contact-card,
  .page-contact__commitment-section,
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__faq-section,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Specific overrides for containers that already have padding in desktop */
  .page-contact__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}