﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

body {font-family: 'Cairo', sans-serif; margin:0; padding:0; direction:rtl; background:#f8f9fa; color:#333;}
header {display:flex; align-items:center; justify-content:space-between; background:#168D16; color:white; padding:1px 25px; box-shadow:0 4px 12px rgba(0,0,0,0.2);}
header .logo {height:200px; margin-right:25px;}
header nav a {color:white; margin:0 12px; text-decoration:none; font-weight:bold; transition:color 0.3s;}
header nav a:hover {color:#16a085;}
.slideshow {position:relative; max-width:100%; height:400px; overflow:hidden; margin:25px auto; border-radius:12px; box-shadow:0 6px 16px rgba(0,0,0,0.2);}
.slideshow img {width:100%; height:400px; position:absolute; left:0; top:0; opacity:0; transition:opacity 1s ease-in-out; object-fit:cover;}
.slideshow img.active {opacity:1;}
.about, .services, .contact {max-width:1000px; margin:25px auto; padding:25px; background:#fff; border-radius:15px; box-shadow:0 6px 18px rgba(0,0,0,0.1);}
.about h2, .services h2, .contact h2 { color:#16a085; margin-bottom:15px; }
.services .service-list {display:flex; flex-wrap:wrap; gap:20px;}
.services .service {flex:1 1 calc(33% - 20px); background:#ecf0f1; padding:15px; border-radius:15px; text-align:center; transition: transform 0.3s, box-shadow 0.3s;}
.services .service:hover {transform: scale(1.05); box-shadow:0 10px 20px rgba(0,0,0,0.2);}
.services .service img {width:100%; height:160px; object-fit:cover; border-radius:12px;}
.contact p {font-size:18px; margin:10px 0;}
.contact a {color:#16a085; text-decoration:none;}
.contact a:hover {text-decoration:underline;}
.whatsapp {position:fixed; bottom:20px; left:20px; background:#16a085; color:white; padding:14px 20px; border-radius:50px; text-decoration:none; font-weight:bold; box-shadow:0 6px 16px rgba(0,0,0,0.2); z-index:100; transition: transform 0.3s;}
.whatsapp:hover {transform:scale(1.1);}
.call-btn {
    position: fixed !important;
    bottom: 20px !important; /* نفس مستوى الواتساب */
    right: 20px !important; /* الجنب اليمين */
    background: #1e90ff !important; /* سماوي */
    color: #fff !important;
    width: 58px !important; /* حجم متوسط */
    height: 58px !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;
    z-index: 9999 !important;
    animation: pulse 1.8s infinite;
}

    .call-btn:hover {
        animation: none;
        transform: scale(1.1);
    }

/* نبض خفيف */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}
/* ============================= */
/* ===== Responsive Additions ===== */
/* ============================= */

/* الصور عامة */
img {
    max-width: 100%;
    height: auto;
}

/* ===== تابلت ===== */
@media (max-width: 992px) {

    header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

        header .logo {
            height: 140px;
            margin: 0;
        }

    .services .service {
        flex: 1 1 calc(50% - 20px);
    }

    .slideshow,
    .slideshow img {
        height: 300px;
    }
}

/* ===== موبايل ===== */
@media (max-width: 768px) {

    header nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        header nav a {
            margin: 5px 0;
        }

    .slideshow,
    .slideshow img {
        height: 220px;
    }

    .about,
    .services,
    .contact {
        margin: 15px;
        padding: 15px;
    }

        .services .service {
            flex: 1 1 100%;
        }

            .services .service img {
                height: 180px;
            }

        .contact p {
            font-size: 16px;
        }

    /* تصغير أزرار الاتصال */
    .whatsapp {
        padding: 10px 14px;
        font-size: 14px;
    }

    .call-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
    }
}
/* ========================= */
/* ===== قسم لماذا تختارنا ===== */
.why-choose {
    background-color: #f0f0f0;
    padding: 50px 20px;
    text-align: center;
}

    .why-choose h2 {
        font-size: 28px;
        margin-bottom: 20px;
        color: #2a7f2a;
    }

    .why-choose p {
        font-size: 16px;
        color: #333;
    }

/* ===== الفوتر ===== */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
}

