.content-heroslider {
    color: #fff;
    max-width: 500px;
    position: absolute;
    right: 10%;
    text-align: right;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.slider-img {
    height: 100vh;
    object-fit: cover;
    object-position: center; 
}
.content-heroslider h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000;
}

.content-heroslider p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: gray;
    
}

.content-heroslider .btn-dark {
    border: 0;
    padding: 12px 30px;
}

.banner {
    padding-top: 80px;
    padding-bottom: 50px;
    direction: rtl; 
}

.banner__item {
    position: relative;
    margin-bottom: 45px;
}

.banner__item__pic {
    overflow: hidden;
}

.banner__item__pic img {
    width: 100%;
    height: 440px;
    object-fit: cover; 
    transition: all 0.5s;
    display: block;
}
.banner__item.banner__item--middle {
    margin-top: 50px;
}

.banner__item.banner__item--middle .banner__item__pic img {
    height: 380px;
}
.banner__item.banner__item--last {
    margin-top: 500px;
}

.banner__item.banner__item--last .banner__item__pic img {
    height: 440px;
}
.banner__item__text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -287px; 
    max-width: 350px;
    z-index: 5;
    background: transparent;    
}
.banner__item--middle .banner__item__text {
    position: relative;
    top: 0;
    right: 0;
    transform: none;
    margin-top: 25px;
    max-width: 100%;
}

.banner__item__text h2 {
    color: #111111;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.banner__item__text a {
    display: inline-block;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    text-decoration: none;
}

.banner__item__text a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #111111;
    content: "";
    transition: all 0.3s;
}

.banner__item:hover .banner__item__text a::after {
    width: 40px;
    background: #e53637;
}
@media (max-width: 991px) {
    .banner__item.banner__item--middle,
    .banner__item.banner__item--last {
        margin-top: 0;
    }
    .offset-lg-4 {
        margin-left: 0 !important;
    }
    
    .banner__item__text {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin-top: 20px;
        padding: 0 15px;
        max-width: 100%;
        
    }
    .banner__item__pic img {
        height: 300px; 
    }
}

@media (min-width: 992px) {
    .banner__item.banner__item--middle .banner__item__text {
        position: absolute;
        top: 50%;
        right: 580px;
        transform: translateY(-50%);
        margin-top: 0;
        width: 100%;
    }

    .banner__item.banner__item--middle {
        overflow: visible;
    }
}

@media (max-width: 991px) {
    .banner__item.banner__item--middle .banner__item__text {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin-top: 20px;
        width: 100%;
        padding: 0 15px;
    }
}

.instagram-section {
    margin-top: 50px;
}

.insta-item {
    overflow: hidden;
    position: relative;
}

.insta-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.overlay {
    align-items: flex-start;
    background: rgba(0,0,0,0.4);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity var(--talla-transition);
    width: 100%;
}

.overlay i {
    color: #fff;
    font-size: 32px;
    margin-top: 150px;
    opacity: 0;
    transform: translateY(-50px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.insta-item:hover .overlay,
.insta-item:hover .overlay i {
    opacity: 1;
}
.insta-item:hover .overlay i {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .slider-img {
        object-position: 20% center; 
    }
    .content-heroslider {
        max-width: 70%;
        right: 5%;
    }
    .content-heroslider h1 {
        font-size: 1.5rem;
    }

    .content-heroslider p {
        font-size: 1rem;
    }

    .single-banner img {
        height: 220px;
    }
}