/* Mobile First Design */
@media screen and (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1, .text-5xl {
    font-size: 2rem !important;
  }

  h2, .text-4xl {
    font-size: 1.75rem !important;
  }

  h3, .text-3xl {
    font-size: 1.5rem !important;
  }

  .text-2xl {
    font-size: 1.25rem !important;
  }

  .text-xl {
    font-size: 1.125rem !important;
  }

  .section-spacing {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .mobile-menu {
    padding: 1rem;
  }

  .mobile-menu-item {
    padding: 0.75rem;
  }
}

/* Tablet Design */
@media screen and (min-width: 641px) and (max-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  h1, .text-5xl {
    font-size: 2.5rem !important;
  }

  h2, .text-4xl {
    font-size: 2rem !important;
  }

  .section-spacing {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Desktop and Above */
@media screen and (min-width: 1025px) {
  .container {
    max-width: 1280px;
    margin: 0 auto;
  }
}

/* Shared Responsive Classes */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.responsive-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.responsive-text {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.6;
}

.responsive-button {
  padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Animation Adjustments for Mobile */
@media screen and (max-width: 640px) {
  .animate-slideInUp {
    animation-duration: 0.4s;
  }

  .animate-fadeIn {
    animation-duration: 0.3s;
  }
}
