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

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

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

.page-contact section {
  padding: 60px 0;
  text-align: center;
}

.page-contact section:nth-of-type(even) {
  background-color: #e9ecef;
}

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

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

/* Hero Section */
.page-contact .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7c 100%);
  color: var(--text-light);
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

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

.page-contact .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-contact .cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .cta-button:hover {
  background-color: #ffd000;
  transform: translateY(-3px);
}

/* Contact Methods Section */
.page-contact .method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact .method-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-contact .method-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter is applied */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-contact .method-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-contact .method-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-contact .method-button:hover {
  background-color: #071a47;
}

.page-contact .email-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

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

.page-contact .social-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-contact .social-button:hover {
  background-color: #ffd000;
}

/* Contact Form Section */
.page-contact .contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background: var(--card-background);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

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

.page-contact .form-input,
.page-contact .form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact .form-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: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* FAQ Section */
.page-contact .faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
  border-color: var(--secondary-color);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 800px; /* Increased height to accommodate detailed answers */
  padding: 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
}

/* Commitment Section */
.page-contact .commitment-section {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0;
}

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

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

.page-contact .commitment-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-contact .commitment-list li strong {
  color: var(--secondary-color);
  font-size: 1.2em;
}

.page-contact .final-cta {
  font-size: 1.3em;
  margin-top: 40px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-contact .bottom-cta {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact .hero-title {
    font-size: 2.8em;
  }
  .page-contact .hero-description {
    font-size: 1.1em;
  }
  .page-contact .section-title {
    font-size: 2em;
  }
  .page-contact .method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact .hero-section {
    padding: 80px 15px;
  }
  .page-contact .hero-title {
    font-size: 2.2em;
  }
  .page-contact .hero-description {
    font-size: 1em;
  }
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact .section-title {
    font-size: 1.8em;
  }
  .page-contact .method-card {
    padding: 20px;
  }
  .page-contact .method-icon {
    width: 120px;
    height: 120px;
  }
  .page-contact .method-title {
    font-size: 1.5em;
  }
  .page-contact .form-input,
  .page-contact .form-textarea {
    padding: 10px 12px;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-contact .commitment-list li {
    padding: 15px;
    font-size: 1em;
  }
  .page-contact .commitment-list li strong {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-title {
    font-size: 1.8em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact .section-title {
    font-size: 1.5em;
  }
  .page-contact .method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .method-icon {
    width: 100px;
    height: 100px;
  }
  .page-contact .contact-form {
    padding: 20px;
  }
  .page-contact .faq-list {
    padding: 0 10px;
  }
  .faq-answer p {
    font-size: 0.9em;
  }
}