.why-choose__area {
    overflow: hidden;
    padding: 60px 0;
}

.why-choose-slider-wrapper {
    position: relative;
    padding: 0 100px; /* Optimized for 2-3 card display */
}

.why-choose-slider {
    margin: 0 -15px; /* Slight negative margin for better card spacing */
    padding: 20px 0 80px;
}

.slide-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3rem 2rem; /* Balanced padding for 2-3 card display */
    height: 100%;
    min-height: 540px; /* Good height for multiple cards */
    max-height: 540px; /* Prevent cards from growing */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 15px; /* Proper spacing between cards */
    width: calc(100% - 30px); /* Account for margins */
}

/* Card header section - optimized for multiple cards */
.slide-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px; /* Optimized for 2-3 card display */
    max-height: 160px;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Card content section - flexible height */
.slide-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
}

.slide-card .slide-title,
.slide-card .slide-subtitle {
    text-align: center;
    width: 100%;
}

/* Text styling for consistent formatting */
.slide-title {
    font-size: 1.5rem;
    color: var(--bd-common-white);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.slide-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 0;
}

.slide-card .comparison-box,
.slide-card .comparison-grid,
.slide-card .progress-container,
.slide-card .replay-button-container {
    width: 100%;
    margin-top: auto; /* Push content to bottom for consistent layout */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Different background gradients for each card */
.slide-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(103, 74, 217, 0.12) 0%, rgba(103, 74, 217, 0.04) 100%);
    border-color: rgba(103, 74, 217, 0.25);
}

.slide-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
    border-color: rgba(59, 130, 246, 0.25);
}

.slide-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(236, 72, 153, 0.04) 100%);
    border-color: rgba(236, 72, 153, 0.25);
}

.slide-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
    border-color: rgba(239, 68, 68, 0.25);
}

.slide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.slide-card:nth-child(1):hover {
    border-color: rgba(103, 74, 217, 0.4);
    background: linear-gradient(135deg, rgba(103, 74, 217, 0.18) 0%, rgba(103, 74, 217, 0.08) 100%);
}

.slide-card:nth-child(2):hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0.08) 100%);
}

.slide-card:nth-child(3):hover {
    border-color: rgba(236, 72, 153, 0.4);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.18) 0%, rgba(236, 72, 153, 0.08) 100%);
}

.slide-card:nth-child(4):hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.08) 100%);
}

.slide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(103, 74, 217, 0.1) 0%, 
        rgba(251, 81, 65, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.slide-card:hover::before {
    opacity: 1;
}

.slide-card > * {
    position: relative;
    z-index: 2;
}

.why-choose-slider .swiper-button-next:hover,
.why-choose-slider .swiper-button-prev:hover {
    background: var(--bd-gradient-2); /* Using site's brand gradient */
    border-color: var(--bd-theme-tertiary);
    transform: scale(1.05);
}

/* Icon styling to match site theme */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0; /* Prevent shrinking */
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Different icon colors for each card */
.slide-card:nth-child(1) .icon-circle {
    background: linear-gradient(135deg, rgba(103, 74, 217, 0.2), rgba(103, 74, 217, 0.1));
    border-color: rgba(103, 74, 217, 0.3);
}

.slide-card:nth-child(1) .icon-circle i {
    color: #674AD9;
}

.slide-card:nth-child(2) .icon-circle {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
}

.slide-card:nth-child(2) .icon-circle i {
    color: #3B82F6;
}

.slide-card:nth-child(3) .icon-circle {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.1));
    border-color: rgba(236, 72, 153, 0.3);
}

.slide-card:nth-child(3) .icon-circle i {
    color: #EC4899;
}

.slide-card:nth-child(4) .icon-circle {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border-color: rgba(239, 68, 68, 0.3);
}

.slide-card:nth-child(4) .icon-circle i {
    color: #EF4444;
}

.icon-circle::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: var(--bd-gradient-2);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.slide-card:hover .icon-circle {
    transform: scale(1.1);
}

.slide-card:hover .icon-circle::after {
    opacity: 0.3;
}

.icon-circle i {
    font-size: 2rem;
    color: var(--bd-common-white);
}

/* Comparison styling with better visual separation */
.comparison-box, .comparison-grid {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-item.highlight {
    background: rgba(0, 245, 160, 0.15);
    border: 1px solid rgba(0, 245, 160, 0.3);
}

.comparison-item i {
    color: #00F5A0;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.comparison-item span {
    color: var(--bd-common-white);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Grid layout for comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0;
}

.grid-item {
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.grid-item.highlight {
    background: rgba(0, 245, 160, 0.15);
    border: 1px solid rgba(0, 245, 160, 0.3);
}

.grid-item h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.grid-item .value {
    color: var(--bd-common-white);
    font-size: 1.75rem;
    font-weight: 700;
}

.grid-item.highlight .value {
    background: linear-gradient(90deg, #00F5A0, #00D9F5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Progress container styling with animations */
.progress-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 10px; /* Slightly taller for better visibility */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0.3%;
    background: linear-gradient(90deg, #EC4899, #F97316);
    border-radius: 5px;
    position: relative;
    transition: width 2s ease-in-out;
}

/* Animated shimmer effect for progress bar */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Click animation for progress bar */
.progress-container.loading .progress-fill {
    width: 30% !important;
    transition: width 3s ease-out;
}

.progress-container.loading .progress-fill::after {
    animation: shimmer 1s infinite;
}

.progress-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.progress-container.loading .progress-text {
    color: #EC4899;
    font-weight: 600;
}

/* Button styling with enhanced animations */
.replay-button-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.replay-button {
    background: linear-gradient(135deg, #EF4444, #DC2626) !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 1.2rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--bd-common-white) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.replay-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4) !important;
}

/* Loading animation for replay button */
.replay-button.loading {
    pointer-events: none;
    background: linear-gradient(135deg, #6B7280, #4B5563) !important;
}

.replay-button.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.replay-button.loading .fa-play {
    opacity: 0;
}

/* Spin animation for loading indicator */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Success animation */
.replay-button.success {
    background: linear-gradient(135deg, #10B981, #059669) !important;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.replay-button.success::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    animation: checkmark 0.5s ease-out;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.replay-button.success .fa-play {
    opacity: 0;
}

/* Click ripple effect */
.replay-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.replay-button:active::after {
    width: 300px;
    height: 300px;
}

/* Swiper Navigation - Updated to match site theme and positioned outside */
.why-choose-prev,
.why-choose-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: var(--bd-common-white);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-prev {
    left: -80px; /* Positioned for 2-3 card layout */
}

.why-choose-next {
    right: -80px; /* Positioned for 2-3 card layout */
}

.why-choose-prev:after,
.why-choose-next:after {
    font-family: "Font Awesome 6 Pro";
    font-size: 18px;
    color: var(--bd-common-white);
    font-weight: 400;
}

.why-choose-prev:after {
    content: "\f104";
}

.why-choose-next:after {
    content: "\f105";
}

.why-choose-prev:hover,
.why-choose-next:hover {
    background: var(--bd-gradient-2); /* Using site's brand gradient */
    border-color: var(--bd-theme-tertiary);
    transform: translateY(-50%) scale(1.05);
}

/* Legacy navigation styles - keeping for fallback */
.why-choose-slider .swiper-button-next,
.why-choose-slider .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: var(--bd-common-white);
}

.why-choose-slider .swiper-button-next:after,
.why-choose-slider .swiper-button-prev:after {
    font-size: 18px;
    color: var(--bd-common-white);
    font-weight: 400;
}

.why-choose-slider .swiper-button-next:hover,
.why-choose-slider .swiper-button-prev:hover {
    background: var(--bd-gradient-2); /* Using site's brand gradient */
    border-color: var(--bd-theme-tertiary);
    transform: scale(1.05);
}

/* Swiper Pagination - Updated to match site theme */
.why-choose-slider .swiper-pagination {
    bottom: -50px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.why-choose-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    border-radius: 50%;
    margin: 0 8px !important;
    transition: all 0.3s ease;
}

.why-choose-slider .swiper-pagination-bullet-active {
    background: var(--bd-common-white);
    transform: scale(1.2);
}

/* Section Title - Updated to match site theme */
.insights-header {
    margin-bottom: 4rem;
    text-align: center;
}

.insights-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: var(--bd-common-white);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insights-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--bd-common-white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.insights-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Ensure all slides have equal height */
.why-choose-slider .swiper-slide {
    height: auto;
    display: flex;
}

.why-choose-slider .swiper-wrapper {
    align-items: stretch;
}

/* Enhanced hover effects for better UX */
.why-choose-slider .comparison-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.why-choose-slider .grid-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

/* Smooth transitions for all interactive elements */
.why-choose-slider * {
    transition: all 0.3s ease;
}

/* Responsive design - optimized for 2+ cards */
@media (max-width: 1199px) {
    .why-choose-slider-wrapper {
        padding: 0 80px; /* Adjusted for 2-3 cards */
    }
    
    .why-choose-prev {
        left: -60px;
    }
    
    .why-choose-next {
        right: -60px;
    }
    
    .slide-card {
        min-height: 520px;
        max-height: 520px;
        padding: 2.5rem 1.75rem; /* Balanced for multiple cards */
    }
    
    .slide-card-header {
        min-height: 150px;
        max-height: 150px;
    }
}

@media (max-width: 991px) {
    .why-choose-slider-wrapper {
        padding: 0 60px; /* Tablet spacing for 2 cards */
    }
    
    .why-choose-prev {
        left: -45px;
        width: 50px;
        height: 50px;
    }
    
    .why-choose-next {
        right: -45px;
        width: 50px;
        height: 50px;
    }
    
    .slide-card {
        min-height: 480px;
        max-height: 480px;
        padding: 2.25rem 1.5rem; /* Good padding for 2 cards on tablet */
        margin: 0 10px;
    }
    
    .slide-card-header {
        min-height: 140px;
        max-height: 140px;
    }
    
    .insights-header h2 {
        font-size: 2.5rem;
    }
    
    .slide-title {
        font-size: 1.35rem;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .icon-circle i {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .why-choose-slider-wrapper {
        padding: 0 30px; /* Mobile: single card with decent padding */
    }
    
    .why-choose-prev,
    .why-choose-next {
        position: static;
        margin: 15px auto;
        display: block;
        width: 45px;
        height: 45px;
    }
    
    .why-choose-slider {
        padding: 20px 0 60px;
        margin: 0 -10px;
    }
    
    .slide-card {
        min-height: 450px;
        max-height: 450px;
        padding: 2rem 1.25rem; /* Full width on mobile */
        margin: 0 10px;
    }
    
    .slide-card-header {
        min-height: 130px;
        max-height: 130px;
        margin-bottom: 1rem;
    }
    
    .insights-header h2 {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 1.2rem;
    }
    
    .slide-subtitle {
        font-size: 0.85rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .grid-item {
        padding: 1rem;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .icon-circle i {
        font-size: 1.25rem;
    }
    
    .comparison-box,
    .comparison-grid,
    .progress-container,
    .replay-button-container {
        padding: 1.25rem;
    }
    
    .replay-button {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
}
