/* ========== Base & Smooth Scroll ========== */
html {
  scroll-behavior: smooth;
}

/* ========== Custom Scrollbar ========== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111111;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EAB308;
}

/* ========== Navbar Styles ========== */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========== Hero Swiper ========== */
.hero-swiper {
  width: 100%;
  height: 100%;
}
.hero-swiper .swiper-slide > div {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ========== Service Card Hover ========== */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #EAB308;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ========== Form Focus Glow ========== */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.15);
}

/* ========== Counter Animation ========== */
.counter {
  display: inline-block;
}

/* ========== Selection ========== */
::selection {
  background: rgba(234, 179, 8, 0.3);
  color: white;
}

/* ========== Form Success State ========== */
.form-success {
  animation: fadeInScale 0.4s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========== Mobile Menu Transition ========== */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.open {
  display: block;
  max-height: 400px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  #hero .grid {
    padding-top: 2rem;
  }
}
