


/* قسم البداية (Hero) */
.hero-section {
    padding: 7rem 0 6rem;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.hero-section .display-4 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-shape {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-color);
    border-radius: 8px;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    bottom: -15px;
    right: 30px;
    z-index: 2;
}

/* الخدمات */
.py-7 { 
    padding-top: 6rem; 
    padding-bottom: 6rem; 
}

.service-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s;
}

.card:hover .service-img {
    transform: scale(1.1);
}

.service-category-badge {
    position: absolute;
    top: -15px;
    right: 20px;
}

/* المناطق الجغرافية */
.region-card {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.region-card:hover {
    transform: translateY(-10px);
}

.region-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.region-card:hover img {
    transform: scale(1.1);
}

.region-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
}

.city-chip {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: white;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.city-chip:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* الإحصائيات */
.stat-box {
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

/* ميزات لماذا تختارنا */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.bg-primary-soft { background-color: rgba(26, 82, 118, 0.15); }
.bg-success-soft { background-color: rgba(46, 204, 113, 0.15); }
.bg-warning-soft { background-color: rgba(243, 156, 18, 0.15); }
.bg-info-soft { background-color: rgba(52, 152, 219, 0.15); }

/* قسم المشاريع */
.project-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

/* قسم الاتصال السريع */
.cta-section {
    position: relative;
    overflow: hidden;
}

/* قسم الخريطة */
.map-overlay-card {
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: 300px;
    z-index: 1;
}

/* الخدمات الشائعة في المنطقة */
.popular-service-badge {
    display: inline-block;
    background-color: rgba(26, 82, 118, 0.1);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.popular-service-badge:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* تأثيرات متحركة للعناصر */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* مسار التنقل المحلي */
.local-breadcrumb {
    display: inline-flex;
    align-items: center;
    background-color: rgba(26, 82, 118, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.local-breadcrumb a {
    color: var(--primary-dark);
    text-decoration: none;
}

.local-breadcrumb i {
    margin: 0 0.5rem;
    color: var(--primary-color);
}

.local-breadcrumb span {
    font-weight: 600;
    color: var(--primary-color);
}

/* تعديلات مستجيبة للهاتف المحمول */
@media (max-width: 767.98px) {
    .hero-section { 
        padding: 4rem 0 3rem; 
    }
    .floating-badge { 
        right: 10px; 
    }
    .map-overlay-card { 
        position: relative; 
        top: 0; 
        right: 0; 
        max-width: 100%; 
        margin-top: 20px; 
    }
    .swiper-button-next, 
    .swiper-button-prev {
        display: none;
    }
}
