/* style/contact.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f7fa;
  --background-dark: #002244;
  --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 h1, .page-contact h2, .page-contact h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-contact h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-contact h3 {
  font-size: 1.6em;
}

.page-contact p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-contact a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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

.page-contact .hero-image {
  width: 100%;
  height: 400px; /* Fixed height for visual consistency */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-contact .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-contact .cta-button:hover {
  background: #e6b800; /* Slightly darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact .method-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

.page-contact .method-card h3 a {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
  display: block;
}

/* Contact Form Section */
.page-contact .contact-form-section {
  padding: 80px 0;
  background-color: #e8edf3;
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: var(--text-light);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

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

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

.page-contact .form-group input[type="text"],
.page-contact .form-group input[type="email"],
.page-contact .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .submit-button:hover {
  background-color: #004488; /* Slightly darker primary color */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-contact .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--text-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px 25px 25px;
  background: #f9f9f9;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.page-contact .faq-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-contact .faq-button:hover {
  background: #e6b800;
}

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

.page-contact .why-contact-section h2 {
  color: var(--secondary-color);
}

.page-contact .why-contact-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
  font-size: 1.15em;
  color: rgba(255, 255, 255, 0.9);
}

.page-contact .why-contact-section ul {
  max-width: 800px;
  margin: 30px auto;
  list-style: none;
  padding: 0;
}

.page-contact .why-contact-section ul li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact .why-contact-section ul li strong {
  color: var(--secondary-color);
}

/* Call to Action Section */
.page-contact .call-to-action-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), #004488);
  text-align: center;
  color: var(--text-light);
}

.page-contact .cta-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact .call-to-action-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-contact .call-to-action-section p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.95);
}

.page-contact .call-to-action-section p a {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-contact .call-to-action-section p a:hover {
  text-decoration: underline;
}

.page-contact .main-cta-button {
  display: inline-block;
  padding: 18px 50px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.4em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-contact .main-cta-button:hover {
  background: #e6b800;
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact h1 {
    font-size: 2.2em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact .hero-image {
    height: 300px;
  }
  .page-contact .hero-content p {
    font-size: 1.1em;
  }
  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-contact .methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact .method-card {
    padding: 25px;
  }
  .page-contact .method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .page-contact .why-contact-section ul li {
    padding: 15px;
  }
  .page-contact .call-to-action-section h2 {
    font-size: 2em;
  }
  .page-contact .call-to-action-section p {
    font-size: 1.1em;
  }
  .page-contact .main-cta-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact .hero-section {
    padding: 40px 15px;
  }
  .page-contact .hero-image {
    height: 250px;
    margin-bottom: 20px;
  }
  .page-contact .hero-content p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-contact .contact-methods-section, .page-contact .contact-form-section, .page-contact .faq-section, .page-contact .why-contact-section, .page-contact .call-to-action-section {
    padding: 50px 0;
  }
  .page-contact .methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .method-card {
    padding: 20px;
  }
  .page-contact .method-icon {
    width: 70px;
    height: 70px;
  }
  .page-contact .contact-form {
    padding: 25px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-contact .why-contact-section ul li {
    font-size: 1em;
  }
  .page-contact .call-to-action-section h2 {
    font-size: 1.8em;
  }
  .page-contact .call-to-action-section p {
    font-size: 1em;
  }
  .page-contact .main-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 1.6em;
  }
  .page-contact h2 {
    font-size: 1.4em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact .hero-image {
    height: 200px;
  }
  .page-contact .hero-content p {
    font-size: 0.95em;
  }
  .page-contact .cta-button {
    padding: 8px 20px;
    font-size: 0.9em;
  }
  .page-contact .contact-form {
    padding: 20px;
  }
  .page-contact .form-group label {
    font-size: 1em;
  }
  .page-contact .form-group input, .page-contact .form-group textarea {
    font-size: 0.9em;
  }
  .page-contact .submit-button {
    font-size: 1.1em;
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 0.95em;
  }
  .page-contact .why-contact-section ul li {
    font-size: 0.95em;
  }
  .page-contact .call-to-action-section h2 {
    font-size: 1.6em;
  }
  .page-contact .call-to-action-section p {
    font-size: 0.95em;
  }
  .page-contact .main-cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
}