/* testimonial start */


.testimonial h4 {
    color: lightgray;
}



.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 2px 2px 5px #1DA1F2;
    border-image: linear-gradient(to right, #ff7e5f, #feb47b) 1;
}


.testimonial {
    position: relative;
    width: 90%;
    margin: 40px auto;
    padding: 1rem;
    background-color: transparent;
    background-image: linear-gradient(-45deg,
            transparent,
            transparent 2%,
            white 2%,
            white 85%,
            transparent,
            85%,
            transparent),
        linear-gradient(to bottom right, #2ad, #2ad 90%, transparent 90%);
    background-position: top left, 0.2em 0.2em;
    background-repeat: no-repeat;
    filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 4px 12px);
}

.testimonial:hover {
    filter: drop-shadow(rgba(120, 120, 120, 0.1) 0px 4px 12px);
}

.testimonial:after,
.testimonial:before {
    content: '';
    position: absolute;
    font-family: FontAwesome;
    font-size: 50px;
    color: #0C5888;
    background: transparent;
}

.testimonial:after {
    content: '\f10d';
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    text-shadow: 2px 2px 0 #00000017;
}

.testimonial:before {
    content: '\f10e';
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
    color: #0C5888;
    text-shadow: 2px 2px 0 #00000017;

}

.testimonial h2 {
    margin-block-end: 1rem;
}

.testimonial p {
    margin-block-start: 1rem;
    text-indent: 2ch;
}


.swiper {
    width: 100%;
    height: 100%;
}

/* Testimonial Section Styles */
.testimonial-section {
    background: #eee6e7;
    padding: 60px 20px;
    margin: 60px auto;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.433) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.testimonial-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.testimonial-header h1 {
    font-size: 42px;
    color: #EA4435;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-header p {
    font-size: 18px;
    color: #666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-swiper-container {
    position: relative;
    z-index: 2;

}

.testimonialSwiper {
    padding: 20px 0 60px;
    overflow: visible !important;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s ease;
    height: 380px;
    display: flex;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: #0C5888;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0C5888, #FF8C42, #EA4435);
    z-index: 1;
}

/* Left Half - Author Image */
.testimonial-author-image {
    width: 100%;
    position: relative;
    background: linear-gradient(135deg, #0C5888, #FF8C42);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonial-author-image img {
    width: 80%;
    height: auto;
    object-fit: cover;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.testimonial-card:hover .testimonial-author-image img {
    transform: scale(1.1);
    filter: brightness(1.3) contrast(1.2);
}

/* Author Overlay */
.author-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    text-align: center;
    z-index: 3;
}

.author-overlay h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.author-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.quote-icon {
    position: absolute;
    top: -10;
    right: 25px;
    background: linear-gradient(135deg, #0C5888, #FF8C42);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(12, 88, 136, 0.3);
    z-index: 4;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 15px 0 20px;
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.testimonial-rating {
    position: absolute;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: auto;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 16px;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
}

/* Responsive Design for Split Layout */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;

    }

    .testimonial-author-image {
        width: 100%;
        height: 100%;
    }

    .testimonial-author-image img {
        width: 100%;
        height: auto;
    }



    .author-overlay {
        padding: 15px 10px 10px;
    }

    .author-overlay h4 {
        font-size: 16px;
    }

    .author-overlay p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        height: 380px;
    }

    .testimonial-author-image {
        height: 35%;
    }


    .quote-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .testimonial-rating i {
        font-size: 14px;
    }
}

/* Swiper Navigation Buttons */
.testimonial-btn-next,
.testimonial-btn-prev {
    background: linear-gradient(135deg, #0C5888, #FF8C42);
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 25px rgba(12, 88, 136, 0.3);
    transition: all 0.3s ease;
}

.testimonial-btn-next:hover,
.testimonial-btn-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(12, 88, 136, 0.4);
}

.testimonial-btn-next::after,
.testimonial-btn-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Swiper Pagination */
.testimonial-pagination {
    bottom: 10px !important;
}

.testimonial-pagination .swiper-pagination-bullet {
    background: #0C5888 !important;
    opacity: 0.3 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: linear-gradient(135deg, #0C5888, #FF8C42) !important;
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 40px 15px;
        margin: 40px auto;
    }

    .testimonial-header h1 {
        font-size: 32px;
    }

    .testimonial-header p {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 30px 20px 25px;
        min-height: 280px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .author-info h4 {
        font-size: 16px;
    }

    .testimonial-btn-next,
    .testimonial-btn-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .testimonial-btn-next::after,
    .testimonial-btn-prev::after {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .testimonial-header h1 {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 25px 15px 20px;
        min-height: 260px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* testimonial end */
