/* WhatsApp floating button pulse */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}

.wa-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: wa-pulse 3s infinite;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Desktop: float button with label */
@media (min-width: 768px) {
  .wa-float {
    width: auto;
    border-radius: 28px;
    padding: 0 20px;
    gap: 8px;
    bottom: 24px;
    right: 24px;
  }

  .wa-float-label {
    display: inline;
    color: white;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .wa-float-label {
    display: none;
  }
}

/* FAQ Accordion */
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: #C9A96E;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item summary:hover {
  color: #C9A96E;
  padding-left: 8px;
}

.faq-item .faq-answer {
  padding: 0 0 16px 0;
  line-height: 1.6;
}

/* Service card hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27, 58, 75, 0.12);
  border-color: #C9A96E;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animation */
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* CTA button glow effect */
.cta-glow {
  position: relative;
  overflow: hidden;
}

.cta-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255,255,255,0.15) 50%,
    transparent 60%
  );
  animation: cta-shine 4s ease-in-out infinite;
}

@keyframes cta-shine {
  0%, 100% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
}

/* Hero gradient overlay */
.hero-gradient {
  position: relative;
  background: linear-gradient(135deg, #1B3A4B 0%, #0D2233 60%, #1B3A4B 100%);
}

/* Credential card subtle hover */
.credential-item {
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: 12px;
  padding: 16px;
}

.credential-item:hover {
  background-color: rgba(201, 169, 110, 0.08);
  transform: translateX(4px);
}

/* Gold underline animation for section titles */
.gold-underline {
  position: relative;
  display: inline-block;
}

.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C9A96E, transparent);
  border-radius: 2px;
  transition: width 0.6s ease;
}

/* Blockquote quote marks */
.quote-marks {
  position: relative;
}

.quote-marks::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 64px;
  color: #C9A96E;
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Header shadow on scroll */
.header-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

/* Map container hover */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.map-container:hover {
  box-shadow: 0 4px 20px rgba(27, 58, 75, 0.15);
}

/* Subtle noise texture overlay for depth */
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-gradient > * {
  position: relative;
  z-index: 1;
}

/* Enhanced gold underline with animation on scroll */
.gold-underline.visible::after,
.fade-in.visible .gold-underline::after,
section.fade-in.visible .gold-underline::after {
  width: 60px;
}

/* Better service card with gradient border on hover */
.service-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FEFDFB 100%);
}

.service-card:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #FDF8F0 100%);
}
