/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
}

/* Navbar */
.navbar {
    background: #ffffff;
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3436;
}

.logo span {
    color: #0984e3;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #2d3436;
    margin: 0 15px;
    font-weight: 500;
    transition: 0.3s;
    font-weight: bolder;
}

.nav-links li a:hover {
    color: #0984e3;
}

.btn-nav {
    background: #0984e3;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Mobile Menu Toggler */
.menu-toggler {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 80vh;
    overflow: hidden;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.btn-main {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 15px 30px;
    background: #0984e3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Services */
.services {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

/* RESPONSIVE DESIGN (Mobile) */
@media (max-width: 768px) {
    .menu-toggler {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: -100%;
        background: white;
        width: 100%;
        flex-direction: column;
        padding: 40px 0;
        transition: 0.5s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* --- Footer Styles --- */
.footer {
    background: #2d3436;
    color: #dfe6e9;
    padding: 60px 0 20px 0;
    margin-top: 50px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #0984e3;
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list i {
    color: #0984e3;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #636e72;
    font-size: 0.85rem;
    color: #b2bec3;
}

/* --- Sticky WhatsApp Button --- */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-sticky:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Tooltip for WhatsApp */
.whatsapp-sticky .tooltip {
    visibility: hidden;
    width: 100px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    right: 75px;
    font-size: 14px;
    font-family: sans-serif;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-sticky:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Mobile Adjustments for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-list li {
        justify-content: center;
    }

    .whatsapp-sticky {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

/* --- Gallery Section --- */
.work-gallery {
    padding: 20px 5%;
    background: #fff;
}

.gallery-container {
    display: flex;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    flex: 1;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item h3 {
    text-align: center;
    font-size: x-large;
    font-weight: bolder;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


/* Hover Effect: Zoom and Overlay */
.gallery-item:hover img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-overlay span {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .img-overlay {
    opacity: 1;
}

.gallery-item:hover .img-overlay span {
    transform: translateY(0);
}

/* Mobile Adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
        /* Stack images vertically on phones */
    }

    .gallery-item {
        height: 250px;
    }

    .img-overlay {
        opacity: 1;
        /* Keep text visible on mobile since there is no 'hover' */
    }
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
    /* Arabic Font */
}

body {
    background-color: #f4f7f6;
    color: #333;
    text-align: right;
    /* Default Arabic alignment */
}

/* Navbar Adjustment for RTL */
.navbar {
    background: #ffffff;
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    /* Flex stays row, but dir="rtl" flips the visual order */
}

/* Fixed Tooltip Position for RTL */
.whatsapp-sticky .tooltip {
    left: 75px;
    /* Moved to left since button is on the right */
    right: auto;
}

/* Service Card Fixes */
.card-body {
    text-align: right;
}

/* Footer Heading Fix */
.footer-col h3::after {
    right: 0;
    /* Line starts from right in RTL */
    left: auto;
}

/* Mobile Toggler Position */
@media (max-width: 768px) {
    .nav-links {
        right: auto;
        left: -100%;
        /* Slide in from left on mobile for RTL */
        text-align: center;
    }

    .nav-links.active {
        left: 0;
    }
}

/* About Company Section */
.about-company {
    padding: 80px 5%;
    background-color: #ffffff;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.owner-profile {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.owner-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: #f8faff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2ff;
    position: relative;
    max-width: 350px;
}

.owner-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.owner-badge {
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.company-info {
    flex: 1.5;
    min-width: 300px;
}

.section-subtitle {
    color: #2563eb;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.company-title {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 20px;
}

.company-desc {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #334155;
}

.stat-item i {
    color: #22c55e;
}

.contact-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 10px;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .company-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.contact-list li i.fa-clock {
    color: #22c55e;
    /* Isse clock icon green ho jayega jo "Available" ko show karta hai */
}

.contact-list li:last-child {
    font-weight: bold;
    color: #fff;
}

/* (Include all your previous styles from earlier responses here as well) */