﻿img {
    width:100%;
}
.link-content .description p {
    text-align: center;
}

.link-content {
    transition: all .4s ease-out;
    text-align: center;
    border-radius: 50px;
    padding: 20px 20px 0px 20px;
}

.link-content-container .description {
    margin-top: 15px;
}

.link-content:has(a:hover) {
    transform: scale(1.02) translateY(-7px);
    box-shadow: 0 10px 40px 10px rgba(191, 198, 221, .3);
}

.hover-animate:hover {
    transform: scale(1.02) translateY(-7px);
    box-shadow: 0 10px 40px 10px rgba(191, 198, 221, .3);
}
@media (max-width: 768px) {
    .social-icons {
        justify-content: space-around;
        max-width: 100%;
    }

    .card-container {
        grid-template-columns: 1fr !important;
    }
}

.card-container {
    margin: auto;
    background-color: #fa5961;
    display: grid;
    grid-template-columns: 1fr 1fr; /* نصف نصف */
    border-radius: 45px;
}

/* سمت چپ (متن وسط‌چین) */
.card-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center; /* عمودی وسط */
    align-items: end; /* افقی وسط */
    padding: 50px 100px;
}

/* سمت راست (تصویر چسبیده به پایین) */
.card-image-box {
    display: flex; /* برای کنترل تراز داخلی */
    align-self: end; /* این div در پایین ستون خودش می‌نشیند */
    justify-content: center; /* افقی وسط */
}

    .card-image-box img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }

.container-3box {
    padding: 50px;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
}

    .container-3box .box {
        border-radius: 30px;
        max-width: 330px;
        flex: 0 0 30%;
        border: 1px solid #cdcdcd;
        position: relative;
    }

        .container-3box .box .box-img {
            border-radius: 10px;
            box-shadow: 0 15.7px 12.56px #dfe1e7, 0 19.8867px 39.7733px rgba(223, 225, 231, .35);
            background: white;
            position: absolute;
            left: 50%;
            top: 0%;
            transform: translate(-50%, -50%);
        }

            .container-3box .box .box-img img {
                max-width: 96px;
                margin: 5px;
            }

        .container-3box .box .content-box {
            display: flex;
            padding: 70px 20px 40px;
            text-align: center;
            height: -webkit-fill-available;
            flex-direction: column;
            justify-content: space-between;
        }

            .container-3box .box .content-box .text-content {
                margin-bottom: 20px;
                margin-top: 25px;
            }

        .container-3box .box .button-content {
            margin: 15px 0px 10px 0px;
        }

            .container-3box .box .button-content a {
                color: #3b3b3b !important;
                padding: 10px 15px;
                background: #62beca;
                border-radius: 20px;
            }

@media (max-width: 768px) {
    .container-3box {
        flex-direction: column;
        align-items: center;
        max-width: 100%
    }

        .container-3box .box {
            width: 100%;
            margin-top: 55px;
        }
}


.card-button {
    text-align: left;
    margin-top: 20px;
}

    .card-button a {
        padding: 10px 30px;
        background: #d7d7d7;
        border-radius: 50px;
    }

.pos-relative {
    position: relative;
}
.rb {
    border: 1px solid #dfe1e7;
    border-radius: .75rem;
    width: 1.4rem;
    height: 1.4rem;
}

.rb-line {
    display: flex;
}

.active-rb {
    border: .5rem solid #fa5961;
    border-radius: 1.75rem;
    width: 1.5rem;
    height: 1.5rem;
}

.active-slide {
    display: block !important;
}

.rb-title {
    text-align: center;
    margin: 30px;
}

.slide-box {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 50px 97px;
}

.slide {
    display: none;
}

.rb-box {
    padding: 70px;
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
}

.rb-container {
    display: flex;
    border-radius: 50px;
    margin: auto;
    max-width: 80%;
    background: #ebebeb47;
    direction: ltr;
}

.text-box {
    padding: 10px 5px;
}

.pagemaker .row {
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .pagemaker .row {
        flex-wrap: wrap;
    }

    .col-lg-6 {
        margin: 10px;
        flex: unset !important;
        max-width: unset !important;
    }

    .text-box {
        max-width: unset !important;
        flex: unset !important;
    }
}
.link-content:has(a:hover) {
    transform: scale(1.02) translateY(-7px);
    box-shadow: 0 10px 40px 10px rgba(191, 198, 221, .3);
}



.pagemaker .row {
    margin: auto;
}

.link:has(a:hover) {
}
.img-mob {
    display: none;
}

@media screen and (max-width: 600px) {
    .img-desk {
        display: none !important;
    }

    .img-mob {
        display: block !important;
    }
}
.prl30 {
    padding: 0px 30px;
}
.img-auto img{width:auto !important;}