/* ===== 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;
    }
    
    .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;
    }
}

.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-container {
    max-width: 100%;
    overflow-x: hidden;
}

.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  ===== */
/*--------- faq page css start -------*/
/* FAQ Page Styles - IMPROVED VERSION */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* منع التمرير الأفقي */
    position: relative;
}

.faq-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), 
                url(../images/car-header.webp);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 115px;
    text-align: center;
    margin-bottom: -30px;
    position: relative;
    z-index: 1; /* إضافة z-index */
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.faq-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transform: translate(-100px, 100px);
}

        /* Breadcrumb */
        .breadcrumb-faq {
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            z-index: 10;
            background: transparent;
            padding: 15px 0;
            margin-bottom: 0;
        }
        
        .breadcrumb-faq .container {
            padding: 0 20px;
        }
        
        .breadcrumb-faq a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
        }
        
        .breadcrumb-faq a:hover {
            color: #fff;
        }
        
        .breadcrumb-faq .active {
            color: #fff;
        }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.5;
}

.search-container {
    max-width: 600px;
    margin: 30px auto 0;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 60px 20px 25px;
    margin-bottom: 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #3498db;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.search-button:hover {
    background: #2980b9;
    transform: scale(1.05);
}

/* FAQ Categories - IMPROVED */
.faq-categories {
    padding: 60px 0 20px;
    position: relative;
    z-index: 1;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title p {
    color: #7f8c8d;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.category-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #3498db;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.category-card:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.category-card.active::before {
    transform: scaleX(1);
    background: white;
}

.category-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #3498db;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.category-card.active .category-icon {
    color: white;
    transform: scale(1.1);
}

.category-card:hover .category-icon {
    transform: translateY(-5px);
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s;
}

.category-card.active h3 {
    color: white;
}

.category-count {
    font-size: 0.85rem;
    color: #7f8c8d;
    background: white;
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.3s;
}

.category-card.active .category-count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* FAQ Accordion - IMPROVED WITH COMPACT DESIGN */
.faq-accordion {
    background: #f8f9fa;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.accordion {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.accordion-item {
    border-bottom: 1px solid #f0f0f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 18px 25px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    user-select: none;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header.active {
    background: #f0f7ff;
    border-left: 4px solid #3498db;
    padding-left: 21px;
}

.accordion-question {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    padding-right: 20px;
}

.accordion-icon {
    color: #3498db;
    font-size: 1.1rem;
    min-width: 20px;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    color: #2980b9;
}

.accordion-toggle {
    color: #7f8c8d;
    font-size: 1.1rem;
    transition: all 0.3s;
    min-width: 20px;
    text-align: center;
}

.accordion-header:hover .accordion-toggle {
    color: #3498db;
}

.accordion-header.active .accordion-toggle {
    color: #3498db;
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.accordion-content.active {
    max-height: 1000px;
}

.accordion-answer {
    color: #495057;
    line-height: 1.6 !important;
    font-size: 1rem;
    margin-top: 15px;
    padding: 0 25px 20px;
}

/* Reduced spacing in FAQ answers */
.accordion-answer p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.accordion-answer p:last-child {
    margin-bottom: 0;
}

.accordion-answer ul,
.accordion-answer ol {
    margin: 10px 0 10px 20px;
    padding: 0;
}

.accordion-answer li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.category-section {
    margin-bottom: 40px;
    display: none;
}

.category-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.category-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* FAQ Card Anchor - للحصول على تأثير scroll ناعم */
.faq-card-anchor {
    display: block;
    position: relative;
    top: -80px; /* تعديل حسب ارتفاع navbar الخاص بك */
    visibility: hidden;
}

/* Additional Help - COMPACT */
.additional-help {
    background: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.help-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.help-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.2);
}

.help-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.help-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
}

.help-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.help-btn {
    padding: 12px 25px;
    background: white;
    color: #3498db;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.help-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.empty-state i {
    font-size: 3.5rem;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.empty-state p {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* FAQ Counter */
.faq-counter {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Category Jump Links */
.category-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.jump-link {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jump-link:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
}

.jump-link.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive Design - IMPROVED */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }
    
    .category-card {
        padding: 15px;
    }
    
    .accordion-header {
        padding: 16px 20px;
    }
    
    .accordion-question {
        font-size: 0.95rem;
        padding-right: 15px;
    }
    
    .accordion-answer {
        padding: 0 25px 16px;
    }
    
    .help-buttons {
        flex-direction: column;
    }
    
    .help-btn {
        width: 100%;
        justify-content: center;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .faq-card-anchor {
        top: -100px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        margin-top: 40px;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 14px 16px;
    }
    
    .help-card {
        padding: 25px 20px;
    }
    
    .category-jump {
        flex-direction: column;
        align-items: center;
    }
    
    .jump-link {
        width: 100%;
        justify-content: center;
    }
    
    .faq-card-anchor {
        top: -120px;
    }
    .faq-hero {
        padding: 30px 15px !important;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item-animate {
    animation: fadeIn 0.3s ease-out;
}

/* Highlight search results */
mark {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Print styles */
@media print {
    .faq-hero,
    .faq-categories,
    .search-container,
    .help-buttons,
    .category-jump {
        display: none;
    }
    
    .accordion-content {
        max-height: none !important;
        display: block !important;
    }
    
    .accordion-header {
        cursor: default;
    }
    
    .accordion-toggle {
        display: none;
    }
    
    .category-section {
        display: block !important;
    }
    
    .faq-card-anchor {
        display: none;
    }
}

.faq-category-badge {
    font-size: 0.75rem;
    color: #7f8c8d;
    background: #f1f2f6;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.accordion-header:hover .faq-category-badge {
    background: #e4e6eb;
}

/* تحسينات للعرض على الهواتف */
@media (max-width: 768px) {
    .faq-category-badge {
        display: none;
    }
    
    .accordion-question {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* إصلاح مشكلة z-index للهواتف */
    .navbar-collapse.show {
        z-index: 1050 !important;
    }
    .faq-hero {
        padding: 100px;
        margin-bottom: 10px;
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100px;
}


.hero-wave path {
    fill: #f0f7fc;
}

/* About-style Info Section */
.faq-info-about {
    margin: 40px 0 30px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-info-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 30px;
    padding: 20px;
}

/* Text Content */
.info-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-text h3 i {
    color: #ff6b35;
    font-size: 1.8rem;
}

.info-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

.info-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
}

.feature-item i {
    color: #27ae60;
    font-size: 1rem;
}

/* Stats Cards */
.info-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
}

.stat-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .info-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .faq-info-about {
        margin: 30px 0 20px;
    }
    
    .info-grid {
        padding: 25px;
    }
    
    .info-text h3 {
        font-size: 1.3rem;
    }
    
    .info-text h3 i {
        font-size: 1.5rem;
    }
    
    .info-text p {
        font-size: 0.95rem;
    }
    
    .feature-item {
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .info-features {
        justify-content: center;
        gap: 12px;
    }
    
    .feature-item {
        width: fit-content;
    }
}


@media (max-width: 550px) {
    .info-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .stat-icon {
        margin-bottom: 0;
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/*--------- faq page 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  ===== */