/* style/contact.css */
:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --accent-color: #DC143C;
  --text-dark: #0A2239;
  --text-light: #FFFFFF;
  --background-light: #F8F8F8;
  --background-dark: #0A2239;
  --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-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-contact .section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #555;
}

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

.page-contact .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.page-contact .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 34, 57, 0.8), rgba(255, 215, 0, 0.4));
  z-index: 2;
}

.page-contact .hero-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: var(--text-light);
}

.page-contact .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

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

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

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

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

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

.page-contact .contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact .card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

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

.page-contact .card-text {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

/* Support Commitment Section */
.page-contact .support-commitment {
  padding: 80px 0;
  background-color: #F0F4F8;
}

.page-contact .commitment-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-contact .commitment-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-contact .commitment-text {
  flex: 2 1 500px;
  font-size: 1.1em;
  color: #444;
}

.page-contact .commitment-text p {
  margin-bottom: 20px;
}

.page-contact .commitment-text p a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-contact .commitment-text p a:hover {
  text-decoration: underline;
}

.page-contact .secondary-button {
  background: var(--primary-color);
  color: var(--text-light);
  margin-top: 20px;
}

.page-contact .secondary-button:hover {
  background: #071727;
}

/* Feedback Form Section */
.page-contact .feedback-form-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

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

.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: 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;
}

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

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  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;
}

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

.page-contact .feedback-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* FAQ Section */
.page-contact .faq-section {
  padding: 80px 0;
  background-color: #F0F4F8;
}

.page-contact .faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact .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;
}

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

.page-contact .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  font-weight: bold;
}

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

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

.page-contact .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
}

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

.page-contact .faq-answer p {
  margin-bottom: 15px;
  color: #555;
}

.page-contact .faq-answer p:last-child {
  margin-bottom: 0;
}

.page-contact .faq-answer .text-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-contact .faq-answer .text-link:hover {
  text-decoration: underline;
}

/* Mission Statement Section */
.page-contact .mission-statement {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

.page-contact .mission-statement .section-title {
  color: var(--secondary-color);
}

.page-contact .mission-statement .section-description {
  color: #E0E0E0;
  margin-bottom: 30px;
}

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

.page-contact .mission-statement .cta-button:hover {
  background: #E6C200;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact .hero-title {
    font-size: 3em;
  }
  .page-contact .hero-description {
    font-size: 1.2em;
  }
  .page-contact .section-title {
    font-size: 2em;
  }
  .page-contact .section-description {
    font-size: 1em;
  }
  .page-contact .commitment-content {
    flex-direction: column;
  }
  .page-contact .commitment-image {
    max-width: 100%;
  }
  .page-contact .feedback-form-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-contact .feedback-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-contact {
    padding: 60px 15px;
    min-height: 400px;
  }
  .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;
    margin-bottom: 30px;
  }
  .page-contact .section-description {
    margin-bottom: 40px;
  }
  .page-contact .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .contact-card {
    padding: 25px;
  }
  .page-contact .card-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .card-title {
    font-size: 1.5em;
  }
  .page-contact .contact-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-contact .support-commitment, .page-contact .feedback-form-section, .page-contact .faq-section, .page-contact .mission-statement {
    padding: 60px 0;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .page-contact .faq-question {
    padding: 15px 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1.1em;
  }
  .page-contact .faq-answer {
    padding: 0 20px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@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 .section-description {
    font-size: 0.9em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-contact .contact-card {
    padding: 20px;
  }
  .page-contact .card-title {
    font-size: 1.3em;
  }
  .page-contact .form-group input, .page-contact .form-group textarea {
    padding: 10px 12px;
  }
  .page-contact .submit-button {
    padding: 12px;
    font-size: 1em;
  }
  .page-contact .faq-question h3 {
    font-size: 1em;
  }
  .page-contact .faq-toggle {
    font-size: 20px;
  }
}