/* كل تنسيقات الصفحة الرئيسية فقط */

/* الهيرو سكشن */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    color: white;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gold-text {
    color: var(--gold-light);
    font-size: 4rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* الأقسام العامة */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--gold-medium);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-text);
    opacity: 0.8;
}

/* قسم من نحن */
.about-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 100px 0;
}
/* ===== تنسيق قصة النجاح ===== */
.success-story-wrapper {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.story-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

/* التايملاين */
.story-timeline {
    position: relative;
    padding-right: 20px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-right: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-year {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

/* الرسالة */
.story-mission {
    background: linear-gradient(135deg, var(--primary-color), #1e3c72);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.story-mission h4 {
    margin-bottom: 10px;
}

.story-mission p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* بطاقات الإنجازات */
.achievement-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.achievement-card {
    flex: 1;
    min-width: 100px;
    background: var(--light-color);
    padding: 20px 10px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.achievement-card h5 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.achievement-card p {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* تنسيق سلايدر قصة النجاح */
.story-slide {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.story-year .badge {
    padding: 10px 20px;
    border-radius: 50px;
}

.story-stats {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 15px;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* التجاوب */
@media (max-width: 768px) {
    .story-slide {
        min-height: 400px !important;
    }
    
    .story-slide h3 {
        font-size: 1.5rem;
    }
    
    .story-slide p {
        font-size: 1rem !important;
    }
}

/* التجاوب */
@media (max-width: 768px) {
    .story-title {
        font-size: 1.4rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .achievement-cards {
        flex-direction: column;
    }
    
    .achievement-card {
        min-width: auto;
    }
    
    .story-mission p {
        font-size: 1rem;
    }
}

/* قسم الخدمات */
.services-section {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
    padding: 100px 0;
}
/* ========== تنسيقات الخدمات التفصيلية ========== */
.service-item {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.service-item[data-animation="fadeInLeft"] {
    transform: translateX(-50px);
}

.service-item.animated {
    opacity: 1;
    transform: translateX(0);
}

.service-content {
    padding: 2rem;
}

.service-icon {
    font-size: 3rem;
    color: var(--gold-medium);
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.service-btn {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-medium));
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.service-btn:hover {
    background: linear-gradient(45deg, var(--gold-medium), var(--gold-light));
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.3);
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-image img {
    transition: all 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* زر عرض جميع الخدمات */
.btn-all-services {
    background: linear-gradient(45deg, var(--gold-light), var(--gold-medium));
    color: var(--primary-dark);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.btn-all-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.4);
    color: var(--primary-dark);
}

/* ========== تنسيقات العداد والإنجازات ========== */
.achievement-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-light);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.achievement-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.achievement-text {
    color: var(--dark-text);
    font-weight: 600;
    margin: 0;
}

/* ========== تنسيقات الكاروسيل ========== */
.about-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.about-carousel .carousel-item {
    height: 500px;
}

.about-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-carousel .carousel-caption {
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    border-radius: 0 0 20px 20px;
    padding: 2rem;
}

/* ========== تنسيقات الأسئلة الشائعة ========== */
.accordion-button {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-medium));
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(45deg, var(--gold-medium), var(--gold-light));
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-item {
    border: 2px solid var(--primary-light);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--gold-medium);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.2);
}

/* ========== تنسيقات المقالات ========== */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-medium);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ========== تنسيقات التواصل ========== */
.contact-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.contact-icon.whatsapp { background: #25D366; color: white; }
.contact-icon.facebook { background: #1877F2; color: white; }
.contact-icon.email { background: var(--gold-medium); color: var(--primary-dark); }
.contact-icon.phone { background: #34B7F1; color: white; }

/* قسم الفروع */
.branches-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 100px 0;
}
/* ========== تنسيقات كاروسل الفروع ========== */
/* قسم الفروع */
.branches-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 100px 0;
}

/* كاروسل الفروع */
#branchesCarousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

#branchesCarousel .carousel-item {
    height: 500px;
    position: relative;
}

#branchesCarousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

#branchesCarousel .carousel-caption {
    background: linear-gradient(transparent, rgba(26, 35, 126, 0.8));
    right: 0;
    left: 0;
    bottom: 0;
    padding: 2rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

#branchesCarousel .carousel-caption h3 {
    color: var(--gold-light);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#branchesCarousel .carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.branch-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.branch-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.branch-info i {
    color: var(--gold-light);
}

/* مؤشرات الكاروسل */
#branchesCarousel .carousel-indicators {
    bottom: 20px;
}

#branchesCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gold-light);
    border: 2px solid white;
}

#branchesCarousel .carousel-indicators .active {
    background-color: white;
    border-color: var(--gold-light);
}

/* أزرار التحكم */
#branchesCarousel .carousel-control-prev,
#branchesCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: var(--gold-medium);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

#branchesCarousel .carousel-control-prev {
    right: 20px;
}

#branchesCarousel .carousel-control-next {
    left: 20px;
}

#branchesCarousel .carousel-control-prev:hover,
#branchesCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* قائمة الفروع السريعة */
.branches-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1rem;
}

.branch-tag {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-medium));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.branch-tag:hover {
    background: var(--gold-medium);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--primary-dark);
}

/* زر عرض جميع الفروع */
.btn-all-branches {
    background: linear-gradient(45deg, var(--gold-light), var(--gold-medium));
    color: var(--primary-dark);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.btn-all-branches:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.4);
    color: var(--primary-dark);
}


/* قسم الأسئلة الشائعة */
.faq-section {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
    padding: 100px 0;
}

/* قسم المقالات */
.articles-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 100px 0;
}
/* قسم المقالات */
.articles-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 100px 0;
}

/* بطاقة المقال */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.article-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.article-full {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.article-full.show {
    display: block !important;
}

.article-excerpt.hide {
    display: none;
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;

}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-medium);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--primary-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--dark-text);
    opacity: 0.7;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-btn {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-medium));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
}

.article-btn:hover {
    background: linear-gradient(45deg, var(--gold-medium), var(--gold-light));
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* زر عرض جميع المقالات */
.btn-all-articles {
    background: linear-gradient(45deg, var(--gold-light), var(--gold-medium));
    color: var(--primary-dark);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.btn-all-articles:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.4);
    color: var(--primary-dark);
}

/* قسم التواصل */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 100px 0;
    color: white;
}
/* ========== تنسيقات الخريطة ========== */
.contact-map {
    margin-top: 1rem;
}

.map-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 400px;
    position: relative;
}

.placeholder-map {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    position: relative;
}

.placeholder-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/><path d="M50,10 L70,30 L90,10" stroke="rgba(255,215,0,0.3)" fill="none"/><circle cx="50" cy="50" r="5" fill="rgba(255,215,0,0.5)"/></svg>');
    opacity: 0.5;
}

.map-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.map-content i {
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.map-content h4 {
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.map-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.btn-open-map {
    background: var(--gold-medium);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.btn-open-map:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4);
}
/* تحسين التجاوب للفروع والخريطة */
@media (max-width: 768px) {
    .branches-carousel .carousel-item {
        height: 400px;
    }
    
    .branches-carousel .carousel-caption {
        padding: 1rem;
    }
    
    .branches-carousel .carousel-caption h3 {
        font-size: 1.4rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-content i {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .branches-carousel .carousel-item {
        height: 300px;
    }
    
    .branches-carousel .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .branch-info {
        padding: 0.5rem;
    }
    
    .branch-info p {
        font-size: 0.8rem;
    }
    
    .map-container {
        height: 250px;
    }
}

/* التجاوب للصفحة الرئيسية فقط */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .gold-text {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-section,
    .services-section,
    .branches-section,
    .faq-section,
    .articles-section,
    .contact-section {
        padding: 60px 0;
    }
}
/* أنيميشنز خفيفة بدل animate.css */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-content {
    animation: fadeInRight 0.8s ease-out;
}

.hero-image {
    animation: fadeInLeft 0.8s ease-out;
}

.cta-button {
    animation: gentlePulse 2s ease-in-out infinite;
}

/* إذا المستخدم بيحبش الأنيميشنز */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ========== تنسيقات صفحة الخدمات ========== */

/* هيرو الخدمات */
.services-hero {
    background:url(../assets/images/palace.jpg) no-repeat center center/cover;
    color: white;
    padding-top: 100px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
/* خدمات مباشرة */
.services-direct {
    background: var(--light-bg);
}

/* كروت الخدمات */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card-content h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card-content p {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-read-more {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    width: 100%;
    transition: all 0.3s ease;
}

.service-read-more:hover {
    background: var(--gold-medium);
    color: var(--primary-dark);
}

/* الموديل */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    z-index: 10000;
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-dark);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-image {
    height: 300px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 2rem;
}

.modal-details h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.modal-description {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-description h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.modal-description h5 {
    color: var(--primary-medium);
    margin: 1.5rem 0 1rem 0;
}

.modal-description ul {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.modal-description li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.btn-book {
    background: var(--gold-medium);
    color: var(--primary-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    width: 100%;
}

/* تجاوب */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-details {
        padding: 1.5rem;
    }
}
/* باقات التنظيف */
.cleaning-packages {
    margin: 1.5rem 0;
}

.package-card {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-right: 4px solid var(--gold-medium);
}

.package-card h6 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}
/* قسم الخريطة */
.branches-map-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* منطقة الفروع */
.region-section {
    margin-bottom: 4rem;
}

.region-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* كروت الفروع */
.branch-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    border-right: 4px solid var(--gold-medium);
}

.branch-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.branch-header i {
    font-size: 1.5rem;
    margin-left: 1rem;
}

.branch-header h3 {
    color: var(--primary-dark);
    margin: 0;
    font-size: 1.5rem;
}

.branch-neighborhoods h5 {
    color: var(--primary-medium);
    margin-bottom: 0.5rem;
}

.branch-neighborhoods p {
    color: var(--dark-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.branch-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--dark-text);
}

.branch-info i {
    color: var(--gold-medium);
    margin-left: 0.5rem;
    width: 20px;
}

.branch-description {
    color: var(--dark-text);
    line-height: 1.7;
    margin-top: 1.5rem;
    font-style: italic;
}

.branch-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* حركات الكروت */
.card-from-right {
    transform: translateX(100px);
    opacity: 0;
    animation: slideFromRight 0.8s ease forwards;
}

.card-from-left {
    transform: translateX(-100px);
    opacity: 0;
    animation: slideFromLeft 0.8s ease forwards;
}
/* حركات الكروت */
/* ===== قوائم المدن المنسدلة ===== */
.city-dropdowns {
    margin: 30px 0;
}

.city-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* تنسيق الزر - موحد في كل الأوضاع */
.city-dropdown-btn {
    background: linear-gradient(135deg, #2c5aa0, #1e3c72);
    color: white;
    padding: 12px 10px;
    width: 100%;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.city-dropdown-btn:hover {
    background: linear-gradient(135deg, #1e3c72, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

/* القائمة المنسدلة - تنسيق موحد */
.city-dropdown-content {
    display: none;
    position: absolute;
    background: #1e1e2e;
    min-width: 250px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.3);
    border-radius: 12px;
    z-index: 1000;
    top: 100%;
    right: 0;
    margin-top: 10px;
    border: 1px solid #3a7bd5;
    overflow: hidden;
}

.city-dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* سهم صغير فوق القائمة */
.city-dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #3a7bd5;
}

/* المحتوى الداخلي للقائمة */
.dropdown-inner {
    padding: 15px;
    text-align: center;
    background: #1e1e2e;
}

.dropdown-inner p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.dropdown-inner hr {
    margin: 10px 0;
    border-color: #444;
}

/* أزرار الاتصال في القائمة */
.dropdown-phone {
    display: block;
    padding: 8px;
    margin: 5px 0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: #28a745;
    color: white;
    text-align: center;
}

.dropdown-whatsapp {
    display: block;
    padding: 8px;
    margin: 5px 0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: #25d366;
    color: white;
    text-align: center;
}

.dropdown-phone:hover,
.dropdown-whatsapp:hover {
    transform: scale(0.98);
    color: white;
    opacity: 0.9;
}

/* أيقونة الموقع */
.dropdown-inner i.fa-map-marker-alt {
    display: block;
    text-align: center;
}

/* التجاوب */
@media (max-width: 768px) {
    .city-dropdown-btn {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .city-dropdown-content {
        min-width: 220px;
        right: -50%;
    }
}

@media (max-width: 576px) {
    .city-dropdown-content {
        min-width: 200px;
        right: -30%;
    }
    
    .dropdown-inner p {
        font-size: 0.75rem;
    }
    
    .dropdown-phone,
    .dropdown-whatsapp {
        font-size: 0.75rem;
        padding: 6px;
    }
}

@keyframes slideFromRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* التجاوب */
@media (max-width: 768px) {
    .branch-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .branch-header h3 {
        font-size: 1.3rem;
    }
    
    .region-title {
        font-size: 1.8rem;
    }
}
/* تنسيقات التجميع حسب المحافظة */
.branch-neighborhoods p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.branch-neighborhoods strong {
    color: var(--primary-dark);
    display: inline-block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

/* تحسين التجاوب */
@media (max-width: 768px) {
    .branch-neighborhoods p {
        font-size: 0.85rem;
    }
}
/* هيرو المقالات */
.articles-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* شريط البحث */
.search-section {
    padding: 30px 0;
    background: white;
}

.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* نظام الأكورديون */
.articles-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.article-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.article-header {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.article-header.active {
    background: #3498db;
    color: white;
}

.article-header.active .article-category {
    background: rgba(255,255,255,0.2);
    color: white;
}

.article-title {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: inherit;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.article-category {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.article-icon {
    transition: transform 0.3s ease;
}

.article-header.active .article-icon {
    transform: rotate(180deg);
}

.article-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-content.active {
    max-height: 2000px;
}

.article-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body h4 {
    color: #2c3e50;
    margin: 20px 0 15px;
}

.article-body ul {
    margin: 15px 0;
    padding-right: 20px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-tips {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-right: 4px solid #3498db;
}

.article-actions {
    padding: 20px 0 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.like-btn {
    background: none;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.like-btn:hover, .like-btn.liked {
    background: #e74c3c;
    color: white;
}

.like-btn.liked i {
    color: white;
}
/* أنيميشن ظهور المقالات */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تطبيق الأنيميشن على العناصر */
.articles-hero {
    animation: slideDownFade 0.8s ease-out;
}

.search-section {
    animation: slideUpFade 0.8s ease-out 0.2s both;
}

.article-item {
    animation: slideUpFade 0.8s ease-out both;
}

/* تأخير متدرج للمقالات */
.article-item:nth-child(1) { animation-delay: 0.4s; }
.article-item:nth-child(2) { animation-delay: 0.5s; }
.article-item:nth-child(3) { animation-delay: 0.6s; }
.article-item:nth-child(4) { animation-delay: 0.7s; }
.article-item:nth-child(5) { animation-delay: 0.8s; }
.article-item:nth-child(6) { animation-delay: 0.9s; }

/* أنيميشن سلس للأكورديون */
.article-content {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* أنيميشن عند الـ hover */
.article-item {
    transition: all 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* أنيميشن للزر العائم */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.floating-buttons {
    animation: bounceIn 0.8s ease-out 1s both;
}

/* أنيميشن للإعجابات */
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.like-btn.liked i {
    animation: heartBeat 0.6s ease;
}
/* ========== تنسيقات بطاقات الإنجازات ========== */
/* إنفوجرافيك خطوات النقل - متجاوب */
.infographic-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.5;
}

.infographic-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .infographic-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .infographic-section {
        padding: 40px 15px;
    }
}

/* للشاشات المتوسطة */
@media (min-width: 769px) and (max-width: 1024px) {
    .infographic-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 15px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    margin-bottom: 10px;
    opacity: 0.7;
}

.step-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 15px;
}

.step-card h4 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-card p {
    opacity: 0.9;
    line-height: 1.5;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.infographic-footer {
    margin-top: 40px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
}

.stat {
    text-align: center;
    padding: 0 15px;
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    opacity: 0.9;
}
/* قصة نجاح الشركة - متجاوب */
.success-story {
    padding: 60px 20px;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .story-content {
        grid-template-columns: 2fr 1fr;
        gap: 60px;
    }
}

.story-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
    text-align: center;
}

@media (min-width: 768px) {
    .story-title {
        text-align: right;
    }
}

.story-timeline {
    position: relative;
    margin-bottom: 40px;
    padding-right: 0;
}

@media (min-width: 768px) {
    .story-timeline {
        padding-right: 40px;
    }
    
    .story-timeline::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #3498db;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-right: 0;
}

@media (min-width: 768px) {
    .timeline-item {
        padding-right: 40px;
    }
}

.timeline-year {
    position: relative;
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .timeline-year {
        position: absolute;
        right: -60px;
        top: 0;
        margin-bottom: 0;
    }
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .timeline-content {
        padding: 25px;
        border-radius: 15px;
    }
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: clamp(1.1rem, 3vw, 1.2rem);
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.story-mission {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-right: 4px solid #3498db;
}

@media (min-width: 768px) {
    .story-mission {
        padding: 30px;
        border-radius: 15px;
    }
}

.story-mission h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: clamp(1.1rem, 3vw, 1.2rem);
}

.story-mission p {
    color: #666;
    line-height: 1.6;
    font-style: italic;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.story-visual {
    position: relative;
}

@media (min-width: 1024px) {
    .story-visual {
        position: sticky;
        top: 100px;
    }
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

@media (min-width: 1024px) {
    .achievement-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

.achievement-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
}

@media (min-width: 1024px) {
    .achievement-card {
        padding: 25px;
        border-radius: 15px;
        min-height: 160px;
    }
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.achievement-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 12px;
}

.achievement-card h5 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.achievement-card p {
    color: #666;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.4;
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 360px) {
    .infographic-steps {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        padding: 20px 10px;
        min-height: 200px;
    }
    
    .timeline-content,
    .story-mission {
        padding: 15px;
    }
    
    .achievement-cards {
        grid-template-columns: 1fr;
    }
}

/* تحسينات للشاشات الكبيرة */
@media (min-width: 1440px) {
    .infographic-steps {
        gap: 30px;
    }
    
    .step-card {
        padding: 30px 20px;
        min-height: 240px;
    }
    
    .story-content {
        gap: 80px;
    }
}
