/* style/contact.css */

:root {
  --primary-color: #0A192F;
  --secondary-color: #E0B400;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f4f4;
  --background-dark: #1A2E47;
  --border-color: #e0e0e0;
}

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

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

.page-contact .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact .section-description {
  font-size: 1.1em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact .hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--background-dark);
}

.page-contact .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-contact .hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-contact .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-contact .hero-title {
  font-size: 3.5em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-contact .hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-contact .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-contact .cta-button:hover {
  background: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Section */
.page-contact .contact-methods {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-contact .method-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: var(--background-dark);
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-contact .card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-contact .btn-small {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact .btn-small:hover {
  background: #FFD700;
  transform: translateY(-2px);
}

.page-contact .social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.page-contact .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .social-icon:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Contact Form Section */
.page-contact .contact-form-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-contact .contact-form-section .section-title,
.page-contact .contact-form-section .section-description {
  color: var(--text-light);
}

.page-contact .form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: var(--background-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-contact .form-image {
  flex: 1 1 40%;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact .form-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact .contact-form {
  flex: 1 1 50%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

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

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

.page-contact .form-group input,
.page-contact .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  background-color: #ffffff;
  color: var(--text-dark);
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
  color: #888;
}

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

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact .submit-button:hover {
  background: #061220;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact .faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
  font-weight: bold;
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

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

/* Call to Action Section */
.page-contact .call-to-action {
  padding: 60px 0;
  background-color: var(--background-dark);
  text-align: center;
  color: var(--text-light);
}

.page-contact .call-to-action .section-title,
.page-contact .call-to-action .section-description {
  color: var(--text-light);
}

.page-contact .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-contact .cta-buttons .primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-contact .cta-buttons .primary:hover {
  background: #FFD700;
}

.page-contact .cta-buttons .secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-contact .cta-buttons .secondary:hover {
  background: #061220;
  border-color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact .hero-title {
    font-size: 3em;
  }
  .page-contact .hero-description {
    font-size: 1.15em;
  }
  .page-contact .section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-section {
    padding: 60px 15px;
  }
  .page-contact .hero-title {
    font-size: 2.5em;
  }
  .page-contact .hero-description {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-contact .section-title {
    font-size: 1.8em;
  }
  .page-contact .section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-contact .methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .form-wrapper {
    flex-direction: column;
    padding: 30px;
  }
  .page-contact .form-image {
    margin-bottom: 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1em;
  }
  .page-contact .faq-toggle {
    font-size: 20px;
  }
  .page-contact .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact .cta-buttons .cta-button {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-title {
    font-size: 2em;
  }
  .page-contact .hero-description {
    font-size: 0.9em;
  }
  .page-contact .section-title {
    font-size: 1.5em;
  }
  .page-contact .method-icon {
    width: 90px;
    height: 90px;
  }
  .page-contact .card-title {
    font-size: 1.3em;
  }
  .page-contact .btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-contact .social-icon {
    width: 40px;
    height: 40px;
    font-size: 0.8em;
  }
  .page-contact .form-group input,
  .page-contact .form-group textarea {
    padding: 10px;
  }
  .page-contact .submit-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact .faq-question h3 {
    font-size: 0.95em;
  }
  .page-contact .faq-toggle {
    font-size: 18px;
  }
  .page-contact .cta-buttons .cta-button {
    width: 95%;
  }
}