/* style/contact.css */

/* Root variables for colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --background-dark: #08160F;
  --card-bg-dark: #11271B;
  --text-main-light: #F2FFF6;
  --text-secondary-light: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* General styles for the page-contact scope */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-light); /* Default text color for the page, assuming dark body background */
  background-color: var(--background-dark); /* Explicitly setting body-like background */
}

.page-contact__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-main-light);
}

.page-contact__card {
  background-color: var(--card-bg-dark);
  color: var(--text-main-light);
  border-radius: 10px;
}

.page-contact__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__description,
.page-contact__text-secondary {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: var(--text-secondary-light);
}

.page-contact__text-secondary {
  font-size: 16px;
}

/* Buttons */
.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-contact__main-title {
  font-size: clamp(32px, 5vw, 50px);
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

/* Contact Form Section */
.page-contact__form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  margin: 40px auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.page-contact__contact-form {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.page-contact__form-group {
  display: flex;
  flex-direction: column;
}

.page-contact__form-label {
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-main-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--deep-green-color);
  color: var(--text-main-light);
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: var(--text-secondary-light);
}

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

.page-contact__form-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

/* Contact Info Section */
.page-contact__info-section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

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

.page-contact__detail-item {
  background-color: var(--deep-green-color);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__detail-title {
  font-size: 22px;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-contact__detail-text {
  font-size: 17px;
  color: var(--text-main-light);
}

.page-contact__social-media {
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.page-contact__social-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 20px;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-contact__social-link img {
  
  
  transition: transform 0.3s ease;
  border-radius: 50%;
  object-fit: cover;
  min-
  min-
}

.page-contact__social-link img:hover {
  transform: translateY(-5px);
}

.page-contact__info-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
}

.page-contact__faq-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.page-contact__faq-item {
  background-color: var(--deep-green-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-contact__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  color: var(--gold-color);
  background-color: var(--deep-green-color);
}

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-contact__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary-light);
}

.page-contact__faq-answer p {
  margin: 0;
  color: inherit;
  text-align: left;
}

.page-contact__faq-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

/* CTA Bottom Section */
.page-contact__cta-bottom-section {
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
  border-radius: 10px;
}

.page-contact__cta-bottom-section .page-contact__btn-primary {
  margin-top: 30px;
  min-width: 200px;
}

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

  .page-contact__hero-section,
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__faq-section,
  .page-contact__cta-bottom-section {
    padding: 30px 15px !important;
    margin: 20px auto !important;
  }

  .page-contact__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-contact__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-contact__description,
  .page-contact__text-secondary {
    font-size: 16px;
  }

  .page-contact__btn-primary {
    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__hero-content {
    padding: 15px;
  }

  .page-contact__contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__social-links {
    gap: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 14px;
  }

  .page-contact__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 14px;
  }

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

  .page-contact__hero-image-wrapper,
  .page-contact__form-section,
  .page-contact__info-section,
  .page-contact__faq-section,
  .page-contact__cta-bottom-section,
  .page-contact__contact-form,
  .page-contact__contact-details,
  .page-contact__social-media,
  .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
    padding-left: 0;
    padding-right: 0;
  }

  .page-contact__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is for visual spacing */
  }
}

/* Ensure images within sections and cards are responsive and not tiny */
.page-contact__hero-image,
.page-contact__form-image,
.page-contact__info-image,
.page-contact__faq-image {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space */
}

.page-contact__social-link img {
  min- /* Social icons can be smaller, but not tiny like 32x32 */
  min-
  
  
}