/*
*
* style for shortcode for services page
*
*/
*{
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
}
p, li {
    font-family: 'roboto', sans-serif;
}

    .body-container{
      max-width: 1440px;
      width: 100%;
      margin: 0 auto;
      padding-top: 50px;
    }
    .services-section{
      width: 100%;
      display: flex;
      justify-content: start;
      padding: 50px 20px;
      gap: 70px;
    }
    .services-section:nth-child(even) {
      flex-direction: row-reverse;
    }
    .services-title{
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 700;
      font-size: 48px;
      line-height: 40px;
      color: #ED7D31;
      margin-bottom: 30px;
    }
    .services-subtitle{
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 600;
      font-size: 20px;
      color: #404040;
      margin-bottom: 30px;
      line-height: 30px;
    }
    .services-list{
        list-style-type: square;
        /* width: 508px;
        height: 27px; */
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 27px;
        color: #808080;
        padding-left: 20px;
    }
    .services-list-items{
      margin-bottom: 15px;
      line-height: 22px;
    }
    .services-featured-image img{
      width: 100%;
      height: auto;
      border-radius: 12px;
    }
    .services-content{
        width: 50%;
    }
    @media screen and (max-width: 1024px) {
      .services-section,.services-section:nth-child(even){
        flex-direction: column;
        padding: 50px 20px;
      }
      .services-section{
        gap:40px;
      }
      .services-list{
        width: 100%;
      }
      .services-list-items{
        margin-bottom: 5px;
      }
      .services-featured-image{
        width: 100%;
      }
      .services-content{
        width: 100%;
    }
    }

    @media screen and (max-width:500px){
        .services-title{
            font-size:36px;
        }
        .services-subtitle{
            font-size:18px;
        }

        .services-list-items{
            font-size:14px;
        }
        .services-title{
            margin-bottom:15px;
        }
        .services-subtitle{
            margin-bottom:15px;
        }
        .services-section, .services-section:nth-child(even){
            padding:30px 20px !important;
        }
    }







.services-heading h1{
    font-size: 48px ;
    font-family: 'Open Sans';
    font-weight: 700;
    margin-top: 0;
}


.services-heading,
.services-excerpt {
    width: 60%;
    text-align: left;
}

/* .main-content-section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
} */




.services-data ol {
    padding-left: 20px;
}

.services-data ol li {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    padding-bottom: 15px;
}

.services-featured-image {
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}










.services-container{
    max-width: 1440px;
    margin: 0 auto;
}
.services-heading h2 {
    font-size: 48px;
    color: #ED7D31;
    font-weight: 700;
}

.services-excerpt h3 {
    font-size: 32px;
    color: #404040;
}

.services-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
    padding-top: 50px;
}

/* Flip Box Wrapper */
.flip-box {
    perspective: 1000px;
    /* min-width: 327px; */
}
.flip-box-csm{
    transition: 0.3s ease all;
   
}
.flip-box-csm:hover{
    scale: 1.05;
}
.neveda-management-services-section{
    /* margin: 100px auto; */
    padding: 100px 20px;
    background-color: #ECECEC;
    /* border-radius: 12px; */
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 55px;
    border-radius: 12px;
    background-color: white;
    color: #404040;
    box-shadow: 0px 4px 10px -2px rgba(0, 0, 0, 0.2);
}

.flip-box-front {
    border-left: 3px solid #ED7D31;
}

.flip-box-back {
    border-left: 3px solid #61CE70;
}

.services-data .flip-box:nth-child(even) .flip-box-front,  .services-data .flip-box-csm:nth-child(even) .flip-box-front{
    border-left: 3px solid #61CE70;
}

.services-data .flip-box:nth-child(even) .flip-box-back {
    border-left: 3px solid #ED7D31;
}

.flip-box-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    border-left: 2px solid #61CE70;
}

.flip-box-front h5,
.flip-box-back h5 {
    font-size: 22px;
    line-height: 24px;
    max-width: 240px;
}

/* Typography Fix for Heading Inside Grid */
.services-data h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    padding-bottom: 45px;
}

@media screen and (max-width:1200px) {
    .services-data {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 30px;
        margin: 0 auto;
        padding-top: 50px;
    }
}

/* Responsive Fixes */


@media (max-width: 1024px) {

    .heading-container {
        flex-direction: column;
        gap: 20px;
    }

    .services-heading,
    .services-excerpt {
        width: 100%;
    }

    .services-data h2 {
        font-size: 28px;
        line-height: 36px;
        padding-bottom: 35px;
    }
    .services-heading,
    .services-excerpt,.neveda-management-services-section.reverse .services-heading{
            text-align: center;
        }
}



@media (max-width: 767px) {
    /* .main-content-section {
        flex-direction: column;
    } */

    .services-data {
        width: 100%;
    }

    .services-data h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .services-data ol li {
        font-size: 14px;
        line-height: 20px;
    }

    .services-heading h2 {
        font-size: 40px;
        color: #ED7D31;
    }

    .services-excerpt h3 {
        font-size: 28px;
        color: #404040;
    }
}

/*
*
* Styles for team section in about us page shortcode
*
*/
.flip-card-container {
    /* display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between; */

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}


.flip-card {
    background-color: transparent;
    /* width: 300px; */
    height: 450px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.flip-card-front img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
}

.name-designation-section {
    text-align: left;
}

.flip-card-front h3 {
    width: fit-content;
    margin: 10px 0 5px;
    font-size: 16px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #000;
}

.flip-card-front p {
    font-size: 22px;
    font-weight: bold;
    color: #f26522;
    margin: 0 0 10px;
}

.flip-card-back {
    background-color: #f59e63;
    color: #000;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.icons {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.icons a i {
    background: #333;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
}

.flip-card-back p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info h3 {
    display: inline-block;
    background: #fff;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 3px;
}

.info small {
    display: block;
    font-size: 12px;
    color: #333;
}


/* Services 2nd page section css */

    .my-content-2{
        max-width: 1440px;
        margin: 0 auto;
        margin-top: 70px;
        padding: 0 20px;
    }
    .card-2 {
        position: relative;
        background: #fff;
        border-radius: 12px;
        padding: 30px;
        text-align: center;
        box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.1);
        /* cursor: pointer; */
        overflow: hidden;
        transition: all 0.3s ease;
    }

    /* Animated bottom border as overlay */
    .card-2::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 6px;
        background-color: #ED7D31;
        border-radius: 0 0 12px 12px;
        transition: height 0.4s ease;
        z-index: 0;
    }

    /* .card-2:hover::before {
        height: 100%;
        border-radius: 12px;
    } */
    .card-content-2{
        display: none;
    }
    /* Make inner content above the overlay */
    .card-img-2,
    .card-heading-2,
    .card-content-2 {
        position: relative;
        z-index: 1;
    }

    .card-img-2 {
        margin-bottom: 10px;
    }

    .card-img-2 svg {
        width: 30px;
        height: 30px;
        transition: stroke 0.3s ease;
    }

    .card-heading-2 h3 {
        font-size: 18px;
        margin: 0 0 12px;
        color: #222;
        transition: color 0.3s ease;
    }

    .card-content-2 p {
        font-size: 14px;
        line-height: 1.5;
        color: #555;
        transition: color 0.3s ease;
    }

    /* .card-2:hover .card-heading-2 h3,
    .card-2:hover .card-content-2 p {
        color: white;
    }

    .card-2:hover .card-img-2 svg path,
    .card-2:hover .card-img-2 svg circle {
        stroke: white;
    } */
    .services-heading-2 h2{
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 700;
      font-size: 48px;
      line-height: 40px;
      color: #ED7D31;
      margin-bottom: 30px;
    }
    .services-excerpt-2{
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
        font-size: 32px;
        color: #404040;
        margin-bottom: 30px;
        line-height: 35px;
    }
    .card-heading-2 h3{
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 27px;
        text-align: center;
    }
    .card-content-2 p{
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 22px;
        text-align: center;
    }
    /* Responsive grid */
    .services-data-2 {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 50px;
        margin: 0 auto;
        /* padding-top: 30px; */
    }

    @media screen and (max-width:1200px) {
        .services-data-2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
            gap: 30px;
            margin: 0 auto;
            padding-top: 50px;
        }
    }
    @media screen and (max-width:500px){
        .services-heading-2 h2{
            font-size:36px;
        }
        .services-excerpt-2{
            font-size:24px;
        }
        .services-data-2{
            padding-top:0px;
        }
        .card-content-2 p{
            font-size:15px;
        }
        
    }
/* Services 2nd page section css ends*/
