.services-template{
    opacity: 0;
}

.accordion-wrapper{
    list-style: none;
    padding:0;
}

.accordion-wrapper li{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border-top: 1px solid #54192D;
    padding-top:10px;
    cursor:pointer;
}

.accordion-wrapper li section{
    width:100%;
}

.accordion-wrapper h3{
    font-size:16px;
    font-weight: 200;
    color:#54192D;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-wrapper .description{
    max-height:0;
    overflow: hidden;
    transition: max-height 0.5s ease-in;
    width:90%;
}

.accordion-wrapper p{
    font-size:16px;
    color:#1E1E1C;
    
}


.accordion-wrapper .item.active .description{
    max-height: 500px;
}

.accordion-wrapper .button{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width:15px;
    min-height:15px;
    position: relative;
    flex-direction: column;
}


.accordion-wrapper .button::before,
.accordion-wrapper .button::after
{
    content:'';
    width:100%;;
    height:1px;
    background-color: #54192D;
    transition: transform 0.5s ease-in;
}

.accordion-wrapper .button::after{
    transform: rotate(90deg) translateX(-1px);
}

.accordion-wrapper .active .button::after{
    transform: rotate(0) translateX(0);
}

/* <ul class="services-card-wrapper">
<?php
    foreach( $cards as $card ){
        if( !empty( $card['services_card_url']) ){
            ?>
                <li class="card">
                    <a href="<?php echo esc_url( $card['card_url'] ); ?>">
                        <section class="services-card">
                            <div class="image-wrapper">
                                <img src="<?php echo esc_url( $card['card_image']['url'] ); ?>" alt="">
                            </div>
                            <h3><?php echo $card['card_title']; ?></h3>
                        </section>
                    </a>
                </li>
            <?php
        }else{
            ?>
            <li class="card">
                <section class="services-card">
                    <div class="image-wrapper">
                        <img src="<?php echo esc_url( $card['card_image']['url'] ); ?>" alt="">
                    </div>
                    <h3><?php echo $card['card_title']; ?></h3>
                </section>
        </li>
            <?php
        }    
    }
    return ob_get_clean();
?>
</ul> */

.services-card-wrapper{
    display: grid;
    padding:0;
    list-style: none;
    gap:10px;
}



.card-title{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color:#54192D;
    font-size: 20px;
    
}

.card-title section h3{
    font-weight: 600;
}


.wrapper-1{
    grid-template-columns: repeat(5, 1fr);
}

.wrapper-2{
    grid-template-columns: repeat(4, 1fr);
}

.wrapper-3{
    grid-template-columns: repeat(3, 1fr);
}

.services-card-wrapper .image-wrapper{
    height:330px;
    background-color:#D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;

}

.services-card-wrapper .card:hover img{
    transform: scale(1.2);
}

.services-card-wrapper section{
    display: flex;
    flex-direction: column;
    gap:17px;
}

.services-card-wrapper .image-wrapper img{
    width:100%;
    height:100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.services-card-wrapper h3{
    font-size: 16px;
    font-weight: 200;
    color: #54192D;
    text-transform: uppercase;
}


.bullet-wrapper li{
    font-size:16px;
    color:#1E1E1C;
}

.bullet-wrapper li::marker{
    font-size:15px;
}

.section_6_bullet.bullet-wrapper li::marker{
    color:white;
}


.section_6_bullet.bullet-wrapper li{
    color:#FBF8F3;
}

.steps-wrapper{
    list-style: none;
    padding:0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:10px;
    align-items: center;
    justify-content: center;
    max-width:1060px;
    margin:auto;
}

.steps-wrapper li{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:38px;
}



.steps-wrapper li span{
    font-size: 100px;
    font-family: 'IvyPresto Display Italic', 'IvyPrestoDisplay-Italic';
    color:#54192D;
    font-style: italic;
}

.steps-wrapper section{
    display: flex;
    flex-direction: column;
    gap:0;
    width:70%;
}

.steps-wrapper h3{
    color:#54192D;
    font-size:16px;
    text-transform: uppercase;
    font-weight: 200;
    margin:0;
    line-height:20px;
    letter-spacing: 0.2em;
    margin-bottom:5px;
}

.steps-wrapper p{
    color:#1E1E1C;
    font-size:16px;
    font-weight: 200;
    line-height:15px;
    margin:0;
    word-break: break-word;
    line-height:1.2em;
}

.mb{
    display: none;
}

.swiper-pagination{
    display: none;
}

@media( max-width:768px ){

    .dp{
        display: none;
    }

    .mb{
        display: block;
        position: absolute;
    }

    .accordion-wrapper h3{
        font-size:12px;
    }
    .accordion-wrapper p{
        font-size:12px;
    }

    .section_5_bullet.bullet-wrapper li{
        font-size:12px;
    }

    .section_6_bullet.bullet-wrapper li{
        font-size:12px;
    }

    .steps-wrapper{
        grid-template-columns: repeat(1, 1fr);
    }

    .steps-wrapper li span{
        font-size:60px;
    }

    .steps-wrapper h3{
        font-size:12px;
    }

    .steps-wrapper p{
        font-size:12px;
    }

    .swiper-container{
        overflow: hidden;
        max-width:1440px;
        width:100%;
        margin: auto;
        position: relative;
    }

    .swiper-wrapper{
        width:100%;
    }

    .card-title{
        position: absolute;
        top:0;
        left:0;
        width:100%;
        font-size:10px;
        text-transform: uppercase;
        align-items: flex-end;
    }

    .card-title h3{
        margin:0;

    }

    .card.card-title .services-card{
        padding:30px 0 20px;
        width:100%;
        height:50px;
        border-bottom:1px solid #FBF8F3;
        z-index:2;
    }

    /* .card.card-title .services-card h3{
    
        z-index:2;
    } */

    .card{
        margin-right:0;
    }

    .card .services-card{
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height:500px;
    }

    .card .image-wrapper{
        width:100%;
        height:100%;
    }

    .card h3{
        position: absolute;
        color:#FBF8F3;
        font-size:14px;
        letter-spacing:3px;
    }

    .services-card-wrapper{
        gap:0;
    }

    .services-card-wrapper .image-wrapper{
        border-radius: 0;
    
    }

    .wrapper-1{
        display: flex;
    }

    .swiper-pagination{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper-pagination .swiper-pagination-bullet{
        border: 1px solid #FBF8F3;
        opacity: 1;
        background-color:transparent
    }

    .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
        background-color:#CD7E7A;
    }

}



@media screen and (max-width: 747px){
  .services-card-wrapper.services-4,
  .services-card-wrapper.services-5{
      display: grid !important;;
     grid-template-columns: repeat(2, 1fr) !important;
   
     gap:10px;
  } 
   
  .services-card-wrapper.services-4  .ls-card,
  .services-card-wrapper.services-5  .ls-card{
      gap: 10px !important;;
    }
  .services-card-wrapper.services-4 .card .services-card,
  .services-card-wrapper.services-5 .card .services-card{
    height: auto;
  }
  .services-card-wrapper.services-4 .image-wrapper,
  .services-card-wrapper.services-5 .image-wrapper{
    height: 170px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
  }
  #services-4,#services-5{
    padding: 10px 20px 20px 20px;
  }
  .services-card-wrapper.services-4 .ls-card img,
  .services-card-wrapper.services-5 .ls-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }
  .services-card-wrapper.services-4 .card h3,
   .services-card-wrapper.services-5 .card h3{
    position: relative;
    font-size: 12px !important;
    text-align: center;
    color: #54192D;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 20px;
    text-transform: uppercase;
  }
  .card.card-title .services-card{
	  border-bottom: 0 !important;
  }
}