.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    align-items: end;
    justify-content: start;
    color: #fff;
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
}

.hero-sec-overlay {
    position: absolute;
    height: 100%;
    left: 0;
    z-index: 1;
}

.hero-sec-overlay-ar{
    right:0;
}

.postid-612 .row-slides-carddd:nth-child(2) .pioneer-stack-wrap{
    padding-bottom:60px;
}


.postid-612 .row-slides-carddd:nth-child(2) .pioneer-stack-wrap .card{
    height:278px;
}


.postid-612 .row-slides-carddd:nth-child(2) .pioneer-stack-wrap .card.front{
    height:auto;
}

.banner-title {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 60px;
    width: 30%;
    /* white-space: nowrap; */
    color: white;
    width: 100%;
    /* white-space: nowrap; */
    color: white;
    position: relative; 
    z-index: 2;
}

.banner-content {
    width: 30%;
}

@media (max-width:768px) {
    .hero-section {
        height: 50vh;
    }

    .banner-title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 20px;
        width: 30%;
        white-space: nowrap;
        color: white;
    }
}

.section-single-post-service {
    margin-top: 30px;
    margin-bottom: 20px;
}

.wrap {
    width: 100%;
    max-width: 500px;
}

.title {
    margin: 0 0 18px;
    text-align: center;
    font-weight: 700;
    font-size: 26px;
    color: var(--teal);
}

/* stack container */
.stack {
    position: relative;
    height: 320px;
    overflow: visible;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin-top: 7%;
    margin-left: 14%;
}

.card {
    position: absolute;
    width: 324px;
        min-height: 278px;
    border-radius: var(--radius);
    border: 1px solid #d8d8d8;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
    background: #fff;
    padding: 14px 26px 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid #000;
}

.right-side-card-slides-heading {
    color: #046162;
    font-weight: 600;
    font-size: 21px;
    display: flex;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.sub {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
}

.rule {
    height: 2px;
    background: #1f1f1f;
    border-radius: 2px;
    width: 100%;
    margin: 10px 0 12px;
}

.card p {
    margin: 0;
    font-size: 14px;
}

/* back cards (peek from the LEFT and slightly higher) */
.back-2 {
    left: -8%;
    top: -8%;
    background: #CCCCCC;
    border: 1px solid #000;
    z-index: 1;
}

.back-1 {
    left: -4%;
    top: 6%;
    background: #CCCCCC;
    border: 1px solid #000;
    z-index: 2;
}

/* front card */
.front {
    left: 0;
    top: 64px;
    background: #fff;
    z-index: 3;
}

.controls {
    text-align: center;
    margin-top: 20px;
    display: none;
}

.btn-custom {
    background: var(--teal);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-custom:hover {
    background: #0a6b66;
}

/* Animation classes */
.card-animating {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.row-slides-carddd {
    margin-bottom: 60px;
}
.row-slides-carddd-lef-img{
    /*height: 100%;*/
    border-radius: 22px;
}

@media(max-width:767px) {
    .stack {
        margin-left: 9%;
    }
     .card {
        position: absolute;
        width: 87%;
    }
    .right-side-card-slides-heading{
        margin-top: 20px;
    }
}

@media(max-width:450px) {
    
    .card p {
    font-size:12px;
        
    }
    
    .postid-612 .row-slides-carddd:nth-child(2) .pioneer-stack-wrap{
    padding-bottom:20px;
}

.row-slides-carddd-lef-img {
        max-height: 300px !important;
        height: 100% !important;
    
}


}

@media (min-width: 320px) and (max-width: 400px) {
    .stack {
        position: relative;
        height: 301px;
        overflow: visible;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        margin-top: 7%;
        margin-left: 9%;
    }

    .card {
        position: absolute;
        width: 87%;
    }
    .right-side-card-slides-heading {
    color: #046162;
    font-weight: 600;
    font-size: 21px;
    display: flex
;
    margin-bottom: 20px;
    margin-top: 20px;
}
}

html[lang="ar"] .back-2 {
    right: 8%;
    top: -8%;
    background: #CCCCCC;
    border: 1px solid #000;
    z-index: 1;
}

html[lang="ar"] .back-1 {
    right: 12%;
    top: 6%;
    background: #CCCCCC;
    border: 1px solid #000;
    z-index: 2;
}

/* front card */
html[lang="ar"] .front {
    right: 16%;
    top: 64px;
    background: #fff;
    z-index: 3;
}
