/* style/contact.css */

/* Base Styles for Page Contact */
.page-contact {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Spacing for fixed header on desktop */
}

/* Responsive spacing for fixed header on mobile */
@media (max-width: 768px) {
  .page-contact {
    padding-top: 100px; /* Spacing for fixed header on mobile */
  }
}

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

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold color for main titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-contact__section-subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-contact__link-text {
  color: #FFD700; /* Gold for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-contact__link-text:hover {
  color: #ffe066; /* Lighter gold on hover */
}

/* Section Backgrounds */
.page-contact__dark-bg {
  background-color: #0a0a0a; /* Ensure consistency with body background */
  padding: 60px 0;
}

.page-contact__light-bg {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards/forms */
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.page-contact__hero-contact-section {
  padding: 80px 0 60px 0;
  text-align: center;
}

.page-contact__hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
  padding-bottom: 60px;
}

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

.page-contact__method-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
}

.page-contact__method-icon {
  margin-bottom: 20px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__method-icon img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__method-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-contact__method-description {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.page-contact__social-icon {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.page-contact__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.page-contact__form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
  width: calc(100% - 20px); /* Adjust for padding */
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #aaaaaa;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

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

.page-contact__form-submit-btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-contact__why-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-contact__why-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-contact__why-card-description {
  font-size: 16px;
  color: #e0e0e0;
  flex-grow: 1;
}

/* FAQ Section */
.page-contact__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  background-color: rgba(255, 255, 255, 0.08); /* Light bg for question */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700; /* Gold for FAQ questions */
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #f0f0f0;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Change to X when active */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker bg for answer */
  color: #e0e0e0;
  font-size: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Call to Action Section */
.page-contact__cta-section {
  padding-top: 80px;
  padding-bottom: 100px;
  text-align: center;
}

.page-contact__cta-title {
  font-size: 40px;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-contact__cta-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-contact__cta-btn {
  min-width: 180px;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

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

.page-contact__btn-primary:hover {
  background-color: #ffe066;
  border-color: #ffe066;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a; /* Dark text on gold background */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 42px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
  .page-contact__cta-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 36px;
  }
  .page-contact__hero-description {
    font-size: 18px;
  }
  .page-contact__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-contact__section-subtitle {
    font-size: 16px;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    min-height: auto;
    padding: 25px;
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__form {
    padding: 30px 20px;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    width: calc(100% - 20px);
    font-size: 15px;
  }
  .page-contact__form-label {
    font-size: 15px;
  }
  .page-contact__why-contact-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__why-card {
    padding: 25px;
  }
  .page-contact__why-card-title {
    font-size: 20px;
  }
  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-question h3 {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-contact__faq-answer {
    padding: 15px 20px !important;
  }
  .page-contact__cta-title {
    font-size: 30px;
  }
  .page-contact__cta-description {
    font-size: 16px;
  }
  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact__cta-btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__method-icon,
  .page-contact__social-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 30px;
  }
  .page-contact__section-title {
    font-size: 24px;
  }
  .page-contact__cta-title {
    font-size: 26px;
  }
  .page-contact__form {
    padding: 25px 15px;
  }
  .page-contact__faq-question h3 {
    font-size: 15px;
  }
  .page-contact__faq-answer {
    font-size: 15px;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__why-card {
    padding: 20px;
  }
  .page-contact__cta-btn {
    padding: 12px 20px;
    font-size: 16px;
  }
}