/* style/contact.css */

/* Base styles for the page content */
.page-contact {
  background-color: #0D0E12; /* Custom background color for the page */
  color: #FFF3E6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: #FFA53A; /* Accent color for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-contact__description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 243, 230, 0.85); /* Slightly muted text for description */
}

.page-contact__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #FF8C1A; /* Primary brand color for section titles */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.page-contact__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: rgba(255, 243, 230, 0.75);
}

/* Hero Section */
.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 40px;
  background-color: #17191F; /* Card BG for this section */
  border-bottom: 5px solid #A84F0C; /* Border color */
}

.page-contact__hero-section .page-contact__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-contact__hero-content {
  text-align: center;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 176, 77, 0.5); /* Glow color for shadow */
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #17191F; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border color */
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #FFF3E6;
  font-size: 1.05rem;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 5px;
  background-color: #0D0E12; /* Background for input fields */
  color: #FFF3E6;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 243, 230, 0.5);
}

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

.page-contact__submit-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff; /* White text for button */
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__submit-button:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px #FFB04D; /* Glow color */
}

/* Info Section */
.page-contact__info-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-contact__info-card {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__info-card-title {
  font-size: 1.8rem;
  color: #FF8C1A; /* Primary brand color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__info-card-text {
  font-size: 1rem;
  color: rgba(255, 243, 230, 0.75);
  margin-bottom: 25px;
}

.page-contact__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff; /* White text for button */
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px #FFB04D; /* Glow color */
}

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

.page-contact__social-icon {
  font-size: 1.8rem;
  color: #FF8C1A; /* Primary brand color for icons */
  transition: color 0.3s ease;
}

.page-contact__social-icon:hover {
  color: #FFA53A; /* Auxiliary color on hover */
}

/* Why Choose Section */
.page-contact__why-choose-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
  border-top: 5px solid #A84F0C;
  border-bottom: 5px solid #A84F0C;
}

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

.page-contact__why-list li {
  background-color: #0D0E12; /* Background for list items */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FF8C1A; /* Primary brand color for accent */
  border-radius: 5px;
  font-size: 1.05rem;
  color: #FFF3E6;
}

.page-contact__why-list li strong {
  color: #FFA53A; /* Auxiliary color for strong text */
}

.page-contact__why-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 176, 77, 0.5); /* Glow color for shadow */
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

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

.page-contact__faq-item {
  background-color: #17191F; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF3E6;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #FF8C1A; /* Primary brand color */
  list-style: none; /* Hide default marker */
}

.page-contact__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg); /* Rotate + to become X or similar */
}

.page-contact__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: rgba(255, 243, 230, 0.75);
  line-height: 1.7;
}

.page-contact__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-contact__cta-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
  text-align: center;
  border-top: 5px solid #A84F0C;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%; /* Ensure container takes full width for responsive wrapping */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-contact__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #0D0E12; /* Dark background */
  color: #FF8C1A; /* Primary brand color text */
  border: 2px solid #FF8C1A; /* Primary brand color border */
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-secondary:hover {
  background: #FF8C1A; /* Primary brand color background on hover */
  color: #ffffff; /* White text on hover */
  box-shadow: 0 0 10px #FFB04D; /* Glow color */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-contact__container {
    padding: 0 30px;
  }
  .page-contact__hero-image {
    width: 90%;
  }
  .page-contact__info-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__container {
    padding: 0 15px !important; /* Force padding for mobile */
  }

  .page-contact__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-contact__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-contact__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-contact__section-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  /* Hero Section */
  .page-contact__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 30px;
  }
  .page-contact__hero-section .page-contact__container {
    flex-direction: column;
    gap: 20px;
  }
  .page-contact__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Form Section */
  .page-contact__form-section {
    padding: 40px 0;
  }
  .page-contact__form {
    padding: 25px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
  }
  .page-contact__submit-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Info Section */
  .page-contact__info-section {
    padding: 40px 0;
  }
  .page-contact__info-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }
  .page-contact__info-card {
    padding: 25px;
  }
  .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;
  }

  /* Why Choose Section */
  .page-contact__why-choose-section {
    padding: 40px 0;
  }
  .page-contact__why-list {
    margin: 25px auto;
  }
  .page-contact__why-list li {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .page-contact__why-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
  }

  /* FAQ Section */
  .page-contact__faq-section {
    padding: 40px 0;
  }
  .page-contact__faq-list {
    margin-top: 25px;
  }
  .page-contact__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* CTA Section */
  .page-contact__cta-section {
    padding: 40px 0;
  }
  .page-contact__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Universal image/container rules for mobile */
  .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__form,
  .page-contact__info-card,
  .page-contact__faq-item,
  .page-contact__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* FontAwesome for social icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');