/* style/contact.css */
:root {
  --primary-color: #1A2B4C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #0f1a2e;
  --border-color: #e0e0e0;
  --accent-light: #fff3cd;
}

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

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

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

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

.page-contact h1,
.page-contact h2,
.page-contact h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.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;
  color: var(--primary-color);
}

.page-contact h2:first-of-type {
  margin-top: 0; /* Adjust for first h2 after hero */
}

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

.page-contact p {
  margin-bottom: 15px;
}

/* Hero Section */
.page-contact .hero-section {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact .hero-container {
  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%;
  margin-bottom: 30px;
}

.page-contact .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-contact .hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 25px auto;
}

.page-contact .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact .cta-button:hover {
  background: #e6c200; /* Slightly darker secondary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact .method-item {
  background-color: #ffffff;
  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;
}

.page-contact .method-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-contact .contact-info a {
  font-weight: bold;
  color: var(--primary-color);
}

.page-contact .method-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--secondary-color);
  font-weight: bold;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
}

.page-contact .method-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.page-contact .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

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

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

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

.page-contact .contact-form-section p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 30px;
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #2a3d5e;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact .form-group input[type="text"],
.page-contact .form-group input[type="email"],
.page-contact .form-group input[type="tel"],
.page-contact .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #4a5d7e;
  border-radius: 5px;
  background-color: #3b4e6f;
  color: var(--text-light);
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
  color: #a0a8b4;
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--secondary-color);
  color: var(--primary-color);
  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: #e6c200;
  transform: translateY(-2px);
}

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

.page-contact .faq-section h2,
.page-contact .faq-section p {
  text-align: center;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

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

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

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

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

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px;
}

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

/* Why Choose Us Section */
.page-contact .why-choose-us {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-contact .why-choose-us p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-contact .feature-item {
  background-color: #2a3d5e; /* Darker shade of primary */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact .feature-item:hover {
  transform: translateY(-5px);
  background-color: #3b4e6f;
}

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

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

.page-contact .feature-item p {
  color: #e0e0e0;
  text-align: center;
}

.page-contact .call-to-action-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact .call-to-action-bottom p {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact h1 {
    font-size: 2.4em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact .method-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-section {
    padding: 40px 15px;
  }
  .page-contact .hero-image img {
    border-radius: 4px;
  }
  .page-contact .hero-content p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-contact .contact-methods,
  .page-contact .contact-form-section,
  .page-contact .faq-section,
  .page-contact .why-choose-us {
    padding: 40px 0;
  }
  .page-contact .method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .page-contact .feature-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .feature-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-contact h1 {
    font-size: 2em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact .hero-content p {
    font-size: 0.95em;
  }
  .page-contact .cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-contact .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1em;
  }
  .page-contact .contact-form {
    padding: 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .page-contact .feature-item h3 {
    font-size: 1.2em;
  }
  .page-contact .feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-contact .call-to-action-bottom p {
    font-size: 1em;
  }
}