/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* Slide In Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

/* Slide In Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

/* Slide In Up */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-up {
  animation: slideInUp 0.8s ease-out forwards;
}

/* Zoom In */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-zoom-in {
  animation: zoomIn 0.8s ease-out forwards;
}

/* Scroll-triggered animation placeholder */
.animate-section {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.animate-section.visible {
  opacity: 1;
  animation: fadeIn 1s ease-out;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
}

/* Base responsive adjustments */
body {
  min-width: 100%;
  overflow-x: hidden;
}

/* Mobile View */
@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1e3a8a;
    padding: 1rem 0;
    z-index: 20;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem;
    font-size: 1.1rem;
  }
}

/* Extra small screens (below 640px) */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 1.5rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  p, a, label, input, textarea {
    font-size: 0.95rem !important;
  }

  .nav-links a {
    font-size: 1rem !important;
  }

  .grid {
    gap: 1rem !important;
  }

  .py-16 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-12 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .mb-12 {
    margin-bottom: 2rem !important;
  }

  .mb-8 {
    margin-bottom: 1.5rem !important;
  }

  .space-y-4 > * + * {
    margin-top: 1rem !important;
  }

  .space-x-4 > * + * {
    margin-left: 1rem !important;
  }

  .text-center {
    max-width: 100% !important;
  }
}

/* Ultra small screens (below 360px, e.g., 180px width) */
@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  h1 {
    font-size: 1.25rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.1rem !important;
  }

  p, a, label, input, textarea {
    font-size: 0.9rem !important;
  }

  .nav-links a {
    font-size: 0.95rem !important;
  }

  .hamburger {
    font-size: 1.5rem !important;
  }

  .grid {
    gap: 0.75rem !important;
  }

  .py-16 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .py-12 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .mb-12 {
    margin-bottom: 1.5rem !important;
  }

  .mb-8 {
    margin-bottom: 1rem !important;
  }

  .space-y-4 > * + * {
    margin-top: 0.75rem !important;
  }

  .space-x-4 > * + * {
    margin-left: 0.75rem !important;
  }

  .w-full {
    width: 100% !important;
  }
}