/* =========================================================
   Q-MANAGER TESTIMONIAL SECTION
========================================================= */

.tm-section {
    position: relative;
    padding: 100px 0;

    background:
        radial-gradient(circle at 0% 20%,
            rgba(23, 105, 232, 0.06),
            transparent 30%),
        #f7f9fc;

    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.tm-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 50px;
}


.tm-heading-left {
    max-width: 700px;
}


.tm-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

    color: #1769e8;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.tm-eyebrow-line {
    width: 32px;
    height: 2px;

    background: #1769e8;
}


.tm-heading h2 {
    margin: 0;

    color: #162033;

    font-size: 44px;
    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -1.2px;
}


.tm-heading h2 span {
    color: #1769e8;
}


.tm-heading-right {
    max-width: 390px;
}


.tm-heading-right p {
    margin: 0;

    color: #6b7483;

    font-size: 14px;
    line-height: 1.75;

    font-weight: 400;
}


/* =========================================================
   TESTIMONIAL CARD
========================================================= */

.tm-testimonial-card {
    position: relative;

    min-height: 450px;

    padding: 42px 45px 125px;

    overflow: hidden;

    border-radius: 26px;

    background:
        linear-gradient(135deg,
            #0759d8 0%,
            #1769e8 52%,
            #2381f5 100%);

    color: #ffffff;

    box-shadow:
        0 25px 60px rgba(23, 105, 232, 0.20);
}


/* Decorative circle */

.tm-testimonial-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -120px;
    top: -130px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    pointer-events: none;
}


.tm-testimonial-card::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: -120px;
    bottom: -130px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    pointer-events: none;
}


/* =========================================================
   LARGE QUOTE
========================================================= */

.tm-big-quote {
    position: absolute;

    top: 5px;
    right: 35px;

    color: rgba(255, 255, 255, 0.12);

    font-family: Georgia, serif;

    font-size: 150px;

    line-height: 1;

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   TOP ROW
========================================================= */

.tm-card-top {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


/* Stars */

.tm-stars {
    display: flex;

    gap: 4px;

    color: #ffd166;

    font-size: 11px;
}


/* Verified */

.tm-verified {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 12px;

    border-radius: 30px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.18);

    font-size: 10px;

    font-weight: 600;
}


.tm-verified i {
    color: #b9f6ca;
}


/* =========================================================
   TESTIMONIAL DESCRIPTION
========================================================= */

.tm-message {
    position: relative;

    z-index: 10;

    display: block;

    max-width: 690px;

    margin-top: 38px;
}


.tm-message p {

    display: block !important;

    margin: 0 !important;

    padding: 0 !important;

    color: rgba(255, 255, 255, 0.96) !important;

    opacity: 1 !important;

    visibility: visible !important;

    font-family: "Inter", "Segoe UI", Arial, sans-serif;

    font-size: 19px;

    line-height: 1.75;

    font-weight: 400;

    font-style: normal;

    letter-spacing: -0.1px;
}


/* =========================================================
   FOOTER
========================================================= */

.tm-testimonial-footer {
    position: absolute;

    z-index: 20;

    left: 45px;
    right: 45px;

    bottom: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.18);
}


/* =========================================================
   CLIENT
========================================================= */

.tm-client {
    display: flex;

    align-items: center;

    gap: 13px;
}


.tm-client-avatar {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #1769e8;

    font-size: 17px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}


.tm-client h5 {
    margin: 0 0 3px;

    color: #ffffff !important;

    font-size: 15px;

    line-height: 1.3;

    font-weight: 600;
}


.tm-client small {
    color: rgba(255, 255, 255, 0.70) !important;

    font-size: 11px;

    font-weight: 400;
}


/* =========================================================
   NAVIGATION
========================================================= */

.tm-navigation {
    display: flex;

    align-items: center;

    gap: 8px;
}


.tm-navigation button {
    width: 38px;
    height: 38px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.22);

    color: #ffffff;

    font-size: 13px;

    cursor: pointer;

    transition: all .25s ease;
}


.tm-navigation button:hover {
    background: #ffffff;

    border-color: #ffffff;

    color: #1769e8;

    transform: translateY(-2px);
}


.tm-navigation button:focus {
    outline: none;

    box-shadow: none;
}


.tm-navigation span {
    min-width: 40px;

    text-align: center;

    color: rgba(255, 255, 255, 0.70);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;
}


/* =========================================================
   VIDEO CARD
========================================================= */

.tm-video-card {
    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border-radius: 26px;

    border: 1px solid #e7ebf1;

    box-shadow:
        0 20px 55px rgba(20, 35, 60, 0.10);

    transition: all .35s ease;
}


.tm-video-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 30px 70px rgba(20, 35, 60, 0.14);
}


/* =========================================================
   VIDEO
========================================================= */

.tm-video {
    position: relative;

    height: 300px;

    overflow: hidden;

    background: #081426;
}


.tm-video iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* Video label */

.tm-video-label {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 5;
}


.tm-video-label span {
    display: inline-block;

    padding: 7px 11px;

    border-radius: 30px;

    color: #ffffff;

    background: rgba(8, 20, 38, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.3px;
}


/* Play icon */

.tm-video-badge {
    position: absolute;

    z-index: 5;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #1769e8;

    font-size: 28px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);

    pointer-events: none;
}


.tm-video-badge i {
    margin-left: 3px;
}


/* =========================================================
   VIDEO CONTENT
========================================================= */

.tm-video-content {
    min-height: 145px;

    padding: 24px 27px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.tm-video-small-title {
    display: block;

    margin-bottom: 7px;

    color: #1769e8;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.tm-video-content h3 {
    margin: 0;

    color: #162033;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 400;

    letter-spacing: -.5px;
}


.tm-video-content h3 strong {
    font-weight: 700;
}


.tm-video-arrow {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf4ff;

    border: 1px solid #e1e9f5;

    color: #1769e8;

    font-size: 17px;

    transition: all .3s ease;
}


.tm-video-card:hover .tm-video-arrow {
    background: #1769e8;

    color: #ffffff;

    transform: rotate(45deg);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .tm-heading {
        display: block;

        margin-bottom: 40px;
    }


    .tm-heading-right {
        margin-top: 20px;
    }


    .tm-video-card {
        margin-top: 20px;
    }

}


@media (max-width: 767px) {

    .tm-section {
        padding: 70px 0;
    }


    .tm-heading h2 {
        font-size: 34px;
    }


    .tm-testimonial-card {
        min-height: 500px;

        padding: 30px 25px 125px;

        border-radius: 22px;
    }


    .tm-message {
        margin-top: 32px;
    }


    .tm-message p {
        font-size: 17px;

        line-height: 1.7;
    }


    .tm-testimonial-footer {
        left: 25px;
        right: 25px;

        bottom: 25px;
    }


    .tm-video {
        height: 230px;
    }


    .tm-video-content {
        padding: 22px;
    }


    .tm-video-content h3 {
        font-size: 20px;
    }

}


@media (max-width: 480px) {

    .tm-card-top {
        align-items: flex-start;

        flex-direction: column;
    }


    .tm-testimonial-footer {
        align-items: flex-end;
    }


    .tm-navigation span {
        display: none;
    }

}