:root {
  --page-contact-primary-color: #113B7A;
  --page-contact-secondary-color: #1D5FD1;
  --page-contact-text-main: #F3F8FF;
  --page-contact-text-secondary: #AFC4E8;
  --page-contact-card-bg: #10233F;
  --page-contact-border-color: #244D84;
  --page-contact-glow-color: #4FA8FF;
  --page-contact-gold-color: #F2C14E;
  --page-contact-divider-color: #1B3357;
  --page-contact-deep-navy: #08162B;
  --page-contact-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-contact {
  font-family: Arial, sans-serif;
  color: var(--page-contact-text-main); /* Light text for dark body background */
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--page-contact-gold-color); /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-contact__section-description {
  font-size: 18px;
  color: var(--page-contact-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: var(--page-contact-deep-navy); /* Ensure background for text contrast */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area */
  display: block;
}

.page-contact__hero-content {
  text-align: center;
  padding: 40px 15px 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-contact__hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--page-contact-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-contact__hero-description {
  font-size: 20px;
  color: var(--page-contact-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  background: var(--page-contact-button-gradient);
  color: var(--page-contact-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

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

/* Channels Section */
.page-contact__channels-section {
  background: var(--page-contact-deep-navy);
  padding: 60px 0;
}

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

.page-contact__channel-card {
  background: var(--page-contact-card-bg); /* Dark card background */
  border: 1px solid var(--page-contact-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-contact__channel-icon {
  width: 100%; /* Ensure images are responsive within cards */
  height: auto;
  max-width: 250px; /* Limit max width of icons */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-contact-gold-color);
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-contact__card-text {
  font-size: 16px;
  color: var(--page-contact-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1; /* Allow text to grow */
}

.page-contact__btn-primary {
  display: inline-block;
  background: var(--page-contact-button-gradient);
  color: var(--page-contact-text-main);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.page-contact__contact-form {
  width: 100%;
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  color: var(--page-contact-text-main);
  margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--page-contact-border-color);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--page-contact-text-main);
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: var(--page-contact-text-secondary);
  opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: var(--page-contact-glow-color);
  box-shadow: 0 0 5px rgba(79, 168, 255, 0.5);
}

.page-contact__phone-number {
  font-weight: bold;
  color: var(--page-contact-gold-color);
  font-size: 18px;
}

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

.page-contact__social-link {
  display: inline-block;
  background: var(--page-contact-primary-color);
  color: var(--page-contact-text-main);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 1px solid var(--page-contact-border-color);
}

.page-contact__social-link:hover {
  background: var(--page-contact-secondary-color);
}

/* FAQ Section */
.page-contact__faq-section {
  background: var(--page-contact-deep-navy);
  padding: 60px 0;
  text-align: center; /* Center image and list */
}

.page-contact__faq-image {
  max-width: 800px; /* Max width for desktop */
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 40px; /* Center and space below */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--page-contact-border-color);
  overflow: hidden;
  background: var(--page-contact-card-bg); /* Dark card background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--page-contact-gold-color); /* Gold question text */
  font-size: 18px;
  font-weight: 600;
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: rgba(29, 95, 209, 0.1); /* Light hover effect */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--page-contact-gold-color);
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-contact-glow-color); /* Glow color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 20px;
  background: var(--page-contact-deep-navy); /* Darker background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--page-contact-text-secondary); /* Secondary text color for answers */
  font-size: 16px;
}
details.page-contact__faq-item .page-contact__faq-answer p {
  margin-bottom: 15px;
}
.page-contact__btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--page-contact-gold-color);
  border: 2px solid var(--page-contact-gold-color);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin-top: 10px;
}

.page-contact__btn-secondary:hover {
  background: var(--page-contact-gold-color);
  color: var(--page-contact-deep-navy);
}

/* Commitment Section */
.page-contact__commitment-section {
  background: var(--page-contact-deep-navy);
  padding: 60px 0;
}

.page-contact__commitment-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-contact__commitment-image {
  flex-shrink: 0;
  width: 500px; /* Fixed width for desktop */
  height: 375px; /* Maintain aspect ratio */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__commitment-text {
  flex-grow: 1;
  color: var(--page-contact-text-secondary);
  font-size: 17px;
}

.page-contact__commitment-text p {
  margin-bottom: 20px;
}

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

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 40px;
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 30px;
  }
  .page-contact__section-description {
    font-size: 16px;
  }
  .page-contact__commitment-content {
    flex-direction: column;
    text-align: center;
  }
  .page-contact__commitment-image {
    width: 100%;
    max-width: 600px;
    height: auto;
  }
}

@media (max-width: 768px) {
  /* General page padding */
  .page-contact__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-contact__hero-section {
    padding-top: 10px;
  }
  .page-contact__hero-image-wrapper {
    height: 300px;
  }
  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }
  .page-contact__hero-content {
    padding: 30px 15px 40px;
  }
  .page-contact__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-contact__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-contact__cta-button {
    font-size: 18px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Channels Section */
  .page-contact__channels-section {
    padding: 40px 0;
  }
  .page-contact__channels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact__channel-card {
    padding: 20px;
  }
  .page-contact__channel-icon {
    max-width: 200px;
    margin-bottom: 15px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-contact__card-text {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-contact__btn-primary {
    font-size: 16px;
    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__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 15px;
  }
  .page-contact__phone-number {
    font-size: 16px;
  }
  .page-contact__social-links {
    flex-direction: column;
    gap: 10px;
  }
  .page-contact__social-link {
    font-size: 15px;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
  }

  /* FAQ Section */
  .page-contact__faq-section {
    padding: 40px 0;
  }
  .page-contact__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 30px;
  }
  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-contact__faq-qtext {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
  .page-contact__btn-secondary {
    font-size: 15px;
    padding: 8px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Commitment Section */
  .page-contact__commitment-section {
    padding: 40px 0;
  }
  .page-contact__commitment-image {
    width: 100%;
    height: auto;
    max-width: 100% !important;
  }
  .page-contact__commitment-text {
    font-size: 16px;
  }

  /* Universal image and button container rules for mobile */
  .page-contact__hero-image-wrapper,
  .page-contact__channel-card,
  .page-contact__contact-form,
  .page-contact__social-links,
  .page-contact__faq-list,
  .page-contact__commitment-content,
  .page-contact__commitment-text,
  .page-contact__btn-container,
  .page-contact__cta-buttons
  {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure all img tags are responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure button groups wrap or stack */
  .page-contact__social-links {
    flex-wrap: wrap !important;
    flex-direction: column; /* Explicitly stack for better mobile UX */
  }
}