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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

::selection {
  background-color: #c8952e;
  color: #1e3a5f;
}

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 30px rgba(30, 58, 95, 0.08);
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  display: block;
  transition: color 0.2s;
}

.mobile-link:hover {
  color: #c8952e;
}

/* ===== FORM ===== */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ===== SMOOTH HOVER FOR CARDS ===== */
@media (prefers-reduced-motion: no-preference) {
  .group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #eef4fb;
}
::-webkit-scrollbar-thumb {
  background: #b3c9ec;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8faed3;
}
