/* =========================================================
/* =========================================================
   فيصل المجد للديكورات - CSS نهائي ومُصحّح
   ========================================================= */

/* ===== المتغيرات ===== */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #F4A460;
    --light-color: #FFF8DC;
    --dark-color: #654321;
    --text-color: #333;
    --white: #fff;
    --gray: #6c757d;
    --black: #000;
}

/* ===== الأساسيات ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 70px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* ===== الأزرار ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== الهيدر الرئيسي ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== السلايدر الرئيسي ===== */
.slider {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease;
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    right: 10%;
    max-width: 500px;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.1rem;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: var(--white);
}

/* ===== قسم من نحن ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== قسم الخدمات ===== */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-content p {
    margin-bottom: 15px;
}

/* ===== ✅ معرض الأعمال (المُصحح) ===== */
.gallery-section {
    background-color: var(--white);
}

.gallery-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-section .section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.gallery-section .gallery-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-section .gallery-item {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-section .gallery-item.active {
    opacity: 1;
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== قسم اطلب الآن ===== */
.order-now {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=1200&q=60');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.order-now h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.order-now p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ===== الفوتر ===== */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-left: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== أزرار اتصال ثابتة ===== */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.fixed-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-btn {
    background-color: var(--primary-color);
}

/* ===== تأثيرات الحركة ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
    animation: slideDown 1s ease-out forwards;
    opacity: 0;
}

/* ===== ✅ الشريط العلوي للصفحات الداخلية ===== */
.internal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 70px; /* أسفل الهيدر الرئيسي */
    z-index: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.internal-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.internal-header h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
}

.internal-header .back-btn {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.internal-header .back-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* ===== ✅ هيدر الصفحة الداخلية ===== */
.page-header {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-header h1 {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: var(--white);
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    margin: 0;
    font-weight: bold;
}

/* ===== ✅ محتوى الصفحة الداخلية ===== */
.page-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-content .description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

/* ===== ✅ ✅ الصور الدائرية المُحسّنة جداً ===== */
.circular-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.circular-image-container {
    text-align: center;
    transition: transform 0.3s ease;
}

.circular-image-container:hover {
    transform: translateY(-5px);
}

.circular-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.circular-img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.circular-image-container p {
    margin-top: 10px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ===== ✅ Pagination التنقل ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
}

.pagination .btn {
    background: var(--gray);
    padding: 10px 25px;
    border-radius: 25px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .btn:hover {
    background: var(--secondary-color);
}

/* ===== ✅ أزرار اتصال ===== */
.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.btn.call-btn {
    background-color: var(--primary-color);
    color: white;
}

/* ===== ✅ تصميم الجوال المُحسّن جداً ===== */
@media (max-width: 768px) {
    /* الصور الدائرية على الجوال - أنيقة ومنظمة */
    .circular-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .circular-img {
        width: 150px !important;
        height: 150px !important;
        border: 3px solid var(--accent-color);
    }
    
    .circular-image-container p {
        font-size: 0.8rem;
        margin-top: 5px;
    }
    
    /* هيدر الصفحة */
    .page-header {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 2rem;
        right: 20px;
        bottom: 20px;
    }
    
    /* الشريط العلوي */
    .internal-header {
        top: 60px; /* تعديل للهيدر المدمج */
    }
    
    .internal-header h2 {
        font-size: 1.2rem;
    }
    
    .internal-header .back-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }
    
    .pagination .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
   /* نسخة المعرض المضمونة من css/styles.css */

/* معرض الصور - 25 صورة */
.gallery-section {
    background-color: var(--white);
    padding: 80px 0;
}

.gallery-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-section .section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ✅ حاوية السلايدر */
.gallery-section .gallery-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #f8f8f8;
}

/* ✅ عناصر السلايدر */
.gallery-section .gallery-item {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.gallery-section .gallery-item.active {
    opacity: 1;
    z-index: 2;
}

/* ✅ صور السلايدر */
.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ✅ نقاط التحكم */
.gallery-dots {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 12px;
    flex-wrap: wrap;
}

.gallery-dot {
    width: 14px;
    height: 14px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
    border-color: var(--accent-color);
}

/* تصميم الجوال */
@media (max-width: 768px) {
    .gallery-section .gallery-container {
        height: 250px;
        border-radius: 10px;
    }

    .gallery-section .section-title h2 {
        font-size: 2rem;
    }

    .gallery-dots {
        gap: 8px;
        margin-top: 20px;
    }

    .gallery-dot {
        width: 12px;
        height: 12px;
    }
}
/* ============ الهيدر - Header Styles ============ */
.header {
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الشعار */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #f39c12;
}

/* ============ القائمة الرئيسية ============ */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #f39c12;
    background: rgba(255,255,255,0.1);
}

/* ============ زر الهامبرغر ============ */
.mobile-menu {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 5px;
    transition: transform 0.3s;
}

.mobile-menu:hover {
    transform: rotate(90deg);
}

/* ============ التصميم المتجاوب - Mobile Styles ============ */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    /* القائمة عند فتحها */
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 18px;
    }
}

/* ============ مسافة للمحتوى ============ */
body {
    padding-top: 70px; /* لتجنب تداخل المحتوى مع الهيدر المثبت */
}
/* ============================================ */
/* ============ الهيدر مع قائمة هامبرغر ============ */
/* ============================================ */

/* الهيدر المثبت */
.header {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #f39c12;
}

/* القائمة الرئيسية (للديسكتوب) */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #f39c12;
    background: rgba(255,255,255,0.1);
}

/* زر الهامبرغر (للموبايل) */
.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background: #e74c3c;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
}

/* القائمة المنسدقة (للموبايل) - فقط 3 روابط */
.mobile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #2c3e50;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-dropdown li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-dropdown a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    transition: all 0.3s;
}

.mobile-dropdown a:hover {
    background: rgba(255,255,255,0.1);
    color: #f39c12;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
}

/* مسافة للمحتوى */
body {
    padding-top: 70px;
}
/* ============================================ */
/* ============ تحسينات الهيدر والسلايدر ============ */
/* ============================================ */

/* الهيدر المثبت */
header {
    background: rgba(44, 62, 80, 0.98) !important;
    backdrop-filter: blur(15px);
    padding: 12px 0 !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
}

/* محتوى الشريحة المحسّن */
.slide {
    position: relative;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 85%;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* تنسيق النصوص */
.slide-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    line-height: 1.3;
    color: #fff !important;
}

.slide-content .subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #f39c12 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-content .description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ecf0f1 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* أزرار الاتصال العصرية */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.hero-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.hero-buttons a:hover::before {
    left: 100%;
}

.btn-call {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white !important;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
}

.hero-buttons a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hero-buttons i {
    font-size: 1.5rem;
}

/* طبقة تظليل على الصورة */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(44,62,80,0.4));
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

/* نقاط التنقل */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #f39c12;
    transform: scale(1.3);
}

/* للموبايل */
@media (max-width: 768px) {
    .slide-content {
        padding: 25px 15px;
        max-width: 95%;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content .subtitle {
        font-size: 1.2rem;
    }
    
    .slide-content .description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* تأثيرات العيد الإضافية (اختياري) */
.slide-content::after {
    content: '🎉';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
/* ============================================ */
/* ============ تنسيق النص الأصلي ============ */
/* ============================================ */

.description-box {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.description-box p {
    color: #ecf0f1 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
    margin-bottom: 12px !important;
    line-height: 1.7 !important;
    font-size: 1.1rem !important;
}

.description-box p:last-child {
    margin-bottom: 0 !important;
    margin-top: 15px !important;
}

/* تنسيق الأزرار */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.btn-call {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: white !important;
}

.hero-buttons a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* للموبايل */
@media (max-width: 768px) {
    .description-box p {
        font-size: 1rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
}
/* =========== تنسيق هيدر الصورة =========== */
.hero-header {
    position: relative;
    width: 100%;
    height: 100vh; /* اجعله يملأ الشاشة بالكامل */
    min-height: 600px; /* اقل ارتفاع للهاتف */
    overflow: hidden;
}

/* تنسيق الصورة */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تغطية كاملة بدون تشويه */
    filter: brightness(0.6); /* تظليل الصورة لجعل النص أوضح */
}

/* الطبقة الشفافة فوق الصورة */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* خلفية سوداء شفافة */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* حاوية المحتوى */
.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    width: 100%;
}

/* العنوان الرئيسي */
.hero-content h1 {
    font-family: 'Tajawal', sans-serif; /* خط عربي حديث */
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

/* العنوان الفرعي */
.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #f8f9fa;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* مربع الوصف */
.description-box {
    background: rgba(255, 255, 255, 0.1); /* خلفية زجاجية */
    backdrop-filter: blur(10px); /* تأثير blur حديث */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.description-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #ffffff;
}

.description-box p:last-child {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffd700; /* لون مميز للجملة الأخيرة */
}

/* أزرار الاتصال */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* تنسيق الأزرار */
.btn-call, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-call {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.btn-whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
}

/* تأثير hover على الأزرار */
.btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(45deg, #0056b3, #004085);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(45deg, #128C7E, #075E54);
}

/* أيقونات الأزرار */
.btn-call i, .btn-whatsapp i {
    font-size: 1.3rem;
}

/* تأثيرات حركة للنص */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تصميم متجاوب للموبايل */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .description-box {
        padding: 20px;
        margin: 20px auto;
    }
    
    .description-box p {
        font-size: 1rem;
    }
    
    .btn-call, .btn-whatsapp {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .description-box {
        padding: 15px;
    }
}
/* لمسة أنيقة جداً تحت النص في الهيدر */
.hero-content .description-box {
    position: relative;
    padding-bottom: 40px; /* مسافة لإظهار اللمسة */
    margin-bottom: 20px;
}

/* الشريط المتدرج المتحرك */
.hero-content .description-box::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #ffd700, 
        #ff6b6b, 
        #4ecdc4, 
        #ffd700, 
        transparent
    );
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    border-radius: 2px;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ✅ إضافة: نقاط زخرفية صغيرة أسفل الشريط */
.hero-content .description-box::before {
    content: '● ● ●';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 215, 0, 0.6);
    font-size: 0.6rem;
    letter-spacing: 6px;
    animation: dotsPulse 2s ease-in-out infinite;
}

@keyframes dotsPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* تحسين الأزرار لإكمال اللمسة */
.hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn-call:hover,
.hero-buttons .btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* تأثيرات إضافية للبطاقة الكاملة */
.hero-content {
    position: relative;
    overflow: hidden;
}
/* =========== تحسين قسم من نحن للموبايل =========== */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f1 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #25D366, #ffd700);
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* تنسيق العنوان */
.about .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.about .section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.about .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #25D366);
    border-radius: 2px;
}

/* تنسيق المحتوى */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* تنسيق النص */
.about-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
    text-align: justify;
}

/* تنسيق الصورة */
.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* تنسيق الزر */
.about-text .btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.about-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.4);
}

/* =========== تصميم متجاوب للموبايل =========== */
@media (max-width: 768px) {
    .about {
        padding: 50px 0;
    }
    
    .about .section-title {
        margin-bottom: 30px;
    }
    
    .about .section-title h2 {
        font-size: 1.8rem;
    }
    
    /* ترتيب المحتوى: النص فوق الصورة */
    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-text {
        text-align: center;
        order: -1; /* يجعل النص يظهر أولاً */
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .about-text h3::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        text-align: center; /* توسيط النص على الموبايل */
    }
    
    .about-image img {
        height: 250px; /* ارتفاع أصغر على الموبايل */
        border-radius: 10px;
    }
    
    .about-text .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0;
        display: block;
    }
}

@media (max-width: 480px) {
    .about .section-title h2 {
        font-size: 1.5rem;
    }
    
    .about-content {
        gap: 20px;
    }
    
    .about-image img {
        height: 200px;
    }
}
/* ✅ حركة انسيابية خاصة بكلمة "نحن" */
.about-text h3.animate-text {
    position: relative;
    opacity: 0;
    transform: translateX(-100px); /* تبدأ من اليسار */
    animation: slideInSmooth 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.3s; /* تبدأ بعد 0.3 ثانية من فتح الصفحة */
    display: inline-block;
}

@keyframes slideInSmooth {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* إذا أردت إضافة حركة للعناصر الأخرى تلقائياً */
.about-text p.animate-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.about-text p.animate-text:nth-of-type(1) {
    animation-delay: 0.8s;
}

.about-text p.animate-text:nth-of-type(2) {
    animation-delay: 1.1s;
}

.about-text .btn.animate-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}