/* RTL support */
[dir="rtl"] .text-right {
    text-align: right;
}

[dir="rtl"] .flex-row-reverse {
    flex-direction: row-reverse;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/construction.png');
    background-size: cover;
    background-position: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: scale(1.03);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        z-index: 1000;
        padding: 1rem;
    }
}

/* Chatbot specific styles */
#chatbot-container {
    transition: all 0.3s ease;
}

#chatbot-messages {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #e5e7eb;
}

#chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

#chatbot-messages::-webkit-scrollbar-track {
    background: #e5e7eb;
}

#chatbot-messages::-webkit-scrollbar-thumb {
    background-color: #3b82f6;
    border-radius: 3px;
}

#open-chatbot {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

#open-chatbot:hover {
    transform: scale(1.1);
}

 :root {
            --primary: #1d4ed8;
            --primary-dark: #1e40af;
        }
        body {
            font-family: 'Montserrat', sans-serif;
            scroll-behavior: smooth;
        }
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
        }
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .stat-item {
            transition: all 0.3s ease;
        }
        .stat-item:hover {
            background-color: #f8fafc;
        }
        .project-card {
            transition: all 0.3s ease;
            overflow: hidden;
        }
        .project-card img {
            transition: transform 0.5s ease;
        }
        .project-card:hover img {
            transform: scale(1.05);
        }
        .mobile-menu {
            max-height: 0;
            transition: max-height 0.3s ease-out;
            overflow: hidden;
        }
        .mobile-menu.active {
            max-height: 500px;
            transition: max-height 0.5s ease-in;
        }