/* ========================================
   FACILITI Contact Page Styles
   ======================================== */

/* ==================== Map Section ==================== */
.contact-map-section {
  margin-top: 80px;
  padding: 0;
  background: #ffffff;
}

.contact-map-wrapper {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-google-map {
  width: 100%;
  height: 450px;
}

/* ==================== Main Contact Section ==================== */
.contact-main {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Contact Form */
.contact-form-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(40, 41, 97, 0.1);
  border: 1px solid rgba(85, 132, 255, 0.1);
}

.contact-form-header {
  margin-bottom: 40px;
  text-align: center;
}

.contact-form-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 25px rgba(85, 132, 255, 0.3);
}

.contact-form-icon i {
  font-size: 32px;
  color: #ffffff;
}

.contact-form-row {
  display: flex;
  gap: 20px;
  padding-left: 15px;
  padding-right: 15px;
}

.contact-form-title {
  font-size: 32px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 15px;
  letter-spacing: -0.5px;
}

.contact-form-subtitle {
  font-size: 16px;
  color: #666666;
  margin: 0;
  line-height: 1.6;
}

.contact-form {
  margin-top: 30px;
}

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

.contact-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #282961;
  margin-bottom: 8px;
}

.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  color: #333333;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  outline: none;
  border-color: #5584ff;
  box-shadow: 0 0 0 3px rgba(85, 132, 255, 0.1);
}

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

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  color: #ffffff;
  padding: 16px 36px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(85, 132, 255, 0.3);
  margin-top: 10px;
}

.contact-form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(85, 132, 255, 0.4);
}

.contact-form-submit i {
  transition: transform 0.3s ease;
}

.contact-form-submit:hover i {
  transform: translateX(5px);
}

.contact-success-box,
.contact-error-box {
  margin-top: 25px;
  padding: 20px 25px;
  border-radius: 12px;
  display: none;
  align-items: center;
  gap: 15px;
}

.contact-success-box {
  background: #e8f5e9;
  border: 2px solid #4caf50;
}

.contact-success-box i {
  font-size: 28px;
  color: #4caf50;
  flex-shrink: 0;
}

.contact-success-box p {
  margin: 0;
  color: #2e7d32;
  font-size: 15px;
  line-height: 1.6;
}

.contact-error-box {
  background: #fff3e0;
  border: 2px solid #ff9800;
}

.contact-error-box i {
  font-size: 28px;
  color: #ff9800;
  flex-shrink: 0;
}

.contact-error-box p {
  margin: 0;
  color: #e65100;
  font-size: 15px;
  line-height: 1.6;
}

/* Contact Info */
.contact-info-wrapper {
  position: sticky;
  top: 30px;
}

.contact-info-header {
  margin-bottom: 30px;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 10px;
}

.contact-info-subtitle {
  font-size: 15px;
  color: #666666;
  margin: 0;
  line-height: 1.6;
}

.contact-info-cards {
  margin-bottom: 30px;
}

.contact-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 5px 20px rgba(40, 41, 97, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: #5584ff;
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(85, 132, 255, 0.15);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(85, 132, 255, 0.1) 0%,
    rgba(62, 107, 224, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  transform: scale(1.1);
}

.contact-info-icon i {
  font-size: 22px;
  color: #5584ff;
  transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-icon i {
  color: #ffffff;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-size: 16px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 8px;
}

.contact-info-text {
  font-size: 14px;
  color: #666666;
  margin: 0;
  line-height: 1.7;
}

.contact-info-text a {
  color: #5584ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: #3e6be0;
  text-decoration: underline;
}

/* Social Media */
.contact-social {
  background: linear-gradient(135deg, #282961 0%, #3e6be0 100%);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.contact-social-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
}

.contact-social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.contact-social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  background: #ffffff;
  color: #5584ff;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ==================== FAQ Section ==================== */
.contact-faq {
  padding: 100px 0;
  background: #ffffff;
}

.contact-faq-header {
  margin-bottom: 70px;
  text-align: center;
}

.contact-section-title {
  font-size: 42px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.contact-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5584ff 0%, #3e6be0 100%);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.contact-section-subtitle {
  font-size: 18px;
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-faq-category {
  margin-bottom: 50px;
}

.contact-faq-category:last-child {
  margin-bottom: 0;
}

.contact-faq-category-title {
  font-size: 28px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #5584ff;
}

.contact-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-accordion-item {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-accordion-item:hover {
  border-color: #5584ff;
  box-shadow: 0 5px 20px rgba(85, 132, 255, 0.1);
}

.contact-accordion-item.active {
  border-color: #5584ff;
  box-shadow: 0 8px 25px rgba(85, 132, 255, 0.15);
}

.contact-accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: #282961;
  transition: all 0.3s ease;
}

.contact-accordion-header:hover {
  background: rgba(85, 132, 255, 0.05);
}

.contact-accordion-item.active .contact-accordion-header {
  background: rgba(85, 132, 255, 0.08);
  color: #5584ff;
}

.contact-accordion-header i {
  font-size: 16px;
  color: #5584ff;
  transition: transform 0.3s ease;
}

.contact-accordion-item.active .contact-accordion-header i {
  transform: rotate(180deg);
}

.contact-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.contact-accordion-item.active .contact-accordion-content {
  max-height: 500px;
}

.contact-accordion-content p {
  padding: 0 25px 25px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #666666;
}

.contact-accordion-content a {
  color: #5584ff;
  text-decoration: none;
  font-weight: 600;
}

.contact-accordion-content a:hover {
  text-decoration: underline;
}

/* ==================== CTA Section ==================== */
.contact-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #282961 0%, #3e6be0 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.contact-cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.contact-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-cta-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.contact-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.contact-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-btn-primary {
  background: #ffffff;
  color: #282961;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #282961;
  text-decoration: none;
}

.contact-btn-primary i {
  transition: transform 0.3s ease;
}

.contact-btn-primary:hover i {
  transform: translateX(5px);
}

.contact-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.contact-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
  color: #ffffff;
  text-decoration: none;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
  .contact-main,
  .contact-faq,
  .contact-cta {
    padding: 70px 0;
  }

  .contact-form-wrapper {
    padding: 40px;
    margin-bottom: 40px;
  }

  .contact-info-wrapper {
    position: static;
  }

  .contact-section-title,
  .contact-cta-title {
    font-size: 36px;
  }

  .contact-faq-category-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .contact-google-map {
    height: 350px;
  }

  .contact-main,
  .contact-faq,
  .contact-cta {
    padding: 50px 0;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .contact-form-title {
    font-size: 26px;
  }

  .contact-form-row {
    flex-direction: column;
  }

  .contact-section-title,
  .contact-cta-title {
    font-size: 30px;
  }

  .contact-faq-category-title {
    font-size: 22px;
  }

  .contact-accordion-header {
    font-size: 16px;
    padding: 18px 20px;
  }

  .contact-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-google-map {
    height: 300px;
  }

  .contact-form-title {
    font-size: 24px;
  }

  .contact-section-title,
  .contact-cta-title {
    font-size: 26px;
  }

  .contact-info-title {
    font-size: 24px;
  }

  .contact-info-card {
    padding: 20px;
  }

  .contact-social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
