/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #0a0a0a, so text is light */
  background-color: #0a0a0a;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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.6); /* Dark overlay for text readability */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styling */
.page-contact__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__dark-section {
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF; /* Light text for dark background */
  padding: 60px 0;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  padding: 60px 0;
}

.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-contact__method-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-contact__method-item:hover {
  transform: translateY(-10px);
}

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  width: 200px; /* Display size */
  height: 200px; /* Display size */
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #FFFF00; /* Custom font color for titles in dark sections */
  margin-bottom: 15px;
}

.page-contact__method-text {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-contact__method-link {
  display: inline-block;
  color: #FFFF00; /* Custom font color for links */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFFF00;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__method-link:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Video Section */
.page-contact__video-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-contact__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
}

.page-contact__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer; /* Indicate clickable */
}

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

.page-contact__form-image-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.page-contact__form-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  width: 600px; /* Display size */
  height: 450px; /* Display size */
}

.page-contact__form {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  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: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-size: 1em;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFFF00;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.5);
}

.page-contact__form-submit-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
}

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for card background */
  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;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-title {
  font-size: 1.2em;
  color: #FFFFFF;
  margin: 0;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-contact__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-contact__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  max-width: 800px;
  height: auto;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
  width: 800px; /* Display size */
  height: 450px; /* Display size */
}

/* Why Contact Us Section */
.page-contact__why-contact-us {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-contact__why-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__why-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #017439;
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-contact__why-item strong {
  color: #FFFF00;
}

/* Call to Action Final Section */
.page-contact__cta-final {
  padding: 80px 0;
  text-align: center;
}

/* Button Styles */
.page-contact__btn-primary {
  background-color: #C30808; /* Custom Register/Login button color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: none;
}

.page-contact__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

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

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* Responsive Design */
@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;
  }
  .page-contact__form-image-container {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__form-image {
    max-width: 80%;
    width: 600px; /* Display size */
    height: 450px; /* Display size */
  }
  .page-contact__form {
    max-width: 80%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    height: 500px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-button,
  .page-contact__final-cta-button,
  .page-contact__form-submit-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-item {
    padding: 20px;
  }
  .page-contact__method-icon {
    width: 150px;
    height: 150px;
    min-width: 200px !important;
    min-height: 200px !important;
    width: 200px !important;
    height: 200px !important;
  }
  .page-contact__form-image-container {
    flex-direction: column;
    align-items: center;
  }
  .page-contact__form-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-contact__form {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px;
  }
  .page-contact__faq-question {
    padding: 15px;
  }
  .page-contact__faq-title {
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 15px;
  }
  .page-contact__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Mobile responsive for all images */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__form-image-container,
  .page-contact__form,
  .page-contact__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset */
  }

  /* Mobile responsive for all videos */
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset */
  }

  /* Mobile responsive for all buttons */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"],
  .page-contact__hero-button,
  .page-contact__form-submit-btn,
  .page-contact__final-cta-button {
    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__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;
    flex-direction: column;
  }

  /* Content area image size constraint */
  .page-contact img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-contact__method-icon {
    width: 200px !important; /* Ensure display size is at least 200px */
    height: 200px !important;
  }
  .page-contact__form-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .page-contact__faq-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}

/* Ensure content area images are not smaller than 200px */
.page-contact__method-icon,
.page-contact__form-image,
.page-contact__faq-image {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filters on images */
.page-contact img {
  filter: none; /* Ensure no filters are applied */
}