* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.navbar-nav .nav-link {
    color: #64748b !important;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #6366f1 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    animation: slideInUp 1s ease-out 0.4s both;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    animation: countUp 2s ease-out 0.6s both;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    animation: slideInUp 1s ease-out 0.6s both;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 767.98px) {
    .hero-image {
        display: none;
    }
}

/* Booking Section */
.booking-section {
    background: #e2e8f0;
    padding: 80px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.booking-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6);
}

.booking-card h3 {
    color: #1e293b;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.booking-card p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.booking-form .form-group {
    margin-bottom: 30px;
    position: relative;
}

.booking-form .form-group label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.booking-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.booking-form .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    background: white;
    transform: translateY(-2px);
}

.btn-search {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    padding: 18px 35px;
    border-radius: 20px;
    font-weight: 700;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Updated Why Choose section cards with hover-only animations */
.feature-card {
    background: white;
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #6366f1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.feature-icon.service {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.feature-icon.insured {
    background: linear-gradient(135deg, #10b981, #047857);
}

.feature-icon.price {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-icon.fleet {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-icon.booking {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.feature-icon.locations {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card h4 {
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-card:hover h4 {
    color: #6366f1;
}

.feature-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* Fleet Section */
.fleet-section {
    padding: 100px 0;
    background: white;
}

.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

/* Simple stroke color hover effect only */
.car-card:hover {
    border-color: #6366f1;
}

.car-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.car-details {
    padding: 25px;
}

.car-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.car-features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.car-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 0.9rem;
}

.car-feature i {
    color: #6366f1;
}

.car-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366f1;
}

.price-period {
    font-size: 0.9rem;
    color: #64748b;
}

.btn-book {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.step-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Updated hover effects for step cards */
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    border: 2px solid #6366f1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 25px;
    position: relative;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

/* Added hover animation for step numbers */
.step-card:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.step-card h4 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Testimonials slider styles */
/* Updated testimonials to show only 2 testimonials and removed auto-slide */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-card {
    background: white;
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

.testimonial-rating {
    margin-bottom: 30px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 1.2rem;
    margin: 0 2px;
    transition: all 0.3s ease;
}

/* Added hover animation for rating stars */
.testimonial-card:hover .testimonial-rating i {
    transform: scale(1.2) rotate(10deg);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #6366f1;
    transition: all 0.3s ease;
}

/* Added hover animation for avatar */
.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    border-color: #ec4899;
}

.author-info h5 {
    margin: 0;
    color: #1e293b;
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0 0;
    color: #6366f1;
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.slider-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Enhanced hover animation for slider buttons */
.slider-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.slider-btn i {
    transition: all 0.3s ease;
}

.slider-btn:hover i {
    transform: scale(1.2);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    transform: scale(1.3);
    background: #94a3b8;
}

.dot.active {
    background: #6366f1;
    transform: scale(1.4);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .booking-card {
        padding: 30px 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .booking-form .form-control {
        padding: 12px;
    }

    .car-features {
        flex-direction: column;
        gap: 10px;
    }
}

/* Hero Section Animations */
@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 slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg) scale(1.1);
    }

    to {
        transform: rotate(360deg) scale(1.1);
    }
}

/* Enhanced hero animations */
.hero-content h1 {
    animation: slideInLeft 1s ease-out;
}

.hero-content p {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-stats {
    animation: slideInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    animation: slideInUp 1s ease-out 0.9s both;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.5s both, float 3s ease-in-out infinite 2s;
}

.floating-card {
    animation: float 2s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

/* Adding icon hover animations */
.feature-card i,
.step-number,
.social-links a i {
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #ffffff;
}

.step-number:hover {
    transform: scale(1.1) rotate(5deg);
}

.social-links a:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* Hero decorative elements */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatUpDown 4s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(4) {
    width: 40px;
    height: 40px;
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.hero-car-icon {
    position: absolute;
    top: 10%;
    right: 30%;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    animation: bounce 2s ease-in-out infinite;
}

.hero-location-icon {
    position: absolute;
    bottom: 20%;
    left: 20%;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.hero-section {
    padding: 60px 0;
}

.hero-content {
    padding: 20px;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 0px;
    margin-bottom: 40px;
}

/* 📱 Mobile Responsive */
@media (max-width: 767.98px) {
    .hero-content {
        text-align: center;
        padding: 28px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 25px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-image {
        margin-top: 30px;
    }
}

/* iPad Mini and up (768px and above) - one row */
@media (min-width: 768px) {
    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .stat-item {
        flex: 1;
    }
}

/* iPad Mini & Small Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .booking-form .col-md-3 {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .booking-form .form-group {
        padding: 0 10px;
    }

    .btn-search {
        width: 100%;
    }
}

/* Mobile devices (<768px) */
@media (max-width: 767.98px) {
    .booking-form .col-md-3 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .btn-search {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-toggler {
        display: none;
    }
}

.navbar-nav .nav-link {
    padding: 8px 12px;
    white-space: nowrap;
    /* Prevents text from breaking */
    font-size: 14px;
}



@media (max-width: 991px) { /* applies to mobile/tablet */
  .navbar-collapse {
    max-height: 80vh; /* limit height to viewport */
    overflow-y: auto; /* allow scrolling */
  }
}
