.slider {
    position: relative;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    overflow: hidden;
}
section.slider svg:first-child{
    transform: rotate(-90deg);
    position: absolute;
    bottom: -130px;
}
.carousel-indicators [data-bs-target] {
    background-image: url("../images/Line.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 15px;
    height: 36px;
    border: none; /* حذف استایل پیش‌فرض */
    border-radius: 0; /* اگه نمی‌خوای دایره باشه */
    opacity: 1; /* تا کامل دیده بشه */
    z-index: 1;
    position: relative;
    top: 15px;
}

.carousel-indicators .active {
    background-image: url("../images/active-line.svg"); /* مثلا نسخه پررنگ‌تر */
}

section.slider span{
    color: #7D7;
    margin-bottom: 24px;
    display: block;
    font-weight: 700;
    font-size: 24px;
}
section.slider h5{
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 24px;
}
section.slider p{
    direction: rtl;
    font-size: 20px;
    font-weight: 400;
}
section.slider .slider-btn{
    direction: rtl;
    display: flex !important;
    justify-content: right !important;
    margin-top: 40px;
}
section.slider .slider-btn a:first-child{
    margin-left: 24px;
}
.slider .carousel-inner img {
    object-fit: cover;
    height: 500px; /* ارتفاع تصویر */
}
/* اورلی سمت راست */
.overlay-shape {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    background: linear-gradient(to left, rgba(0,58,115,0.9) 0%, rgba(0,58,115,0) 100%);
    border-bottom-right-radius: 1rem;
}
.carousel-caption {
    bottom: 30%;
    right: 8%;
}
section.services{
    margin-top: 64px;
}
span.title-span{
    color: #77DD77;
    font-size: 16px;
    font-weight: 700;
}
span.title-span::after {
    content: "";
    display: inline-block;
    background: url("../images/title-span.png") no-repeat center center;
    background-size: contain; /* میشه cover هم بذاری */
    width: 33px;
    height: 17px;
    margin-left: 5px;
    position: relative;
    top: 5px;
}
section.services h2{
    font-size: 28px;
    margin-top: 20px;
    color: #104E92;
    font-weight: 700;
    text-align: center;
    line-height: 40px;
}
section.services .item{
    margin-top: 48px;
}
section.services .item span{
   color: #CDDFF4;
    font-size: 54px;
    font-weight: 600;
}
section.services .item h2{
    color: #104E92;
    font-size: 24px;
    font-weight: 700;
    text-align: right;
}
section.services .item p{
    color: #6A6A6A;
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    direction: rtl;
    line-height: 28px;
    margin-bottom: 16px;
}
section.services .item a{
    background: #7D7;
    padding: 10px;
    border-radius: 8px;
    display: inline-flex;
    color: #104E92;
    text-decoration: none;
}
section.portfolio{
    margin-top: 64px;
    background: #F8F8F8;
    padding-top: 64px;
}
section.portfolio h2{
    font-size: 28px;
    font-weight: 700;
    color: #104E92;
    margin-top: 20px;
    margin-bottom: 64px;
}
section.portfolio .portfolio-content ul{
    display: flex;
    list-style: none;
    direction: rtl;
    justify-content: center;
}
section.portfolio .portfolio-content ul li{
margin-left: 24px;
}
section.portfolio .portfolio-content ul li:last-child{
    margin-left: 0;
}
section.portfolio .portfolio-content a.btn-success{
    margin-top: 43px;
    background: transparent;
    color: #B8B8B8;
    border: 1px solid #B8B8B8;
}
section.portfolio .portfolio-content a.btn-success.active{
    margin-top: 43px;
    background: #77DD77;
    color: #fff;
    border: none;
}
section.portfolio .portfolio-content a.item{
    margin-bottom: 16px;
    display: inline-flex;
}
section.portfolio a.btn-success{
    margin-top: 43px;
    background: #77DD77;
    border: none;
}
.item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px; /* مثل عکس نمونه */
}

.item-wrapper img {
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 20px;
}

.item-wrapper:hover img {
    transform: scale(1.03);
}

.item-wrapper .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(16, 78, 146, 0.9), rgba(16, 78, 146, 0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 15px;
}

.item-wrapper:hover .overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    direction: rtl;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #fff;
}

.overlay-content h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    border-right: 3px solid #91E391;
    padding-right: 10px;
}

.overlay-btn {
    background: #7ed957; /* همون سبز نمونه */
    color: #104E92;
    padding: 8px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.overlay-btn:hover {
    background: #6ec94a;
}
section.ready{
    margin-top: 64px;
}
section.ready {
    position: relative;
    padding: 100px 0;
    color: white;
    text-align: center;
    z-index: 1;
    height: 400px;
}
section.ready h2{
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
}
section.ready p{
    font-size: 24px;
    font-weight: 400;
}
section.ready::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 78, 146, 0.7); /* اورلی آبی رنگ */
    z-index: -1;
}

section.ready .btn-ready {
    display: inline-flex;
    gap: 15px;
    margin-top: 20px !important;
    width: 350px;
    margin: auto;
    border-radius: 8px !important;
}

section.ready .btn:first-child{
    color: #000;
    background: #77DD77;
    padding: 10px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}
section.ready .btn:last-child{
    color: #77DD77;
    border: 1px solid #77DD77;
    background: transparent;
    padding: 10px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}
section.ready .btn:hover {
    background: #77DD77;
    color: white;
}
section.about-us{
    margin-top: 64px;
}
section.about-us h2{
    font-size: 28px;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 32px;
}
section.about-us p{
    color: #919191;
    font-weight: 400;
    line-height: 28px;
    text-align: justify;
    font-size: 12px;
    direction: rtl;
}
section.about-us div.why{
    background: #77DD77;
    border-radius: 8px;
}
section.about-us div.why div{
    text-align: center;
    border: 1px solid #fff;
    border-top: 0;
    border-bottom: 0;
    padding: 16px;
}
section.about-us div.why div h2{
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-align: right;
    direction: rtl;
}
section.about-us div.why span{
    font-size: 48px;
    color: #fff;
    margin-bottom: 16px;
    display: block;
}
section.about-us div.why p{
    font-size: 20px;
    color: #fff;
    text-align: center;
}
section.about-us div.why span.why-span{
    font-size: 27px !important;
    color: #000;
    font-weight: 900;
    direction: rtl;
    text-align: right;
    display: block;
}
section.comments{
    background: #F8F8F8;
    margin-top: 64px;
    padding-top: 64px;
    padding-bottom: 64px;
}
section.comments .item{
    text-align: right;
    background: #fff;
    margin-bottom: 32px;
    border-radius: 8px;
}
section.comments div.comments-item-content{
    padding: 16px;
}
section.comments div.comments-item-member{
    background: #104E92;
    color: #fff;
    padding: 16px;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center; /* عمودی وسط‌چین می‌کنه */
    gap: 10px; /* فاصله بین عکس و متن */
    justify-content: right;
    direction: rtl;
}
section.comments button.owl-dot.active {
    border: 2px solid #104E92;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;      /* وسط‌چین عمودی */
    justify-content: center;  /* وسط‌چین افقی */
    text-align: center;
}



.comments-item-member img {
    width: 50px; /* اندازه آواتار */
    height: 50px;
    border-radius: 50%; /* گرد کردن تصویر آواتار */
    object-fit: cover;
}

.comments-item-member .member-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.comments-item-member .member-info p{
color: #77DD77;
}

section.comments h2{
    font-size: 28px;
    font-weight: 700;
    color: #104E92;
    margin-bottom: 48px;
    margin-top: 20px;
}
section.comments img{
    width: auto !important;
    display: inline !important;
    margin-bottom: 22px;
}
section.comments p{
    color: #6A6A6A;
    font-size: 16px;
    text-align: right;
    direction: rtl;
    line-height: 28px;
}
section.brand{
    margin-top: 64px;
    position: relative;
}
section.brand h2{
    color: #115296;
    font-size: 28px;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 40px;
}
section.brand .owl-nav {
    position: absolute;
    top: -59%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: left;
    transform: translateY(-50%); /* عمودی وسط چین */
}

section.brand .owl-nav button.owl-prev,
section.brand .owl-nav button.owl-next {
    font-size: 0 !important; /* حذف متن پیش فرض */
    background: none !important;
    border: none !important;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

section.brand .owl-nav button.owl-prev {
    background-image: url("../images/arrow-left.png") !important;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat !important;

}

section.brand .owl-nav button.owl-next {
    background-image: url("../images/arrow-right.png") !important;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat !important;
}

@media (max-width: 768px) {
    section.slider h5 {
        font-size: 30px;
    }
    section.slider span {

        font-size: 17px;
    }
    .overlay-shape {
        position: absolute;
        top: 0;
        left: 0; /* اگه میخوای از سمت چپ باشه، یا right:0 بذار اگه از سمت راست باشه */
        right: 0;
        height: 125%; /* به جای width ارتفاع رو محدود کن */
        width: 100%; /* کل عرض رو بگیره */
        background: linear-gradient(to bottom, rgba(0,58,115,0.9) 0%, rgba(0,58,115,0) 100%);
        border-bottom-right-radius: 1rem;
    }
    section.slider p {
        font-size: 16px;
        text-align: center;
    }
    section.services h2 {
        font-size: 20px;
        text-align: right;
    }
    span.title-span {
        font-size: 14px;
        text-align: right !important;
    }
    section.services .row{
        margin: auto !important;
        margin-bottom: 32px !important;
    }
    section.portfolio a.btn-success {
        margin-top: 0;
        float: right;
        margin-bottom: 16px;
    }
    section.portfolio h2 {
        font-size: 20px;
        color: #104E92;
        margin-top: 20px;
    }
    section.portfolio .portfolio-content ul {
        padding-right: 0;
    }
    section.portfolio .portfolio-content a.btn-success.active {
        font-size: 10px;
    }
    section.portfolio .portfolio-content a.btn-success {
        margin-top: 43px;
        background: transparent;
        color: #B8B8B8;
        border: 1px solid #B8B8B8;
        font-size: 10px;
    }
    section.portfolio .portfolio-content ul li {
        margin-left: 36px;
    }
    .list-inline-item:not(:last-child) {
        margin-right: 0;
    }
    section.ready h2 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 16px;
    }
    section.ready p {
        font-size: 16px;
        font-weight: 400;
    }
    section.ready .btn-ready {
        margin: 0;
    }
    section.about-us p {
        margin-top: 20px;
    }
    section.comments span.title-span{
          text-align: center !important;
      }
    section.comments h2 {
        font-size: 20px;
        text-align: center !important;
    }
    section.brand h2 {
        font-size: 20px;
    }
    section.brand .owl-nav {
        position: absolute;
        top: 151%;
        display: flex;
        justify-content: center;
        transform: translateY(-50%);
    }
    .contact-item {
        display: flex;
        align-items: center;
        justify-content: right;
        text-align: right;
        padding: 0;
        position: relative;
    }
    .contact-frame {
        padding: 6px;
        border-radius: 12px;
        border: none;
    }
    .contact-item {
        display: flex;
        align-items: center;
        justify-content: right;
        text-align: right;
        padding: 0;
        position: relative;
        margin-bottom: 32px;
    }

}