/* style/contact.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #1a1a2e;
  --border-color: #e0e0e0;
}

.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;
}

.page-contact .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact .section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

/* Hero Section */
.page-contact .contact-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

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

.page-contact .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

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

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

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

.page-contact .channel-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-contact .channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-contact .channel-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact .card-description {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact .channel-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--secondary-color);
}

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

/* When to Contact Section */
.page-contact .when-to-contact {
  padding: 60px 0;
  background-color: #fcfcfc;
}

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

.page-contact .reason-item {
  background-color: #ffffff;
  border-left: 5px solid var(--primary-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.page-contact .reason-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact .reason-description {
  font-size: 1em;
  color: var(--text-dark);
}

.page-contact .reason-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-contact .reason-description a:hover {
  text-decoration: underline;
}

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

.page-contact .contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

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

.page-contact .form-label {
  display: block;
  font-size: 1.1em;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact .form-input,
.page-contact .form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1em;
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact .form-input:focus,
.page-contact .form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

.page-contact .form-textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 18px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

.page-contact .faq-list {
  max-width: 800px;
  margin: 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-color: #ffffff;
  cursor: pointer;
  font-size: 1.1em;
  color: var(--secondary-color);
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
  background-color: #f0f0f0;
}

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

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

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

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

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

.page-contact .faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.8;
}

.page-contact .faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-contact .faq-answer a:hover {
  text-decoration: underline;
}

/* Commitment Section */
.page-contact .commitment-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-contact .commitment-section .section-title,
.page-contact .commitment-section .section-intro {
  color: var(--primary-color);
}

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

.page-contact .commitment-item {
  background-color: #1a1a3a; /* Slightly darker blue */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact .commitment-item:hover {
  transform: translateY(-8px);
  background-color: #2a2a4a;
}

.page-contact .commitment-icon {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact .commitment-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-contact .commitment-description {
  font-size: 0.95em;
  color: #c0c0c0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact .hero-title {
    font-size: 3em;
  }
  .page-contact .section-title {
    font-size: 2em;
  }
  .page-contact .channel-icon,
  .page-contact .commitment-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-title {
    font-size: 2.5em;
  }
  .page-contact .hero-description {
    font-size: 1.1em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact .section-title {
    font-size: 1.8em;
  }
  .page-contact .section-intro {
    font-size: 1em;
  }
  .page-contact .channels-grid,
  .page-contact .contact-reasons,
  .page-contact .commitment-points {
    grid-template-columns: 1fr;
  }
  .page-contact .channel-card,
  .page-contact .reason-item,
  .page-contact .commitment-item {
    padding: 20px;
  }
  .page-contact .card-title,
  .page-contact .reason-title,
  .page-contact .commitment-title {
    font-size: 1.5em;
  }
  .page-contact .form-input,
  .page-contact .form-textarea {
    padding: 12px;
  }
  .page-contact .submit-button {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-contact .faq-question {
    padding: 15px 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1em;
  }
  .page-contact .faq-toggle {
    font-size: 1.3em;
  }
  .page-contact .faq-answer {
    padding: 0 20px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-title {
    font-size: 2em;
  }
  .page-contact .hero-description {
    font-size: 0.95em;
  }
  .page-contact .section-title {
    font-size: 1.6em;
  }
  .page-contact .channel-icon,
  .page-contact .commitment-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .card-title,
  .page-contact .reason-title,
  .page-contact .commitment-title {
    font-size: 1.3em;
  }
  .page-contact .contact-form {
    padding: 25px;
  }
  .page-contact .form-label {
    font-size: 1em;
  }
  .page-contact .form-input,
  .page-contact .form-textarea {
    font-size: 0.9em;
  }
  .page-contact .submit-button {
    font-size: 1em;
  }
}