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

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--deep-navy-color); /* Inherited from body if not explicitly set */
}

.page-contact__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

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

.page-contact__dark-bg {
  background-color: var(--deep-navy-color);
  color: var(--text-main);
}

.page-contact__light-bg {
  background-color: #ffffff; /* White background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-contact__text-contrast-fix {
  color: #333333 !important; /* Ensure dark text on light backgrounds */
}

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-contact__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure width is 100% for flex item */
}

.page-contact__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

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

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold-color);
}

.page-contact__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Contact Methods Section */
.page-contact__contact-methods {
  background-color: var(--deep-navy-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

.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: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__method-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--glow-color));
}

.page-contact__method-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gold-color);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Contact Form Section */
.page-contact__contact-form-section {
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-contact__form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
  align-items: flex-start;
}

.page-contact__form-wrapper img {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__form {
  flex: 2 1 500px;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 16px;
  color: #333333;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.2);
  outline: none;
}

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

/* FAQ Section */
.page-contact__faq-section {
  background-color: var(--deep-navy-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-contact__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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;
}

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(17, 59, 122, 0.7);
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: rgba(16, 35, 63, 0.8);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
  text-align: left;
  font-size: 16px;
}

/* Why Contact Section */
.page-contact__why-contact-section {
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-contact__reason-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  text-align: left;
  color: #333333; /* Dark text for light background */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-contact__reason-text {
  font-size: 16px;
  color: #555555;
}

/* Location Section */
.page-contact__location-section {
  background-color: var(--deep-navy-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-contact__address-info {
  flex: 1 1 400px;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-contact__address-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
}

.page-contact__address-text {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.8;
}

.page-contact__map-image-wrapper {
  flex: 1 1 500px;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__map-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Final CTA Section */
.page-contact__final-cta-section {
  background-color: var(--deep-navy-color);
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--divider-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 42px;
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__section-description {
    font-size: 17px;
  }
  .page-contact__form-wrapper img,
  .page-contact__map-image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-contact__form,
  .page-contact__address-info {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-contact__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-contact__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__section {
    padding: 50px 0;
  }
  .page-contact__container {
    padding: 0 15px;
  }
  .page-contact__section-title {
    font-size: 28px;
  }
  .page-contact__section-description {
    font-size: 15px;
  }
  
  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__hero-image-wrapper img,
  .page-contact__form-wrapper img,
  .page-contact__map-image-wrapper img {
    border-radius: 8px;
  }
  .page-contact__method-card img {
    
    
  }
  
  /* Buttons responsive */
  .page-contact__btn-primary {
    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__cta-buttons,
  .page-contact__button-group,
  .page-contact__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-contact__form-wrapper,
  .page-contact__location-details {
    flex-direction: column;
    gap: 30px;
  }
  .page-contact__form,
  .page-contact__address-info {
    padding: 30px;
  }
  .page-contact__form-label {
    font-size: 15px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 15px;
  }
  
  details.page-contact__faq-item summary.page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-qtext {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }
  .page-contact__reason-card {
    padding: 25px;
  }
  .page-contact__reason-title {
    font-size: 20px;
  }
  .page-contact__address-title {
    font-size: 22px;
  }
  .page-contact__address-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 28px;
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-contact__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-contact__method-card img {
    
    
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__method-text {
    font-size: 15px;
  }
  .page-contact__btn-primary {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-contact__form-wrapper img {
    margin-bottom: 20px;
  }
  .page-contact__form {
    padding: 25px;
  }
  .page-contact__faq-qtext {
    font-size: 15px;
  }
  .page-contact__reason-title {
    font-size: 18px;
  }
  .page-contact__address-title {
    font-size: 20px;
  }
  .page-contact__address-text {
    font-size: 15px;
  }
}