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

html,
body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

:root {
    --primary-color: #1B5E20;
    --secondary-color: #2E7D32;
    --accent-color: #4CAF50;
    --dark-color: #2C3E50;
    --light-color: #FFFFFF;
    --gray-color: #7F8C8D;
    --success-color: #27AE60;
    --shadow-light: 0 4px 15px rgba(27, 94, 32, 0.1);
    --shadow-medium: 0 8px 25px rgba(27, 94, 32, 0.15);
    --shadow-heavy: 0 15px 35px rgba(27, 94, 32, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html,
body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--primary-color);
    padding: 2px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo[style*="display: none"]+span::before {
    content: "🚚 ";
    color: var(--primary-color);
    font-size: 1.2em;
}

.nav-brand {
    position: relative;
}

.nav-brand::before {
    content: "🚚";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo[style*="display: none"]~* {
    margin-right: 50px;
}

.logo[style*="display: none"]+span {
    position: relative;
}

.logo:not([style*="display: none"])+span {
    margin-right: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 55%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.shape-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.shape:hover .shape-logo {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes float {

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

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--light-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.app-download-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.app-download-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.app-download-section::before {
    content: "📱";
    display: block;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    animation: phoneShake 2s ease-in-out infinite;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.download-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 3px solid var(--accent-color);
    border-radius: 25px;
    padding: 20px 30px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.2), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.download-btn i {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-text .small {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--secondary-color);
}

.download-text .large {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}</download-text>

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.delivery-animation {
    position: relative;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.main-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.main-hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.main-hero-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.logo-fallback {
    display: none;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.main-hero-logo[style*="display: none"]+.logo-fallback {
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.gps-marker {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 2rem;
    color: var(--accent-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes bounce {

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

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

@keyframes pulse {

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

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-color);
    cursor: pointer;
    animation: scrollPrompt 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--light-color);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin: 10px auto;
}

@keyframes scrollPrompt {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    color: var(--light-color);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 5rem;
    box-shadow: var(--shadow-heavy);
    animation: float 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.about-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.about-logo:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.backup-icon {
    display: none;
}

.about-logo[style*="display: none"]+.backup-icon {
    display: block;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--light-color);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Why Us Section */
.why-us-section {
    padding: 100px 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--light-color);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Driver Section */
.driver-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.driver-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.driver-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.driver-info p {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.7;
}

.benefits-list {
    space-y: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.benefit-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.benefit-item span {
    color: var(--dark-color);
    font-weight: 500;
}

.captain-app-notice {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    text-align: center;
}

.captain-app-notice h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.captain-app-notice p {
    margin-bottom: 20px;
    color: white !important;
}

.captain-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.captain-download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.captain-download-btn i {
    font-size: 1.2rem;
}

.driver-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.registration-form h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}



/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    space-y: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.5rem;
}

.contact-details h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray-color);
}

.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.message-form h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-brand h3 {
    color: var(--primary-color);
    margin: 15px 0;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--primary-color);
    padding: 2px;
}

.footer-logo:error {
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.footer-logo:error::after {
    content: "DLV";
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

    .about-content,
    .driver-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-buttons {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .container {
        padding: 0 15px;
    }
}

`;

/* أيقونة الواتساب المتحركة والثابتة */
.whatsapp-floating-chat {
    position: fixed !important;
    left: 25px !important;
    bottom: 25px !important;
    z-index: 9999999 !important;
    font-family: 'Cairo', sans-serif;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.whatsapp-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #25D366 0%, #1ebf5e 50%, #128C7E 100%);
    color: white;
    padding: 18px 24px;
    border-radius: 60px;
    text-decoration: none;
    box-shadow:
        0 10px 40px rgba(37, 211, 102, 0.4),
        0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappBounce 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    min-width: 70px;
    min-height: 70px;
    transform-origin: center;
}

.whatsapp-chat-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-chat-btn:hover::before {
    left: 100%;
}

.whatsapp-chat-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow:
        0 15px 50px rgba(37, 211, 102, 0.6),
        0 0 0 8px rgba(37, 211, 102, 0.2);
    background: linear-gradient(135deg, #1ebf5e 0%, #25D366 50%, #0FA958 100%);
}

.whatsapp-chat-btn:active {
    transform: translateY(-5px) scale(1.05);
}

.whatsapp-icon {
    font-size: 2rem;
    animation: whatsappIconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.whatsapp-text {
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

@keyframes whatsappBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow:
            0 10px 40px rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        transform: translateY(-5px) scale(1.03);
        box-shadow:
            0 15px 45px rgba(37, 211, 102, 0.5),
            0 0 0 5px rgba(37, 211, 102, 0.3);
    }
}

@keyframes whatsappIconPulse {

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

    25% {
        transform: rotate(-5deg) scale(1.1);
    }

    75% {
        transform: rotate(5deg) scale(1.1);
    }
}

/* تأثير النقر الدائري */
.whatsapp-chat-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
}

.whatsapp-chat-btn:active::after {
    width: 150px;
    height: 150px;
    transition: width 0.2s ease, height 0.2s ease;
}

/* تصميم متجاوب للهواتف */
@media (max-width: 768px) {
    .whatsapp-floating-chat {
        left: 20px !important;
        bottom: 20px !important;
        z-index: 9999999 !important;
        position: fixed !important;
        display: block !important;
    }

    .whatsapp-chat-btn {
        padding: 18px;
        border-radius: 50%;
        width: 70px;
        height: 70px;
        justify-content: center;
        animation: whatsappBounce 2.5s ease-in-out infinite;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-icon {
        font-size: 2.2rem;
        margin: 0;
    }

    .whatsapp-chat-btn:hover {
        transform: translateY(-6px) scale(1.15);
    }
}

@media (max-width: 480px) {
    .whatsapp-floating-chat {
        left: 15px !important;
        bottom: 15px !important;
        position: fixed !important;
        display: block !important;
        z-index: 9999999 !important;
    }

    .whatsapp-chat-btn {
        width: 65px;
        height: 65px;
        padding: 16px;
        box-shadow:
            0 12px 45px rgba(37, 211, 102, 0.5),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    .whatsapp-icon {
        font-size: 2rem;
    }
}

/* تأكيد الموضع الثابت */
.whatsapp-floating-chat {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    will-change: transform;
    pointer-events: auto;
}

.whatsapp-chat-btn:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(37, 211, 102, 0.4),
        0 15px 50px rgba(37, 211, 102, 0.6);
}

/* ضمان عدم التداخل مع عناصر أخرى */
@media (orientation: landscape) and (max-height: 500px) {
    .whatsapp-floating-chat {
        bottom: 15px;
        left: 15px;
        z-index: 9999999 !important;
    }

    .whatsapp-chat-btn {
        width: 55px;
        height: 55px;
        padding: 14px;
    }

    .whatsapp-icon {
        font-size: 1.6rem;
    }
}

/* تأكيد إضافي لظهور الواتساب */
.whatsapp-floating-chat * {
    pointer-events: auto !important;
    visibility: visible !important;
}

.whatsapp-chat-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

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

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

    .download-btn {
        padding: 12px 20px;
    }

    .service-card,
    .feature-card {
        padding: 30px 20px;
    }

    .driver-form,
    .contact-form {
        padding: 30px 20px;
    }
}

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

/* Loading animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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