/* style/contact.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

.page-contact h1, .page-contact h2, .page-contact h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-contact h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
}

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

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

.page-contact .cta-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

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

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

/* Hero Banner */
.page-contact .hero-banner {
  position: relative;
  width: 100%;
  height: 500px; /* Adjusted height for contact page */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--background-dark);
}

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

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

.page-contact .hero-banner .hero-content-wrapper {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-color-light);
  max-width: 800px;
  padding: 20px;
}

.page-contact .hero-banner .hero-text p {
  color: var(--text-color-light);
  margin-bottom: 25px;
  font-size: 1.2em;
}

/* Contact Methods */
.page-contact .contact-methods {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

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

.page-contact .contact-methods .method-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-contact .contact-methods .method-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-contact .contact-methods .method-item p {
  font-size: 1em;
  margin-bottom: 15px;
  flex-grow: 1;
}

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

.page-contact .contact-methods .method-item a:hover {
  color: var(--primary-color);
}

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

.page-contact .method-button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-contact .social-links a {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.1em;
  padding: 8px 15px;
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-contact .social-links a:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

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

.page-contact .contact-form-section .form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-contact .contact-form-section .form-image {
  flex: 1;
  min-width: 300px;
}

.page-contact .contact-form-section .form-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact .contact-form-section .contact-form-content {
  flex: 2;
  min-width: 300px;
}

.page-contact .contact-form {
  display: flex;
  flex-direction: column;
}

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

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

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

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

.page-contact .submit-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

.page-contact .submit-button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

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

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

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

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

.page-contact .faq-question:hover {
  background: var(--background-light);
}

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

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

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

.page-contact .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: var(--background-light);
  padding: 0 25px;
}

.page-contact .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

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

/* Why Contact Us Section */
.page-contact .why-contact-us {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  text-align: center;
}

.page-contact .why-contact-us h2 {
  color: var(--primary-color);
}

.page-contact .why-contact-us p {
  color: var(--text-color-light);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-contact .why-contact-us ul {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px auto;
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-contact .why-contact-us ul li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-contact .why-contact-us ul li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact .hero-banner {
    height: 450px;
  }
  .page-contact h1 {
    font-size: 2.4em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact .contact-form-section .form-wrapper {
    flex-direction: column;
    padding: 30px;
  }
  .page-contact .contact-form-section .form-image {
    order: -1; /* Image above form on smaller screens */
  }
  .page-contact .why-contact-us ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-banner {
    height: 400px;
  }
  .page-contact h1 {
    font-size: 2em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact .method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .contact-methods .method-item {
    padding: 25px;
  }
  .page-contact .contact-form-section .form-wrapper {
    padding: 20px;
  }
  .page-contact .faq-question {
    padding: 15px 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1.1em;
  }
  .page-contact .faq-toggle {
    font-size: 1.5em;
  }
  .page-contact .faq-answer {
    padding: 0 20px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-banner {
    height: 350px;
  }
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.4em;
  }
  .page-contact .container {
    padding: 0 15px;
  }
  .page-contact .hero-text p {
    font-size: 0.95em;
  }
  .page-contact .social-links a {
    margin: 0 5px;
    padding: 6px 10px;
    font-size: 0.9em;
  }
}