/* style/contact.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --accent-color: #DC143C;
  --text-light: #F0F0F0;
  --text-dark: #333333;
  --bg-light: #FFFFFF;
  --bg-dark: #0A192F;
}

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

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

/* Hero Banner */
.page-contact .hero-banner {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
}

.page-contact .hero-banner .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact .hero-banner .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-contact .hero-banner .hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

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

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

.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: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact section:nth-of-type(even) {
  background-color: #1a2a40;
}

.page-contact h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-contact p, .page-contact li {
  font-size: 1.1em;
  color: var(--text-light);
}

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

.page-contact a:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Contact Methods */
.page-contact .contact-methods {
  background-color: var(--primary-color);
}

.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-color: #1a2a40;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 380px; /* Ensure consistent height for visual balance */
}

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

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

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

.page-contact .method-item p {
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-contact .btn-contact {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-light);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-contact .btn-contact:hover {
  background-color: #a71131;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Common Issues */
.page-contact .common-issues {
  background-color: #1a2a40;
  padding-bottom: 80px;
}

.page-contact .common-issues ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-contact .common-issues li {
  background-color: #2a3a50;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  font-size: 1.1em;
}

.page-contact .common-issues li strong {
  color: var(--secondary-color);
}

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

.page-contact .commitment-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.page-contact .commitment-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-contact .commitment-text {
  flex: 1;
  min-width: 300px;
}

.page-contact .commitment-text ul {
  list-style: disc;
  margin-left: 20px;
  padding: 0;
}

.page-contact .commitment-text li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-light);
}

.page-contact .commitment-text li strong {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-contact .faq-section {
  background-color: #1a2a40;
}

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

.page-contact .faq-item {
  margin-bottom: 15px;
}

.page-contact .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a3a50;
  border: 1px solid #3e4e60;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-contact .faq-question:hover {
  background: #3a4a60;
  border-color: var(--secondary-color);
}

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

.page-contact .faq-toggle {
  font-size: 24px;
  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.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #1a2a40;
  border-radius: 0 0 8px 8px;
}

.page-contact .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #3e4e60;
}

.page-contact .faq-answer p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Call to Action Section */
.page-contact .call-to-action {
  background: linear-gradient(135deg, var(--primary-color), #0A192F);
  padding: 80px 20px;
}

.page-contact .call-to-action h2 {
  color: var(--secondary-color);
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-contact .call-to-action p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact .hero-banner h1 {
    font-size: 2.8em;
  }
  .page-contact .hero-banner p {
    font-size: 1.1em;
  }
  .page-contact h2 {
    font-size: 2.2em;
  }
  .page-contact h3 {
    font-size: 1.6em;
  }
  .page-contact .commitment-content {
    flex-direction: column;
    text-align: center;
  }
  .page-contact .commitment-text {
    min-width: unset;
    text-align: left;
  }
  .page-contact .commitment-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-contact .hero-banner {
    height: 400px;
  }
  .page-contact .hero-banner h1 {
    font-size: 2.2em;
  }
  .page-contact .hero-banner p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact h2 {
    font-size: 1.8em;
  }
  .page-contact h3 {
    font-size: 1.4em;
  }
  .page-contact p, .page-contact li {
    font-size: 1em;
  }
  .page-contact .method-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .faq-question {
    padding: 15px 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1.1em;
  }
  .page-contact .faq-answer {
    padding: 0 20px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-contact .call-to-action h2 {
    font-size: 2.2em;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-banner {
    height: 350px;
  }
  .page-contact .hero-banner h1 {
    font-size: 1.8em;
  }
  .page-contact .hero-banner p {
    font-size: 0.9em;
  }
  .page-contact .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-contact h2 {
    font-size: 1.6em;
  }
  .page-contact h3 {
    font-size: 1.2em;
  }
  .page-contact .method-item {
    min-height: 350px;
  }
  .page-contact .call-to-action h2 {
    font-size: 1.8em;
  }
}