* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* HERO ENTRANCE ANIMATIONS */
@keyframes heroTextSlideIn {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageSlideIn {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.hero-text-enter {
  animation: heroTextSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-image-enter {
  animation: heroImageSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
  opacity: 0;
}

/* SECTION REVEAL ANIMATIONS */
@keyframes sectionFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: sectionFadeUp 0.8s ease-out forwards;
}

section:nth-of-type(1) {
  animation-delay: 0s;
}

/* HOVER EFFECTS FOR BUTTONS */
button, a[class*="px-8 py-3"] {
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

button:hover {
  transform: translateY(-3px);
}

/* MARQUEE TEXT (if needed in future) */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* SMOOTH UNDERLINE ON NAV LINKS */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d97706, #f43f5e);
  transition: width 0.3s ease-out;
}

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

/* GRAIN OVERLAY (subtle texture) */
@keyframes grain {
  0%, 100% {
    background-position: 0 0;
  }
  10% {
    background-position: -5% -10%;
  }
  20% {
    background-position: -15% 5%;
  }
  30% {
    background-position: 7% -25%;
  }
  40% {
    background-position: -5% -5%;
  }
  50% {
    background-position: -15% 8%;
  }
  60% {
    background-position: 4% -17%;
  }
  70% {
    background-position: -5% 7%;
  }
  80% {
    background-position: 12% 4%;
  }
  90% {
    background-position: -8% -12%;
  }
}

/* CARD LIFT EFFECT */
.group:hover {
  transition: all 0.3s ease-out;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  section {
    padding: 3rem 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/* INPUT FOCUS STATES */
input, textarea {
  transition: all 0.3s ease-out;
}

input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* SMOOTH SCROLL BEHAVIOR */
html {
  scroll-behavior: smooth;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #d97706;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b45309;
}

