/* Custom CSS Variables */
:root {
    --primary-color: #3b82f6;
    --primary-light: #dbeafe;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --success-light: #d1fae5;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --danger-color: #ef4444;
    --purple-color: #8b5cf6;
    --purple-light: #ede9fe;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-light: linear-gradient(135deg, #dbeafe, #f3f4f6, #ede9fe);
    --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);
    --border-radius: 0.75rem;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Custom Bootstrap Extensions */
.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-success-light {
    background-color: var(--success-light) !important;
}

.bg-warning-light {
    background-color: var(--warning-light) !important;
}

.bg-purple-light {
    background-color: var(--purple-light) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-light {
    background: var(--gradient-light) !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-purple {
    color: var(--purple-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.fw-black {
    font-weight: 900 !important;
}

/* Header Styles */
.header-section {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    z-index: 1050;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #ede9fe 100%);
    overflow: hidden;
}

.hero-bg {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-badges .badge {
    font-weight: 500;
    border: 1px solid;
}

.hero-title {
    line-height: 1.1;
    font-weight: 900;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Booking Card */
.booking-card {
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-gradient-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.bus-type-btn {
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    transition: all 0.3s ease;
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.bus-type-btn:hover {
    border-color: #d1d5db;
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bus-type-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.bus-type-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Fleet Section */
.fleet-card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    background: white;
    border-radius: var(--border-radius) !important;
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.fleet-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fleet-card:hover .fleet-image {
    transform: scale(1.05);
}

.fleet-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.popular-badge {
    background: var(--primary-color) !important;
}

.feature-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Services Section */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    border-left: 4px solid transparent;
}

.service-card:hover {
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon-container {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon-container {
    background: var(--primary-light);
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

/* Booking Form */
.progress-steps {
    gap: 1rem;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--primary-color);
    color: white;
}

.progress-step.completed {
    background: var(--success-color);
    color: white;
}

.progress-step:not(.active):not(.completed) {
    background: #e5e7eb;
    color: #6b7280;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    transition: background-color 0.3s ease;
}

.progress-line.completed {
    background: var(--primary-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
    color: white;
}

.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    background: #22c45e;
}

.call-btn {
    background: var(--primary-color);
}

.call-btn:hover {
    background: #2563eb;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.border-gradient {
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
}

/* Custom Form Styles */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    border-color: var(--primary-color);
}

.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    border-color: var(--primary-color);
}

/* Smooth Transitions */
* {
    transition-property: color, background-color, border-color, transform, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Print Styles */
@media print {
    .floating-buttons,
    .navbar,
    footer {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
}