@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --color-navy: #0A2540;
  --color-navy-dark: #061729;
  --color-blue: #0072CE;
  --color-blue-light: #EBF5FF;
  --color-gold: #D4AF37;
  --color-slate: #4A5568;
  --color-bg-light: #F8FAFC;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-slate);
  background-color: #FFFFFF;
  overflow-x: hidden;
}

.text-navy { color: var(--color-navy); }
.bg-navy { background-color: var(--color-navy); }
.bg-navy-dark { background-color: var(--color-navy-dark); }
.text-blue-brand { color: var(--color-blue); }
.bg-blue-brand { background-color: var(--color-blue); }
.text-gold { color: var(--color-gold); }

/* ===== STICKY HEADER ===== */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.92);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.sticky-header.scrolled {
  box-shadow: 0 4px 30px rgba(10, 37, 64, 0.1);
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== CARD SHADOW ===== */
.card-shadow {
  box-shadow: 0 10px 30px -5px rgba(10, 37, 64, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-shadow:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(10, 37, 64, 0.18);
}

/* ===== LIGHTBOX ===== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 23, 41, 0.92);
  z-index: 100;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.lightbox-modal.active { display: flex; }
.lightbox-modal img {
  animation: lightboxZoom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== HERO ANIMATIONS ===== */
.hero-badge {
  animation: slideDown 0.6s ease both;
}
.hero-title {
  animation: slideRight 0.8s ease 0.2s both;
}
.hero-desc {
  animation: slideRight 0.8s ease 0.4s both;
}
.hero-checks {
  animation: slideRight 0.8s ease 0.5s both;
}
.hero-buttons {
  animation: slideRight 0.8s ease 0.6s both;
}
.hero-image {
  animation: heroImageReveal 1s ease 0.3s both;
}
.hero-floating-badge {
  animation: floatBounce 3s ease-in-out infinite;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroImageReveal {
  from { opacity: 0; transform: scale(0.9) translateX(30px); }
  to { opacity: 1; transform: scale(1) translateX(0); }
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes lightboxZoom {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 114, 206, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(0, 114, 206, 0); }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(212, 175, 55, 0.6); transform: scale(1.02); }
}
.pulse-gold {
  animation: pulseGold 2s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes waterWave {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* ===== BUTTON ANIMATIONS ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 114, 206, 0.35);
}

.btn-gold {
  transition: all 0.3s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

/* ===== NAV LINK HOVER ===== */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== COUNTER ANIMATION ===== */
.stat-number {
  animation: counterUp 0.6s ease both;
}

/* ===== TRUST BAR MARQUEE ===== */
.trust-marquee {
  overflow: hidden;
}
.trust-marquee-inner {
  display: flex;
  animation: marquee 20s linear infinite;
  width: max-content;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0,114,206,0.08) 0%, transparent 60%);
  animation: rotateIn 1.5s ease forwards;
}

/* ===== IMAGE HOVER EFFECTS ===== */
.img-hover-zoom {
  overflow: hidden;
}
.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-hover-zoom:hover img {
  transform: scale(1.08);
}

/* ===== STEP CARDS ===== */
.step-card {
  position: relative;
  transition: all 0.4s ease;
}
.step-card:hover {
  transform: translateY(-8px);
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
  border-radius: 9999px 9999px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.step-card:hover::before {
  transform: scaleX(1);
}

/* ===== REVIEW CARDS ===== */
.review-card {
  transition: all 0.4s ease;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(10, 37, 64, 0.15);
}
.review-card .stars i {
  transition: transform 0.2s ease;
}
.review-card:hover .stars i {
  animation: none;
}
.review-card:hover .stars i:nth-child(1) { transition-delay: 0.05s; transform: scale(1.2); }
.review-card:hover .stars i:nth-child(2) { transition-delay: 0.1s; transform: scale(1.2); }
.review-card:hover .stars i:nth-child(3) { transition-delay: 0.15s; transform: scale(1.2); }
.review-card:hover .stars i:nth-child(4) { transition-delay: 0.2s; transform: scale(1.2); }
.review-card:hover .stars i:nth-child(5) { transition-delay: 0.25s; transform: scale(1.2); }

/* ===== GALLERY IMAGE OVERLAY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
}
.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 37, 64, 0.5);
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-item img {
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== FORM FOCUS ANIMATION ===== */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid #e2e8f0;
}
.form-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.1);
  transform: translateY(-1px);
}

/* ===== WATER DROP ANIMATION ===== */
.water-drop {
  position: relative;
}
.water-drop::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: var(--color-blue);
  border-radius: 50%;
  animation: pulseGlow 2s ease infinite;
}

/* ===== FLOATING PARTICLES ===== */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(0, 114, 206, 0.15);
  border-radius: 50%;
  animation: floatParticle 8s ease-in-out infinite;
}
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 10s; width: 8px; height: 8px; }
.particle:nth-child(3) { left: 40%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(4) { left: 60%; animation-delay: 3s; animation-duration: 9s; width: 10px; height: 10px; }
.particle:nth-child(5) { left: 80%; animation-delay: 4s; animation-duration: 11s; }
.particle:nth-child(6) { left: 90%; animation-delay: 0.5s; animation-duration: 13s; width: 5px; height: 5px; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  50% { transform: translateY(-20vh) rotate(180deg); }
}

/* ===== SERVICE CARD ICON PULSE ===== */
.icon-pulse {
  transition: all 0.3s ease;
}
.card-shadow:hover .icon-pulse {
  animation: pulseGlow 1.5s ease infinite;
  background: var(--color-blue);
  color: white;
}

/* ===== CTA BANNER GLOW ===== */
.cta-glow {
  position: relative;
  overflow: hidden;
}
.cta-glow::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  border-radius: 50%;
  animation: floatBounce 4s ease-in-out infinite;
  z-index: 0;
}
.cta-glow::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 114, 206, 0.1), transparent 70%);
  border-radius: 50%;
  animation: floatBounce 5s ease-in-out infinite reverse;
  z-index: 0;
}

/* ===== SUCCESS ANIMATION ===== */
.success-check {
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes successPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ===== SMOOTH SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
  z-index: 999;
  transition: width 0.1s linear;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    transform: translateY(20px);
  }
  .reveal-left, .reveal-right {
    transform: translateY(20px);
  }
}

h2.text-3xl.sm\:text-4xl.font-extrabold {
    color: black;
}