body{
    background:#EBEBEB;
}
h2{
    position: relative;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 50px; 
} 
.large-title,
.icons .counter,
.about-page-content .about-title{
    font-family: var(--main-font);
}
.service-main .description,
.content-low .content-main,
.about-page-content-desription,
.icons .count-title{
    font-family: var(--secondary-font);
}
.service-main{
    background:#2D2D32;
}
.service-main:hover{
    cursor: pointer;
    background:#011F38;
}
.service-main-inner{
    overflow: hidden;
    min-height: 500px;
    background-size: 100%!important;
    background-repeat: no-repeat!important;
    background-position: calc(100% + 100px) 50%!important;
    padding:30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}
.service-main-inner .h3,
.service-main-inner h3{
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 25px;
    color:#FFFFFF;
}
.service-main-inner .description p{
    font-size: 16px;
    line-height: 26px;
}
.services-main-section{
    position: relative;
    z-index: 1;
    background:#EBEBEB;
    padding:20px 20px 155px 20px;
}
.icons{
    padding-top: 30px;
}
.icons.dgr{
    position: relative;
    display: grid;
    gap:35px;
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-right: 90px;
}
.icons.dgr .icon svg path{
    stroke:var(--secondarydark);
}
.icons .dgr::before{
    content: "";
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 115%;
    bottom:-25px;
    right:-25%;
    background: rgba(110, 110, 110, 0.1);
    border-radius: 10px;
}
.icons .icon{
    text-align: center;
}
.icons .counter{
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #0D99FF;
}
.icons .count-title{ 
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--secondarydark);
}
.navigation-buttons{
    display: flex;
    flex-direction: row;
    gap:35px;
    justify-content: center;
}
.go-next svg circle,
.go-prev svg circle{
    fill-opacity: 1;
}
.mySwiper::before{
    content: "";
    position:absolute;
    z-index: 5;
    right:0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(235, 235, 235, 0) 0%, #EBEBEB 83.17%);
    height:100%;
    width:200px;
}
.swiper-slide,
.service-main{
    max-width: 300px; /* initial */ 
    transition: max-width 0.2s ease-in-out;
}
.main-service-slide.active,
.main-service-slide.active .service-main {
    max-width: 420px;
} 
.swiper-button-next,
.swiper-button-prev{
    opacity: 0;
    visibility: hidden;
}
@keyframes fadeDuringExpand {
    0% { opacity: 1; }
    10% { opacity: 0; } 
    55% { opacity: 0; } 
    100% { opacity: 1; }
}
.service-line{
        position: relative;
        left: -90px;
        width: 100%;
        border:none;
        background-color: var(--orange);
        height:2px;
        margin-bottom: 30px;
}
.service-main .description {    
    will-change: width, max-width;
    white-space: pre-wrap;   /* keep line breaks */
    overflow-wrap: break-word;
    opacity: 1;
    transition: none; /* disable normal transition */
    margin-bottom:30px; 
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #FFFFFF;
}
.service-main .active-navigation-line{
    max-height: 0;
    opacity: 0;
    transition:.5s all ease-in-out;
}
.main-service-slide.active .active-navigation-line{
    max-height: 150px;
    opacity: 1;
}
.main-service-slide.active .service-main .description {
    animation: fadeDuringExpand .5s ease-in-out forwards;
}
/* Content */
.main-content{
    position: relative;
    z-index: 5;
    padding:150px 20px 225px 20px;
    background:#FFFFFF;
    margin-top: -35px;
}
.main-content h2{
    position: relative;
    font-weight: 500;
    color: var(--secondarydark);
}
.main-content h2::before{
    content:"Lawyers";
    position:absolute;
    top: -50px;
    left: -120px;
    font-family: var(--main-font);
    font-style: normal;
    font-weight: 500;
    font-size: 130px;
    line-height: 120px;
    color: rgba(110, 110, 110, 0.1);
}
.paragraph{
    font-family: var(--secondary-font);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--secondarydark);
}
/* Featured cards */
.featured-card::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;    
    background: linear-gradient(86.11deg, #2D2D32 55.34%, rgba(255, 255, 255, 0) 103.16%);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); 
    transition:.5s all ease-in-out;
}
.featured-card:hover::before{
    transform:scale(1.5);
} 
.featured-card {
    position: relative;
    padding: 30px 25px !important;
    border-radius: 10px !important;
    transition: all 0.5s ease-in-out;
} 
.thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    z-index: 0;
}

.featured-card .z-5 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hero-cards { gap: 35px; }

.card-excerpt-and-action .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #181818;
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
}

.featured-card:hover .icon { background: var(--midblue); }
.card-title{
    color:#fff;
}
.blog-tag,
.case-study-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 150px;
    padding: 3px 24px;
    margin-bottom: 20px;
    border: 1px solid;
    border-radius: 100px;
    font-family: var(--main-font);
    font-weight: 300;
    font-size: 12px;
    line-height: 12px;
    color:#FFFFFF;
}
.blog-tag::before { content: url(/wp-content/uploads/2025/08/blog-icon.svg); }
.case-study-tag::before { content: url(/wp-content/uploads/2025/08/fluent-mdl2_test-case.svg); }

.card-title {
    font-family: var(--main-font); 
    font-size: 24px;
    line-height: 30px;
    max-width: 70%;
}

.intro {
    color:#FFFFFF;
    font-family: var(--secondary-font);
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    transition: color 0.5s ease-in-out;
}

.featured-card:hover {
    box-shadow: 0 0 15px 5px rgba(13, 153, 255, 0.3);
}
.featured-card:hover .intro { color: var(--orange); }
.studies-content{
    background:#F8F8F8;
    position: relative;
    z-index: 1;
    padding:150px 20px 150px 20px;
    margin-top: -50px;
    margin-bottom: -50px;
}
.studies-content h2{
    font-weight: 500;
    font-size: 48px;
    line-height: 50px;
    color: var(--secondarydark);
}
/* Accordeon Section */
.elc-accordion-section{
    position: relative;
    z-index: 5;
    margin-bottom: -50px;
    background:#fff;
    padding: 139px 0 200px 0;
}
.elc-accordion-title{
    color:var(--secondarydark);
} 
.elc-accordion-wrapper{
    border-top: 1px solid var(--secondarydark);
}
.elc-accordion-header{
    position: relative;
    font-family: var(--secondary-font);
    cursor: pointer;
    font-weight: 300;
    font-size: 24px;
    line-height: 30px;
    color: var(--secondarydark);
    background:transparent;
    border: none;
    padding:10px 0;   
    border-bottom: 1px solid var(--secondarydark);
    width:100%;
    text-align: left;
}
.elc-accordion-content{
    font-family: var(--main-font);
    
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #000000;
    animation: fadeIn 0.4s ease forwards;
    max-height: 0;
    overflow: hidden;
    transition:.5s all ease-in-out;
}
.elc-accordion-content.open{
    padding:20px 0; 
    max-height: 500px;
}
.elc-accordion-header::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    border: 6px solid transparent; 
    border-top-color: #000;       
    transition: transform 0.3s ease;
}
.elc-accordion-header[aria-expanded="true"]{
    font-weight: 700;
}
.elc-accordion-header[aria-expanded="true"]::after{
    transform: rotate(-180deg) translateY(50%);
}
.elc-accordion-section::before{
    content:"Best Choice";
    position:absolute;
    top:90px;
    left: 0;
    font-family: var(--main-font);  
    font-size: 130px;
    line-height: 120px; 
    color: rgba(110, 110, 110, 0.1);
}
.studies.dgr{
    gap:35px;
}
.elc-accordion-section hr,
.main-content hr,
.studies-content hr{
    max-width: 80%;
}
.studies-content h2::before{
    content:"Studies";
    position:absolute;
    top:30px;
    left: -90px;
    font-family: var(--main-font);  
    font-size: 130px;
    line-height: 120px; 
    color: rgba(110, 110, 110, 0.1);
}
.general.icon:not(:hover){
    background: var(--secondarydark);
}
.general.icon svg path{
    stroke:#fff;
}
@media (prefers-color-scheme: dark) {
    .services-main-section{
        background:#000000;
    }
    .intro{
        color:#6E6E6E;
    }
    .featured-card::before{ 
        background: linear-gradient(86.11deg, #000000 55.34%, rgba(255, 255, 255, 0) 103.16%);
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    }
    .elc-accordion-section{ 
        background:var(--light-section); 
    }
    .mySwiper::before{
        background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000000 83.17%);
    }
    .main-content .general.icon svg path{
        stroke:#fff;
    }
    .studies-content,
    .main-content .general.icon:not(:hover){
        background:var(--secondarydark);
    } 
    .main-content{
        background:#F5F5F5;
    }
    .service-main{
        background:var(--secondarydark);
    } 
    .icons.dgr .icon svg path {
        stroke: #FFF;
    }
    .studies-content h2,
    .icons .count-title{
        color: #FFF;
    }
    .elc-accordion-section{ 
        background:var(--light-section); 
    }
}


@media (min-width:1500px){
    .studies-content h2{
        max-width: 70%;
    }
}
@media(max-width:1024px){
    .main-content  .primary-btn{
        margin-bottom: 30px;
    }
    .studies-content .description{
        margin-bottom: 50px;
    }
    .studies.dgr{
        grid-template-columns: 1fr 1fr;
        gap:30px;
    }
    .icons.dgr{
        padding:0;
        margin-bottom: 50px;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: flex-end;
    }
    .navigation-and-link.mobile-only{
        padding-top:50px;
    }
    .icons .icon{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    } 
    .main-content h2::before,
    .elc-accordion-section::before{
        font-size: 70px;
    }   
    .elc-accordion-section{
        margin-bottom: 50px;
    } 
}
@media (min-width:1200px){
    .studies.dgr{
        grid-template-columns: 1fr 1fr;
    }
    .mySwiper {
        margin-right: -15%!important;
    }
    .hero-content{
        max-width: 55%;
    }
}
@media(max-width:1200px){
    .main-content,
    .elc-accordion-section{
        padding:75px 20px 150px 20px;
    } 
}
@media (max-width:768px){
    .studies.dgr{
        grid-template-columns: 1fr; 
    }
    .main-content,
    .elc-accordion-section{
        padding:50px 20px 50px 20px;
    }
    .card-title,
    .swiper-slide, 
    .service-main{
        max-width: 100%;
    }
    .mySwiper::before{
        content: none;
    }
    .icons.dgr{ 
        grid-template-columns: 1fr 1fr; 
    }
}