/* ====================================
   CLEAN & MODERN STYLES - Book-train.online
   ==================================== */

/* CSS Variables with Beautiful Color Themes */
:root {
  /* Primary Theme Colors */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary-color: #64748b;
  --success-color: #059669;
  --danger-color: #dc2626;
  --warning-color: #d97706;
  --info-color: #0ea5e9;
  --light-color: #f8fafc;
  --dark-color: #0f172a;
  --white: #ffffff;
  --border-color: #e2e8f0;
  
  /* Beautiful Gradient Themes */
  --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-sunset: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  --gradient-forest: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --gradient-sky: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  --gradient-purple: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
  --gradient-fire: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
  --gradient-mint: linear-gradient(135deg, #81ecec 0%, #74b9ff 100%);
  --gradient-coral: linear-gradient(135deg, #fab1a0 0%, #e17055 100%);
  
  /* Advanced Shadow Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-colored: 0 10px 30px rgba(37, 99, 235, 0.3);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.4);
  
  /* Modern Border Radius */
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Smooth Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

/* ====================================
   ENHANCED NAVIGATION WITH COLOR THEMES
   ==================================== */

/* Enhanced Navbar with Maximum Visibility */
.navbar {
  padding: 1.25rem 0;
  transition: var(--transition);
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid rgba(37, 99, 235, 0.2);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.1);
  border-bottom-color: rgba(37, 99, 235, 0.15);
}

.navbar-brand {
  font-weight: 700;
  color: var(--dark-color) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

/* ====================================
   SPECTACULAR LOGO DESIGN
   ==================================== */

.navbar-brand:hover {
  transform: scale(1.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  position: relative;
}

.logo-container::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -45px;
  bottom: -5px;
  background: var(--gradient-ocean);
  opacity: 0;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  z-index: -1;
  filter: blur(15px);
}

.navbar-brand:hover .logo-container::before {
  opacity: 0.3;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-colored);
}

/* Animated pulse ring around logo */
.logo-pulse {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-lg);
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: var(--transition);
}

.navbar-brand:hover .logo-icon::before {
  left: 100%;
}

.navbar-brand:hover .logo-icon {
  transform: rotate(10deg) scale(1.1);
  background: var(--gradient-fire);
  box-shadow: var(--shadow-glow);
}

/* Beautiful Text Logo */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.brand-extension {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: -2px;
  transition: var(--transition);
}

.navbar-brand:hover .brand-name {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-1px);
}

.navbar-brand:hover .brand-extension {
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* Logo responsiveness */
@media (max-width: 768px) {
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .brand-name {
    font-size: 1.3rem;
  }
  
  .brand-extension {
    font-size: 0.8rem;
  }
}

/* ====================================
   SPECTACULAR LOGO EFFECTS
   ==================================== */

/* Rotating background effect for logo */
@keyframes logoRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Logo icon gets rotating background */
.logo-icon {
  background-size: 200% 200%;
  animation: logoRotate 4s ease infinite;
}

/* Text shadow animation */
@keyframes textGlow {
  0%, 100% { 
    text-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
  }
  50% { 
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.6), 0 0 25px rgba(37, 99, 235, 0.4);
  }
}

.brand-name {
  animation: textGlow 3s ease-in-out infinite alternate;
}

/* Logo entrance animation */
@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.logo-container {
  animation: logoEntrance 1s ease-out;
}

/* Bouncing effect on page load */
@keyframes logoBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Add bouncing effect on page load */
.navbar-brand {
  animation: logoBounce 2s ease-in-out 0.5s;
}

/* Special hover state for entire logo */
.navbar-brand:hover .logo-container {
  transform: translateY(-2px);
}

.navbar-brand:hover .logo-pulse {
  animation-duration: 1s;
  border-color: rgba(253, 121, 168, 0.6);
}

/* ====================================
   BEAUTIFUL DROPDOWN MENU STYLES
   ==================================== */

.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.15);
  padding: 1rem 0;
  margin-top: 0.5rem;
  min-width: 250px;
  animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--dark-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-ocean);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.dropdown-item:hover::before {
  left: 0;
  opacity: 0.1;
}

.dropdown-item:hover {
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-light), rgba(37, 99, 235, 0.05));
  transform: translateX(8px);
  border-radius: var(--radius);
}

.dropdown-item i {
  width: 20px;
  font-size: 1.1rem;
  transition: var(--transition);
}

.dropdown-item:hover i {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary-color);
}

/* Enhanced Active Dropdown Items with High Visibility */
.dropdown-item.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: white !important;
  font-weight: 800;
  border-radius: var(--radius-lg);
  margin: 0 0.5rem;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dropdown-item.active i {
  color: white !important;
  transform: scale(1.1);
}

.dropdown-item.active::before {
  display: none;
}

/* Separator between dropdown items */
.dropdown-item + .dropdown-item {
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  margin-top: 0.25rem;
  padding-top: 1.25rem;
}

.dropdown-item.active + .dropdown-item {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile Navigation Enhancements for Separate Menu Items */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(37, 99, 235, 0.1);
  }
  
  .nav-link {
    margin-bottom: 0.75rem;
    text-align: center;
    border: 2px solid rgba(37, 99, 235, 0.1);
    padding: 1rem !important;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700 !important;
  }
  
  .nav-link:hover, .nav-link.active {
    border-color: rgba(37, 99, 235, 0.3);
    background: var(--gradient-ocean);
    color: white !important;
    transform: scale(1.02);
  }
  
  .phone-number {
    margin: 1.5rem auto;
    text-align: center;
    max-width: 250px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
}

/* Tablet Navigation */
@media (max-width: 1199px) {
  .nav-link {
    font-size: 0.9rem;
    padding: 0.6rem 1rem !important;
  }
  
  .phone-number {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
  
  .logo-container {
    gap: 8px;
  }
  
  .brand-name {
    font-size: 1.4rem;
  }
}

/* Dropdown Toggle Arrow Animation */
.dropdown-toggle::after {
  transition: var(--transition);
  border-top-color: var(--secondary-color);
}

.dropdown-toggle:hover::after,
.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
  border-top-color: var(--primary-color);
}

.dropdown-toggle:hover {
  background: var(--primary-light);
  color: var(--primary-color) !important;
}

/* Enhanced Nav Links with Better Visibility */
.nav-link {
  color: var(--dark-color) !important;
  font-weight: 600 !important;
  font-size: 1rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: var(--radius-lg);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  border: 2px solid transparent;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-ocean);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 90%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), var(--primary-light));
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
  backdrop-filter: blur(10px);
}

/* Enhanced Active State with High Contrast */
.nav-link.active {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1d4ed8 100%) !important;
  color: white !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5), 0 0 30px rgba(37, 99, 235, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: activeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeGlow {
  0% {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5), 0 0 30px rgba(37, 99, 235, 0.3);
  }
  100% {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.7), 0 0 40px rgba(37, 99, 235, 0.5);
  }
}

.nav-link.active::before {
  display: none;
}

/* Dropdown Toggle Enhanced Styling with High Visibility */
.dropdown-toggle {
  position: relative;
  font-weight: 700 !important;
}

.dropdown-toggle.active {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #8b5cf6 100%) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5), 0 0 25px rgba(139, 92, 246, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: dropdownActiveGlow 2s ease-in-out infinite alternate;
}

@keyframes dropdownActiveGlow {
  0% {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5), 0 0 25px rgba(139, 92, 246, 0.3);
  }
  100% {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.7), 0 0 35px rgba(139, 92, 246, 0.5);
  }
}

.dropdown-toggle.active::after {
  border-top-color: white !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Enhanced Phone Number with High Visibility */
.phone-number {
  background: var(--gradient-fire);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: phoneGlow 3s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes phoneGlow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(253, 121, 168, 0.4);
  }
  50% {
    box-shadow: 0 6px 25px rgba(253, 121, 168, 0.7), 0 0 30px rgba(253, 121, 168, 0.5);
  }
}

.phone-number::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: var(--transition);
}

.phone-number:hover::before {
  left: 100%;
}

.phone-number:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(253, 121, 168, 0.6);
  background: var(--gradient-sunset);
  animation: none;
}

.phone-number i {
  animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
}

/* ====================================
   SPECTACULAR HERO SECTION WITH ANIMATIONS
   ==================================== */

.hero-section {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Spectacular Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-fire);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-xl);
  animation: pulse 2s infinite, badgeGlow 3s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.4);
  }
  50% {
    box-shadow: 0 5px 25px rgba(253, 121, 168, 0.8), 0 0 30px rgba(253, 121, 168, 0.6);
  }
}

.badge-text {
  position: relative;
  z-index: 2;
}

.badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 3s ease infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Spectacular Hero Title with Multiple Effects */
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out;
  margin-bottom: 2rem;
}

.title-main {
  display: block;
  color: var(--dark-color);
  font-weight: 800;
  animation: fadeInUp 1s ease-out;
}

.title-highlight {
  display: block;
  background: var(--gradient-ocean);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 900;
  animation: fadeInUp 1s ease-out 0.2s both, textShimmer 4s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.title-accent {
  display: block;
  background: var(--gradient-fire);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  animation: fadeInUp 1s ease-out 0.4s both, textShimmer 4s ease-in-out infinite 2s;
}

@keyframes textShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-color);
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-features {
  list-style: none;
  padding: 0;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Amazing Feature Items */
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: var(--transition-bounce);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.6));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-mint);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.feature-item:hover::before {
  left: 0;
  opacity: 0.1;
}

.feature-item:hover {
  transform: translateX(15px) scale(1.02);
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
}

.feature-check {
  width: 40px;
  height: 40px;
  background: var(--gradient-forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:nth-child(1) .feature-check {
  background: var(--gradient-ocean);
  animation: float 3s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-check {
  background: var(--gradient-forest);
  animation: float 3s ease-in-out infinite 0.5s;
}

.feature-item:nth-child(3) .feature-check {
  background: var(--gradient-fire);
  animation: float 3s ease-in-out infinite 1s;
}

.feature-item:hover .feature-check {
  transform: scale(1.2) rotate(10deg);
  box-shadow: var(--shadow-glow);
}

.hero-actions {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(37, 99, 235, 0.3); }
  50% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.6); }
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ====================================
   HERO IMAGE SLIDER STYLES
   ==================================== */

#heroSlider {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  background: var(--light-color);
}

#heroSlider .carousel-item {
  height: 400px;
  position: relative;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

#heroSlider .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateZ(0);
  filter: brightness(0.95) contrast(1.1);
}

/* Beautiful fade and slide transitions */
#heroSlider .carousel-item.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#heroSlider .carousel-item:not(.active) {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced hover effects */
#heroSlider:hover .carousel-item.active img {
  transform: scale(1.05) translateZ(0);
  filter: brightness(1.05) contrast(1.15) saturate(1.1);
}

/* Slide-in animation for incoming slides */
#heroSlider .carousel-item-next {
  transform: translateX(100%) scale(0.9);
  opacity: 0;
}

#heroSlider .carousel-item-prev {
  transform: translateX(-100%) scale(0.9);
  opacity: 0;
}

/* Zoom and fade effect during transition */
#heroSlider .carousel-item-next.carousel-item-start,
#heroSlider .carousel-item-prev.carousel-item-end {
  transform: translateX(0) scale(1);
  opacity: 1;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ken Burns effect for active image */
@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0px) translateY(0px);
  }
  25% {
    transform: scale(1.08) translateX(-10px) translateY(-5px);
  }
  50% {
    transform: scale(1.12) translateX(5px) translateY(-10px);
  }
  75% {
    transform: scale(1.06) translateX(-5px) translateY(5px);
  }
  100% {
    transform: scale(1) translateX(0px) translateY(0px);
  }
}

#heroSlider .carousel-item.active img {
  animation: kenBurns 8s ease-in-out infinite;
}

/* 3D flip effect for carousel transitions */
#heroSlider .carousel-item-start {
  transform: rotateY(-15deg) translateZ(-50px);
  opacity: 0.8;
}

#heroSlider .carousel-item-end {
  transform: rotateY(15deg) translateZ(-50px);
  opacity: 0.8;
}

/* Beautiful Carousel Indicators with Animations */
#heroSlider .carousel-indicators {
  bottom: 30px;
  margin-bottom: 0;
  gap: 8px;
  display: flex;
  justify-content: center;
}

#heroSlider .carousel-indicators button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0;
  border: 3px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

#heroSlider .carousel-indicators button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: white;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
}

#heroSlider .carousel-indicators button.active {
  border-color: white;
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

#heroSlider .carousel-indicators button.active::before {
  width: 100%;
  height: 100%;
}

#heroSlider .carousel-indicators button:hover {
  transform: scale(1.2);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Stunning Carousel Controls */
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
  width: 10%;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#heroSlider:hover .carousel-control-prev,
#heroSlider:hover .carousel-control-next {
  opacity: 1;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.8));
  border-radius: 50%;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

#heroSlider .carousel-control-prev-icon::before,
#heroSlider .carousel-control-next-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.4s ease;
}

#heroSlider .carousel-control-prev-icon:hover::before,
#heroSlider .carousel-control-next-icon:hover::before {
  left: 100%;
}

#heroSlider .carousel-control-prev-icon:hover,
#heroSlider .carousel-control-next-icon:hover {
  background: linear-gradient(135deg, var(--gradient-ocean), var(--gradient-sky));
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Stunning Animated Carousel Captions */
.carousel-caption {
  bottom: 80px;
  left: 30px;
  right: 30px;
  text-align: left;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.95) 0%, 
    rgba(59, 130, 246, 0.90) 50%, 
    rgba(37, 99, 235, 0.85) 100%);
  backdrop-filter: blur(20px);
  padding: 20px 25px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  opacity: 0;
}

/* Caption entrance animation */
.carousel-item.active .carousel-caption {
  transform: translateY(0);
  opacity: 1;
  animation: slideUpFade 0.8s ease-out 0.3s both;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.carousel-caption:hover {
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 1) 0%, 
    rgba(59, 130, 246, 0.95) 50%, 
    rgba(37, 99, 235, 0.9) 100%);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.carousel-caption h6 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
}

.carousel-caption h6::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: all 0.4s ease;
}

.carousel-caption:hover h6::after {
  width: 100%;
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.carousel-caption:hover p {
  color: white;
  transform: translateY(-2px);
}

.floating-stats {
  position: absolute;
  bottom: -20px;
  left: 20px;
  display: flex;
  gap: 1rem;
}

.stat-card {
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 100px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--secondary-color);
  margin-top: 0.25rem;
}

/* Background Elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), transparent);
}

.element-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  opacity: 0.3;
}

.element-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -5%;
  opacity: 0.2;
}

.element-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  opacity: 0.25;
}

/* ====================================
   BOOKING SECTION
   ==================================== */

.booking-section {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.booking-widget {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.booking-form .form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.booking-form .form-control,
.booking-form .form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem;
  font-size: 1rem;
  transition: var(--transition);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}

.booking-form .input-group-text {
  background: var(--light-color);
  border: 2px solid var(--border-color);
  border-right: none;
  color: var(--secondary-color);
}

/* ====================================
   HIGH VISIBILITY SECTIONS
   ==================================== */

.section-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--dark-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6, #2563eb);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-color);
  font-weight: 500;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* High Contrast Text Classes */
.text-high-contrast {
  color: var(--dark-color) !important;
  font-weight: 700 !important;
}

.text-visible {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Enhanced Readability */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

p, span, div {
  color: var(--dark-color);
}

.text-muted {
  color: #4b5563 !important;
  font-weight: 500 !important;
}

/* ====================================
   SPECTACULAR FEATURE CARDS WITH THEMES
   ==================================== */

.feature-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-ocean);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0.03;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Colorful Feature Icons with Different Themes */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Different gradient themes for each feature icon */
.feature-card:nth-child(1) .feature-icon {
  background: var(--gradient-ocean);
  color: white;
  animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--gradient-forest);
  color: white;
  animation: float 3s ease-in-out infinite 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--gradient-fire);
  color: white;
  animation: float 3s ease-in-out infinite 1s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  animation: glow 1s ease-in-out infinite alternate;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.feature-card:hover .feature-title {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.feature-description {
  color: var(--secondary-color);
  transition: var(--transition);
}

.feature-card:hover .feature-description {
  color: var(--dark-color);
}

/* ====================================
   COLORFUL ROUTE CARDS WITH ANIMATIONS
   ==================================== */

.route-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition-slow);
  height: 100%;
  backdrop-filter: blur(15px);
  position: relative;
}

.route-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-ocean);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.route-card:hover::after {
  opacity: 0.05;
}

.route-card:hover {
  transform: translateY(-12px) rotateY(2deg);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.25);
}

.route-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.route-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.route-card:hover .route-image img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Colorful Route Badges with Different Themes */
.route-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
  z-index: 2;
}

/* Different colored badges */
.route-card:nth-child(1) .route-badge {
  background: var(--gradient-fire);
  color: white;
}

.route-card:nth-child(2) .route-badge {
  background: var(--gradient-forest);
  color: white;
}

.route-card:nth-child(3) .route-badge {
  background: var(--gradient-purple);
  color: white;
}

.route-card:nth-child(4) .route-badge {
  background: var(--gradient-sunset);
  color: white;
}

.route-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.route-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.route-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0;
  transition: var(--transition);
}

.route-card:hover .route-header h4 {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.price {
  font-size: 1.125rem;
  font-weight: 800;
  background: var(--gradient-forest);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.route-card:hover .price {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.route-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.route-details span {
  color: var(--secondary-color);
  font-size: 0.875rem;
  transition: var(--transition);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.05);
}

.route-card:hover .route-details span {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ====================================
   ANIMATED STEP CARDS WITH COLOR THEMES
   ==================================== */

.step-card {
  position: relative;
  padding: 2rem 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(248,250,252,0.6));
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-slow);
}

.step-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 99, 235, 0.2);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 2;
}

/* Different gradient themes for each step number */
.step-card:nth-child(1) .step-number {
  background: var(--gradient-ocean);
  animation: glow 2s ease-in-out infinite alternate;
}

.step-card:nth-child(2) .step-number {
  background: var(--gradient-forest);
  animation: glow 2s ease-in-out infinite alternate 0.5s;
}

.step-card:nth-child(3) .step-number {
  background: var(--gradient-fire);
  animation: glow 2s ease-in-out infinite alternate 1s;
}

.step-card:hover .step-number {
  transform: translateX(-50%) scale(1.2) rotate(360deg);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Different gradient themes for step icons */
.step-card:nth-child(1) .step-icon {
  background: var(--gradient-sky);
  animation: float 3s ease-in-out infinite;
}

.step-card:nth-child(2) .step-icon {
  background: var(--gradient-mint);
  animation: float 3s ease-in-out infinite 0.7s;
}

.step-card:nth-child(3) .step-icon {
  background: var(--gradient-coral);
  animation: float 3s ease-in-out infinite 1.4s;
}

.step-icon::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: var(--transition);
}

.step-card:hover .step-icon::before {
  left: 100%;
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(-5deg);
}

.step-card h4 {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.step-card:hover h4 {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.step-card p {
  transition: var(--transition);
}

.step-card:hover p {
  color: var(--dark-color);
  transform: translateY(-2px);
}

/* ====================================
   TESTIMONIAL CARDS
   ==================================== */

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  height: 100%;
}

.stars {
  color: #fbbf24;
}

.testimonial-content p {
  color: var(--secondary-color);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h6 {
  font-weight: 600;
  color: var(--dark-color);
}

/* ====================================
   BEAUTIFUL ANIMATED BUTTONS
   ==================================== */

.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Shimmer Effect for Buttons */
.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: var(--transition-fast);
}

.btn:hover::before {
  left: 100%;
}

/* Primary Button - Ocean Gradient */
.btn-primary {
  background: var(--gradient-ocean);
  color: white;
  border: none;
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
  background: var(--gradient-sky);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow), var(--shadow-xl);
  color: white;
}

/* Outline Button - Animated Border */
.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid;
  border-image: var(--gradient-ocean) 1;
  background-color: transparent;
  position: relative;
}

.btn-outline-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-ocean);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.btn-outline-primary:hover::after {
  opacity: 1;
}

.btn-outline-primary:hover {
  color: white;
  transform: translateY(-2px);
  border-color: transparent;
}

/* Light Button - Glass Effect */
.btn-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.btn-light:hover {
  background: white;
  transform: translateY(-2px);
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

/* Success Button - Forest Gradient */
.btn-success {
  background: var(--gradient-forest);
  color: white;
  border: none;
}

.btn-success:hover {
  background: var(--gradient-mint);
  transform: translateY(-2px);
  color: white;
}

/* Warning Button - Fire Gradient */
.btn-warning {
  background: var(--gradient-fire);
  color: white;
  border: none;
}

.btn-warning:hover {
  background: var(--gradient-sunset);
  transform: translateY(-2px);
  color: white;
}

/* Info Button - Sky Gradient */
.btn-info {
  background: var(--gradient-sky);
  color: white;
  border: none;
}

.btn-info:hover {
  background: var(--gradient-mint);
  transform: translateY(-2px);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ====================================
   COLORFUL BACKGROUND SECTIONS WITH ANIMATIONS
   ==================================== */

.bg-light {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
  position: relative;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(37,99,235,0.05)" opacity="0.5"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="rgba(37,99,235,0.03)" opacity="0.3"><animate attributeName="opacity" values="0.2;0.7;0.2" dur="6s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="1.2" fill="rgba(37,99,235,0.04)" opacity="0.4"><animate attributeName="opacity" values="0.4;0.9;0.4" dur="5s" repeatCount="indefinite"/></circle></svg>');
  pointer-events: none;
}

.bg-primary {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 25%, #2563eb 50%, #1d4ed8 75%, #2563eb 100%) !important;
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bg-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%), 
              linear-gradient(-45deg, rgba(255,255,255,0.1) 25%, transparent 25%),
              linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.1) 75%), 
              linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 30px 30px;
  animation: move 20s linear infinite;
  pointer-events: none;
}

@keyframes move {
  0% { background-position: 0 0, 0 0, 15px 15px, 15px 15px; }
  100% { background-position: 30px 30px, 30px 30px, 45px 45px, 45px 45px; }
}

.bg-dark {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%) !important;
}

/* Enhanced CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"><animate attributeName="cy" values="10;90;10" dur="8s" repeatCount="indefinite"/></circle><circle cx="90" cy="20" r="1.5" fill="rgba(255,255,255,0.08)"><animate attributeName="cy" values="20;80;20" dur="6s" repeatCount="indefinite"/></circle><circle cx="50" cy="90" r="1.2" fill="rgba(255,255,255,0.12)"><animate attributeName="cy" values="90;10;90" dur="10s" repeatCount="indefinite"/></circle></svg>');
  pointer-events: none;
}

/* Animated Sections Entrance */
.features-section {
  animation: fadeInUp 1s ease-out;
}

.routes-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%);
  position: relative;
}

.how-it-works-section {
  background: linear-gradient(135deg, var(--light-color) 0%, rgba(219, 234, 254, 0.3) 100%);
  position: relative;
}

.testimonials-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
  border-top: 1px solid var(--border-color);
}

.footer a:hover {
  color: white !important;
  text-decoration: underline !important;
}

/* ====================================
   BOOKING RESULTS PAGE STYLES
   ==================================== */

.results-header {
  background: linear-gradient(135deg, var(--primary-light), var(--light-color));
  border-bottom: 1px solid var(--border-color);
}

.results-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
}

.summary-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-item small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.train-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.train-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.train-info h6 {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.train-number {
  color: var(--secondary-color);
  font-size: 0.8rem;
}

.departure-time,
.arrival-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
}

.duration-info {
  position: relative;
}

.duration {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.route-line {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.route-line .line {
  width: 60px;
  height: 2px;
  background: var(--border-color);
  position: relative;
}

.route-line i {
  background: var(--primary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  position: absolute;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--success-color);
}

.help-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  height: 100%;
}

.help-item {
  text-align: center;
}

.help-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.booking-summary {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  height: fit-content;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item .label {
  font-weight: 600;
  color: var(--secondary-color);
}

.summary-item .value {
  font-weight: 700;
  color: var(--dark-color);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.benefits-list li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .floating-stats {
    position: static;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .booking-widget {
    padding: 1.5rem;
  }
  
  .route-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .route-details {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .booking-form .col-md-2,
  .booking-form .col-md-3 {
    margin-bottom: 1rem;
  }
  
  .step-card {
    margin-bottom: 2rem;
  }
}

/* ====================================
   UTILITIES
   ==================================== */

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-muted {
  color: #6b7280 !important;
}

.min-vh-100 {
  min-height: 100vh;
}

/* ====================================
   SMOOTH SCROLLING
   ==================================== */

html {
  scroll-behavior: smooth;
}

/* ====================================
   ADDITIONAL BEAUTIFUL ANIMATIONS
   ==================================== */

/* Page Load Animation */
@keyframes pageLoad {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

body {
  animation: pageLoad 0.8s ease-out;
}

/* Scroll-triggered animations */
@keyframes slideInFromLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Smooth scrolling enhancement */
html {
  scroll-behavior: smooth;
}

/* Loading state animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading {
  animation: spin 1s linear infinite;
}

/* Hover animations for interactive elements */
a, button, .btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover, button:hover {
  transform: translateY(-1px);
}

/* Enhanced form animations */
.form-control:focus, .form-select:focus {
  animation: formFocus 0.3s ease-out;
}

@keyframes formFocus {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Notification animations */
@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.alert, .notification {
  animation: slideDown 0.4s ease-out;
}

/* Background pattern animation */
@keyframes backgroundMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.animated-bg {
  animation: backgroundMove 20s ease infinite;
}

/* Section reveal animations */
.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.section-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Remove any problematic transforms */
* {
  backface-visibility: visible;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

img:hover {
  filter: brightness(1.05);
}

/* ====================================
   HIGH VISIBILITY ENHANCEMENTS
   ==================================== */

/* Ensure all text is clearly visible */
.navbar, .hero-section, .features-section, .routes-section, 
.how-it-works-section, .testimonials-section, .cta-section {
  color: var(--dark-color);
}

/* High contrast cards with maximum visibility */
.card, .feature-card, .route-card, .step-card, .testimonial-card {
  border: 2px solid rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 1) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Enhanced button visibility */
.btn {
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-width: 2px;
}

/* Strong contrast for important elements */
.hero-title, .section-title, .feature-title {
  color: #0f172a !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* White text sections enhancement */
.bg-primary, .bg-primary * {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.bg-primary .section-title {
  color: white !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4) !important;
}

.bg-primary .section-title::after {
  background: linear-gradient(90deg, #ffffff, #e0e7ff, #ffffff);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Better form visibility */
.form-control, .form-select {
  border-width: 2px;
  color: var(--dark-color) !important;
  font-weight: 600;
}

.form-control::placeholder {
  color: #6b7280 !important;
  font-weight: 500;
}

/* Enhanced dropdown menu contrast */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 2px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  color: var(--dark-color) !important;
  font-weight: 600;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
  color: #1e40af !important;
}

/* ====================================
   HERO STATS & ENHANCED ELEMENTS
   ==================================== */

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
  backdrop-filter: blur(15px);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-stats .stat-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.3);
}

.hero-stats .stat-icon {
  font-size: 2.5rem;
  animation: float 3s ease-in-out infinite;
}

.hero-stats .stat-item:nth-child(1) .stat-icon {
  animation-delay: 0s;
}

.hero-stats .stat-item:nth-child(2) .stat-icon {
  animation-delay: 0.5s;
}

.hero-stats .stat-item:nth-child(3) .stat-icon {
  animation-delay: 1s;
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Button Effects */
.hero-btn-main {
  position: relative;
  overflow: hidden;
  background: var(--gradient-fire) !important;
  border: none;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1.25rem 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-btn-main .btn-icon {
  font-size: 1.3rem;
  margin-right: 0.75rem;
  animation: buttonIconPulse 2s ease-in-out infinite;
}

@keyframes buttonIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.btn-sparkle {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: sparkle 3s ease infinite;
}

@keyframes sparkle {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-btn-secondary {
  border: 3px solid var(--primary-color);
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero-btn-secondary:hover {
  background: var(--gradient-sky);
  color: white !important;
  border-color: transparent;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

/* Mobile responsive hero stats */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-stats .stat-item {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}