/* contact.php only — scoped to avoid clashes with style.css */

/* ========== Hero ========== */
.contact-hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(6.5rem, 16vw, 11rem) 0 clamp(4rem, 10vw, 7.5rem);
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 20% -10%, rgba(45, 70, 109, 0.25), transparent 60%),
    radial-gradient(circle at 100% 20%, rgba(176, 184, 193, 0.2), transparent 60%),
    linear-gradient(135deg, #333333 0%, #2d466d 100%);
}

.contact-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 0 20px rgba(45, 70, 109, 0.35);
}

/* Hero highlight only */
.contact-hero-section .highlight-text {
  background: linear-gradient(90deg, #e2e8f0 0%, #ffffff 50%, #cbd5e1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  position: relative;
  display: inline-block;
  animation: contactHeroGradient 5s ease-in-out infinite;
}

.contact-hero-section .highlight-text::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2d466d, #b0b8c1);
  border-radius: 3px;
  opacity: 1;
}

@keyframes contactHeroGradient {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.contact-hero-subtitle {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  padding: 0 0.75rem;
}

/* ========== Contact main ========== */
.contact-section {
  background: var(--light-color, #f8fafc);
}

.contact-form,
.contact-info {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 30px rgba(45, 70, 109, 0.08);
  border: 1px solid rgba(45, 70, 109, 0.08);
  height: 100%;
}

.form-title,
.info-title {
  color: var(--dark-color, #333);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.contact-section .form-label {
  color: var(--dark-color, #333);
  font-weight: 500;
}

.contact-section .form-control,
.contact-section .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--gray-300, #cbd5e1);
  padding: 0.65rem 1rem;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
  border-color: var(--primary-color, #2d466d) !important;
  box-shadow: 0 0 0 0.2rem rgba(45, 70, 109, 0.15) !important;
  outline: none;
}

.contact-section .btn-primary {
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2d466d, #b0b8c1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.info-content h6 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-color, #2d466d);
  margin-bottom: 0.35rem;
}

.info-content p {
  margin: 0;
  color: var(--gray-600, #475569);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Footer uses .social-links { display:flex; row } — stack heading above icons here */
.contact-info .social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.contact-follow-title {
  margin-bottom: 0;
  width: 100%;
  white-space: nowrap;
  color: var(--dark-color, #333);
  font-weight: 600;
  font-size: 1rem;
}

.contact-info .social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.contact-info .social-buttons .btn {
  min-width: 2.5rem;
}

/* ========== Map ========== */
.map-section {
  background: #e2e8f0;
  padding: 0;
}

.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  height: min(450px, 70vh);
  min-height: 280px;
  display: block;
  border: 0;
}

/* ========== FAQ ========== */
.faq-section.light-faq {
  position: relative;
  background: #ffffff;
  color: #222;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6.25rem) 0;
}

.light-faq .faq-section-title {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #333333;
}

.light-faq .faq-section-title .highlight-text {
  background: linear-gradient(90deg, #2d466d, #b0b8c1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.light-faq .faq-section-title .highlight-text::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2d466d, #b0b8c1);
  border-radius: 5px;
  opacity: 0.9;
}

.light-faq .faq-section-desc {
  color: #555;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  line-height: 1.65;
}

.faq-link {
  color: #2d466d;
  text-decoration: none;
  font-weight: 600;
}

.faq-link:hover {
  text-decoration: underline;
  color: #243d5a;
}

.light-faq .accordion {
  background: transparent;
}

.light-faq .accordion-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.light-faq .accordion-item:hover {
  border-color: rgba(176, 184, 193, 0.35);
  box-shadow: 0 0 25px rgba(176, 184, 193, 0.12);
}

.light-faq .accordion-button {
  background: transparent;
  color: #333333;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem 1.15rem;
  box-shadow: none;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.light-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(45, 70, 109, 0.08), rgba(176, 184, 193, 0.08));
  color: #2d466d;
  border-bottom: 1px solid rgba(176, 184, 193, 0.15);
}

.light-faq .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(45, 70, 109, 0.15);
}

.light-faq .accordion-button::after {
  filter: hue-rotate(280deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.light-faq .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.light-faq .accordion-body {
  color: #444;
  font-size: 0.98rem;
  padding: 0.75rem 1.15rem 1.2rem;
  line-height: 1.65;
  animation: contactFaqFadeIn 0.4s ease-in-out;
}

@keyframes contactFaqFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Mobile ========== */
@media (max-width: 991.98px) {
  .contact-form {
    margin-bottom: 2rem;
  }

  .contact-info {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .contact-form,
  .contact-info {
    padding: 1.35rem 1.1rem;
    border-radius: 14px;
  }

  .form-title,
  .info-title {
    font-size: 1.2rem;
  }

  .light-faq .accordion-button {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    text-align: left;
  }

  .light-faq .accordion-body {
    font-size: 0.92rem;
    padding: 0.65rem 1rem 1rem;
  }

  .map-container iframe {
    min-height: 240px;
    height: 55vh;
  }
}

@media (max-width: 575.98px) {
  .contact-section .btn-lg {
    width: 100%;
  }

  .info-item {
    flex-direction: row;
    gap: 0.75rem;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 0.9rem;
  }
}
