/* style/contact.css */
:root {
  --primary-color: #1A237E; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #12184E;
  --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;
}

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

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

.page-contact-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

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

.page-contact-cta-button:hover {
  background-color: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-contact-section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

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

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

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

.page-contact-method-card {
  background-color: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.page-contact-card-description {
  font-size: 1.05em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-contact-card-button:hover {
  background-color: #0D113C;
}

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

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

/* Contact Form Section */
.page-contact-form-section {
  background-color: #E6EBF0;
  padding: 80px 0;
}

.page-contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: var(--text-light);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact-form-group input[type="text"],
.page-contact-form-group input[type="email"],
.page-contact-form-group textarea {
  width: calc(100% - 20px);
  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-group input:focus,
.page-contact-form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  outline: none;
}

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

.page-contact-submit-button {
  display: block;
  width: 100%;
  padding: 18px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  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-color: #0D113C;
  transform: translateY(-2px);
}

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

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  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: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
  margin: 0;
  font-size: 1.0em;
}

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

.page-contact-commitment .page-contact-section-title {
  color: var(--secondary-color);
}

.page-contact-commitment .page-contact-section-description {
  color: #ddd;
}

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

.page-contact-commitment-list li {
  background-color: #2A3172; /* Slightly lighter primary */
  padding: 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact-commitment-list li strong {
  color: var(--secondary-color);
  margin-left: 15px;
}

.page-contact-list-icon {
  width: 60px; /* Larger icon size */
  height: 60px; /* Larger icon size */
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-contact-final-cta {
  text-align: center;
  font-size: 1.2em;
  margin-top: 60px;
  color: var(--text-light);
}

.page-contact-final-cta a {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact-final-cta a:hover {
  color: #FFC107;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact-title {
    font-size: 2.8em;
  }
  .page-contact-subtitle {
    font-size: 1.2em;
  }
  .page-contact-section-title {
    font-size: 2em;
  }
  .page-contact-section-description {
    font-size: 1em;
  }
  .page-contact-method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact-hero {
    padding: 60px 0;
  }
  .page-contact-title {
    font-size: 2.2em;
  }
  .page-contact-subtitle {
    font-size: 1em;
  }
  .page-contact-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact-section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-contact-section-description {
    margin-bottom: 30px;
  }
  .page-contact-method-card {
    padding: 25px;
  }
  .page-contact-method-icon {
    width: 100px;
    height: 100px;
  }
  .page-contact-card-title {
    font-size: 1.5em;
  }
  .page-contact-card-description {
    font-size: 0.95em;
  }
  .page-contact-card-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-contact-form-section {
    padding: 60px 0;
  }
  .page-contact-form {
    padding: 30px;
  }
  .page-contact-form-group label {
    font-size: 1em;
  }
  .page-contact-form-group input, .page-contact-form-group textarea {
    padding: 12px;
  }
  .page-contact-submit-button {
    padding: 15px;
    font-size: 1.1em;
  }
  .page-contact-faq {
    padding: 60px 0;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-contact-commitment {
    padding: 60px 0;
  }
  .page-contact-commitment-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-contact-commitment-list li {
    font-size: 1em;
  }
  .page-contact-list-icon {
    width: 50px;
    height: 50px;
  }
  .page-contact-final-cta {
    font-size: 1.1em;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .page-contact-title {
    font-size: 1.8em;
  }
  .page-contact-subtitle {
    font-size: 0.9em;
  }
  .page-contact-section-title {
    font-size: 1.6em;
  }
  .page-contact-method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact-form {
    padding: 20px;
  }
  .page-contact-form-group input, .page-contact-form-group textarea {
    width: calc(100% - 10px);
    padding: 10px;
  }
  .page-contact-submit-button {
    font-size: 1em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.2em;
  }
  .page-contact-commitment-list li {
    flex-direction: column;
    text-align: center;
  }
  .page-contact-commitment-list li strong {
    margin-left: 0;
    margin-top: 10px;
  }
  .page-contact-list-icon {
    margin-bottom: 10px;
  }
}