@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plusJakartasans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins.regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent-color: #004AC6;
    --font-family: 'Hanken Grotesk', sans-serif;
    --heading-font: 'Plus Jakarta Sans', serif;
    --body-font: 'Poppins', sans-serif;
}

/* ===========================
   Testimonial Section
=========================== */

.testimonial-section {
    position: relative;
    padding: 30px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.testimonial-section .container {
    position: relative;
    z-index: 2;
}

.testimonial-title {
    font-family: var(--heading-font);
    text-align: center;
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    /* margin-bottom: 0px; */
    line-height: 50px;
    letter-spacing: 0%;
}

/* ===========================
   Card
=========================== */

.testimonial-card {
    background: #fff;
    border-radius: 26px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    min-height: 320px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 75px rgba(0, 0, 0, 0.16);
}

.rating {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.rating i {
    color: #FFC107;
    font-size: 18px;
}

.testimonial-card p {
    color: #333;
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 28px;
    font-family: var(--body-font);
}

.testimonial-user {
    
    font-family: var(--body-font);
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-user img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f2f2f2;
}

.testimonial-user h5 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1c1c1c;
}

.testimonial-user span {
    color: #777;
    font-size: 14px;
}

.carousel-inner {
    padding-bottom: 45px;
    overflow: hidden;
}

.carousel-item {
    padding: 0 12px;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.carousel-item .row {
    margin: 0;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}

.testimonial-section .carousel-item .row > [class*="col-"] {
    flex: 0 0 auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 768px) {
    .testimonial-section .carousel-item .row > .col-md-6 {
        flex: 0 0 calc(50% - 12px) !important;
        max-width: calc(50% - 12px) !important;
    }
}

@media (min-width: 992px) {
    .testimonial-section .carousel-item .row > .col-lg-4 {
        flex: 0 0 calc(33.333% - 16px) !important;
        max-width: calc(33.333% - 16px) !important;
    }
}

.carousel-indicators {
    bottom: -18px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-indicators button {
    width: 17px !important;
    height: 11px !important;
    padding: 0 !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    opacity: .45;
    border: none;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    opacity: 1;
    border: none;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.carousel-control-prev {
    left: -90px;
}

.carousel-control-next {
    right: -90px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

@media(max-width:1199px) {
    .testimonial-section {
        padding: 80px 0;
    }
    .testimonial-title {
        font-size: 36px;
        margin-bottom: 48px;
    }
}

@media(max-width:991px) {
    .testimonial-section {
        padding: 72px 0;
    }
    .testimonial-title {
        font-size: 32px;
    }
    .testimonial-card {
        margin-bottom: 22px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media(max-width:767px) {
    .testimonial-section {
        padding: 60px 0;
    }
    .testimonial-title {
        font-size: 28px;
        margin-bottom: 32px;
        padding: 0 15px;
    }
    .testimonial-card {
        padding: 24px;
        min-height: auto;
    }
    .testimonial-card p {
        font-size: 14px;
        line-height: 22px;
    }
    .testimonial-user {
        flex-wrap: wrap;
        gap: 10px;
    }
    .testimonial-user img {
        width: 50px;
        height: 50px;
    }
    .testimonial-user h5 {
        font-size: 16px;
    }
    .carousel-item {
        padding: 0 6px;
    }

    .carousel-indicators {
        bottom: -10px;
    }
}
