html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
}

/* Animation styles */
.animate-fadeInUp {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fadeInUp.revealed {
  opacity: 1;
  transform: translateY(0);
}

.animate-fadeInLeft {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fadeInLeft.revealed {
  opacity: 1;
  transform: translateX(0);
}

.animate-fadeInRight {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fadeInRight.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Header improvements */
.header-scrolled {
  backdrop-filter: blur(10px);
  background: rgba(30, 58, 138, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo animation */
.logo-img {
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Prevent horizontal overflow */
* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Responsive text wrapping */
.break-all {
  word-break: break-all;
  overflow-wrap: break-word;
}

/* Container improvements */
.container {
  max-width: 100%;
}

/* Grid responsive adjustments */
@media (max-width: 1024px) {
  .gap-12 {
    gap: 1.5rem;
  }
}

/* Hero section improvements */
@media (max-width: 640px) {
  /* Reduce button padding on mobile */
  .hero-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Better text sizing for mobile */
  .hero-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }

  /* Reduce section padding on mobile */
  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
