/* style/contact.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --login-color: #EA7C07;
}

.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--bg-light);
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  color: var(--text-light);
  background-color: var(--bg-dark);
  overflow: hidden;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3; /* Subtle background image */
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styles */
.page-contact__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color);
}

.page-contact__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  color: var(--text-dark);
}

.page-contact__dark-bg .page-contact__section-title,
.page-contact__dark-bg .page-contact__section-description {
  color: var(--text-light);
}

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

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

.page-contact__info-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__info-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-contact__info-text,
.page-contact__address-text {
  font-size: 1em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-contact__btn-link {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

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

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
  color: var(--text-light);
}

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

.page-contact__form-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-size: 1em;
}

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

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

.page-contact__btn-submit {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: var(--login-color); /* Use specific login color */
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__btn-submit:hover {
  background-color: #d16b00; /* Darker shade for hover */
}

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

.page-contact__faq-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.1;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-contact__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--primary-color);
  border-bottom: 1px solid #e0e0e0;
}

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

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

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

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

.page-contact__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  border-top: 1px solid #eee;
}

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

.page-contact__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

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

/* Social Media Section */
.page-contact__social-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-contact__social-section .page-contact__section-title,
.page-contact__social-section .page-contact__section-description {
  color: var(--text-light);
}

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

.page-contact__social-icon-link {
  display: block;
  width: 60px; /* Min size for icons */
  height: 60px; /* Min size for icons */
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.page-contact__social-icon-link:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.page-contact__social-icon-link img {
  
  
  object-fit: contain;
  min- /* For social icons, this is an exception to 200px rule */
  min- /* For social icons, this is an exception to 200px rule */
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.1;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-contact__cta-button:hover {
  background-color: #1e87b8; /* Darker shade */
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__form-image {
    display: none;
  }
  .page-contact__faq-image {
    display: none;
  }
  .page-contact__contact-form {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }

  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px !important;
    min-height: 60px !important;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px) !important;
  }

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

  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    display: block !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__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__social-section,
  .page-contact__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile button responsiveness */
  .page-contact__btn-primary,
  .page-contact__btn-submit,
  .page-contact__cta-button,
  .page-contact__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-contact__social-icon-link {
    width: 50px;
    height: 50px;
  }
  .page-contact__social-icon-link img {
    
    
    min-
    min-
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__contact-form {
    padding: 15px;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-contact__faq-answer {
    padding: 15px;
  }
}