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

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

.page-contact__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 18px;
  color: #555555;
  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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light background for hero */
  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: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.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%;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__hero-title {
  font-size: 48px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 19px;
  color: #444444;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__cta-button--primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-contact__cta-button--primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-contact__cta-button--secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-contact__cta-button--secondary:hover {
  background: #f0f8ff;
  color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

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

.page-contact__info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__info-icon {
  width: 120px;
  height: 90px; /* Adjust height based on aspect ratio of images */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-contact__info-card-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__info-card-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__info-link {
  display: inline-block;
  color: #EA7C07; /* Use login color for emphasis */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-contact__info-link:hover {
  color: #d16b00;
  text-decoration: underline;
}

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

.page-contact__social-link {
  display: inline-block;
  padding: 8px 15px;
  background: #26A9E0;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.page-contact__social-link:hover {
  background: #1e87c0;
}

/* Form Section */
.page-contact__form-section {
  padding: 80px 0;
  background: #26A9E0;
  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: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  color: #333333;
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  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: #26A9E0;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
  outline: none;
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 18px;
  background: #EA7C07; /* Login button color */
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__submit-button:hover {
  background: #d16b00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #26A9E0;
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-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;
}

.page-contact__faq-question:hover {
  background: #1e87c0;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.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: #f9f9f9;
  color: #333333;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Ensure it can expand for any content */
  padding: 20px 25px !important;
  opacity: 1;
}

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

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

.page-contact__faq-answer a:hover {
  color: #1e87c0;
}

/* Call to Action Section (Bottom) */
.page-contact__cta-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-contact__cta-section .page-contact__section-title,
.page-contact__cta-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

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

/* General image responsiveness */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__section-description {
    font-size: 17px;
  }
  .page-contact__info-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@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-title {
    font-size: 32px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-contact__section-title {
    font-size: 28px;
  }
  .page-contact__section-description {
    font-size: 15px;
  }
  .page-contact__info-section, .page-contact__form-section, .page-contact__faq-section, .page-contact__cta-section {
    padding: 50px 0;
  }
  .page-contact__container {
    padding: 20px 15px;
  }
  .page-contact__info-card {
    padding: 25px;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__form-input, .page-contact__form-textarea, .page-contact__submit-button {
    padding: 12px;
    font-size: 16px;
  }
  .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: 15px 20px !important;
  }
  .page-contact__faq-answer p {
    font-size: 15px;
  }
  /* Mobile image and container responsiveness */
  .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-container, .page-contact__hero-image, .page-contact__hero-content, .page-contact__info-grid, .page-contact__info-card, .page-contact__contact-form, .page-contact__faq-list, .page-contact__faq-item, .page-contact__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__info-card .page-contact__info-icon {
    width: 100px;
    height: 75px;
  }
  .page-contact__info-grid {
    gap: 20px;
  }
}