.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #017439 50%, #005f2e);
  color: #FFFFFF;
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-contact__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-contact__intro-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

/* General Section Styling */
.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #017439;
}

.page-contact__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-contact__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 80px 0;
}

.page-contact__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-contact__dark-bg .page-contact__section-title {
  color: #FFFFFF;
}

.page-contact__dark-bg .page-contact__section-description {
  color: #f0f0f0;
}

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

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

.page-contact__channel-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__channel-item img {
  width: 100%;
  
  height: auto;
  margin: 0 auto 25px auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.page-contact__channel-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-contact__channel-description {
  font-size: 16px;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__channel-button {
  display: inline-block;
  padding: 12px 25px;
  background: #017439;
  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;
}

.page-contact__channel-button:hover {
  background: #005f2e;
  transform: translateY(-2px);
}

.page-contact__email-link {
  color: #017439;
  text-decoration: underline;
}

.page-contact__email-link:hover {
  color: #005f2e;
}

/* Contact Form Section */
.page-contact__contact-form {
  max-width: 700px;
  margin: 50px auto 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
}

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__form-submit-button:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Why Us Section */
.page-contact__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__advantage-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__advantage-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 25px auto;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.page-contact__advantage-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-contact__advantage-text {
  font-size: 16px;
  color: #666666;
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-item.active .page-contact__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #017439;
}

.page-contact__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-contact__faq-question:active {
  background: #eeeeee;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #C30808;
  transform: rotate(180deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fcfcfc;
  color: #555555;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-color: #017439;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Final CTA Section */
.page-contact__final-cta-section {
  text-align: center;
  padding: 80px 20px;
}

.page-contact__final-cta-section img {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto 40px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 42px;
  }

  .page-contact__section-title {
    font-size: 32px;
  }

  .page-contact__intro-text,
  .page-contact__section-description,
  .page-contact__channel-description,
  .page-contact__advantage-text,
  .page-contact__faq-question h3,
  .page-contact__faq-answer p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-contact__hero-image {
    margin-bottom: 20px;
  }

  .page-contact__hero-image img {
    border-radius: 8px;
  }

  .page-contact__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-contact__intro-text {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-contact__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__light-bg,
  .page-contact__dark-bg {
    padding: 50px 0;
  }

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

  .page-contact__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-contact__channels-grid,
  .page-contact__advantages-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-contact__channel-item,
  .page-contact__advantage-item {
    padding: 25px;
  }

  .page-contact__channel-title,
  .page-contact__advantage-title {
    font-size: 20px;
  }

  .page-contact__channel-description,
  .page-contact__advantage-text {
    font-size: 15px;
  }

  .page-contact__channel-button {
    font-size: 15px;
    padding: 10px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }

  .page-contact__form-submit-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-contact__faq-question h3 {
    font-size: 16px;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px !important;
  }

  .page-contact__faq-answer p {
    font-size: 15px;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__why-us-section,
  .page-contact__faq-section,
  .page-contact__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 28px;
  }

  .page-contact__section-title {
    font-size: 24px;
  }

  .page-contact__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }

  .page-contact__channel-title,
  .page-contact__advantage-title {
    font-size: 18px;
  }
}