.page-contact {
  color: #333333; /* Deep gray for readability on light backgrounds */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--secondary-color); /* White background from shared */
}

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

.page-contact h1,
.page-contact h2,
.page-contact h3 {
  color: #017439; /* Primary brand color for headings */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact h1 {
  font-size: 3.2em;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-contact h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-contact h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-contact p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-contact a {
  color: #017439;
  text-decoration: none;
}

.page-contact a:hover {
  text-decoration: underline;
}

/* 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); /* Ensures content is below fixed header */
  background: linear-gradient(135deg, #017439, #0a9a4b);
  color: #ffffff;
}

.page-contact__hero-section h1,
.page-contact__hero-section p {
  color: #ffffff;
}

.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;
}

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

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

.page-contact__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__cta-button:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-contact__contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-contact__method-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__method-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__method-card h3 {
  color: #017439;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-contact__method-card p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__link-text {
  display: block;
  font-weight: bold;
  color: #017439;
  font-size: 1.1em;
  word-break: break-all;
}

.page-contact__link-text:hover {
  color: #0a9a4b;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__btn-primary:hover {
  background: #0a9a4b;
}

.page-contact__operating-hours {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #555555;
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background: #017439;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-contact__form-section h2,
.page-contact__form-section p {
  color: #ffffff;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

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

.page-contact__form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 1.1em;
}

.page-contact__form-group input[type="text"],
.page-contact__form-group input[type="email"],
.page-contact__form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-group input::placeholder,
.page-contact__form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-contact__form-group input:focus,
.page-contact__form-group textarea:focus {
  border-color: #0a9a4b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 154, 75, 0.3);
}

.page-contact__form-section .page-contact__btn-primary {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
}

.page-contact__form-section .page-contact__btn-primary:hover {
  background: #a30606;
}

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

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

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

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

.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 20px;
  opacity: 0;
  background: #f9f9f9;
  color: #333333;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  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-bottom-color: transparent;
}

.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: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #017439;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

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

.page-contact__faq-image {
  display: block;
  margin: 50px auto 0;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background: #017439;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__commitment-section h2,
.page-contact__commitment-section p,
.page-contact__commitment-section li {
  color: #ffffff;
}

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

.page-contact__commitment-section li {
  margin-bottom: 15px;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
}

.page-contact__commitment-section li::before {
  content: '✔';
  color: #FFFF00; /* Yellow checkmark for contrast */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-contact__btn-login {
  margin-top: 30px;
  padding: 15px 40px;
  background: #C30808; /* Login button color */
  color: #FFFF00; /* Login button font color */
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__btn-login:hover {
  background: #a30606;
}

.page-contact__commitment-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact h1 {
    font-size: 2.8em;
  }
  .page-contact h2 {
    font-size: 2em;
  }
  .page-contact__method-card {
    flex: 1 1 280px;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-image img {
    border-radius: 4px;
  }
  .page-contact h1 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-contact h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact__hero-content p {
    font-size: 1em;
  }
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-login,
  .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: 12px 20px;
    font-size: 16px;
  }
  .page-contact__contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .page-contact__method-card {
    width: 100%;
    max-width: 90%;
    padding: 25px;
  }
  .page-contact__contact-form {
    padding: 25px;
  }
  .page-contact__form-section .page-contact__btn-primary {
    padding: 12px;
    font-size: 1.1em;
  }
  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-contact__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-contact__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-contact__faq-answer {
    padding: 0 15px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
  .page-contact__faq-image,
  .page-contact__commitment-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-contact__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-contact__commitment-section ul {
    padding: 0 15px;
  }
  .page-contact__commitment-section li {
    padding-left: 25px;
    font-size: 1em;
  }
}