*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wac-testimonial-header  {
    margin-bottom: 28px;
}

@media (min-width: 992px) {
    .wac-testimonial-header  {
        margin-bottom: 32px;
    }
}
@media (min-width: 1200px) {
    .wac-testimonial-header  {
        margin-bottom: 58px;
    }
}

.wac-testimonial-header__ttl {
    color: #0A102F !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    margin-bottom: 10px !important;
}

/* @media (min-width: 992px) {
    .wac-testimonial-header__ttl {
        font-size: 32px !important;
    }
} */
@media (min-width: 1200px) {
    .wac-testimonial-header__ttl {
        font-size: 46px !important;
        
    }
}

.wac-testimonial-header__content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 768px) {
    .wac-testimonial-header__content {
        flex-direction: row;
        align-items: center;
    }
}

.wac-testimonial-header__sub-ttl {
    margin: 0 !important;
    color: #0A102F !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.5px !important;
    display: block !important;
    max-width: 100%;
}

@media (min-width: 768px) {
    .wac-testimonial-header__sub-ttl {
        max-width: 65% !important;
        line-height: 1.2 !important;
    }
}
@media (min-width: 992px) {
    .wac-testimonial-header__sub-ttl {
        font-size: 20px !important;
    }
}
@media (min-width: 1200px) {
    .wac-testimonial-header__sub-ttl {
        font-size: 24px !important;
    }
}

.wac-testimonial-header .mas-creative-btn-wrap {
    width: auto !important;
}
.wac-testimonial-header .mas-creative-btn-wrap.desktop {
    display: none;
}
.wac-testimonial .mas-creative-btn-wrap.mobile {
    display: block;
    max-width: max-content;
    margin: 24px auto 0;
}
@media (min-width: 768px) {
    .wac-testimonial-header .mas-creative-btn-wrap.desktop {
        display: block;
    }
    .wac-testimonial .mas-creative-btn-wrap.mobile {
        display: none;
    }
}


.wac-testimonial-header__btn {
    --ha-ctv-btn-txt-clr: #4C833E;
    --ha-ctv-btn-border-clr: #4C833E;
    --ha-ctv-btn-txt-hvr-clr: #FFFFFF;
    --ha-ctv-btn-bg-hvr-clr: #4C833E;
    border-radius: 50px !important;
    border-width: 1px !important;
    padding: 18px 25px !important;
    display: block !important;
}

.wac-testimonial-header__btn span {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

.wac-testimonial-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    max-width: 1282px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .wac-testimonial-card {
        flex-direction: row;
        border-radius: 32px;
        gap: 32px;
    }
}

.wac-testimonial-card__content {
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .wac-testimonial-card__content {
        gap: 40px;
    }
}
@media (min-width: 992px) {
    .wac-testimonial-card__content {
        padding: 28px;
    }
}



.wac-testimonial-card__figure {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.wac-testimonial-card__figure figure {
    position: relative;
    width: 100%;
    padding-bottom: 108.7%;
}

.wac-testimonial-card__figure img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .wac-testimonial-card__figure {
        width: 45%;
    }
}

@media (min-width: 768px) {
    .wac-testimonial-card__figure {
        width: 35%;
    }
}

@media (min-width: 1200px) {
    .wac-testimonial-card__figure {
        width: 30.8%;
    }
}




.card-title {
    color: #0A102F !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 22px !important;
    }
}

@media (min-width: 992px) {
    .card-title {
        font-size: 26px !important;
    }
}

@media (min-width: 1200px) {
    .card-title {
        font-size: 32px !important;
    }
}

.card-link {
    color: #4C833E !important;
    max-width: max-content !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: opacity 0.25s ease !important;
    position: relative !important;
}

.card-link::before {
    content: "";
    position: absolute;
    bottom: 3px;
    width: 100%;
    height: 1px;
    background: #4C833E;
    transition: transform 0.4s ease;
}


@media (hover: hover) {
    .card-link:hover {
        opacity: 0.85 !important;
    }
    .card-link:hover::before {
        animation: link-underline 0.4s forwards;
    }
}

.card-designation-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (min-width: 768px) {
    .card-designation-wrapper {
        gap: 8px;
    }
    
}

.card-designation {
    color: #0A102F;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .card-designation {
        font-size: 18px;
    }
    
}

@media (min-width: 1200px) {
    .card-designation {
        font-size: 20px;
    }
    
}


.card-sub-designation {
    color: #0A102FCC;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
}

.card-designation {
    display: block;
}

.card-sub-designation {
    display: block;
}

@keyframes link-underline {
    0% {
        transform-origin: left;
        transform: scaleX(1);
    }
    50% {
        transform-origin: left;
        transform: scaleX(0);
    }
    51% {
        transform-origin: right;
        transform: scaleX(0);
    }
    100% {
        transform-origin: right;
        transform: scaleX(1);
    }
    
}