* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background: #0f0f23;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Screen */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
  background-size: 400% 400%;
  animation: gradientShift 4s ease infinite;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  margin-bottom: 2rem;
  animation: logoGlow 2s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 2rem;
}

.loader-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes logoGlow {
  0%,
  100% {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
  }
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #0f0f23, #1a1a3e, #2d2d5f, #4a4a8a);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

.bg-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: drift 30s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(10px) translateY(-10px);
  }
  50% {
    transform: translateX(-5px) translateY(10px);
  }
  75% {
    transform: translateX(5px) translateY(5px);
  }
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-60px) scale(0.9);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
  50% {
    background-position: 100% 50%;
    filter: hue-rotate(15deg);
  }
  100% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
}

@keyframes cardHover {
  0% {
    transform: translateY(0) scale(1) rotateX(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: translateY(-15px) scale(1.03) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: translateY(-10px) scale(1.02) rotateX(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
}

@keyframes priceOptionHover {
  0% {
    transform: translateX(0);
    background: rgba(102, 126, 234, 0.1);
  }
  100% {
    transform: translateX(10px);
    background: rgba(102, 126, 234, 0.2);
  }
}

@keyframes packageNote {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.2);
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.4);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.2);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
  }
  70% {
    transform: scale(0.9) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%,
  50% {
    border-color: transparent;
  }
  51%,
  100% {
    border-color: white;
  }
}

/* Page Management */
.page {
  display: block;
  min-height: 100vh;
  opacity: 1;
}

.page.active {
  display: block;
  opacity: 1;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: fadeInDown 1s ease-out;
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #2d5a27;
  letter-spacing: -1px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: slideInLeft 1s ease-out;
}

.logo a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.1) rotate(5deg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  animation: slideInRight 1s ease-out;
}

.nav-links a {
  text-decoration: none;
  color: #2d3748;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: transparent;
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.nav-links a:hover::before {
  width: 300px;
  height: 300px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: #667eea;
  transform: translateY(-2px);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
  animation: fadeInDown 1s ease-out;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

.hamburger {
  width: 28px;
  height: 3px;
  background: #2d3748;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-nav-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background: black;
}

.mobile-nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: black;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  text-align: center;
  transform: translateY(50px);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active .mobile-nav-links {
  transform: translateY(0);
}

.mobile-nav-links a {
  display: block;
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  text-decoration: none;
  margin: 2rem 0;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mobile-nav-overlay.active .mobile-nav-links a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-overlay.active .mobile-nav-links a:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-nav-overlay.active .mobile-nav-links a:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-nav-overlay.active .mobile-nav-links a:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-nav-overlay.active .mobile-nav-links a:nth-child(4) {
  transition-delay: 0.4s;
}
.mobile-nav-overlay.active .mobile-nav-links a:nth-child(5) {
  transition-delay: 0.5s;
}

.mobile-nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.mobile-nav-links a:hover::before {
  left: 100%;
}

.mobile-nav-links a:hover {
  transform: scale(1.1);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff, #e2e8f0, #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -2px;
  animation: shimmer 3s ease-in-out infinite, fadeInUp 1.2s ease-out 0.3s both;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1.2s ease-out 0.6s both;
}

.cta-button {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff9f43);
  background-size: 200% 200%;
  color: white;
  padding: 20px 50px;
  border: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1.2s ease-out 0.9s both, gradientFlow 3s ease infinite;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.5);
  background: linear-gradient(135deg, #ff5252, #e53935, #ff7043);
}

.cta-button:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 6s;
}
.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  animation-duration: 8s;
}
.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
  animation-duration: 7s;
}

/* Affordability Banner */
.affordability-banner {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.affordability-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  transform: skewY(-3deg);
  transform-origin: 0;
}

.affordability-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.affordability-main {
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.affordability-main .highlight {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.5rem;
}

.affordability-main .than {
  font-size: 2rem;
  font-weight: 700;
  color: #4a5568;
  display: block;
}

.affordability-subtitle {
  font-size: 1.4rem;
  color: #48bb78;
  font-weight: 600;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
}

.affordability-features {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover .feature-icon::before {
  opacity: 1;
}

.feature-text {
  font-weight: 700;
  color: #2d3748;
  font-size: 1.1rem;
}

/* Affordability Banner Animation */
.affordability-banner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.affordability-banner.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness for Affordability Banner */
@media (max-width: 768px) {
  .affordability-main .highlight {
    font-size: 2.5rem;
  }
  
  .affordability-main .than {
    font-size: 1.5rem;
  }
  
  .affordability-subtitle {
    font-size: 1.2rem;
  }
  
  .affordability-features {
    flex-direction: column;
    gap: 2rem;
  }
  
  .feature {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  padding: 120px 0;
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.stats h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #2d3748, #4a5568, #2d3748);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.stat-card {
  padding: 3.5rem 2.5rem;
  border-radius: 25px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  animation: gradientFlow 3s ease infinite;
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%) rotateX(10deg);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 25px;
}

.stat-card:hover::before {
  transform: translateX(100%) rotateX(0deg);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-15px) scale(1.05) rotateX(10deg);
  box-shadow: 0 35px 70px rgba(102, 126, 234, 0.5);
  animation: glow 2s ease-in-out infinite, gradientFlow 3s ease infinite;
}

.stat-card:hover .stat-number {
  transform: translateZ(20px);
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  animation: pulse 3s ease-in-out infinite;
}

.stat-description {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.95;
}

/* Success Stories Section */
.success-stories {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 120px 0;
  position: relative;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.success-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.success-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.success-score {
  font-size: 3rem;
  font-weight: 900;
  color: #667eea;
  margin-bottom: 1rem;
}

.success-school {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.success-quote {
  font-style: italic;
  color: #4a5568;
  line-height: 1.6;
}

/* Content Sections */
.content-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #2d3748, #4a5568, #2d3748);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

.section-subtitle {
  text-align: center;
  font-size: 1.4rem;
  color: #4a5568;
  margin-bottom: 5rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 5rem;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a5568;
  animation: slideInLeft 1s ease-out;
}

.about-text h3 {
  color: #2d3748;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  margin-top: 2rem;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-image {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 30px;
  padding: 4rem;
  color: white;
  text-align: center;
  animation: slideInRight 1s ease-out;
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

/* Packages Section */
.packages-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

/* Package Tabs */
.package-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #4a5568;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active {
  color: #2d3748;
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-btn:hover {
  color: #2d3748;
  transform: translateY(-2px);
}

/* Tab Content */
.tab-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateY(0);
}

.tab-content .package-card {
  opacity: 0;
  transform: translateY(30px);
}

.tab-content.active .package-card {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tab-content.active .package-card:nth-child(1) {
  animation-delay: 0.1s;
}

.tab-content.active .package-card:nth-child(2) {
  animation-delay: 0.2s;
}

.tab-content.active .package-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Package Cards */
.package-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 30px;
  padding: 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transform-origin: center;
  will-change: transform, box-shadow;
}

.package-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transform: rotate(45deg) scale(1.5);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.package-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.package-card:hover::before {
  opacity: 1;
  animation: shimmer 2s ease-in-out;
  transform: rotate(45deg) scale(1);
}

.package-card:hover::after {
  opacity: 1;
}

.package-card:hover {
  transform: translateY(-20px) scale(1.03);
  border-color: #667eea;
  box-shadow: 0 40px 80px rgba(102, 126, 234, 0.25);
  animation: cardHover 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.package-card:hover .package-title {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: translateY(-5px);
}

.package-card.featured {
  border-color: #ff6b6b;
  background: linear-gradient(135deg, #ffffff, #fff5f5);
  animation: pulse 4s ease-in-out infinite;
}

.featured-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
  animation: float 4s ease-in-out infinite;
}

.package-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #2d3748;
}

.package-prices {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.price-option:hover {
  background: rgba(102, 126, 234, 0.15);
  transform: translateX(10px);
}

.price-option .students {
  font-weight: 700;
  color: #4a5568;
}

.price-option .price {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.package-price {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

.package-type {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  color: #4a5568;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 2rem;
}

.package-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  animation: packageNote 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.package-note::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
}

.package-note:hover::before {
  animation: shimmer 1.5s ease-in-out;
}

.package-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.package-features li {
  padding: 1.2rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.package-features li:hover {
  background: rgba(102, 126, 234, 0.05);
  padding-left: 15px;
  border-radius: 10px;
}

.package-features li:before {
  content: "✓ ";
  color: #48bb78;
  font-weight: 900;
  font-size: 1.3rem;
  margin-right: 12px;
}

.details-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.4s ease;
  width: 100%;
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.details-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.details-btn:hover::before {
  left: 100%;
}

.details-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.details {
  display: none;
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 20px;
  border-left: 5px solid #667eea;
  animation: fadeInUp 0.5s ease-out;
}

.details.show {
  display: block;
}

.savings-badge {
  background: linear-gradient(135deg, #48bb78, #38a169);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-block;
  margin-top: 15px;
  animation: pulse 3s ease-in-out infinite;
}

/* Schools Section */
.schools-grid {
  display: grid;
  gap: 4rem;
  margin-top: 5rem;
}

.school-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 30px;
  padding: 0;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 450px;
  min-height: 400px;
  transition: all 0.5s ease;
  animation: slideInLeft 1s ease-out;
}

.school-card:nth-child(even) {
  animation: slideInRight 1s ease-out;
  grid-template-columns: 450px 1fr;
}

.school-card:nth-child(even) .school-info {
  order: 2;
}

.school-card:nth-child(even) .slideshow-container {
  order: 1;
}

.school-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.school-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.school-name {
  font-size: 2rem;
  font-weight: 900;
  color: #2d3748;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.school-cutoff {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.school-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.school-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.school-stat {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.school-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.school-stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.school-stat-label {
  font-size: 1rem;
  color: #4a5568;
  font-weight: 700;
}

/* Enhanced Slideshow */
.slideshow-container {
  position: relative;
  background: #f1f5f9;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s ease-in-out;
}

.slide.active {
  display: block;
  animation: fadeInUp 0.8s ease-out;
}

.slideshow-nav {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slide-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.slide-dot.active {
  background: white;
  transform: scale(1.4);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.slide-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

/* Distance Calculator */
.distance-calculator {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 30px;
  padding: 4rem;
  margin-top: 5rem;
  color: white;
  text-align: center;
  animation: bounceIn 1.2s ease-out;
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.distance-calculator h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.distance-calculator p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.zip-input-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.zip-input {
  padding: 18px 25px;
  border: none;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 700;
  width: 250px;
  text-align: center;
  transition: all 0.3s ease;
}

.zip-input:focus {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.calculate-btn {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 18px 35px;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s ease;
}

.calculate-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.5);
}

.distance-results {
  display: none;
  margin-top: 3rem;
}

.distance-results.show {
  display: block;
  animation: fadeInUp 0.8s ease-out;
}

.distance-school {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.distance-school:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(15px) scale(1.02);
}

.distance-school-name {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.distance-miles {
  font-weight: 800;
  color: #ffd700;
  font-size: 1.3rem;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, #0f0f23, #1a1a3e);
  color: white;
  padding: 120px 0;
}

.contact-form {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 30px;
  padding: 5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: scaleIn 1s ease-out;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(102, 126, 234, 0.05),
    rgba(118, 75, 162, 0.05)
  );
  pointer-events: none;
}

.form-title {
  color: #2d3748;
  margin-bottom: 4rem;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
}

.form-group {
  margin-bottom: 2.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #2d3748;
  font-size: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px 25px;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  background: #ffffff;
  font-family: inherit;
  font-weight: 600;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #667eea;
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.submit-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 20px 50px;
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
  text-align: left;
}

.footer-section h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #48bb78;
}

.footer-section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer-section a {
  color: #48bb78;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #48bb78, #68d391);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section a[href^="tel"]::before {
  content: "📞";
  position: static;
  transform: none;
  height: auto;
  background: none;
}

.footer-section a[href^="mailto"]::before {
  content: "📧";
  position: static;
  transform: none;
  height: auto;
  background: none;
}

.footer-section a:hover {
  color: #68d391;
  transform: translateY(-2px);
}

.footer-section a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* Enhanced Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.animate-on-scroll.fade-left {
  transform: translateX(-50px);
}

.animate-on-scroll.fade-right {
  transform: translateX(50px);
}

.animate-on-scroll.fade-left.animated,
.animate-on-scroll.fade-right.animated {
  transform: translateX(0);
}

.animate-on-scroll.scale-up {
  transform: scale(0.8);
}

.animate-on-scroll.scale-up.animated {
  transform: scale(1);
}

.animate-on-scroll.blur {
  filter: blur(10px);
}

.animate-on-scroll.blur.animated {
  filter: blur(0);
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 120px 0;
  position: relative;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.faq-item {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.faq-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
  color: #2d3748;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.faq-item p {
  color: #4a5568;
  line-height: 1.7;
  font-size: 1.1rem;
}

.faq-item a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-item a:hover {
  color: #764ba2;
}

/* Internal Link Styling */
.hero-subtitle a,
.success-quote a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.hero-subtitle a:hover,
.success-quote a:hover {
  color: #764ba2;
  border-bottom-color: #764ba2;
}

/* Contact Links Styling */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-link .icon {
  font-size: 1.5rem;
  color: #48bb78;
  transition: transform 0.3s ease;
}

.contact-link:hover .icon {
  transform: scale(1.2);
}

.contact-link .text {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Performance Optimizations */
.hardware-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .packages-grid {
    margin-top: 2rem;
  }

  .tab-content.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .package-tabs {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .tab-btn {
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.1);
  }

  .tab-btn::after {
    display: none;
  }

  .tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
  }

  .package-card {
    padding: 2rem;
  }

  .package-prices {
    flex-direction: column;
  }

  .price-option {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .price-option .price {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .school-card {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .school-card:nth-child(even) .school-info,
  .school-card:nth-child(even) .slideshow-container {
    order: unset;
  }

  .slideshow-container {
    height: 300px;
  }

  .contact-form {
    padding: 3rem 2rem;
    margin: 0 1rem;
  }

  .stats h2,
  .section-title {
    font-size: 2.5rem;
  }

  .distance-calculator {
    padding: 2.5rem 1.5rem;
    margin: 3rem 1rem;
  }

  .zip-input-container {
    flex-direction: column;
    gap: 1rem;
  }

  .zip-input {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-item {
    padding: 2rem;
  }

  .faq-item h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .cta-button {
    padding: 18px 35px;
    font-size: 1.1rem;
  }

  .package-card {
    padding: 2rem;
  }

  .mobile-nav-links a {
    font-size: 2rem;
  }
}
