/* style/contact.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --accent-color: #ffc107;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --card-bg-dark: rgba(255, 255, 255, 0.05);
  --border-color-dark: rgba(255, 255, 255, 0.1);
}

.page-contact {
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

/* Fixed header spacing */
.page-contact__intro-section {
  padding-top: 120px; /* Desktop padding to account for fixed header */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--background-dark);
}

.page-contact__heading-primary {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-contact__brand-name {
  font-weight: bold;
  color: var(--accent-color);
}

.page-contact__highlight {
  color: var(--accent-color);
  font-weight: bold;
}

.page-contact__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

.page-contact__heading-secondary {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-contact__info-section {
  padding: 40px 0;
  background-color: var(--background-dark);
}

.page-contact__info-description {
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-contact__contact-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-contact__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__contact-icon {
  width: 100px; /* Min size 200x200px required, but for icons, I will use illustrative images */
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.5)); /* Allowed filter for shadow, not color change */
}

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

.page-contact__card-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-contact__contact-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  transition: color 0.3s ease;
}

.page-contact__contact-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-contact__contact-address {
  font-size: 16px;
  color: var(--text-light);
}

.page-contact__working-hours, .page-contact__social-media {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark);
  margin-top: 30px;
}

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

.page-contact__social-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 40px 0;
  background-color: var(--background-dark);
}

.page-contact__form-description {
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color-dark);
  border-radius: 5px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.page-contact__form-submit-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  width: auto;
  margin-top: 10px;
}

.page-contact__form-submit-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-section {
  padding: 40px 0;
  background-color: var(--background-dark);
}

.page-contact__faq-intro {
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color-dark);
}

.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 20px;
  opacity: 0;
  color: var(--text-light);
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter dark for answer */
  border-radius: 0 0 5px 5px;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

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

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 28px;
  height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--accent-color);
}

.page-contact__faq-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__faq-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-contact__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-dark);
}

.page-contact__cta-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-contact__btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-contact__btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.page-contact__btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.page-contact__btn-secondary:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact__container {
    padding: 15px;
  }

  .page-contact__intro-section {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    padding-bottom: 30px;
  }

  .page-contact__heading-primary {
    font-size: 28px;
  }

  .page-contact__intro-text {
    font-size: 16px;
  }

  .page-contact__heading-secondary {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-contact__info-description,
  .page-contact__form-description,
  .page-contact__faq-intro,
  .page-contact__cta-description {
    font-size: 15px;
  }

  .page-contact__contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__contact-card,
  .page-contact__working-hours,
  .page-contact__social-media,
  .page-contact__contact-form {
    padding: 25px;
  }

  .page-contact__card-title {
    font-size: 20px;
  }

  .page-contact__card-text,
  .page-contact__contact-link,
  .page-contact__contact-address,
  .page-contact__form-label,
  .page-contact__form-input,
  .page-contact__form-textarea {
    font-size: 15px;
  }

  .page-contact__social-links {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__social-link {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .page-contact__faq-question {
    padding: 15px;
  }

  .page-contact__faq-question h3 {
    font-size: 15px;
  }

  .page-contact__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 16px;
    padding: 12px 20px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-contact__intro-image,
  .page-contact__contact-icon {
    width: 100px !important; /* Keep icons small, but ensure they are not tiny and still illustrative */
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}