/* ─── Base & Utilities ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

::selection { background: #5eead4; color: #0a2540; }

/* ─── Navbar ─── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding-top: 0;
  padding-bottom: 0;
}
#navbar.scrolled .nav-link { color: rgba(255, 255, 255, 0.8) !important; }
#navbar.scrolled .nav-link:hover { color: #5eead4 !important; }

/* ─── Hero Geometry ─── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.08) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.geo-circle--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.06) 0%, transparent 70%);
  bottom: -100px; left: 10%;
}
.geo-rect {
  position: absolute;
  width: 120px; height: 120px;
  background: rgba(94, 234, 212, 0.05);
  border: 1px solid rgba(94, 234, 212, 0.1);
  top: 20%; left: 5%;
  transform: rotate(45deg);
  pointer-events: none;
}
.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(94, 234, 212, 0.04);
  bottom: 15%; right: 8%;
  pointer-events: none;
}
.geo-dots {
  position: absolute;
  width: 8px; height: 8px;
  background: rgba(94, 234, 212, 0.2);
  border-radius: 50%;
  top: 30%; left: 15%;
  box-shadow:
    40px 20px 0 rgba(94, 234, 212, 0.15),
    80px 5px 0 rgba(94, 234, 212, 0.1),
    20px 60px 0 rgba(94, 234, 212, 0.2),
    60px 70px 0 rgba(94, 234, 212, 0.08),
    -10px 40px 0 rgba(94, 234, 212, 0.12);
  pointer-events: none;
}

/* ─── Floating Animation ─── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* ─── Service Cards ─── */
.service-card {
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
  pointer-events: none;
}
.service-card:hover::after {
  border-color: rgba(94, 234, 212, 0.3);
}

/* ─── Gallery ─── */
.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
  z-index: 10;
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.3);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── Mobile Menu ─── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .geo-circle--1 { width: 300px; height: 300px; }
  .geo-circle--2 { width: 200px; height: 200px; }
  .geo-rect { width: 60px; height: 60px; }
  .geo-triangle { border-left-width: 30px; border-right-width: 30px; border-bottom-width: 52px; }
}
