/* ============================================
   PROFESSIONAL TROFICE ENHANCEMENTS
   Brand Colors Only: #FFA41C & #1B1B27
   ============================================ */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing Fix - Prevents Overlapping */
section {
    position: relative;
    z-index: 1;
    clear: both;
}

/* Moving Bus Background Animation */
@keyframes moveBus {
    0% {
        transform: translateX(-100%) translateY(0) scale(0.8);
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(100vw) translateY(-20px) scale(0.8);
        opacity: 0.2;
    }
}

.floating-buses {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-bus {
    position: absolute;
    width: 80px;
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><rect x="10" y="15" width="80" height="35" rx="5" fill="%23FFA41C" opacity="0.3"/><rect x="15" y="20" width="15" height="15" rx="2" fill="%23fff" opacity="0.5"/><rect x="35" y="20" width="15" height="15" rx="2" fill="%23fff" opacity="0.5"/><rect x="55" y="20" width="15" height="15" rx="2" fill="%23fff" opacity="0.5"/><rect x="75" y="20" width="10" height="15" rx="2" fill="%23fff" opacity="0.5"/><circle cx="25" cy="52" r="5" fill="%231B1B27" opacity="0.4"/><circle cx="75" cy="52" r="5" fill="%231B1B27" opacity="0.4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: moveBus linear infinite;
}

.floating-bus:nth-child(1) {
    top: 15%;
    animation-duration: 35s;
    animation-delay: 0s;
}

.floating-bus:nth-child(2) {
    top: 45%;
    animation-duration: 45s;
    animation-delay: 10s;
}

.floating-bus:nth-child(3) {
    top: 75%;
    animation-duration: 40s;
    animation-delay: 20s;
}

/* Scroll-based Fade In Animation */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect for Sections */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Professional Card Hover Effects - Brand Colors Only */
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    border:1px solid  rgba(0, 0, 0, 0.08);
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 164, 28, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 164, 28, 0.2);
}

/* Gradient Text - Brand Colors */
.gradient-text {
    background: linear-gradient(135deg, #FFA41C 0%, #1B1B27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse Animation for Icons - Brand Colors */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 164, 28, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 164, 28, 0);
    }
}

.pulse-icon {
    animation: pulse-glow 2s infinite;
    border-radius: 50%;
}

/* Number Counter Animation */
.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #FFA41C;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-element {
    animation: float 3s ease-in-out infinite;
}

/* Stagger Animation for Lists */
.stagger-item {
    opacity: 0;
    transform: translateX(-30px);
}

/* Modern Button Styles - Brand Colors */
.btn-modern {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

/* Card Flip Effect */
.flip-card {
    perspective: 1000px;
    height: 350px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #FFA41C 0%, #1B1B27 100%);
    color: #fff;
}

/* Progress Bar Animation - Brand Color */
@keyframes progressBar {
    from {
        width: 0;
    }
}

.progress-bar-animated {
    height: 6px;
    background: #FFA41C;
    border-radius: 10px;
    animation: progressBar 2s ease-out forwards;
}

/* Comparison Table Styles - Brand Colors */
.comparison-table {
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.comparison-table th {
    background: #FFA41C;
    color: #fff;
    font-weight: 700;
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.comparison-table tr:hover td {
    background: rgba(255, 164, 28, 0.05);
}

.check-icon {
    color: #4CAF50;
    font-size: 24px;
}

.cross-icon {
    color: #f44336;
    font-size: 24px;
}

/* Icon Backgrounds - Brand Colors Only */
.icon-bg-orange {
    background: #FFA41C;
}

.icon-bg-dark {
    background: #1B1B27;
}

.icon-bg-light-orange {
    background: rgba(255, 164, 28, 0.1);
}

.icon-bg-light-dark {
    background: rgba(27, 27, 39, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-bus {
        width: 60px;
        height: 38px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .flip-card {
        height: 300px;
    }
}

/* Fleet Showcase Styles */
.fleet-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 164, 28, 0.2);
}

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

/* Responsive Fleet Images */
@media (max-width: 768px) {
    .fleet-card {
        margin-bottom: 30px;
    }
}