/* style/contact.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #0A2463; /* Dark Blue */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #0A2463;
  --border-color: #e0e0e0;
}

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

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

.page-contact-section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.page-contact-section:last-of-type {
  border-bottom: none;
}

.page-contact-section__title {
  font-size: 38px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact-section__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color-dark);
}

/* Hero Section */
.page-contact-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 80px 20px;
  text-align: center;
  color: var(--text-color-light);
}

.page-contact-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact-hero__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-contact-hero__content {
  max-width: 900px;
}

.page-contact-hero__title {
  font-size: 52px;
  color: var(--text-color-light);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-contact-hero__description {
  font-size: 20px;
  color: var(--text-color-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.page-contact-hero__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-contact-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-contact-btn--primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page-contact-btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-contact-btn--secondary {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
}

.page-contact-btn--secondary:hover {
  background-color: #081e50;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 36, 99, 0.4);
}

.page-contact-btn--outline {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
}

.page-contact-btn--outline:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-contact-btn--submit {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  padding: 15px;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page-contact-btn--submit:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Why Us Section */
.page-contact-why-us {
  background-color: var(--background-light);
}

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

.page-contact-feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact-feature-item__title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact-feature-item__text {
  font-size: 16px;
  color: var(--text-color-dark);
}

/* Contact Methods Section */
.page-contact-methods {
  background-color: #f0f2f5;
}

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

.page-contact-method-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact-method-card__icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact-method-card__title {
  font-size: 26px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact-method-card__text {
  font-size: 16px;
  color: var(--text-color-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-contact-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.page-contact-social-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Contact Form Section */
.page-contact-form-section {
  background-color: var(--background-light);
}

.page-contact-form-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-contact-form__image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact-form {
  flex: 1;
  max-width: 600px;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact-form-label {
  display: block;
  font-size: 16px;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact-form-input,
.page-contact-form-textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  color: var(--text-color-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-form-input:focus,
.page-contact-form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

.page-contact-form-textarea {
  resize: vertical;
}

/* FAQ Section */
.page-contact-faq {
  background-color: #f0f2f5;
}

.page-contact-faq__list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  font-size: 18px;
  color: var(--secondary-color);
  margin: 0;
  font-weight: bold;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #ffffff;
  color: var(--text-color-dark);
}

.faq-answer p {
  margin: 0 0 15px 0;
  padding-bottom: 15px;
  font-size: 16px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

/* Final CTA Section */
.page-contact-final-cta {
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-align: center;
  padding: 80px 20px;
  border-bottom: none;
}

.page-contact-final-cta__content {
  max-width: 900px;
}

.page-contact-final-cta__title {
  color: var(--primary-color);
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-contact-final-cta__description {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.page-contact-final-cta__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact-hero__title {
    font-size: 48px;
  }
  .page-contact-section__title {
    font-size: 34px;
  }
  .page-contact-form-wrapper {
    flex-direction: column;
  }
  .page-contact-form__image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-contact-hero {
    padding: 60px 15px;
  }
  .page-contact-hero__title {
    font-size: 38px;
  }
  .page-contact-hero__description {
    font-size: 17px;
  }
  .page-contact-section {
    padding: 40px 0;
  }
  .page-contact-section__title {
    font-size: 28px;
  }
  .page-contact-section__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-contact-features, .page-contact-methods__grid {
    grid-template-columns: 1fr;
  }
  .page-contact-feature-item, .page-contact-method-card {
    padding: 25px;
  }
  .page-contact-method-card__icon {
    width: 80px;
    height: 80px;
  }
  .page-contact-form {
    padding: 30px;
  }
  .page-contact-form-input, .page-contact-form-textarea {
    width: calc(100% - 20px);
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-contact-final-cta {
    padding: 60px 15px;
  }
  .page-contact-final-cta__title {
    font-size: 32px;
  }
  .page-contact-final-cta__description {
    font-size: 16px;
  }
  .page-contact-hero__cta-group, .page-contact-final-cta__buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact-btn {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
  }
  .page-contact-btn--submit {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .page-contact-hero__title {
    font-size: 32px;
  }
  .page-contact-section__title {
    font-size: 24px;
  }
  .page-contact-btn {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-contact-form {
    padding: 20px;
  }
  .faq-question h3 {
    font-size: 15px;
  }
  .page-contact-final-cta__title {
    font-size: 28px;
  }
}