/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-contact__section {
  padding: 60px 0;
  text-align: center;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Increased height for better visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.7); /* Dark blue overlay with transparency */
  z-index: -1;
}

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

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

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-contact__btn {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-contact__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Dark text for gold background */
  border: 2px solid #FFD700;
}

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

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for dark background */
  border: 2px solid #FFD700;
}

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

/* Why Contact Section */
.page-contact__why-contact {
  background-color: #003366;
  padding: 80px 0;
}

.page-contact__why-contact .page-contact__section-title {
  color: #FFD700;
}

.page-contact__why-contact .page-contact__section-description {
  color: #f0f0f0;
}

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

.page-contact__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-contact__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-contact__method-card {
  background-color: #003366; /* Dark blue background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__method-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-contact__method-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* Common Issues Section */
.page-contact__common-issues {
  background-color: #003366;
  padding: 80px 0;
}

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

.page-contact__issue-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for light contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-contact__issue-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__issue-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.page-contact__issue-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-contact__issue-list li a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__issue-list li a:hover {
  color: #e6c200;
}

/* Our Commitment Section */
.page-contact__our-commitment {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-contact__commitment-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 50px;
}

.page-contact__commitment-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-contact__commitment-text {
  flex: 2 1 500px;
  color: #f0f0f0;
}

.page-contact__commitment-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-contact__commitment-text a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for contrast */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for question */
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

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

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-contact__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* CTA Section */
.page-contact__cta-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

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

@media (max-width: 768px) {
  .page-contact__hero-section {
    height: 500px;
  }
  .page-contact__hero-title {
    font-size: 2.2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section {
    padding: 40px 0;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }
  .page-contact__feature-grid, .page-contact__methods-grid, .page-contact__issues-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__commitment-content {
    flex-direction: column;
  }
  .page-contact__commitment-image {
    max-width: 100%;
  }
  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  
  /* Mobile image responsiveness */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__method-card,
  .page-contact__issue-card,
  .page-contact__faq-item,
  .page-contact__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  /* Mobile button responsiveness */
  .page-contact__btn,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Adjust margin for stacked buttons */
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-contact__method-icon {
    height: auto;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__hero-section {
    height: 400px;
  }
}