.desktop{
    display: block;
}
.mobile{
    display: none;
}
section .section-name{
    font-family: Roboto Condensed;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #3D4761;
}

section .section-title,
section .section-title > *,
section .text-sliding > .section-title > div{
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    margin: 0;
}


.front-page .practice-wrapper{
    margin-top: 0;
}

section.dark-bg .section-name,
.dark-bg .section-name{
    color: #fff;
}
.dark-bg{
    background-color: #152C3F;
    color: #fff;
}

.dark-bg .text-sliding>p>div{
    background: linear-gradient(to right, #fff 50%, #505050 50%);
    background-size: 200% 100%;
    background-position-x: 100%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.dark-bg .practice-area-item{
    border-color: #fff;
}

.dark-bg a:not(:hover){
    color: #fff;
}

.dark-bg .practice-area-item:before{
    background-color: #fff;
}

.dark-bg .practice-area-item.has-posts:not(:hover) .practice-area-title:after{
    background-image: url(../images/plus-white.svg);
}

.dark-bg .link:not(:hover){
    background-image: url(../images/up-arrow-white.svg);
}

.section-line{
    height: 1px;
    width: 100%;
    background-color: #C1C1C1;
    margin: 45px 0 40px;
}

.dark-bg .section-line{
    background-color: #fff;
}

/* .front-page{
    overflow: hidden;
} */

.front-page .section-new-publication{
    margin-top: 35px;
}

.front-page .about-us-section{
    margin-top: 85px;
}

.front-page .practice-areas-section {
    padding-top: 30px;
    margin-top: -1px;
}

.front-page .practice-areas-section .practice-content{
    border: 0;
    padding: 0;
}

.front-page .contact-section{
    margin: 150px auto 160px;
}

/* Custom Fade-up Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

.fade-up-element.animate {
    animation: fadeUp 1s ease-in-out forwards;
}

/* Animation delays for cascade effect */
.fade-up-element.animate[data-delay="50"] { animation-delay: 0.05s; }
.fade-up-element.animate[data-delay="100"] { animation-delay: 0.1s; }
.fade-up-element.animate[data-delay="150"] { animation-delay: 0.15s; }
.fade-up-element.animate[data-delay="200"] { animation-delay: 0.2s; }
.fade-up-element.animate[data-delay="250"] { animation-delay: 0.25s; }
.fade-up-element.animate[data-delay="300"] { animation-delay: 0.3s; }
.fade-up-element.animate[data-delay="350"] { animation-delay: 0.35s; }
.fade-up-element.animate[data-delay="400"] { animation-delay: 0.4s; }
.fade-up-element.animate[data-delay="450"] { animation-delay: 0.45s; }
.fade-up-element.animate[data-delay="500"] { animation-delay: 0.5s; }
.fade-up-element.animate[data-delay="550"] { animation-delay: 0.55s; }
.fade-up-element.animate[data-delay="600"] { animation-delay: 0.6s; }
.fade-up-element.animate[data-delay="650"] { animation-delay: 0.65s; }
.fade-up-element.animate[data-delay="700"] { animation-delay: 0.7s; }
.fade-up-element.animate[data-delay="750"] { animation-delay: 0.75s; }
.fade-up-element.animate[data-delay="800"] { animation-delay: 0.8s; }
.fade-up-element.animate[data-delay="850"] { animation-delay: 0.85s; }
.fade-up-element.animate[data-delay="900"] { animation-delay: 0.9s; }

/* Improved animation performance */
.banner-content-wrap * {
    will-change: transform, opacity;
}

@media (max-width: 767.95px) {
    .desktop{
        display: none;
    }
    .mobile{
        display: block;
    }
    .front-page .section-new-publication{
        margin-top: 10px;
    }
    .news-publications .news-item{
        padding-top: 5px;
    }
    .news-publications .news-image{
        padding-bottom: 85%;
    }
    .front-page .about-us-section{
        margin-top: 65px;
    }

    section .section-title,
    section .section-title > *,
    section .text-sliding > .section-title > div{
        font-size: 24px;
        line-height: 1.35;
    }

    .front-page .practice-areas{
        margin-bottom: 40px;
    }
    .front-page .practice-areas-section{
        padding-bottom: 70px;
    }
    section .practice-areas-link{
        text-align: left;
    }
    .front-page .contact-section{
        margin: 90px 15px 210px;
    }
}