/* style/contact.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-on-dark: #FFFFFF;
  --text-on-light: #1A202C;
  --accent-text: #FFD700;
  --button-hover-dark: #3a475c;
  --button-hover-light: #e0bb00;
  --background-light: #f5f5f5;
  --border-color: #e0e0e0;
}

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

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

.page-contact section {
  padding: 60px 0;
  text-align: center;
}

.page-contact section:nth-of-type(even) {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
}

.page-contact section:nth-of-type(odd) {
  background-color: var(--background-light);
  color: var(--text-on-light);
}

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

.page-contact h1 {
  font-size: 3em;
  color: var(--text-on-dark);
}

.page-contact h2 {
  font-size: 2.2em;
  color: var(--text-on-light);
}

.page-contact section:nth-of-type(even) h2 {
  color: var(--accent-text);
}

.page-contact h3 {
  font-size: 1.7em;
  color: var(--text-on-light);
}

.page-contact section:nth-of-type(even) h3 {
  color: var(--text-on-dark);
}

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

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

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

/* 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-color: var(--primary-color);
  color: var(--text-on-dark);
  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;
  z-index: 1;
}

.page-contact .hero-image {
  width: 100%;
  max-width: 800px; /* Adjusted for better visual balance */
  margin-bottom: 30px;
}

.page-contact .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact .hero-content h1 {
  color: var(--accent-text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-contact .hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.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;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-contact .cta-button:hover {
  background: var(--button-hover-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-contact .method-card {
  background: #FFFFFF;
  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;
  border: 1px solid var(--border-color);
}

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

.page-contact .method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%; /* Make icons round */
  border: 3px solid var(--secondary-color);
  padding: 10px;
  background-color: var(--primary-color);
}

.page-contact .method-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-contact .method-card p {
  color: #555;
  flex-grow: 1;
}

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

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

.page-contact .social-links a {
  display: inline-block;
  margin: 0 10px;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: var(--text-on-dark);
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

/* Contact Form Section */
.page-contact .contact-form-section {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.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[type="text"],
.page-contact .form-group input[type="email"],
.page-contact .page-contact .form-group input[type="tel"],
.page-contact .form-group textarea {
  width: calc(100% - 20px);
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  color: var(--primary-color);
  background-color: var(--background-light);
}

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

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

.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.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

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

.page-contact .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

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

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

.page-contact .faq-toggle {
  font-size: 20px;
  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.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
  color: #333;
}

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

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

/* Commitment Section */
.page-contact .commitment-section {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
}

.page-contact .commitment-section h2 {
  color: var(--accent-text);
}

.page-contact .commitment-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact h1 {
    font-size: 2.5em;
  }
  .page-contact h2 {
    font-size: 2em;
  }
  .page-contact h3 {
    font-size: 1.5em;
  }
  .page-contact .method-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact h1 {
    font-size: 2em;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact .hero-content p {
    font-size: 1em;
  }
  .page-contact .hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-contact .cta-button {
    width: 80%;
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-contact .method-cards {
    grid-template-columns: 1fr;
  }
  .page-contact .method-card {
    padding: 25px;
  }
  .page-contact .method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .page-contact .form-group input, .page-contact .form-group textarea {
    width: calc(100% - 24px); /* Account for padding */
  }
  .page-contact .faq-question {
    padding: 12px 15px;
  }
  .page-contact .faq-question h3 {
    font-size: 1em;
  }
  .page-contact .faq-answer {
    padding: 0 15px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-contact .container {
    padding: 0 15px;
  }
  .page-contact h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.5em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact .cta-button {
    width: 90%;
  }
  .page-contact .social-links a {
    margin: 0 5px;
    padding: 6px 10px;
    font-size: 0.9em;
  }
}