/* Custom CSS for the improved stats section */

/* Stats section background and layout */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 32, 96, 0.8) 0%, rgba(0, 32, 96, 0.7) 100%);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

/* Counter box styling */
.counter-box {
    transition: all 0.3s ease;
    padding: 15px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.counter-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.counter-box i {
    color: #ffc107;
    opacity: 0.8;
}

.counter-box:hover i {
    opacity: 1;
}

.counter-value {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 5px;
}

.million-text {
    font-size: 0.9rem;
    margin-right: 3px;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .counter-value {
        font-size: 1.8rem;
    }

    .counter-box {
        padding: 10px 5px;
    }

    .counter-box i {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
}







/* Soften the background for the Stats section */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 32, 96, 0.8) 0%, rgba(0, 32, 96, 0.7) 100%);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

/* Soften the background for the Routes section */
.routes-section {
    background: linear-gradient(135deg, rgba(0, 32, 96, 0.8) 0%, rgba(0, 32, 96, 0.7) 100%);
    position: relative;
}

.routes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.routes-section .container {
    position: relative;
    z-index: 1;
}

/* استایل جدید برای بخش مسیرها - کوچکتر و فشرده‌تر */
.routes-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.routes-section .mb-5 {
    margin-bottom: 1.5rem !important;
}

.routes-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.routes-column {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    height: 100%;
    transition: all 0.3s ease;
}

.route-column-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.route-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.route-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0.25rem 0;
    position: relative;
    padding-right: 15px;
}

.route-link::before {
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    transition: transform 0.2s ease;
}

.route-link:hover {
    color: #fff;
    transform: translateX(-5px);
}

.route-link:hover::before {
    transform: translateX(-3px);
}

.routes-footer-connector {
    height: 20px;
}