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

/* Base styles for the page-contact scope */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--f88-text-main); /* Default text color for dark sections */
  background-color: var(--f88-background-color); /* Default background for dark sections */
  padding-top: 0; /* Handled by body in shared.css */
}

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

.page-contact__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  color: var(--f88-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-contact__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--f88-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--f88-deep-green);
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and text */
  box-sizing: border-box;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-contact__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Use clamp for H1 */
  color: var(--f88-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.page-contact__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--f88-text-main);
  margin-bottom: 30px;
}

/* General Card Styling */
.page-contact__card {
  background-color: var(--f88-card-bg);
  border: 1px solid var(--f88-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-contact__card-light {
  background-color: #ffffff;
  color: var(--f88-deep-green);
}

.page-contact__text-dark {
  color: var(--f88-deep-green);
}

/* Button Styling */
.page-contact__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Ensure word breaks */
}

.page-contact__btn-primary {
  background: var(--f88-button-gradient);
  color: #ffffff;
  border: none;
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: var(--f88-primary-color);
  border: 2px solid var(--f88-primary-color);
}

.page-contact__btn-secondary:hover {
  background-color: var(--f88-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(17, 168, 78, 0.2);
}

/* Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: var(--f88-background-color);
}

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

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 24px;
  color: var(--f88-text-main);
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  color: var(--f88-text-secondary);
  margin-bottom: 25px;
}

.page-contact__social-media {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--f88-divider-color);
}

.page-contact__social-title {
  font-size: 28px;
  color: var(--f88-text-main);
  margin-bottom: 15px;
}

.page-contact__social-text {
  font-size: 16px;
  color: var(--f88-text-secondary);
  margin-bottom: 30px;
}

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

.page-contact__social-link img {
  
  
  transition: transform 0.3s ease;
  object-fit: contain;
}

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

/* Why Contact Section */
.page-contact__why-contact-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for this section */
}

.page-contact__reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-contact__reason-title {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__reason-text {
  font-size: 16px;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--f88-deep-green);
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__faq-item {
  border-radius: 10px;
  overflow: hidden;
  color: var(--f88-text-main);
  text-align: left;
}

.page-contact__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--f88-text-main);
  background-color: var(--f88-card-bg);
  border-bottom: 1px solid var(--f88-border-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-qtext {
  flex-grow: 1;
}

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

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter background for answer */
  border-top: 1px solid var(--f88-border-color);
}

.page-contact__faq-answer p {
  margin: 0;
  color: var(--f88-text-secondary);
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for this section */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--f88-deep-green);
  font-size: 16px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #f8f8f8;
  color: #333333;
}

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

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

.page-contact__button-group {
  text-align: center;
  margin-top: 30px;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  background-color: var(--f88-background-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-image-wrapper {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px !important;
  }

  .page-contact__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

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

  .page-contact__hero-description {
    font-size: clamp(16px, 3vw, 18px);
  }

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

  .page-contact__section-description {
    font-size: clamp(14px, 2.5vw, 16px);
  }

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

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

  /* Responsive images, videos, buttons */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact video,
  .page-contact__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__video-section,
  .page-contact__video-container,
  .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__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;
  }
  
  .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-direction: column !important;
    gap: 15px !important;
  }

  .page-contact__form-section,
  .page-contact__why-contact-section,
  .page-contact__methods-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

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

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

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

@media (max-width: 480px) {
  .page-contact__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-contact__main-title {
    font-size: clamp(28px, 9vw, 36px);
  }
  .page-contact__hero-description {
    font-size: clamp(15px, 3.5vw, 17px);
  }
  .page-contact__method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__social-title {
    font-size: 24px;
  }
  .page-contact__social-link img {
    
    
  }
}