/* ===== Navbar Css start ===== */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0;
    min-height: 70px;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
    z-index: 1030; /* زيادة z-index */
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c3e50 !important;
    padding: 20px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover {
    color: #3498db !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
    color: #3498db;
}

.navbar-toggler {
    border: none;
    padding: 8px 10px;
    margin-right: 10px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 2px;
    background-color: #2c3e50;
    position: relative;
    display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #2c3e50;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

.navbar-collapse {
    background: white;
}

.navbar-nav {
    padding: 10px 0;
}

.nav-item {
    margin: 0;
    border-bottom: 1px solid #f8f9fa;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db !important;
    background: #f8f9fa;
    padding-left: 25px !important;
}

.nav-link.active {
    color: #2c3e50 !important;
    font-weight: 600;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .navbar {
        min-height: 75px;
    }
    
    .navbar-collapse {
        background: transparent;
    }
    
    .navbar-nav {
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0;
    }
    
    .nav-item {
        border-bottom: none;
        height: 100%;
        display: flex;
        align-items: center;
        margin: 0;
    }
    
    .nav-link {
        padding: 0 20px !important;
        height: 100%;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-link:hover {
        color: #3498db !important;
        background: transparent;
        padding-left: 20px !important;
        transform: translateY(-2px);
    }
    
    .nav-link.active {
        color: #2c3e50 !important;
        background: transparent;
        font-weight: 600;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: #3498db;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after {
        width: 70%;
    }
    
    .nav-link.active::after {
        width: 70%;
        background: #2c3e50;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-brand {
        font-size: 1.3rem;
        padding: 18px 0;
    }
    
    .nav-link {
        padding: 12px 15px !important;
        font-size: 0.9rem;
    }
    
    .nav-link:hover {
        padding-left: 18px !important;
    }
}

@media (max-width: 767px) {
    .navbar {
        min-height: 60px;
    }

    .car-details-image {
        width: 100%;
        height: auto !important;
        object-fit: cover;
    }

    .quick-info-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr)!important;
        gap: 15px;
        margin: 20px 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
        padding: 15px 0;
    }
    
    .navbar-toggler {
        padding: 6px 8px;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1050; /* زيادة z-index */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #f1f1f1;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-link {
        padding: 12px 20px !important;
        font-size: 0.9rem;
        border-left: 3px solid transparent;
    }
    
    .nav-link:hover {
        padding-left: 25px !important;
        border-left-color: #3498db;
        background: #f8f9fa;
    }
    
    .nav-link.active {
        border-left-color: #3498db;
        background: #f8f9fa;
        color: #2c3e50 !important;
    }

    .h4, h4 {
        font-size: calc(1.025rem + .3vw);
    }

    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        flex-direction: column;
    }

    .calendar-title {
        FONT-VARIANT: JIS83;
        font-size: 1.3rem;
        color: #333;
        margin-bottom: 15px !important;
    }

    .car-details-page {
        padding: 10px !important;
    }
}

.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98) !important;
}

.nav-link:focus {
    outline: 2px solid rgba(52, 152, 219, 0.3);
    outline-offset: 2px;
    border-radius: 3px;
}

@media (min-width: 1200px) {
    .navbar-container {
        max-width: 1140px;
    }
    
    .nav-link {
        padding: 0 25px !important;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show .nav-item {
    animation: slideIn 0.3s ease forwards;
}

.navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.1s; }
.navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.2s; }
.navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.3s; }
.navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.4s; }
.navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.5s; }

/* =====  Navbar Css End  ===== */
/* ---- car details css start ---- */
        /* تنسيقات CSS المحسنة */
                .review-text {
            line-height: 1.6;
        }
        
        .review-text.short {
            max-height: 100px;
            overflow: hidden;
            position: relative;
        }
        
        .review-text.short::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 40px;
            background: linear-gradient(transparent, white);
            pointer-events: none;
        }
        
        .read-more-btn {
            background: none;
            border: none;
            color: #667eea;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 5px 0;
            margin-top: 5px;
            display: inline-block;
        }
        
        .read-more-btn:hover {
            color: #764ba2;
            text-decoration: underline;
        }
        
        .pagination {
            margin-top: 30px;
            text-align: center;
        }
        
        .pagination-btn {
            display: inline-block;
            padding: 8px 15px;
            margin: 0 5px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .pagination-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
        .pagination-info {
            display: inline-block;
            padding: 8px 15px;
            margin: 0 5px;
            background: #f0f0f0;
            border-radius: 5px;
        }
        
        .pagination-btn.disabled {
            opacity: 0.5;
            pointer-events: none;
            cursor: not-allowed;
        }
        
        .load-more-container {
            text-align: center;
            margin-top: 20px;
        }
        
        .load-more-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .load-more-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
        .load-more-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .car-details-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .breadcrumb-nav {
            margin-bottom: 30px;
            padding: 15px 0;
            color: #095fe8;
        }
        
        .breadcrumb-nav a {
            color: #333;
            text-decoration: none;
        }
        
        .breadcrumb-nav i {
            margin: 0 10px;
            font-size: 12px;
        }
        
        .car-details-top {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .car-image-gallery {
            position: relative;
        }
        
        .main-image {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .car-details-image {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }
        
        .car-details-image:hover {
            transform: scale(1.05);
        }
        
        .availability-badge {
            position: absolute;
            top: 8px;
            left: 6px;
            padding: 3px 7px;
            border-radius: 20px;
            font-weight: 500;
            font-size: 12px;
            color: white;
            z-index: 2;
        }
        
        .availability-badge.available {
            background: linear-gradient(135deg, #4CAF50, #45a049);
        }
        
        .availability-badge.not-available {
            background: linear-gradient(135deg, #FF9800, #F57C00);
        }
        
        .car-details-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 15px;
            line-height: 1.3;
        }
        
        .car-year {
            font-size: 1.8rem;
            color: #666;
            font-weight: 400;
        }
        
        .car-rating {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .stars {
            display: flex;
            gap: 2px;
        }
        
        .stars i {
            color: #ddd;
            font-size: 1.2rem;
        }
        
        .stars i.filled {
            color: #ffc107;
        }
        
        .rating-text {
            color: #666;
        }
        
        .price-section {
            background: linear-gradient(135deg, #3c8ce2 0%, #3cb6e2 100%);
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 25px;
            color: white;
        }
        
        .daily-rate {
            display: flex;
            align-items: baseline;
            gap: 8px;
        }
        
        .rate-label {
            font-size: 1.3rem;
            opacity: 0.9;
        }
        
        .rate-value {
            font-size: 2rem;
            font-weight: 800;
        }
        
        .rate-period {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .quick-info-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .info-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 12px;
        }
        
        .info-item i {
            font-size: 1.2rem;
            color: #068cbd;
            width: 24px;
        }
        
        .info-label {
            font-size: 0.8rem;
            color: #333;
            display: block;
        }
        
        .info-value {
            font-size: 1rem;
            font-weight: 600;
            color: #333;
        }
        
        .cta-buttons {
            display: flex;
            gap: 15px;
        }
        
        .btn-book-now, .btn-contact, .btn-details {
            flex: 1;
            padding: 15px 25px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .btn-book-now {
            background: linear-gradient(135deg, #3c8ce2, #00bafc);
            color: white;
        }
        
        .btn-book-now:hover {
            background: linear-gradient(135deg, #00bafc, #206bfb);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
            color: white;
        }
        
        .btn-book-now.disabled {
            background: #ccc;
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .btn-contact {
            background: #f0f2f5;
            color: #333;
        }
        
        .btn-contact:hover {
            background: #e4e6e9;
            transform: translateY(-2px);
        }
        
        .details-tabs {
            display: flex;
            gap: 5px;
            margin-bottom: 30px;
            border-bottom: 2px solid #eee;
            padding-bottom: 0;
        }
        
        .tab-btn {
            padding: 6px 20px;
            margin-top: 20px;
            background: #eceef0;
            border: none;
            border-bottom: 2px solid transparent;
            font-weight: 600;
            color: #333;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 10px 10px 0 0;
        }
        
        .tab-btn.active {
            color: #1652ab;
            background: #e4e6e9;
            border-bottom-color: #b6b7b8;
        }
        
        .tab-btn:hover {
            background: #e4e6e9;
            color: #0c3169;
        }
        
        .tab-content {
            margin-bottom: 50px;
        }
        
        .tab-pane {
            display: none;
            padding: 20px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .tab-pane.active {
            display: block;
        }
        
        .features-list, .conditions-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        
        .feature-item, .condition-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .feature-item i {
            color: #4CAF50;
        }
        
        .condition-item i {
            color: #667eea;
        }
        
        .availability-calendar-section {
            margin-top: 50px;
            padding: 15px;
            background: #fdfdfe;
            border-radius: 16px;
        }
        
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .calendar-title {
            font-size: 1.5rem;
            color: #333;
            margin: 0;
        }
        
        .calendar-navigation {
            display: flex;
            gap: 10px;
        }
        
        .nav-btn {
            padding: 10px 20px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .nav-btn:hover {
            background: #667eea;
            color: white;
            border-color: #667eea;
        }
        
        .calendar-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px;
            margin-bottom: 30px;
            overflow-x: auto;
            padding: 10px 0;
        }
        
        .month-calendar {
            background: white;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .month-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            margin-bottom: 10px;
        }
        
        .weekday {
            text-align: center;
            font-size: 0.8rem;
            font-weight: 600;
            color: #666;
            padding: 5px;
        }
        
        .days-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
        }
        
        .day-cell {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .day-cell.available {
            background: #e8f5e9;
            color: #2e7d32;
        }
        
        .day-cell.future {
            background: #ffd99d;
            color: #854403;
        }
        
        .day-cell.current {
            background: #ffcdd2;
            color: #c62828;
            font-weight: 600;
        }
        
        .day-cell.pending {
            background: #fff9c4;
            color: #fbc02d;
            position: relative;
            overflow: hidden;
        }
        
        .day-cell.pending::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                45deg,
                rgba(251, 192, 45, 0.1),
                rgba(251, 192, 45, 0.1) 5px,
                rgba(255, 255, 255, 0.1) 5px,
                rgba(255, 255, 255, 0.1) 10px
            );
            pointer-events: none;
        }
        
        .day-cell.past {
            background: #f5f5f5;
            color: #9e9e9e;
        }
        
        .day-cell.today {
            border: 2px solid #667eea;
            font-weight: 700;
        }
        
        .day-cell.empty {
            background: transparent;
        }
        
        .legend {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
        }
        
        .legend-color.available { background: #e8f5e9; }
        .legend-color.future { background: #ffd99d; }
        .legend-color.current { background: #ffcdd2; }
        .legend-color.pending { background: #fff9c4; }
        .legend-color.past { background: #f5f5f5; }
        
        .reviews-summary {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
        }
        
        .average-rating {
            text-align: center;
        }
        
        .rating-number {
            font-size: 3rem;
            font-weight: 700;
            color: #333;
            display: block;
            line-height: 1;
        }
        
        .reviews-count {
            color: #666;
            margin-top: 5px;
            display: block;
        }
        
        .rating-breakdown {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .rating-bar {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .rating-star {
            width: 40px;
            color: #ffc107;
        }
        
        .rating-progress {
            flex: 1;
            height: 8px;
            background: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .rating-fill {
            height: 100%;
            background: #ffc107;
            border-radius: 4px;
        }
        
        .rating-count {
            width: 30px;
            color: #666;
            font-size: 0.9rem;
        }
        
        .btn-write-review {
            padding: 12px 25px;
            background: #667eea;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .btn-write-review:hover {
            background: #764ba2;
            transform: translateY(-2px);
            color: white;
        }
        
        .btn-write-review.disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        
        .review-form-container {
            display: none;
            margin-bottom: 30px;
            padding: 30px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .review-form-container.active {
            display: block;
        }
        
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 5px;
            margin-bottom: 20px;
        }
        
        .star-rating input {
            display: none;
        }
        
        .star-rating label {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: #ffc107;
        }
        
        .review-textarea {
            width: 100%;
            min-height: 150px;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-family: inherit;
            margin-bottom: 20px;
            resize: vertical;
        }
        
        .review-textarea:focus {
            border-color: #667eea;
            outline: none;
        }
        
        .form-buttons {
            display: flex;
            gap: 15px;
        }
        
        .reviews-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .review-item {
            padding: 20px;
            background: white;
            border-radius: 12px;
            border: 1px solid #eee;
        }
        
        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .reviewer-name {
            font-weight: 600;
            color: #333;
        }
        
        .review-date {
            font-size: 0.85rem;
            color: #666;
        }
        
        .review-rating i {
            color: #ffc107;
        }
        
        .review-text {
            line-height: 1.6;
            color: #555;
        }
        
        .back-to-listing {
            margin-top: 40px;
            text-align: center;
        }
        
        .car-details-back-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            background: #667eea;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .car-details-back-link:hover {
            background: #764ba2;
            transform: translateX(-5px);
        }
        
        @media (max-width: 768px) {
            .car-details-top {
                grid-template-columns: 1fr;
            }
            
            .calendar-container {
                grid-template-columns: 1fr;
            }
            
            .reviews-summary {
                grid-template-columns: 1fr;
            }
            
            .cta-buttons {
                flex-direction: column;
            }
            
            .rate-value {
                font-size: 1.6rem;
                font-weight: 700;
            }
            
            .tab-btn {
                margin-top: 2px;
            }
        }
        @media (max-width: 767px) {
            .details-tabs {
                flex-direction: column;
                border-bottom: none;
            }

            .details-tabs {
                display: flex;
                border-bottom: 2px solid #eaeaea;
                margin-bottom: 30px;
                flex-wrap: wrap;
            }
            
            .car-details-title {
                font-size: 1.4rem;
                line-height: 1.3;
            }
            
            .car-year {
                font-size: 1.4rem;
            }
            
            .rate-value {
                font-size: 1.5rem;
                font-weight: 700;
            }
        }

     @media (min-width: 368px) and (max-width: 991px) {
        .car-details-top {
            display: flex;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            justify-content: space-between;
            flex-direction: column;
            margin-bottom: 5px !important;
        }

        .car-details-image {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
            margin-bottom: 50px;
        }
    }
/*  ---- car details css end ----  */
/* ===== footer css start ===== */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.site-footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00d4ff, #007bff);
}

.site-footer-inner {
    position: relative;
    z-index: 1;
}

.top-footer {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wrap-footer-sidebar {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-widget-wrap {
    padding: 0 20px;
}

.footer-widget-item {
    margin-bottom: 40px;
}

.widget {
    padding: 0 15px;
}

.widget_block h3.wp-block-heading,
.widget_nav_menu h2.widget-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget_block h3.wp-block-heading:after,
.widget_nav_menu h2.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
}

.widget_block p {
    color: #b0b7c3;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.widget_block p br {
    margin-bottom: 8px;
    display: block;
}

/* تنسيق معلومات الاتصال */
.widget_block p strong {
    color: #fff;
    font-weight: 600;
}

.widget_block p a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget_block p a:hover {
    color: #fff;
    text-decoration: underline;
}

/* تنسيق قائمة الروابط */
.widget_nav_menu ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_nav_menu ul.menu li {
    margin-bottom: 12px;
    padding-left: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.widget_nav_menu ul.menu li:hover {
    transform: translateX(5px);
}

.widget_nav_menu ul.menu li:before {
    content: "→";
    color: #007bff;
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.widget_nav_menu ul.menu li:hover:before {
    left: -15px;
    opacity: 1;
}

.widget_nav_menu ul.menu li a {
    color: #b0b7c3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.widget_nav_menu ul.menu li a:hover {
    color: #fff;
    padding-left: 5px;
}

.bottom-footer {
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.site-info {
    color: #b0b7c3;
    font-size: 0.9rem;
    text-align: center;
}

.site-info:before {
    content: "© ";
    color: #007bff;
    font-weight: bold;
}

/* تأثيرات إضافية */
.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* أيقونات وسائل التواصل الاجتماعي */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
}

/* شعار الفوتر */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
}

/* تنسيق للأجهزة المحمولة */
@media (max-width: 768px) {
    .top-footer {
        padding: 40px 0 30px;
    }
    
    .footer-widget-item {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .widget_block h3.wp-block-heading:after,
    .widget_nav_menu h2.widget-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .widget_nav_menu ul.menu li {
        text-align: center;
    }
    
    .widget_nav_menu ul.menu li:before {
        display: none;
    }
    
    .widget_nav_menu ul.menu li a:hover {
        padding-left: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .bottom-footer {
        padding: 25px 0;
    }
}

/* تنسيق للأجهزة اللوحية */
@media (min-width: 769px) and (max-width: 991px) {
    .footer-widget-item {
        margin-bottom: 40px;
    }
}

/* تأثيرات عند التمرير */
.site-footer {
    transition: all 0.3s ease;
}

/* تخصيص البوتستراب */
.container {
    max-width: 1200px !important;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* تحسينات إضافية */
.widget_block p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.widget_nav_menu ul.menu li a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
}

/* تأثيرات للاتصال */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 12px;
    color: #007bff;
    font-size: 1.2rem;
    min-width: 25px;
}

.contact-text {
    flex: 1;
    color: #b0b7c3;
}

/* ترويسة الفوتر */
.footer-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.footer-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-header p {
    color: #b0b7c3;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* نصوص النسخ */
.copyright-text {
    font-size: 0.85rem;
    color: #8a94a6;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* إضافة إلى HTML (اختياري) */
.newsletter-form {
    margin-top: 20px;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 10px;
}

.newsletter-input::placeholder {
    color: #8a94a6;
}

.newsletter-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #0056b3;
}
/* =====  footer css end  ===== */