:root {
    --swiper-navigation-size: 30px !important;
}

.wrapper {
    /* max-width: 1100px; */
    padding: 20px 10px;
    margin: 0 60px 35px;
    overflow: hidden;
}

.wrapper .card {
    background: #fff;
    display: flex;
    height: auto;
    flex-direction: column;
    border-radius: 20px;
    /* box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease;
}

.swiper .card .card-image {
    position: relative;
}

.swiper .card .card-image img {
    width: 100%;
    padding: 10px;
    border-radius: 22px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.swiper .card .card-image .card-tag {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 0.75rem;
    color: #6366f1;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.swiper .card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 25px 25px;
}

.swiper .card .card-content .card-title {
    color: #111111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.swiper .card .card-content .card-text {
    color: #747474;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.swiper .card .card-footer {
    display: flex;
    margin-top: auto;
    align-items: center;
    padding-top: 15px;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.swiper .card .card-footer .card-profile {
    display: flex;
    align-items: center;
}

.swiper .card .card-profile .card-profile-info {
    display: flex;
    flex-direction: column;
}

.swiper .card .card-profile .card-profile-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #202020;
}

.swiper .card .card-profile .card-profile-role {
    font-size: 0.8rem;
    color: #7A7A7A;
}

.swiper .card .card-profile img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.swiper .card .card-button {
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.81rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wrapper .swiper-pagination-bullet {
    height: 15px;
    width: 15px;
    opacity: 1;
    overflow: hidden;
    position: relative;
    background: #B1B3F8;
}

.wrapper .swiper-pagination-bullet-active {
    background: #a4a7fd;
}

/* Auto-play loading indicator */
.wrapper .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #6366f1;
    transform-origin: left center;
    transform: scaleX(0);
    animation: autoplay-loading 5s linear forwards;
}

@keyframes autoplay-loading {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

.wrapper :where(.swiper-button-prev, .swiper-button-next) {
    color: #6366f1;
    margin-top: -35px;
    transition: all 0.3s ease;
}


/* Responsive media query code for small screens */
@media (max-width: 768px) {
    .wrapper {
        margin: 0 10px 25px;
    }

    .wrapper :where(.swiper-button-prev, .swiper-button-next) {
        display: none;
    }
}

.swiper-slide-button {
    color: #F15A22 !important;
    font-size: x-large !important;
    font-weight: bold !important;
    background-color: #ffffff !important;
    padding: 1.4rem !important;
    border-radius: 100% !important;
}

a {
    text-decoration: none !important;
    --bs-text-opacity: 1;
    color: #6c757d;
}

@media (min-width: 1400px) {
    .wrapper {
        margin: 0 100px 35px !important;
    }

    .swiper {
        max-width: 1480px !important;
    }
}

/* Base font size for all screens */
.main-title {
    font-size: 50px !important;
    font-weight: 600 !important;
}

.title-fs-30 {
    color: #F15A22;
    font-size: 30px !important;
    font-weight: bold !important;
}

.text-fs-25 {
    color: #6B6B6B !important;
    font-size: 25px !important;
    font-weight: 400 !important;
}

.sub-title {
    font-size: 30px !important;
    font-weight: 600 !important;
}

/* Font size for tablets (screen width <= 768px) */
@media (max-width: 768px) {
    .main-title {
        font-size: 40px !important;
        font-weight: 600 !important;
    }

    .text-fs-25 {
        color: #6B6B6B !important;
        font-size: 18px !important;
        font-weight: 400 !important;
    }

    .title-fs-30 {
        color: #F15A22;
        font-size: 23px !important;
        font-weight: bold !important;
    }

    .sub-title {
        font-size: 23px !important;
        font-weight: 600 !important;
    }
}

/* Font size for mobile phones (screen width <= 480px) */
@media (max-width: 480px) {
    .main-title {
        font-size: 35px !important;
        font-weight: 600 !important;
    }

    .text-fs-25 {
        color: #6B6B6B !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .title-fs-30 {
        color: #F15A22;
        font-size: 20px !important;
        font-weight: bold !important;
    }

    .sub-title {
        font-size: 20px !important;
        font-weight: 600 !important;
    }
}

.swiper-buttons-wrapper {
    display: none;
}

/* === Mobile styles === */
@media (max-width: 768px) {

    /* Move buttons out of default Swiper overlay */
    .swiper-button-prev,
    .swiper-button-next {
        position: static !important;
        margin: 0 10px !important;
        background-color: #ffff !important;
        color: #F15A22 !important;
        padding: 20px 20px !important;
        border-radius: 100% !important;
    }

    .swiper-buttons-wrapper {
        justify-content: center !important;
        display: flex !important;
        text-align: center !important;
        margin-top: 20px !important;
    }

    /* Hide overlay buttons (Swiper default) */
    .swiper .swiper-button-prev,
    .swiper .swiper-button-next {
        display: none !important;
    }

}