html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 60px;
  color: #333;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #10b981;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981 !important;
}

/* Hero Section */
.hero-section {
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.animate-fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Animation */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* CTA Button with Amazing Effects */
.btn-cta {
  position: relative;
  display: inline-block;
  background: white;
  color: #10b981;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
  color: #059669;
}

.btn-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.btn-cta-text {
  position: relative;
  z-index: 2;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Hover Lift Button */
.hover-lift-btn {
  transition: all 0.3s ease;
  border: 2px solid white;
}

.hover-lift-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Cards */
.card {
  transition: all 0.3s ease;
  border: none;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

/* Step Numbers */
.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* Feature Box */
.feature-box {
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
  height: 80px;
  display: flex;
  align-items: center;
}

/* Buttons */
.btn-lg {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Testimonials */
.avatar {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.8rem;
  }
}

/* Smooth Scrolling */
a[href^="#"] {
  scroll-behavior: smooth;
}