/* ===== BASE & RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav-scrolled {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 243, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(93, 58, 106, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
  box-shadow: 0 4px 20px rgba(93, 58, 106, 0.1);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #F5A623;
  border-radius: 1px;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 60%;
}

/* Mobile menu */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
  display: block;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Floating blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #E8D0EA;
  top: -100px;
  right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: #FFE9A8;
  bottom: -50px;
  left: -50px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background: #D4A8D8;
  top: 50%;
  left: 40%;
  animation: blobFloat 7s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Hero card */
.hero-card {
  animation: cardAppear 0.8s ease forwards;
  transform: translateY(0);
}

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

/* Floating stat cards */
.floating-card {
  position: absolute;
  z-index: 10;
}

.card-stat-1 {
  top: 10%;
  right: -10px;
  animation: floatCard1 4s ease-in-out infinite;
}

.card-stat-2 {
  bottom: 30%;
  left: -15px;
  animation: floatCard2 5s ease-in-out infinite;
}

.card-stat-3 {
  bottom: 5%;
  right: 10%;
  animation: floatCard3 4.5s ease-in-out infinite;
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-1deg); }
}

@keyframes floatCard3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

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

.cta-button::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;
}

.cta-button:hover::before {
  left: 100%;
}

/* ===== SERVICES ===== */
.service-card {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
}

/* ===== GALLERY ===== */
.gallery-item {
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* ===== CTA SECTION ===== */
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.3;
  pointer-events: none;
}

.blob-4 {
  width: 300px;
  height: 300px;
  background: #C084C8;
  top: -80px;
  left: -80px;
  animation: blobFloat 9s ease-in-out infinite;
}

.blob-5 {
  width: 250px;
  height: 250px;
  background: #F5A623;
  bottom: -60px;
  right: -60px;
  animation: blobFloat 7s ease-in-out infinite reverse;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .floating-card {
    display: none;
  }
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
  border-radius: 4px;
}
