/* style/contact.css */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#121212), so text is light */
  background-color: #121212; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px);
}

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

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

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

.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.page-contact__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
}

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

.page-contact__btn-primary:hover {
  background: #1e87b7;
  transform: translateY(-2px);
}

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

.page-contact__btn-secondary:hover {
  background: #e0f2f7;
  transform: translateY(-2px);
}

.page-contact__methods-section,
.page-contact__social-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__commitment-section {
  padding: 80px 0;
}

.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: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  height: 100%;
  box-sizing: border-box;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.page-contact__method-icon {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for visual consistency */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-contact__method-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__contact-info {
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-contact__contact-info a {
  color: #26A9E0;
  text-decoration: none;
}

.page-contact__contact-info a:hover {
  text-decoration: underline;
}

.page-contact__social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: center;
}

.page-contact__social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-contact__social-link:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.page-contact__social-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  max-height: 150px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  object-fit: contain;
}

.page-contact__social-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #333;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

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

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

.page-contact__contact-form button[type="submit"] {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  background: #26A9E0;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__contact-form button[type="submit"]:hover {
  background: #1e87b7;
  transform: translateY(-2px);
}

.page-contact__faq-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 60px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-contact__faq-question:hover {
  background-color: #1e87b7;
}

.page-contact__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.02);
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 25px;
}

.page-contact__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-contact__commitment-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__commitment-section li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }
  .page-contact__hero-section {
    height: 500px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__social-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .page-contact__method-card,
  .page-contact__social-link,
  .page-contact__contact-form,
  .page-contact__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .page-contact__method-icon,
  .page-contact__social-icon,
  .page-contact__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-contact__contact-form button[type="submit"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__section-intro {
    padding: 0 15px;
  }
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px !important;
  }
  .page-contact__commitment-section ul {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section {
    height: 400px;
  }
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__method-icon {
    height: 150px;
  }
  .page-contact__social-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__social-icon {
    max-width: 100px;
    max-height: 100px;
  }
}