:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #1f2937;
    --light: #f9fafb;
    --white: #ffffff;
    --gray: #6b7280;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: 'Poppins', 'Cairo', sans-serif;
}

/* Navbar */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-modern.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.3s ease;
}

.logo-container:hover {
    color: var(--secondary);
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Hero Slider */
.hero-slider-section {
    margin-top: 60px;
    position: relative;
    height: 100vh;
}

.swiper.heroSwiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    animation: slideInUp 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Swiper Pagination */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: var(--white) !important;
    width: 30px !important;
    border-radius: 10px !important;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    color: white;
}

/* Button Gradient */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 40, 110, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 40, 110, 0.4);
    color: white;
}

.btn-gradient:active {
    transform: translateY(-1px);
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    color: white;
}

.counter-item {
    animation: fadeInUp 0.6s ease forwards;
}

.counter-item:nth-child(2) {
    animation-delay: 0.2s;
}

.counter-item:nth-child(3) {
    animation-delay: 0.4s;
}

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

.counter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.counter-item:hover .counter-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotateZ(10deg);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(243, 244, 246, 1) 100%);
}

.service-wrapper {
    perspective: 1000px;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(30, 40, 110, 0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateZ(10deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: var(--gray);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--success);
    font-size: 1.1rem;
}

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

.fleet-item {
    perspective: 1000px;
}

.fleet-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fleet-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.fleet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.fleet-card:hover .fleet-content {
    transform: translateY(0);
    opacity: 1;
}

.fleet-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fleet-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Cities Section */
.cities-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(243, 244, 246, 1) 100%);
}

.city-item {
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
}

.city-item:nth-child(1) { animation-delay: 0.1s; }
.city-item:nth-child(2) { animation-delay: 0.2s; }
.city-item:nth-child(3) { animation-delay: 0.3s; }
.city-item:nth-child(4) { animation-delay: 0.4s; }
.city-item:nth-child(5) { animation-delay: 0.5s; }
.city-item:nth-child(6) { animation-delay: 0.6s; }
.city-item:nth-child(7) { animation-delay: 0.7s; }
.city-item:nth-child(8) { animation-delay: 0.8s; }
.city-item:nth-child(n+9) { animation-delay: 0.9s; }

.city-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 40, 110, 0.15);
    border-color: var(--primary);
}

.city-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.city-card:hover .city-icon {
    transform: scale(1.2) rotateZ(360deg);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1.2) rotateZ(360deg); }
    50% { transform: scale(1.3) rotateZ(360deg); }
}

.city-card p {
    font-weight: 700;
    color: var(--dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
}

.cta-content {
    animation: slideInUp 0.8s ease;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer p {
    opacity: 0.8;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

body[dir="ltr"] .whatsapp-float {
    right: 30px;
}

body[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* RTL Support */
html[dir="rtl"] .swiper-button-next {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .swiper-button-prev {
    left: auto;
    right: 20px;
}

html[dir="ltr"] .swiper-button-next {
    left: auto;
    right: 20px;
}

html[dir="ltr"] .swiper-button-prev {
    right: auto;
    left: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .counter-number {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .fleet-card {
        height: 300px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    body[dir="rtl"] .whatsapp-float {
        left: 20px;
    }

    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card,
    .city-card {
        margin-bottom: 1rem;
    }

    .btn-gradient {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .counter-section {
        padding: 3rem 0;
    }

    .services-section,
    .fleet-section,
    .cities-section,
    .cta-section {
        padding: 3rem 0;
    }

    .footer {
        padding: 2rem 0 !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}