/* style/contact.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #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%);
}

.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-contact__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--glow-color);
}

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

.page-contact__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* padding-top: 10px; for minimal top spacing */
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  opacity: 0.2;
}

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

.page-contact__main-title {
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: clamp(2em, 4vw, 3em); /* Using clamp for responsive font size */
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

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

/* Contact Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

.page-contact__method-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
}

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

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

.page-contact__address-text {
  color: var(--text-main);
  font-weight: bold;
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background-color: var(--card-bg);
  position: relative;
  overflow: hidden;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: #0A1C14; /* Slightly lighter than background-color for contrast */
  color: var(--text-main);
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(var(--primary-color), 0.5);
}

.page-contact__form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  margin-top: 10px;
}

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

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

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

.page-contact__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  font-size: 1.1em;
  background-color: var(--card-bg);
  position: relative;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-contact__faq-question:hover {
  background-color: #1A3025; /* Slightly lighter hover */
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.7;
}

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

.page-contact__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Social Section */
.page-contact__social-section {
  padding: 80px 0;
  background-color: var(--deep-green-color);
  position: relative;
  overflow: hidden;
}

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

.page-contact__social-btn {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  background-color: var(--primary-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-contact__social-btn:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.page-contact__social-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  /* Placeholder for actual icons */
}

.page-contact__social-facebook .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3l-1 3h-2v6.95c5.05-.5 9-4.76 9-9.95z"/></svg>'); }
.page-contact__social-telegram .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.3 8.2l-3.2 2.3 1 3.5c.14.47.6.76 1.08.62.33-.08.57-.36.65-.69l.7-2.7c.07-.27-.01-.55-.21-.75l-4.5-4.5c-.32-.32-.86-.32-1.18 0-.32.32-.32.86 0 1.18l3.4 3.4-3.2 2.3c-.32.23-.42.66-.23 1.01l1 3.5c.14.47.6.76 1.08.62.33-.08.57-.36.65-.69l.7-2.7c.07-.27-.01-.55-.21-.75l-4.5-4.5c-.32-.32-.86-.32-1.18 0-.32.32-.32.86 0 1.18l3.4 3.4-3.2 2.3c-.32.23-.42.66-.23 1.01l1 3.5z"/></svg>'); }
.page-contact__social-twitter .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M22.46 6c-.77.34-1.6.57-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.49-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.1 5.4 7.55 3.53 4.96c-.37.63-.58 1.37-.58 2.16 0 1.49.75 2.81 1.88 3.59-.7-.02-1.36-.21-1.93-.53v.03c0 2.08 1.48 3.82 3.44 4.22-.36.1-.74.15-1.13.15-.28 0-.55-.03-.81-.08.55 1.7 2.14 2.94 4.02 2.98-1.47 1.15-3.33 1.84-5.36 1.84-.35 0-.69-.02-1.03-.06C3.16 20.35 5.34 21 7.58 21c8.08 0 12.49-6.69 12.49-12.49 0-.19-.01-.37-.01-.56.86-.62 1.6-1.39 2.18-2.27z"/></svg>'); }
.page-contact__social-youtube .page-contact__social-icon { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M10 15.5l6-3.5-6-3.5v7zm11.5-7.7c-.23-.86-.96-1.59-1.82-1.82C18.66 6 12 6 12 6s-6.66 0-8.68.08c-.86.23-1.59.96-1.82 1.82C2 9.34 2 12 2 12s0 2.66.08 3.68c.23.86.96 1.59 1.82 1.82C5.34 18 12 18 12 18s6.66 0 8.68-.08c.86-.23 1.59-.96 1.82-1.82C22 14.66 22 12 22 12s0-2.66-.08-3.68z"/></svg>'); }

.page-contact__social-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  opacity: 0.1;
}

/* CTA Banner */
.page-contact__cta-banner {
  padding: 60px 0;
  background-color: var(--deep-green-color);
  text-align: center;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.page-contact__cta-content {
  position: relative;
  z-index: 2;
}

.page-contact__cta-banner .page-contact__section-title {
  color: var(--gold-color);
}

.page-contact__cta-banner .page-contact__section-description {
  color: var(--text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1.1em;
  }
  .page-contact__faq-image, .page-contact__social-image {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .page-contact__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description,
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section,
  .page-contact__cta-banner {
    padding: 40px 0;
  }
  .page-contact__hero-section {
    padding-top: 10px !important; /* body has header-offset, this is decorative */
  }

  /* Image responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__hero-image-wrapper,
  .page-contact__form-image,
  .page-contact__faq-image,
  .page-contact__social-image,
  .page-contact__container,
  .page-contact__method-card,
  .page-contact__contact-form,
  .page-contact__faq-list,
  .page-contact__social-links,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-contact__contact-form, .page-contact__faq-list {
    padding-left: 0;
    padding-right: 0;
  }
  .page-contact__hero-content {
    padding: 15px;
  }
  .page-contact__faq-image, .page-contact__social-image {
    max-width: 100%;
    width: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95em;
  }
  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
  }
}