/* Hero Section */
.hero-contact {
  background: url("../assets/images/about.png") center/cover no-repeat;
  height: 60vh;
  position: relative;
}

/* Contact Main Section */
.contact-main {
  background: #1f4f7d;
  padding: 60px 20px;
  margin-top: 4rem !important;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form-card {
  background: #002e5a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 40px;
}

.contact-form-card h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 15px;
}

.contact-form-card > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-form-card form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 14px;
}

.contact-form-card textarea {
  margin-bottom: 20px;
  resize: vertical;
}

.contact-form-card .btn-primary {
  background: #fff;
  color: #1f4f7d;
  width: 100%;
  border: 1px solid #fff;
}

.contact-form-card .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #163d63;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 30px;
}

.info-card h3 {
  color: #1a4d6d;
  font-size: 20px;
  margin-bottom: 20px;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.info-item h4 {
  color: #1a4d6d;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-item p {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-item span,
.hours-time span {
  color: #333;
  font-size: 14px;
}

/* Location Section */
.location-section {
  padding: 60px 20px;
  background: #fff;
}

.location-section h2 {
  text-align: center;
  color: #1a4d6d;
  font-size: 32px;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
  background: #fff;
  padding: 60px 20px 80px;
}

.faq-section h2 {
  text-align: center;
  color: #1a4d6d;
  font-size: 32px;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  color: #1a4d6d;
  font-size: 16px;
  font-weight: 500;
}

.faq-question i {
  font-size: 24px;
  color: #1a4d6d;
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .contact-form-card h2 {
    font-size: 22px;
  }

  .contact-form-card > p {
    font-size: 14px;
  }

  .contact-form-card form .form-row {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 20px;
  }

  .info-card h3 {
    font-size: 18px;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .location-section h2,
  .faq-section h2 {
    font-size: 24px;
  }

  .faq-question span {
    font-size: 15px;
  }

  .hero-contact {
    height: 50vh;
  }
}
