/* style/contact.css */
/*
  Body background color from shared.css: var(--background)
  Custom colors for this page:
  Background: #08160F
  Card BG: #11271B
  Text Main: #F2FFF6
  Text Secondary: #A7D9B8
  Button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%)
  Border: #2E7A4E
  Glow: #57E38D
  Gold: #F2C14E
  Divider: #1E3A2A
  Deep Green: #0A4B2C
*/

.page-contact {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

/* 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 as body handles header offset */
  background-color: #08160F;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 30px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

/* Sections */
.page-contact__section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-contact__section-title {
  font-size: 2.5rem;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Card Styles */
.page-contact__card {
  background-color: #11271B;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-contact__card:hover {
  transform: translateY(-5px);
}

.page-contact__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__card-title {
  font-size: 1.5rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1rem;
  color: #A7D9B8;
  flex-grow: 1;
}

/* Grid Layouts */
.page-contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-contact__method-icon {
  width: 200px; /* Adjusted to meet minimum 200x200 requirement */
  height: 200px; /* Adjusted to meet minimum 200x200 requirement */
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
  min-width: 200px; /* Explicitly ensure min size */
  min-height: 200px; /* Explicitly ensure min size */
}

.page-contact__contact-info {
  font-size: 1.1rem;
  color: #F2FFF6;
  margin-top: 15px;
  word-break: break-all;
}

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

.page-contact__social-icon {
  color: #F2FFF6;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 15px;
  border: 1px solid #2E7A4E;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #0A4B2C;
}

/* Buttons */
.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: #11271B;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

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

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

/* FAQ Section */
.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6;
  background-color: #11271B;
  user-select: none;
  list-style: none;
}

.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;
  margin-right: 10px;
}

.page-contact__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2AD16F;
}

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

.page-contact__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #A7D9B8;
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
}

.page-contact__faq-answer .page-contact__btn-secondary {
  margin-top: 10px;
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Info Blocks */
.page-contact__info-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
}

.page-contact__info-text {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
}


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

  .page-contact__container {
    padding: 0 15px !important;
  }

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

  .page-contact__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-contact__description {
    font-size: 1rem;
  }

  .page-contact__section {
    padding: 40px 0;
  }

  .page-contact__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-contact__grid,
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__card-title {
    font-size: 1.3rem;
  }

  .page-contact__card-image {
    height: 150px;
  }

  .page-contact__method-icon {
    width: 200px; /* Maintain minimum size */
    height: 200px; /* Maintain minimum size */
  }

  .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 {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__faq-item summary {
    font-size: 1.1rem;
    padding: 15px;
  }

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

  /* Image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers with images/content are responsive */
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__info-block,
  .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific handling for elements that might contain content and padding */
  .page-contact__why-card,
  .page-contact__method-card {
    padding: 20px !important;
  }

  .page-contact__social-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* No CSS filters allowed */
.page-contact img {
  filter: none !important;
}