/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
}

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

.page-contact__section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

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

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-main);
  max-width: 900px;
  padding: 20px;
}

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

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Why Contact Us Section */
.page-contact__why-contact-us {
  background-color: var(--bg-color);
  padding-top: 40px;
}

.page-contact__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-contact__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Contact Methods Section */
.page-contact__contact-methods {
  background-color: var(--deep-green);
  padding-bottom: 40px;
}

.page-contact__method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-contact__method-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(34, 199, 104, 0.1); /* Light transparent background */
  overflow: hidden;
}

.page-contact__method-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%; /* Ensure image also fits circular container */
}

.page-contact__method-details {
  flex-grow: 1;
}

.page-contact__method-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__method-button:hover {
  transform: translateY(-2px);
}

.page-contact__email-link {
  color: var(--gold);
  text-decoration: underline;
}

.page-contact__email-link:hover {
  color: var(--glow);
}

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

.page-contact__social-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--gold);
  color: #000000;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__social-button:hover {
  background-color: var(--glow);
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: var(--bg-color);
}

.page-contact__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-contact__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-main);
}

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

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

.page-contact__faq-item[open] summary {
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
}

.page-contact__faq-qtext {
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  margin-left: 15px;
  color: var(--glow);
}

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

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

/* Commitment Section */
.page-contact__commitment {
  background-color: var(--deep-green);
}

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

.page-contact__commitment-list li {
  background-color: var(--card-bg);
  border-left: 5px solid var(--glow);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
  font-size: 17px;
}

.page-contact__commitment-list li strong {
  color: var(--gold);
}

.page-contact__cta-button--bottom {
  margin-top: 50px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-contact__method-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .page-contact__method-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-contact__method-icon {
    flex-shrink: 0;
    margin: 0 30px;
  }

  .page-contact__method-card:nth-child(even) .page-contact__method-icon {
    margin: 0 30px 0 0;
  }

  .page-contact__method-card:nth-child(odd) .page-contact__method-icon {
    margin: 0 0 0 30px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
    padding-top: 10px !important;
  }

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

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

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

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

  .page-contact__section-description {
    font-size: clamp(15px, 2.5vw, 17px);
    margin-bottom: 30px;
  }

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

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__card-title {
    font-size: 20px;
  }

  .page-contact__card-text {
    font-size: 15px;
  }

  .page-contact__method-card {
    padding: 25px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .page-contact__method-icon {
    width: 100px;
    height: 100px;
  }

  .page-contact__method-title {
    font-size: 22px;
  }

  .page-contact__method-text {
    font-size: 15px;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 10px;
  }

  .page-contact__social-button {
    width: 100%;
  }

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

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

  .page-contact__commitment-list li {
    padding: 12px 15px;
    font-size: 15px;
  }

  /* Force responsive for images, videos, buttons */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-contact__section, 
  .page-contact__card, 
  .page-contact__container,
  .page-contact__method-card,
  .page-contact__social-links,
  .page-contact__faq-list,
  .page-contact__faq-item,
  .page-contact__commitment-list,
  .page-contact__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__cta-button,
  .page-contact__method-button,
  .page-contact__social-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__hero-section,
  .page-contact__why-contact-us,
  .page-contact__contact-methods,
  .page-contact__faq-section,
  .page-contact__commitment {
    padding-left: 0;
    padding-right: 0;
  }
}

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