/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* ================= HERO SECTION ================= */
.contact-hero-section {
  min-height: 65vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.contact-hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.contact-hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  line-height: 1.7;
  margin: 0 auto;
}

/* ================= CONTACT FORM CARD ================= */
.contact-form-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(25, 25, 112, 0.08);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--neutral-color);
  font-size: 1rem;
}

/* ================= FORM ELEMENTS ================= */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-form label i {
  color: var(--secondary-color);
  margin-right: 6px;
  font-size: 0.9rem;
}

.contact-form .form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  font-family: inherit;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

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

.contact-form select.form-control {
  cursor: pointer;
}

.form-check {
  margin-bottom: 20px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--neutral-color);
  cursor: pointer;
}

/* ================= SUBMIT BUTTON ================= */
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(25, 25, 112, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(25, 25, 112, 0.3);
}

.btn-submit i {
  font-size: 1.1rem;
}

/* ================= FORM MESSAGE ================= */
.form-message {
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ================= CONTACT INFO CARDS ================= */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: white;
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(25, 25, 112, 0.08);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.info-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(25, 25, 112, 0.15);
}

.info-icon i {
  font-size: 20px;
  color: var(--secondary-color);
}

.contact-info-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: var(--neutral-color);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.info-details {
  margin-top: 15px;
}

.info-details p {
  margin: 0;
  line-height: 1.8;
  color: var(--neutral-color);
}

.info-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-details a:hover {
  color: var(--secondary-color);
}

/* ================= SOCIAL LINKS ================= */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(25, 25, 112, 0.2);
}

/* ================= MAP SECTION ================= */
.map-section {
  margin: 60px 0;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--secondary-color);
}

.map-container iframe {
  display: block;
  width: 100%;
}

/* ================= FAQ SECTION ================= */
.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 18px 20px;
  cursor: pointer;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  transform: translateX(6px);
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  color: #ffc107;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* ANSWER — height/opacity/transition managed by JS */
.faq-answer {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ACTIVE FAQ */
.faq-item.active {
  border-left: 4px solid #ffc107;
}

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

/* ================= CTA SECTION ================= */
.contact-cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(25, 25, 112, 0.2);
}

.contact-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.contact-cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.contact-cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.btn-cta {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 14px 35px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
  position: relative;
  z-index: 1;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
  color: var(--primary-dark);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .contact-hero-section {
    min-height: 40vh;
    padding-top: 140px;
  }

  .contact-form-card {
    padding: 35px;
    margin-bottom: 30px;
  }

  .contact-info-wrapper {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .contact-hero-section {
    min-height: auto;
    padding: 140px 0 50px;
  }

  .contact-hero-title {
    font-size: 1.85rem;
  }

  .contact-hero-subtitle {
    font-size: 0.98rem;
  }

  .contact-form-card {
    padding: 30px 25px;
  }

  .form-header h2 {
    font-size: 1.65rem;
  }

  .form-header p {
    font-size: 0.95rem;
  }

  .contact-form .form-control {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 14px 25px;
    font-size: 1rem;
  }

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

  .info-icon {
    width: 55px;
    height: 55px;
  }

  .info-icon i {
    font-size: 24px;
  }

  .contact-info-card h3 {
    font-size: 1.25rem;
  }

  .social-link {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .map-container {
    border-radius: 15px;
  }



  .contact-cta-section {
    padding: 40px 30px;
    text-align: center;
  }

  .contact-cta-section h2 {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }

  .contact-cta-section p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .btn-cta {
    padding: 13px 30px;
    font-size: 1rem;
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .contact-hero-section {
    padding: 130px 0 45px;
  }

  .contact-hero-title {
    font-size: 1.65rem;
  }

  .contact-hero-subtitle {
    font-size: 0.92rem;
  }

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

  .form-header h2 {
    font-size: 1.45rem;
  }

  .contact-info-card {
    padding: 22px 18px;
  }

  .social-links {
    gap: 10px;
  }

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

  .contact-cta-section {
    padding: 35px 25px;
  }

  .contact-cta-section h2 {
    font-size: 1.45rem;
  }

  .contact-cta-section p {
    font-size: 0.95rem;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
}
