/* إعادة تعيين الستايل الأساسي */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* الخطوط والألوان الأساسية */
:root {
    --primary-color: #0d3b66;
    --secondary-color: #f95738;
    --accent-color: #25D366;
    --call-color: #1e88e5;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --text-color: #555;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    direction: rtl;
}

/* الحاويات الأساسية */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* الهيدر */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s;
}

header h1 {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

nav {
    display: flex;
}

/* إعدادات عامة */
body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.slider-container {
    max-width: 1200px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
}

/* الإعدادات الرئيسية للمُمر */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 59, 102, 0.7);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slide:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin: 0;
    font-size: 1.5rem;
}

.overlay p {
    margin: 10px 0 0;
    opacity: 0.9;
}

.controls {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev-btn,
.next-btn {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* إعدادات الاستجابة للهواتف */



nav a {
    color: white;
    text-decoration: none;
    margin-right: 25px;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.05rem;
    position: relative;
}

nav a:hover {
    color: var(--secondary-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.contact-options {
    display: flex;
    gap: 8px;
    /* تم تقليل المسافة بين الأزرار */
}

.btn-call,
.btn-wts {
    background: transparent;
    color: white;
    padding: 6px 10px;
    /* تم تقليل الحشو */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
    /* تم تقليل حجم الخط */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    /* تم تقليل المسافة بين الرمز والنص */
}

.btn-call:hover,
.btn-wts:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-call {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-wts {
    border: 1px solid var(--accent-color);
}

/* القسم الرئيسي */
.hero {
    background: linear-gradient(rgba(13, 59, 102, 0.8), rgba(13, 59, 102, 0.9)), url('https://images.unsplash.com/photo-1592534565638-70e5a5b1360e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

/* الأزرار الأساسية */
.btn-primary {
    background: var(--secondary-color);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(249, 87, 56, 0.3);
}

.btn-primary:hover {
    background: #e04a2f;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(249, 87, 56, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* إضافة لصفحة الخدمات - معرض الصور */
.service-gallery {
    padding: 50px 0;
    background: white;
}

.service-gallery h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    transform: translateY(20px);
    transition: all 0.5s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (prefers-reduced-motion: no-preference) {
    .gallery-item {
        transition: all 0.5s ease;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 136, 255, 0.85);
    color: rgb(0, 0, 0);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* الأزرار الصغيرة */
.btn-sm {
    background: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    /* تم تقليل الحشو */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
    font-size: 0.9rem;
    /* تم تقليل حجم الخط */
}

.btn-sm:hover {
    background: #e04a2f;
}

/* عرض الخدمات */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.services-section p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(13, 59, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
}

.feature-item p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: center;
}

/* معاينة "من نحن" */
.about-preview {
    padding: 80px 0;
    background: var(--light-color);
}

.about-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: center;
}

.about-image {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 0;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    display: block;
}

/* معاينة المعرض */
.portfolio-preview {
    padding: 80px 0;
    background: white;
}

.portfolio-preview h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 59, 102, 0.85);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* قسم CTA */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5276 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-methods .btn-call {
    background: var(--call-color);
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
    font-size: 1.1rem;
}

.contact-methods .btn-call:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

.contact-methods .btn-whatsapp {
    background: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
    font-size: 1.1rem;
}

.contact-methods .btn-whatsapp:hover {
    background: #41128c;
    transform: translateY(-2px);
}

/* الفوتر */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-contact h3,
.footer-services h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.footer-about p {
    line-height: 1.8;
    opacity: 0.8;
    text-align: center;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 10px 0;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icons img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: translateY(-3px);
}

.footer-services ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-services li {
    margin-bottom: 12px;
}

.footer-services a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.8;
    display: block;
}

.footer-services a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.95rem;
}

/* الأزرار العائمة (الثابتة) - التعديلات المطلوبة */

.floating-call,
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    background: var(--call-color);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    z-index: 999;
    transition: all 0.3s;
    font-size: 0.9rem;
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
}

.floating-call {
    background: var(--call-color);
    right: 80px;
    /* زر الاتصال على اليمين */
}

.floating-whatsapp {
    background: var(--accent-color);
    right: 20px;
    /* زر الواتساب على اليمين بعد زر الاتصال */
}

.floating-call img,
.floating-whatsapp img {
    width: 20px;
    height: 20px;
}

.floating-call:hover,
.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
    max-width: 200px;
}

.service-details {
    padding: 50px 0;
    background: #f8f9fa;
}

.service-features {
    padding: 50px 0;
    background: white;
}

.service-features h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.feature-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.feature-item:hover .feature-icon img {
    filter: brightness(0) invert(1) brightness(1.2);
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* إضافة تأثيرات عند المرور */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* إصلاح تعارض الأنماط */
.service-details,
.service-features,
.features-grid,
.feature-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
}

/* التأثيرات */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-preview {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .slider-container {
        height: 300px;
    }

    .controls {
        padding: 0 10px;
    }

    .prev-btn,
    .next-btn {
        font-size: 1.5rem;
        padding: 8px 15px;
        width: 45px;
        height: 45px;
    }


    .floating-call {
        right: 5px;
        /* وضع زر الاتصال على اليسار */
    }

    .floating-whatsapp {
        right: 5px;
        /* وضع زر الواتساب على اليمين */
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 15px;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    nav {
        margin: 15px 0;
        width: 100%;
        display: none;
    }

    nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 10px 0;
        font-size: 1.1rem;
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .services-section {
        padding: 50px 0;
    }

    .services-grid {
        gap: 20px;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .about-content h2,
    .portfolio-preview h2 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .service-features h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .feature-icon img {
        width: 45px;
        height: 45px;
    }

    .feature-item h3 {
        font-size: 1.3rem;
    }

    .feature-item p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .service-features {
        padding: 40px 0;
    }

    .service-features h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 18px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 12px;
    }

    .feature-icon img {
        width: 40px;
        height: 40px;
    }

    .feature-item h3 {
        font-size: 1.25rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }
}

@media (min-width: 500px) {

    .floating-call,
    .floating-whatsapp {
        position: fixed;
        bottom: 20px;
        background: var(--call-color);
        color: white;
        padding: 10px 15px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
        z-index: 999;
        transition: all 0.3s;
        font-size: 0.9rem;
        max-width: 150px;
        overflow: hidden;
        white-space: nowrap;
    }

    .floating-call {
        background: var(--call-color);
        right: 80px;
        /* زر الاتصال على اليمين */
    }

    .floating-whatsapp {
        background: var(--accent-color);
        right: 20px;
        /* زر الواتساب على اليمين بعد زر الاتصال */
    }

    .floating-call img,
    .floating-whatsapp img {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 1200px) {
    .service-features {
        padding: 70px 0;
    }

    .service-features h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .features-grid {
        gap: 30px;
        padding: 0 30px;
    }

    feature-item {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 80vh;
        min-height: 500px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    nav a {
        margin: 0 5px;
        font-size: 0.85rem;
    }

    .hero h2 {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-call,
    .services-more .btn-secondary {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* تعديلات الأزرار العائمة للهواتف الصغيرة */
    .floating-call,
    .floating-whatsapp {
        position: fixed;
        bottom: 10px;
        width: calc(48% - 5px);
        max-width: 48%;
        padding: 10px;
        font-size: 0.85rem;
        border-radius: 30px;
        margin-bottom: 0;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
    }

    .floating-call {
        left: 5px;
        /* وضع زر الاتصال على اليسار */
        right: auto;
    }

    .floating-whatsapp {
        right: 5px;
        /* وضع زر الواتساب على اليمين */
        left: auto;
    }

    .floating-call img,
    .floating-whatsapp img {
        width: 18px;
        height: 18px;
        margin-left: 0;
    }


    .floating-call,
    .floating-whatsapp {
        display: flex;
    }

    /* تعديلات أزرار الاتصال في الهيدر للهواتف الصغيرة */
    .contact-options {
        gap: 5px;
        margin-top: 5px;
    }

    .btn-call,
    .btn-wts {
        padding: 5px 8px;
        font-size: 0.8rem;
        gap: 3px;
    }
}

/* إضافة لصفحة الخدمات */
.page-header {
    background: linear-gradient(rgba(13, 59, 102, 0.8), rgba(13, 59, 102, 0.9)), url('https://images.unsplash.com/photo-1592534565638-70e5a5b1360e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.page-header .container {
    max-width: 800px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* إضافة لصفحة الخدمات - فئات الخدمات */
.service-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.service-category {
    background: #e9ecef;
    color: var(--dark-color);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.service-category.active {
    background: var(--primary-color);
    color: white;
}

.service-category:hover {
    background: #ced4da;
}

/* إضافة لصفحة الخدمات - قائمة الخدمات */
.services-list {
    padding: 50px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-content p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* إضافة لصفحة الخدمات - قسم CTA */
.services-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5276 100%);
    color: white;
    text-align: center;
}

.services-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.services-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.services-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* إضافة لصفحة من نحن */
.experience-section {
    padding: 80px 0;
    background: var(--light-color);
}

.experience-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    width: 100%;
}

.timeline-date {
    width: 60%;
    padding-right: 10px;
    text-align: left;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-content {
    width: 45%;
    padding-left: 20px;
    text-align: right;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-color);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-date {
    text-align: right;
    padding-left: 15px;
    padding-right: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
    padding-right: 15px;
    padding-left: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    left: calc(50% - 10px);
}

.timeline-item:nth-child(even)::after {
    right: calc(50% - 10px);
}

/* إضافة لصفحة من نحن - قسم القيم */
.values-section {
    padding: 80px 0;
    background: white;
}

.values-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(13, 59, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon img {
    width: 40px;
    height: 40px;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.7;
}

/* إضافة لصفحة المعرض */
.portfolio-filter {
    padding: 30px 0;
    background: white;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background: #e9ecef;
    color: var(--dark-color);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.filter-btn:hover {
    background: #ced4da;
}

/* إضافة لصفحة الاتصال */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 59, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.contact-icon img {
    width: 30px;
    height: 30px;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* إضافة لصفحة الاتصال - قسم الخريطة */
.map-section {
    padding: 50px 0;
    background: var(--light-color);
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* إضافة لصفحة الاتصال - قسم الدعوة للاتصال */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5276 100%);
    color: white;
    text-align: center;
}

.contact-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.contact-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-feature {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s;
}

.contact-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-feature-icon img {
    width: 35px;
    height: 35px;
}

.contact-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-feature p {
    line-height: 1.7;
    opacity: 0.9;
}

/* إضافة للصفحات الداخلية - قسم CTA */
.services-cta,
.portfolio-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5276 100%);
    color: white;
    text-align: center;
}

.services-cta .container,
.portfolio-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.services-cta h2,
.portfolio-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.services-cta p,
.portfolio-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* إضافة لصفحة من نحن - آراء العملاء */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s;
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* التأثيرات */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(30, 136, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

/* تأثيرات الظهور عند التمرير */
.feature-item,
.portfolio-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-item.visible,
.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}