:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f1f3f5;
  --background-dark: #0A192F;
  --border-color: #e0e0e0;
}

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

/* Padding for fixed header */
.page-contact__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on actual header height */
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on actual mobile header height */
  }
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), #334466); /* Darker gradient for hero */
  color: var(--text-color-light);
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.page-contact__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust max-width for image */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__page-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-contact__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px 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: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.page-contact__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

/* Light and Dark Backgrounds */
.page-contact__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-dark);
  padding: 80px 0;
}

.page-contact__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-light);
  padding: 80px 0;
}

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

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

.page-contact__info-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-contact__info-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-contact__info-description {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555555;
}

.page-contact__info-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

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

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

.page-contact__social-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__social-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Contact Form Section */
.page-contact__contact-form {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 700px;
  margin: 50px auto 0 auto;
  border: 1px solid var(--border-color);
}

.page-contact__dark-bg .page-contact__contact-form {
  background: #1a2a44; /* Slightly lighter dark for the form background */
  color: var(--text-color-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.page-contact__dark-bg .page-contact__form-label {
  color: var(--text-color-light);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-color-dark);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.page-contact__dark-bg .page-contact__form-input,
.page-contact__dark-bg .page-contact__form-textarea {
  background: #2b3b55;
  border-color: #3f506b;
  color: var(--text-color-light);
}

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

.page-contact__dark-bg .page-contact__form-input::placeholder,
.page-contact__dark-bg .page-contact__form-textarea::placeholder {
  color: #aaaaaa;
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 50px;
}

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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;
  color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--border-color);
}

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

.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;
  pointer-events: none;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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: var(--primary-color);
  transform: rotate(45deg);
}

/* Commitment Section */
.page-contact__commitment-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-contact__commitment-item {
  background: #1a2a44;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__commitment-item h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-contact__commitment-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #cccccc;
}

.page-contact__outro-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 50px auto 0 auto;
  line-height: 1.7;
  color: var(--text-color-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__page-title {
    font-size: 38px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__intro-text {
    font-size: 17px;
  }
  .page-contact__hero-image {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-bottom: 40px;
  }
  .page-contact__page-title {
    font-size: 32px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-contact__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-contact__intro-text {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-contact__light-bg, .page-contact__dark-bg {
    padding: 60px 0;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__info-card {
    padding: 25px;
  }
  .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__submit-button {
    font-size: 16px;
    padding: 14px 20px;
  }
  .page-contact__faq-question {
    padding: 15px;
  }
  .page-contact__faq-question h3 {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }
  .page-contact__commitment-points {
    grid-template-columns: 1fr;
  }
  .page-contact__commitment-item h3 {
    font-size: 22px;
  }
  .page-contact__commitment-item p {
    font-size: 15px;
  }
  .page-contact__outro-text {
    font-size: 16px;
    margin-top: 40px;
  }
  
  /* Responsive image rule */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__page-title {
    font-size: 28px;
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__info-title {
    font-size: 20px;
  }
  .page-contact__info-description {
    font-size: 15px;
  }
  .page-contact__info-link {
    font-size: 15px;
  }
  .page-contact__form-input, .page-contact__form-textarea {
    font-size: 14px;
  }
  .page-contact__submit-button {
    font-size: 15px;
  }
  .page-contact__faq-question h3 {
    font-size: 15px;
  }
  .page-contact__faq-toggle {
    font-size: 22px;
    width: 26px;
    height: 26px;
  }
  .page-contact__commitment-item h3 {
    font-size: 20px;
  }
}