/* ═══════════════════════════════════════════════════════════
   ROYAL DENTAL CARE — GLASSMORPHISM PREMIUM DESIGN
   ═══════════════════════════════════════════════════════════ */

/* ── BASE & RESET ──────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  overflow-x: hidden;
  background: #060e1a;
}

::selection {
  background: #C9A96E;
  color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #060e1a; }
::-webkit-scrollbar-thumb { background: #C9A96E; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D4AF37; }

/* ═══════════════════════════════════════════════════════════
   GLASSMORPHISM UTILITIES
   ═══════════════════════════════════════════════════════════ */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-light {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.glass-dark {
  background: rgba(10, 38, 71, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201, 169, 110, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-gold {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.12), rgba(212, 175, 55, 0.08));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.glass-card-hover:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(201, 169, 110, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
}

/* ══ ANIMATED GRADIENT BACKGROUNDS ═══════════════════════ */
.gradient-bg {
  background: linear-gradient(135deg, #060e1a 0%, #0A2647 25%, #1B4D6E 50%, #0A2647 75%, #060e1a 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ═══ ANIMATED ORB BLOBS (background decorations) ═══════ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 20s ease-in-out infinite;
  pointer-events: none;
}

.orb-gold {
  background: radial-gradient(circle, #C9A96E, transparent 70%);
}

.orb-blue {
  background: radial-gradient(circle, #1B4D6E, transparent 70%);
}

.orb-teal {
  background: radial-gradient(circle, #2D8B75, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

/* ── LOADER ────────────────────────────────────────────── */
.loader-tooth-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooth-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawTooth 2s ease-in-out forwards;
  filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.6));
}

@keyframes drawTooth {
  0% { stroke-dashoffset: 400; fill: transparent; }
  60% { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: rgba(201, 169, 110, 0.2); }
}

.tooth-sparkle {
  opacity: 0;
  animation: sparkle 2s ease-in-out infinite;
}
.s1 { animation-delay: 0.5s; }
.s2 { animation-delay: 0.8s; }
.s3 { animation-delay: 1.1s; }
.s4 { animation-delay: 1.4s; }
.s5 { animation-delay: 1.7s; }

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.5); }
}

.loader-shine {
  position: absolute;
  top: -20px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: linear-gradient(
    105deg, transparent 40%,
    rgba(201, 169, 110, 0.15) 45%,
    rgba(201, 169, 110, 0.35) 50%,
    rgba(201, 169, 110, 0.15) 55%,
    transparent 60%
  );
  animation: shine 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; filter: drop-shadow(0 0 15px rgba(201,169,110,0.4)); }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 30px rgba(201,169,110,0.7)); }
}

.loader-progress {
  width: 200px;
  height: 3px;
  background: rgba(201, 169, 110, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #C9A96E, #D4AF37, #C9A96E);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: loadProgress 2.5s ease-in-out forwards, shimmer 1s ease-in-out infinite;
}

@keyframes loadProgress {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ── NAVIGATION (GLASS) ───────────────────────────────── */
.nav-scrolled {
  background: rgba(6, 14, 26, 0.75) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(201, 169, 110, 0.1);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: #C9A96E;
  text-shadow: 0 0 20px rgba(201, 169, 110, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C9A96E, transparent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}

.mobile-nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: #C9A96E;
  background: rgba(201, 169, 110, 0.08);
}

/* ── BUTTONS (GLASS + GLOW) ────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C9A96E, #D4AF37, #C9A96E);
  background-size: 200% 200%;
  color: #0A2647;
  font-weight: 700;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.025em;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4), 0 0 40px rgba(201, 169, 110, 0.1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.6), 0 0 60px rgba(201, 169, 110, 0.2);
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.025em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-outline-white:hover {
  border-color: #C9A96E;
  color: #C9A96E;
  background: rgba(201, 169, 110, 0.1);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.15);
  transform: translateY(-3px);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ── SECTION TAGS & HEADINGS ───────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 1.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: rgba(201, 169, 110, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 110, 0.2);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.05);
}

.section-tag-light {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 1.25rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: rgba(201, 169, 110, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 110, 0.25);
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #0A2647;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

/* ── FORM INPUTS (GLASS) ──────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.875rem;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  font-family: inherit;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
  border-color: #C9A96E;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12), 0 0 20px rgba(201, 169, 110, 0.08);
}

.form-input option {
  background: #0A2647;
  color: #fff;
}

.form-input-light {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 0.875rem;
  color: #1A1A2E;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  font-family: inherit;
}

.form-input-light::placeholder {
  color: rgba(26, 26, 46, 0.4);
}

.form-input-light:focus {
  border-color: #C9A96E;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12), 0 0 20px rgba(201, 169, 110, 0.08);
}

/* ── TREATMENT CARDS (GLASS) ──────────────────────────── */
.treatment-card {
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.treatment-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C9A96E, #D4AF37, #C9A96E, transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.treatment-card:hover::after {
  transform: scaleX(1);
}

.treatment-card:hover .treatment-card-image {
  transform: scale(1.1);
}

.treatment-card-image {
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ── BEFORE/AFTER SLIDER ───────────────────────────────── */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  cursor: ew-resize;
  user-select: none;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.ba-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider .ba-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s ease-out;
}

.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.3), #C9A96E, rgba(201, 169, 110, 0.3));
  transform: translateX(-50%);
  z-index: 10;
  transition: left 0.05s ease-out;
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.4);
}

.ba-slider .ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(201, 169, 110, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  box-shadow: 0 2px 15px rgba(201, 169, 110, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230A2647' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8L22 12L18 16'/%3E%3Cpath d='M6 8L2 12L6 16'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.ba-slider .ba-handle::after { display: none; }

.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 6px 14px;
  background: rgba(10, 38, 71, 0.7);
  backdrop-filter: blur(10px);
  color: #C9A96E;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 8px;
  z-index: 5;
  pointer-events: none;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }

/* ── OFFER CARDS (GLASS) ──────────────────────────────── */
.offer-card {
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C9A96E, #D4AF37, transparent);
}

.offer-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.offer-badge {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #C9A96E, #D4AF37);
  color: #0A2647;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(201, 169, 110, 0.3);
}

/* ── TEAM CARDS (GLASS) ───────────────────────────────── */
.team-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 1.5rem;
  transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
  border-color: #C9A96E;
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.3);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(201, 169, 110, 0.25);
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ── TESTIMONIAL CARDS (GLASS) ─────────────────────────── */
.testimonial-card {
  border-radius: 1.5rem;
  padding: 2.25rem;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: rgba(201, 169, 110, 0.12);
  position: absolute;
  top: -5px;
  left: 20px;
  line-height: 1;
}

.star-rating {
  color: #D4AF37;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ── WHATSAPP BUTTON (GLASS) ──────────────────────────── */
#whatsapp-btn {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 40px rgba(37, 211, 102, 0.1);
}

#whatsapp-btn:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 60px rgba(37, 211, 102, 0.15);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── MUSIC TOGGLE ──────────────────────────────────────── */
#music-toggle {
  background: rgba(10, 38, 71, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 110, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(201, 169, 110, 0.1);
  cursor: pointer;
}

#music-toggle:hover {
  border-color: rgba(201, 169, 110, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 169, 110, 0.2);
}

#music-toggle svg {
  flex-shrink: 0;
}

.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.music-bars span {
  width: 3px;
  background: #C9A96E;
  border-radius: 2px;
  transition: height 0.3s ease;
}

.music-bars.playing span:nth-child(1) { animation: musicBar 0.6s ease-in-out infinite alternate; height: 8px; }
.music-bars.playing span:nth-child(2) { animation: musicBar 0.6s ease-in-out 0.15s infinite alternate; height: 14px; }
.music-bars.playing span:nth-child(3) { animation: musicBar 0.6s ease-in-out 0.3s infinite alternate; height: 10px; }
.music-bars.playing span:nth-child(4) { animation: musicBar 0.6s ease-in-out 0.45s infinite alternate; height: 16px; }

.music-bars:not(.playing) span { height: 4px; }

@keyframes musicBar {
  0% { height: 4px; }
  100% { height: 18px; }
}

/* ── SCROLL ANIMATIONS ─────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll[data-animation="fadeInUp"] { transform: translateY(50px); }
.animate-on-scroll[data-animation="fadeInDown"] { transform: translateY(-50px); }
.animate-on-scroll[data-animation="fadeInLeft"] { transform: translateX(-50px); }
.animate-on-scroll[data-animation="fadeInRight"] { transform: translateX(50px); }
.animate-on-scroll[data-animation="zoomIn"] { transform: scale(0.85); }

.animate-on-scroll.animated {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ── SCROLL DOT ────────────────────────────────────────── */
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

.animate-scrollDot {
  animation: scrollDot 1.5s ease-in-out infinite;
}

/* ── HERO PARTICLES ────────────────────────────────────── */
.particle {
  position: absolute;
  background: rgba(201, 169, 110, 0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: float linear infinite;
  box-shadow: 0 0 6px rgba(201, 169, 110, 0.3);
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ── STAT BOX (GLASS) ──────────────────────────────────── */
.stat-box {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
  border-color: rgba(201, 169, 110, 0.25);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.15);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #C9A96E;
  line-height: 1;
  text-shadow: 0 0 20px rgba(201, 169, 110, 0.3);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* ── ABOUT HIGHLIGHTS (GLASS) ──────────────────────────── */
.highlight-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.1);
  border-color: rgba(201, 169, 110, 0.3);
}

.highlight-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, #0A2647, #1B4D6E);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A96E;
  box-shadow: 0 4px 15px rgba(10, 38, 71, 0.3);
}

/* ── SOCIAL ICONS (GLASS) ──────────────────────────────── */
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon-dark {
  background: rgba(201, 169, 110, 0.15);
  backdrop-filter: blur(8px);
  color: #C9A96E;
  border: 1px solid rgba(201, 169, 110, 0.25);
}

.social-icon-dark:hover {
  background: #C9A96E;
  color: #0A2647;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.4);
  border-color: transparent;
}

.social-icon-light {
  background: rgba(10, 38, 71, 0.06);
  backdrop-filter: blur(8px);
  color: #0A2647;
  border: 1px solid rgba(10, 38, 71, 0.08);
}

.social-icon-light:hover {
  background: #C9A96E;
  color: #fff;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
  border-color: transparent;
}

/* ── VIDEO TOUR BUTTON ─────────────────────────────────── */
.video-tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  color: #0A2647;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.video-tour-btn:hover {
  background: rgba(10, 38, 71, 0.9);
  color: #C9A96E;
  border-color: rgba(10, 38, 71, 0.9);
  box-shadow: 0 8px 25px rgba(10, 38, 71, 0.3);
}

.play-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #C9A96E, #D4AF37);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(201, 169, 110, 0.4);
}

.play-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.3);
  animation: waPulse 2s ease-out infinite;
}

/* ── VIDEO MODAL ───────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal iframe {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
  border-radius: 1.25rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close:hover {
  background: #C9A96E;
  color: #0A2647;
  border-color: transparent;
}

/* ── CONTACT CARDS (GLASS) ─────────────────────────────── */
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateX(8px);
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.08);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, #0A2647, #1B4D6E);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A96E;
  box-shadow: 0 4px 15px rgba(10, 38, 71, 0.3);
}

/* ── POPUP AD MODAL (GLASS) ────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.popup-card {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.75rem;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: scale(1) translateY(0);
  animation: popupCardIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popupCardIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(10, 38, 71, 0.08);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  color: #6B7280;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.popup-close:hover {
  background: #0A2647;
  color: #C9A96E;
}

.popup-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.popup-body {
  padding: 1.75rem 2rem 2rem;
}

.popup-badge {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #C9A96E, #D4AF37);
  color: #0A2647;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(201, 169, 110, 0.3);
}

.popup-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 38, 71, 0.04);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(10, 38, 71, 0.12);
  border-radius: 0.75rem;
  color: #1A1A2E;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
  font-family: inherit;
}

.popup-form-input::placeholder {
  color: rgba(26, 26, 46, 0.35);
}

.popup-form-input:focus {
  border-color: #C9A96E;
  background: rgba(201, 169, 110, 0.04);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* ── NOTIFICATION BANNER (GLASS) ───────────────────────── */
.notification-visible {
  transform: translateY(0) !important;
}

/* ── BACK TO TOP (GLASS) ──────────────────────────────── */
#back-to-top {
  background: rgba(10, 38, 71, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

#back-to-top:hover {
  background: rgba(10, 38, 71, 0.8);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.2);
}

/* ── HERO GLOW ─────────────────────────────────────────── */
.hero-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 15;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ── VIDEO OVERLAY EFFECTS ─────────────────────────────── */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(27, 77, 110, 0.1) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(6, 14, 26, 0.75) 0%,
      rgba(10, 38, 71, 0.45) 30%,
      rgba(10, 38, 71, 0.35) 60%,
      rgba(6, 14, 26, 0.85) 100%
    );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* ── SECTION DIVIDERS ──────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.3), transparent);
  margin: 0;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 640px) {
  .stat-number { font-size: 1.75rem; }
  .stat-label { font-size: 0.65rem; }
  .section-heading { margin-bottom: 0.75rem; }
  .popup-card { border-radius: 1.25rem; }
  .popup-body { padding: 1.25rem 1.5rem 1.5rem; }
  .popup-image { height: 140px; }

  #music-toggle {
    bottom: 20px !important;
    left: 16px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 9999 !important;
  }

  #whatsapp-btn {
    bottom: 20px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 9999 !important;
  }

  #back-to-top {
    bottom: 76px !important;
    right: 16px !important;
    z-index: 9999 !important;
  }
}
