/* style/contact.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Deep Sky Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #2c3e50; /* Dark Blue Gray */
  --border-color: #e0e0e0;
  --card-background: #ffffff;
  --button-hover-darken: #ccac00; /* Darker gold */
  --button-hover-lighten: #46a3ff; /* Lighter blue */
}

.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-contact-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-contact .hero-contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-contact .hero-contact-section .container {
  position: relative;
  z-index: 2;
}

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

.page-contact .page-contact-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-contact .page-contact-hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

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

.page-contact section:nth-child(even) {
  background-color: var(--background-light);
}

.page-contact section:nth-child(odd) {
  background-color: var(--card-background);
}

.page-contact .page-contact-heading {
  font-size: 2.5em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-contact .page-contact-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-contact .page-contact-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
}

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

.page-contact .method-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--primary-color);
}

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

.page-contact .method-card .page-contact-method-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  object-fit: contain;
}

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

.page-contact .method-card .page-contact-method-description,
.page-contact .method-card .page-contact-email {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-contact .page-contact-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1em;
}

.page-contact .page-contact-btn:hover {
  background-color: var(--button-hover-lighten);
  transform: translateY(-2px);
}

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

.page-contact .contact-form-section .page-contact-heading {
  color: var(--text-light);
}

.page-contact .contact-form-section .page-contact-heading::after {
  background-color: var(--primary-color);
}

.page-contact .contact-form-section .page-contact-text {
  color: rgba(255, 255, 255, 0.8);
}

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

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

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

.page-contact-form-group input[type="text"],
.page-contact-form-group input[type="email"],
.page-contact-form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: #f9f9f9;
}

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

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

.page-contact-submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  text-decoration: none;
}

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

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

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

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

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

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #fcfcfc;
  color: #555;
}

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

/* Commitment Section */
.page-contact .commitment-section {
  background-color: var(--card-background);
}

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

.page-contact .point-item {
  text-align: center;
  padding: 30px;
  background: #fcfcfc;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-contact .point-item:hover {
  transform: translateY(-5px);
}

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

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

.page-contact .point-item p {
  font-size: 1em;
  color: #666;
}

/* Register CTA Section */
.page-contact .register-cta-section {
  background: linear-gradient(135deg, var(--secondary-color), #46a3ff);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.page-contact .register-cta-section .page-contact-heading {
  color: var(--text-light);
}

.page-contact .register-cta-section .page-contact-heading::after {
  background-color: var(--primary-color);
}

.page-contact .register-cta-section .page-contact-text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-contact .large-btn {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: var(--primary-color);
  color: var(--text-dark);
  border-radius: 8px;
  text-shadow: none;
}

.page-contact .large-btn:hover {
  background-color: var(--button-hover-darken);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact .page-contact-title {
    font-size: 2.8em;
  }
  .page-contact .page-contact-heading {
    font-size: 2em;
  }
  .page-contact .methods-grid, .page-contact .commitment-points {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact .method-card .page-contact-method-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-contact-section {
    padding: 60px 0;
  }
  .page-contact .page-contact-title {
    font-size: 2.2em;
  }
  .page-contact .page-contact-description {
    font-size: 1em;
  }
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact .page-contact-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-contact .page-contact-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-contact .methods-grid, .page-contact .commitment-points {
    grid-template-columns: 1fr;
  }
  .page-contact-form {
    padding: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
  .page-contact .method-card .page-contact-method-icon {
    width: 100px;
    height: 100px;
  }
  .page-contact .point-item .page-contact-point-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .large-btn {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-contact .page-contact-title {
    font-size: 1.8em;
  }
  .page-contact .page-contact-heading {
    font-size: 1.5em;
  }
  .page-contact .page-contact-description {
    font-size: 0.9em;
  }
  .page-contact-form-group input,
  .page-contact-form-group textarea {
    padding: 10px;
  }
  .page-contact-submit-btn {
    font-size: 1.1em;
    padding: 12px;
  }
}