.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherited from shared.css */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 600px;
  background: #1A237E; /* Main brand color */
  color: #ffffff;
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-text {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #FFD700;
  color: #1A237E;
  border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
}

.page-contact__btn-text {
  background: none;
  border: none;
  color: #FFD700;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-contact__btn-text:hover {
  color: #e6c200;
}

/* Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333;
}

.page-contact__methods-section .page-contact__section-title {
  color: #1A237E;
}

.page-contact__methods-section .page-contact__section-description {
  color: #555555;
}

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

.page-contact__method-card {
  background-color: #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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 350px;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Make icons circular */
  border: 3px solid #1A237E;
  padding: 10px;
}

.page-contact__method-title {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-text {
  color: #555555;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__section-description {
  position: relative;
  z-index: 1;
}

.page-contact__form-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-contact__form-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(100%);
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFD700;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #aaa;
  opacity: 0.8;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

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

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background-color: #FFD700;
  color: #1A237E;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__form-submit-btn:hover {
  background-color: #e6c200;
}

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

.page-contact__faq-section .page-contact__section-title {
  color: #1A237E;
}

.page-contact__faq-section .page-contact__section-description {
  color: #555555;
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-item {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-contact__faq-item:last-child {
  border-bottom: none;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #f0f0f0;
}

.page-contact__faq-title {
  font-size: 1.2em;
  color: #1A237E;
  margin: 0;
  font-weight: bold;
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 1.8em;
  color: #FFD700;
  font-weight: bold;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
  color: #1A237E;
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure override */
  padding: 15px 30px 30px 30px;
}

.page-contact__faq-answer p {
  margin-bottom: 15px;
}

.page-contact__faq-image {
  display: block;
  margin: 60px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #1A237E;
  color: #ffffff;
  text-align: center;
}

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

.page-contact__commitment-item {
  background-color: rgba(255, 215, 0, 0.1);
  color: #f0f0f0;
  padding: 15px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  border-left: 5px solid #FFD700;
}

.page-contact__commitment-item::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
}

/* Social Media Section */
.page-contact__social-media-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
  text-align: center;
}

.page-contact__social-media-section .page-contact__section-title {
  color: #1A237E;
}

.page-contact__social-media-section .page-contact__section-description {
  color: #555555;
}

.page-contact__social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-contact__social-link img {
  
  
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-contact__social-link img:hover {
  transform: translateY(-5px) scale(1.1);
}

.page-contact__social-banner-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.page-contact__cta-section {
  padding: 80px 0;
  background-color: #1A237E;
  color: #ffffff;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
  .page-contact__hero-description {
    font-size: 1.2em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-left: 20px;
    padding-right: 20px;
    min-height: 500px;
  }
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    min-height: auto;
  }
  .page-contact__contact-form {
    padding: 30px;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-title {
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-contact__commitment-item {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-contact__social-icons {
    gap: 20px;
  }
  .page-contact__social-link img {
    
    
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__social-media-section,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__hero-section {
    min-height: 400px;
  }
  .page-contact__method-icon {
    width: 100px;
    height: 100px;
  }
}