/* style/contact.css */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --accent-color: #E74C3C;
  --text-dark: #333333;
  --text-light: #f8f8f8;
  --background-light: #ffffff;
  --background-dark: #0A1931;
  --card-background: #1a2a43;
  --border-color: #3f516f;
}

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

/* Hero Section */
.page-contact .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2a43 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact .hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

.page-contact .cta-button:hover {
  background: #c0392b; /* Slightly darker red */
  transform: translateY(-3px);
}

/* General Section Styling */
.page-contact section {
  padding: 60px 0;
}

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

.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;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

.page-contact .method-card {
  background: var(--background-dark);
  color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Distribute space */
}

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

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

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

.page-contact .method-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take available space */
}

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

.page-contact .contact-info a:hover {
  color: #fff;
}

.page-contact .method-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact .method-button:hover {
  background: #e6c200; /* Slightly darker gold */
  color: var(--primary-color);
}

.page-contact .social-links {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}

.page-contact .social-links li {
  margin-bottom: 8px;
}

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

.page-contact .social-links a:hover {
  color: #fff;
}

/* Contact Form Section */
.page-contact .contact-form-section {
  background-color: #f0f2f5;
}

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

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

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

.page-contact .form-input,
.page-contact .form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: #f9f9f9;
  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;
  background: var(--accent-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: #c0392b;
  transform: translateY(-2px);
}

/* Benefits Section */
.page-contact .benefits-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

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

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

.page-contact .benefit-item {
  background: var(--card-background);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact .benefit-text {
  font-size: 1em;
  color: #cccccc;
}

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

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-contact .faq-q-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  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(--accent-color);
}

.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; /* Adjust as needed for content */
  padding: 20px;
  border-top: 1px solid #e0e0e0;
}

.page-contact .faq-a-text {
  margin: 0;
  font-size: 1em;
  line-height: 1.8;
}

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

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

.page-contact .call-to-action-section .cta-button {
  margin: 20px 15px;
  padding: 15px 40px;
  font-size: 1.2em;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact .call-to-action-section .cta-button.primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-contact .call-to-action-section .cta-button.primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-contact .call-to-action-section .cta-button.secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-contact .call-to-action-section .cta-button.secondary:hover {
  background: #1a2a43;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* 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(250px, 1fr));
  }
  .page-contact .benefit-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact .hero-section {
    padding: 60px 0;
  }
  .page-contact .hero-title {
    font-size: 2.2em;
  }
  .page-contact .hero-description {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact .section-title {
    font-size: 1.8em;
  }
  .page-contact .section-description {
    font-size: 0.95em;
  }
  .page-contact .method-card,
  .page-contact .benefit-item {
    padding: 25px;
  }
  .page-contact .method-icon,
  .page-contact .benefit-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .method-title,
  .page-contact .benefit-title {
    font-size: 1.5em;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .page-contact .submit-button {
    font-size: 1.1em;
  }
  .page-contact .faq-question {
    padding: 15px;
  }
  .page-contact .faq-q-title {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-contact .call-to-action-section .cta-button {
    margin: 10px;
    padding: 12px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-title {
    font-size: 1.8em;
  }
  .page-contact .hero-description {
    font-size: 0.9em;
  }
  .page-contact .section-title {
    font-size: 1.6em;
  }
  .page-contact .section-description {
    font-size: 0.9em;
  }
  .page-contact .method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .benefit-list {
    grid-template-columns: 1fr;
  }
  .page-contact .contact-form {
    padding: 20px;
  }
  .page-contact .faq-q-title {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .page-contact .call-to-action-section .cta-button {
    display: block;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
}