/* ============================================
   WHY CHOOSE US SECTION - Modern Horizontal Scrollbar
   ============================================ */

/* Section with Scrollbar Container */
.why-choose-section-modern {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Horizontal Scrollable Cards Container */
.stats-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 30px 10px 40px;
    margin: 0 -10px;
    white-space: nowrap;
    scroll-behavior: smooth;
}

/* Modern Custom Horizontal Scrollbar */
.stats-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.stats-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin: 0 20px;
}

.stats-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #7c3aed 0%, #5b21b6 100%);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.stats-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Firefox Scrollbar */
.stats-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #7c3aed rgba(255, 255, 255, 0.15);
}

/* Flex container for horizontal layout */
.stats-scroll-container .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
}

/* Modern Stats Cards - Match Image Design */
.why-choose-section-modern .col-lg-3 {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    min-width: 320px;
    width: 320px;
}

.why-choose-section-modern .feature-card-16 {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    margin-bottom: 0;
}

.why-choose-section-modern .feature-card-16:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Icon Container - Modern Circular Style */
.why-choose-section-modern .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
    position: relative;
}

/* Purple Icon Background */
.why-choose-section-modern .feature-card-16:nth-child(1) .feature-icon {
    background: rgba(124, 58, 237, 0.15);
}

/* Orange Icon Background */
.why-choose-section-modern .feature-card-16:nth-child(2) .feature-icon {
    background: rgba(251, 146, 60, 0.15);
}

/* Green Icon Background */
.why-choose-section-modern .feature-card-16:nth-child(3) .feature-icon {
    background: rgba(34, 197, 94, 0.15);
}

/* Pink Icon Background */
.why-choose-section-modern .feature-card-16:nth-child(4) .feature-icon {
    background: rgba(236, 72, 153, 0.15);
}

.why-choose-section-modern .feature-card-16:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Card Title */
.why-choose-section-modern .feature-card-16 h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

/* Counter Styling - Match Image Colors */
.why-choose-section-modern .counter {
    font-size: 3rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Purple counter */
.why-choose-section-modern .feature-card-16:nth-child(1) .counter {
    color: #7c3aed;
}

/* Orange counter */
.why-choose-section-modern .feature-card-16:nth-child(2) .counter {
    color: #fb923c;
}

/* Green counter */
.why-choose-section-modern .feature-card-16:nth-child(3) .counter {
    color: #22c55e;
}

/* Pink counter */
.why-choose-section-modern .feature-card-16:nth-child(4) .counter {
    color: #ec4899;
}

.why-choose-section-modern .feature-card-16:hover .counter {
    transform: scale(1.08);
}

/* Section Heading Enhanced */
.why-choose-section-modern .heading-section {
    position: relative;
    margin-bottom: 60px;
}

.why-choose-section-modern .heading-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.why-choose-section-modern .heading-description {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Scroll Indicator (Optional) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    display: block;
    font-size: 1.5rem;
    margin-top: 8px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .why-choose-section-modern .heading-title {
        font-size: 2.25rem;
    }

    .why-choose-section-modern .heading-description {
        font-size: 1rem;
    }

    .why-choose-section-modern .col-lg-3 {
        min-width: 280px;
        width: 280px;
    }

    .why-choose-section-modern .feature-card-16 {
        padding: 35px 25px;
    }

    .why-choose-section-modern .counter {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .why-choose-section-modern {
        padding: 80px 0;
    }

    .stats-scroll-container {
        padding: 20px 5px 35px;
    }

    .stats-scroll-container::-webkit-scrollbar {
        height: 6px;
    }

    .why-choose-section-modern .heading-title {
        font-size: 1.875rem;
    }

    .why-choose-section-modern .col-lg-3 {
        min-width: 260px;
        width: 260px;
    }

    .why-choose-section-modern .feature-card-16 {
        padding: 30px 20px;
    }

    .why-choose-section-modern .feature-icon {
        width: 70px;
        height: 70px;
    }

    .why-choose-section-modern .counter {
        font-size: 2.25rem;
    }

    .why-choose-section-modern .feature-card-16:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 576px) {
    .why-choose-section-modern .heading-title {
        font-size: 1.625rem;
    }

    .why-choose-section-modern .heading-description {
        font-size: 0.9375rem;
    }

    .why-choose-section-modern .col-lg-3 {
        min-width: 240px;
        width: 240px;
    }

    .why-choose-section-modern .feature-card-16 h4 {
        font-size: 1.125rem;
    }

    .why-choose-section-modern .counter {
        font-size: 2rem;
    }
}

/* ============================================
   STATS CARDS WITH SCROLLABLE DETAILS
   ============================================ */

/* Stats Card Modern Styling */
.stats-card-modern .card-body {
    display: flex;
    flex-direction: column;
}

/* Scrollable Details Container */
.stats-details-scroll {
    max-height: none;
    overflow-y: visible;
    margin-top: 16px;
    padding: 12px 8px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 12px;
    text-align: left;
}

/* Custom Scrollbar - Small & Elegant */
.stats-details-scroll::-webkit-scrollbar {
    width: 4px;
}

.stats-details-scroll::-webkit-scrollbar-track {
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
}

.stats-details-scroll::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.4);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.stats-details-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.6);
}

/* Firefox Scrollbar */
.stats-details-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, 0.4) rgba(124, 58, 237, 0.1);
}

/* Stats Item Styling */
.stats-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    font-size: 0.8125rem;
    color: #4b5563;
    transition: all 0.2s ease;
}

.stats-item:hover {
    color: #160f3e;
    padding-left: 8px;
}

.stats-item i {
    font-size: 0.75rem;
    color: #7c3aed;
    flex-shrink: 0;
}

.stats-item span {
    line-height: 1.4;
}

/* Responsive for Stats Details */
@media (max-width: 767px) {
    .stats-details-scroll {
        max-height: 100px;
        font-size: 0.75rem;
    }

    .stats-item {
        padding: 5px 4px;
    }
}
