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

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

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

::selection {
  background: #F5A623;
  color: #4A1942;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(26, 9, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5A623;
  transition: width 0.3s ease;
}

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

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

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

.menu-line {
  transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== HERO ===== */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

.geo-circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  top: -100px;
  left: -150px;
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.geo-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(161, 61, 119, 0.15) 0%, transparent 70%);
  bottom: 100px;
  right: 5%;
  border-radius: 50%;
  animation: float-slow 6s ease-in-out infinite reverse;
}

.geo-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(245, 166, 35, 0.06);
  border: 2px solid rgba(245, 166, 35, 0.15);
  top: 25%;
  right: 3%;
  transform: rotate(45deg);
  animation: float-slow 7s ease-in-out infinite;
}

.geo-rect-2 {
  width: 80px;
  height: 80px;
  background: rgba(161, 61, 119, 0.1);
  border: 2px solid rgba(161, 61, 119, 0.2);
  bottom: 20%;
  left: 45%;
  transform: rotate(30deg);
  animation: float-slow 5s ease-in-out infinite reverse;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(245, 166, 35, 0.05);
  top: 40%;
  left: 8%;
  animation: float-slow 9s ease-in-out infinite;
}

.geo-dots {
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(245, 166, 35, 0.3) 1px, transparent 1px);
  background-size: 12px 12px;
  top: 60%;
  right: 15%;
  animation: float-slow 4s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(45deg); }
}

.geo-triangle {
  animation-name: float-triangle;
}

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

.geo-dots {
  animation-name: float-dots;
}

@keyframes float-dots {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== BUTTONS ===== */
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5A623;
  color: #4A1942;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.cta-btn-primary:hover {
  background: #FFB84D;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.35);
}

.cta-arrow {
  display: inline-flex;
  transition: transform 0.3s ease;
}

.cta-btn-primary:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #F3DEEB;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(243, 222, 235, 0.3);
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  border-color: #F5A623;
  color: #F5A623;
  transform: translateY(-2px);
}

.cta-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4A1942;
  color: #F5A623;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn-dark:hover {
  background: #6B1F48;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(74, 25, 66, 0.4);
}

.cta-arrow-light {
  display: inline-flex;
  transition: transform 0.3s ease;
}

.cta-btn-dark:hover .cta-arrow-light {
  transform: translateX(4px);
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #4A1942;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(74, 25, 66, 0.4);
  transition: all 0.3s ease;
}

.cta-btn-outline:hover {
  border-color: #4A1942;
  background: rgba(74, 25, 66, 0.05);
  transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #F5A623, #FFD955);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ===== WHY US CARDS ===== */
.why-card {
  position: relative;
}

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

.why-card:hover::after {
  width: 60%;
}

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

.reveal.revealed {
  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; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .geo-circle-1 {
    width: 300px;
    height: 300px;
  }
  
  .geo-circle-2 {
    width: 200px;
    height: 200px;
  }
  
  .geo-rect-1, .geo-rect-2 {
    display: none;
  }
  
  .geo-triangle {
    display: none;
  }
  
  .floating-stat {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin-top: 1rem;
  }
}
