/********** Template CSS **********/
:root {
    --primary: #E31E24;
    /* --primary: #355EFC; */
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
    --black: (#101010);
}

body {
    background-color: #fff !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 85px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--black);
    /* color: #E31E24; */
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    /* color: var(--primary); */
    color: var(--black);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 50px !important;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .hero-section {
        margin-top: 80px !important;
    }
     .carousel-inner{
        height: 25vh;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
        .hero-section {
        margin-top: 80px !important;
    }
     .carousel-inner{
        height: 25vh;
    }
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-fit: contain;
    }

    .page-header {
        padding-top: 4rem !important;
        /* padding-bottom: 6rem; */
        /* background: url(../img/header.jpg) top left no-repeat; */
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
        background-size: cover;
    }
}

.page-header {
    padding-top: 9rem;
    /* padding-bottom: 6rem; */
    /* background: url(../img/header.jpg) top left no-repeat; */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}

/*** Facts ***/
.facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
}

/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
}

/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}

/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}

/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

/* Carousel Dots */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators .active {
    transform: scale(1.2);
}

/* Optional: Full-height slider */
#header-carousel .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Team ***/
.team-item {
    height: 95vh;
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
    top: 20px;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    /* border: 1px solid var(--light); */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    z-index: 1;
}

/* .team-item:hover .team-text {
background: var(--primary);
border-color: var(--primary);
} */

.team-item .team-text h4 {
    transition: .5s;
}

/* .team-item:hover .team-text h4 {
color: #FFFFFF;
} */

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

#google_translate_element {
    display: inline-block !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

.goog-te-gadget-simple {
    display: inline-block;
    background-color: transparent !important;
    color: white;

    border-radius: 5px;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;

    position: relative;
}

.goog-te-gadget-simple select {
    background-color: #fff;
    color: #333;
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    width: 160px;
    box-sizing: border-box;
    display: block;
    text-align: center;
}

.goog-te-gadget-simple .goog-te-menu-value {
    font-size: 16px;
    color: white;
    text-align: center;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    padding: 5px;
    display: inline-block;
}

.VIpgJd-ZVi9od-xl07Ob-lTBxed {
    display: block !important;
    position: relative;
    text-align: center;
    margin-top: 15px;
    padding: 10px 0;
}

.VIpgJd-ZVi9od-xl07Ob-lTBxed * {
    visibility: hidden !important;
    /* Hide everything inside */
}

.VIpgJd-ZVi9od-xl07Ob-lTBxed::before {
    content: "Translate";
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    color: #101010;
    font-weight: bold;
    padding: 10px;
    /* background-color: rgba(255, 255, 255, 0.8); */
    width: 10%;
    text-align: center;
    border-radius: 5px;
}

.VIpgJd-ZVi9od-xl07Ob-lTBxed img {
    display: none !important;
}

.goog-te-gadget {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
}

.goog-te-gadget img {
    display: none !important;
}

.team-social {
    position: relative;
    top: 20px;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    /* WhatsApp green */
    color: white;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    z-index: 9999;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    /* Darker green on hover */
}

.whatsapp-btn i {
    margin-right: 10px;
}

/* .carousel-item{
height: 90vh;
} */
.carousel-img {
    width: 100%;
    height: 100vh;
    /* Full screen height on large screens */
    object-fit: cover;
}

@media (max-width: 768px) {
        .hero-section {
        margin-top: 80px !important;
    }
     .carousel-inner{
        height: 25vh;
    }
    .carousel-img {
        height: 300px;
        object-fit: cover;
    }

    .team-item img {
        position: relative;
        z-index: 2;
        top: 70px;
    }

    .team-item {
        height: 65vh;
        position: relative;
        padding: 4rem 0;
    }

    .text-muted {
        /* margin-top: 150px !important; */
        font-size: 1.2rem;
        font-weight: bold;
    }
}

.custom-modal-width {
    max-width: 400px !important;
    /* Or whatever width you want */
    margin: auto !important;
}

.text-muted {
    /* margin-top: 150px !important; */
    font-size: 1.2rem;
    font-weight: bold;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    position: absolute;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* Mobile fix — show submenu when class 'show' is added via JS */
.dropdown-submenu.show>.dropdown-menu {
    display: block;
    position: relative;
    left: auto;
}

/* Custom modal width */
.custom-modal-width {
    max-width: 700px;
}

/* Reduce modal height for small screens */
@media (max-width: 576px) {
        .hero-section {
        margin-top: 80px !important;
    }
    .carousel-inner{
        height: 25vh;
    }
    .modal-dialog {
        margin: 1.75rem auto;
    }

    .modal-content {
        max-height: 50vh;
        overflow-y: auto;
    }
}

.partner-logo {
    height: 100px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: all 0.3s ease;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.partner-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    background: #fff;
    transform: translateY(-5px);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .partner-logo {
        height: 80px;
        padding: 10px;
    }
}

.deposit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.deposit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.deposit-icon {
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
}

.rate-highlight {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: var(--bs-primary);
    margin-right: 0.5rem;
    width: 20px;
}

.btn-apply {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0b5ed7 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

@media (max-width: 768px) {
    .rate-highlight {
        font-size: 2rem;
    }
}

.info-card {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-img {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.team-img img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.8rem 1.5rem;
    text-align: center;
    background: white;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.team-role {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.team-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: #f0f0f0;
    color: var(--dark);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 6px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "→";
}

.carousel-slide-area {
    position: relative;
    height: 550px;
    background: url("../img/slider/slider.png") center center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 6%;
}

.carousel-text-box {
    max-width: 550px;
    color: #ffffff;
}

.carousel-text-box h2 {
    font-size: 40px;
    font-weight: 700;
    color: #f8d24a;
    /* Gold accent heading */
    line-height: 1.2;
}

.carousel-text-box p {
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
}

.carousel-text-box .btn-custom {
    background: #ffcc00;
    color: #000;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 6px;
    font-size: 18px;
}

.carousel-text-box .btn-custom:hover {
    background: #e6b800;
}

.team-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-item .team-img {
    width: 100%;
    height: 350px;
    /* same height for all images */
    overflow: hidden;
}

.team-item .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-text {
    flex-grow: 1;
}

@media (max-width: 991px) {
    .team-item .team-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .team-item .team-img {
        height: 250px;
    }
}

.slider-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 50px 20px;
}

/* Card */
.card-list .card-item {
    color: red;
    user-select: none;
    padding: 20px;
    /* Reduced from 35px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(20px);
    background: rgb(217, 218, 250);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Name */
.card-list .card-item .user-name {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* Profession */
.card-list .card-item .user-profession {
    font-size: 0.95rem;
    color: black;
    font-weight: 500;
    margin: 6px 0 15px;
    text-align: center;
}

/* Button */
.card-list .card-item .message-button {
    font-size: 1rem;
    padding: 8px 25px;
    color: #030728;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.card-list .card-item .message-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid black;
    color: black;
}

/* Pagination */
.slider-wrapper .swiper-pagination-bullet {
    background: #fff;
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

.slider-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Navigation Buttons */
.slider-wrapper .swiper-slide-button {
    color: red;
    margin-top: -35px;
    transition: 0.2s ease;
}

.slider-wrapper .swiper-slide-button:hover {
    color: #4658ff;
}

/* Mobile */
@media (max-width: 768px) {
    body {
        min-height: 50vh;
    }

    .slider-wrapper {
        margin: 0 10px 20px;
    }

    .slider-wrapper .swiper-slide-button {
        display: none;
    }

    .card-list .card-item {
        padding: 15px;
    }

    .card-list .card-item .user-image {
        width: 75px;
        height: 75px;
    }
}

.slider-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 50px 20px;
}

/* Equal Size Cards */
.card-list .card-item {
    color: red;
    user-select: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background: rgb(217, 218, 250);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    backdrop-filter: blur(20px);

    /* Same Size */
    height: 320px;
    /* Change as needed */
    box-sizing: border-box;
}

/* Name */
.card-list .card-item .user-name {
    font-size: 1.15rem;
    margin-bottom: 12px;
    text-align: center;
    min-height: 30px;
}

/* Testimonial */
.card-list .card-item .user-profession {
    font-size: 0.95rem;
    color: #000;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    /* Maximum lines */
    -webkit-box-orient: vertical;
}