/* style/contact.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark Charcoal */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f4f4f4;
  --bg-dark: #2a2a2a;
  --accent-color: #e53e3e; /* Red for emphasis */
  --border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-contact .hero-contact {
  position: relative;
  background: var(--secondary-color);
  padding: 100px 0;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

.page-contact .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(26, 32, 44, 0.8));
  z-index: 1;
}

.page-contact .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.page-contact .cta-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-contact section:nth-of-type(even) h2,
.page-contact section:nth-of-type(even) h3 {
  color: var(--primary-color);
}

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

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

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

.page-contact section:nth-of-type(even) .method-item h3,
.page-contact section:nth-of-type(even) .commitment-item h3,
.page-contact section:nth-of-type(even) .advantage-item h3 {
    color: var(--primary-color);
}

.page-contact section:nth-of-type(even) .method-item p,
.page-contact section:nth-of-type(even) .commitment-item p,
.page-contact section:nth-of-type(even) .advantage-item p {
    color: var(--text-light);
}

.page-contact section:nth-of-type(even) .method-button,
.page-contact section:nth-of-type(even) .faq-link {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-contact section:nth-of-type(even) .method-button:hover,
.page-contact section:nth-of-type(even) .faq-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Contact Methods */
.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: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-dark);
}

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

.page-contact .method-item h3 {
  margin-top: 20px;
  color: var(--secondary-color);
}

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

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

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

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

.page-contact .method-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

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

/* Contact Form */
.page-contact .contact-form-section {
  background-color: var(--bg-light);
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  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(--secondary-color);
}

.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;
  transition: border-color 0.3s ease;
}

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

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

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

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

.page-contact .commitment-item {
  background: #3a3a3a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-contact .commitment-item h3 {
  margin-top: 20px;
  color: var(--primary-color);
}

.page-contact .commitment-item p {
  font-size: 0.95em;
  color: var(--text-light);
}

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

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

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

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

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

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

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

.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;
  color: var(--text-dark);
  background: #f9f9f9;
}

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

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

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

/* Why Choose Us Section */
.page-contact .why-choose-us {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-contact .advantage-item {
  background: #3a3a3a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-contact .advantage-item h3 {
  margin-top: 20px;
  color: var(--primary-color);
}

.page-contact .advantage-item p {
  font-size: 0.95em;
  color: var(--text-light);
}

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

.page-contact .final-cta-text {
    font-size: 1.2em;
    margin-top: 50px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-contact .bottom-cta {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact .hero-content h1 {
    font-size: 2.5em;
  }
  .page-contact h2 {
    font-size: 2em;
  }
  .page-contact h3 {
    font-size: 1.5em;
  }
  .page-contact .method-grid, .page-contact .commitment-grid, .page-contact .advantage-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact .hero-contact {
    padding: 80px 0;
  }
  .page-contact .hero-content h1 {
    font-size: 2em;
  }
  .page-contact .hero-content p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact .contact-form {
    padding: 25px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .page-contact .method-icon, .page-contact .commitment-icon, .page-contact .advantage-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-contact {
    padding: 60px 0;
  }
  .page-contact .hero-content h1 {
    font-size: 1.8em;
  }
  .page-contact .hero-content p {
    font-size: 0.9em;
  }
  .page-contact .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-contact .container {
    padding: 0 15px;
  }
  .page-contact h2 {
    font-size: 1.5em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact .method-grid, .page-contact .commitment-grid, .page-contact .advantage-grid {
    grid-template-columns: 1fr;
  }
  .faq-question {
    padding: 15px;
  }
  .faq-answer {
    padding: 15px;
  }
}