/* ============================= */
/* RIGHT SIDE SECTION STYLES */
/* ============================= */

.right-side {
    flex: 1;
    min-width: 300px;
    padding: 2.25rem 3.38rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Section Title */
.section-title{
    text-align: center;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #1c4d86;
}

.section-title p {
    color: #64748b;
    font-size: 1.2rem;
}

/* ============================= */
/* SWIPER STYLES */
/* ============================= */

.swiper {
    width: 100%;
    height: auto;
    padding: 40px 0 80px;
}

.swiper-slide {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.06);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.5;
    transform: scale(0.9);
    height: auto;
    border: 1px solid #f1f5f9;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0px 10px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Quote */
.quote-icon {
    font-size: 2.5rem;
    color: #1c4d86;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 400;
}

/* Client Info */
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #a8cf45;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.client-details p {
    color: #64748b;
    font-size: 1rem;
}

.client-rating {
    margin-top: 5px;
    color: #fbbf24;
}

.client-rating .bi{
    margin-right: 5px;
}

/* ============================= */
/* CUSTOM NAVIGATION */
/* ============================= */

.custom-navigation {
    position: absolute;
    top: 19%;
    right: 15%;
    display: flex;
    gap: 15px;
    z-index: 10;
    /* left: 50%; */
    /* transform: translateX(-50%); */
}

.custom-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: #a8cf45;
    border: 1px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px #a8cf4529;
    font-size: 1.1rem;
}

.custom-nav-btn:hover {
    background: #1c4d86;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.custom-nav-btn:active {
    transform: translateY(-1px);
}

/* ============================= */
/* PAGINATION */
/* ============================= */

.swiper-pagination {
    bottom: 25px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #cbd5e1;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #3b82f6;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {

    .right-side {
        padding: 40px 30px;
    }

    .swiper {
        height: 800px;
    }

    .swiper-slide {
        height: 380px;
    }

    .custom-navigation {
        right: 30px;
        bottom: 15px;
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .section-title h2 {
        font-size: 2rem;
    }

    .swiper {
        height: 550px;
        padding-bottom: 70px;
    }

    .swiper-slide {
        padding: 30px 25px;
        height: 360px;
        border: none !important;
        box-shadow: none !important;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .custom-navigation {
        right: 25px;
        bottom: 80px;
    }
}

@media (max-width: 480px) {

    .right-side {
        padding: 30px 20px;
    }

    .swiper {
        height: 620px;
        padding: 30px 0 60px;
    }

    .swiper-slide {
        height: 400px;
    }

    .client-avatar {
        width: 60px;
        height: 60px;
    }

    .client-details h4 {
        font-size: 1rem;
    }

    .custom-navigation {
        right: 20px;
        bottom: 80px;
    }
}

/* State number */
.stat-number {
    display: inline-flex;       /* better than flex */
    align-items: baseline;      /* aligns + perfectly */
    gap: 0.02em;                /* very small controlled spacing */
    line-height: 1;             /* remove WP weird spacing */
}

.digit {
    position: relative;
    height: 1em;
    width: 0.6em;               /* tighter width */
    overflow: hidden;
}

.digit-track {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.digit-track span {
    display: block;
    height: 1em;
    line-height: 1em;
}

.comma {
    width: 0.3em;
    text-align: center;
}

.plus-sign {
    margin-left: 0.05em;
    font-size: 0.9em;          /* slightly smaller = cleaner */
    align-self: flex-start;    /* aligns visually with digits */
}
