/* style/contact.css */

/* --- General Page Styles --- */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Page background */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: var(--header-offset, 120px) 20px 60px;
  overflow: hidden;
  background-color: #017439; /* Dark background for hero */
}

.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;
  opacity: 0.3;
  filter: brightness(0.7);
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #FFFFFF;
}

/* --- Buttons --- */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-contact__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-contact__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #017439;
  margin-left: 15px;
}

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* --- Info Section --- */
.page-contact__info-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-contact__channel-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-contact__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-contact__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #017439;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
  background-color: #005f2e;
}

/* --- Form Section --- */
.page-contact__form-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
  color: #FFFFFF;
}

.page-contact__contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #FFFF00;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #005f2e;
  border-radius: 8px;
  background-color: #1a8b54;
  color: #FFFFFF;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFFF00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.3);
}

.page-contact__contact-form .page-contact__btn-primary {
  width: 100%;
  padding: 18px;
  font-size: 1.1em;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-contact__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #d0f0e0;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important;
  padding: 20px 25px;
}

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

.page-contact__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* --- CTA Section --- */
.page-contact__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439;
  color: #FFFFFF;
}

.page-contact__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-contact__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

/* --- Image Specific Styles --- */
.page-contact__image-row {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.page-contact__image-row--right {
  justify-content: flex-end;
}

.page-contact__content-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}