html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff;
    direction: rtl;
    color: #003366;
    line-height: 1.6;
}

header {
    background: #007acc;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

header h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

header p {
    font-size: 18px;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #005fa3;
}

nav a {
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

nav a:hover {
    background-color: #004b80;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

h2 {
    font-size: 28px;
    color: #005fa3;
    margin-bottom: 20px;
    border-right: 5px solid #007acc;
    padding-right: 10px;
}

p,
li {
    font-size: 18px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

ul {
    list-style: none;
    padding: 0;
}

ul li::before {
    content: '📞';
    margin-left: 8px;
    color: #007acc;
}

footer {
    background-color: #007acc;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* أزرار عائمة */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #12e35f;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.floating-buttons a.call {
    background-color: #007acc;
}

.floating-buttons a:hover {
    opacity: 0.9;
}

.headimg {
    text-align: center;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    header {
        padding: 30px 10px;
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 16px;
    }

    nav a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .container {
        padding: 20px 10px;
    }

    h2 {
        font-size: 24px;
    }

    .gallery img {
        height: 150px;
    }

    .floating-buttons a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .headimg img {
        max-width: 100%;
        height: auto;
    }
}