.global-container {
    padding: 45px 50px;
    max-width: 1440px;
    margin: auto;
}

#mob-buildings {
    display: none;
}

.dark-overlay-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(35, 35, 35, 0.3);
    display: none;

}

#timeline-global {
    overflow-y: hidden;
}

.small-con {
    max-width: 900px;
}

.red-count {
    color: #E24A68;
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 44px;
    line-height: 48px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.grid-items-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.greybg {
    background: #f5f5f3;
}

.count-item {
    background: #fff;
    padding: 50px 20px;
}

.count-meta {
    color: #232323;
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    text-align: center;
}

.redText {
    color: #E24A68;
    font-family: 'GT-America-Standard-Medium',  Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.global2 {
    font-size: 44px;
    line-height: 48px;
    text-align: center;
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    max-width: 700px;
    margin: auto;
    margin-bottom: 50px;
}

#dk-buildings {
    max-width: 1200px;
    margin: auto;
}

.img-left-sec {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

.global-p,
.global-p p {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    color: #232323;
    font-size: 16px;
    line-height: 24px;
}

.text-global p {
    margin-bottom: 30px;
}

.img-global {
    width: 40%;
}

.img-global img {
    max-width: 200px;
}

.text-global {
    width: 60%;
}

.global-red-btn {
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    background: #eb5c73;
    color: #fff;
    padding: 19px 24px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    line-height: 18px;
    transition: all 0.3s;
}

.global-red-btn:hover {
    background: #eb5c73cc;
}

.hover-build {
    opacity: 0;
    cursor: pointer;
}

.hover-build:hover {
    opacity: 1;
}

.lift:hover {
    transform: translateY(-1px);
}

.global-video-box iframe {
    width: 100%;
}

.flex-three {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
}

.gl-img-grid-con {
    width: 100%;
    aspect-ratio: 4/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gl-img-grid-con img {
   width: auto;
   height: 90%;
}

.eighty-img img {
    height: 70%; 
}

.flex-three-item {
    background: #fff;
    width: calc(33% - 13.33px);
    text-align: center;
}

.flex-three-item .inner-global {
    padding: 50px 20px;
    height: calc(100% - 100px);
}

.flex-three-item h3 {
    color: #232323;
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 27px;
    line-height: 29px;
    margin-bottom: 20px;
    font-weight: 700;
    min-height: 58px;
}

.flex-three-item p {
    color: #232323;
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    text-align: center;
    line-height: 24px;
    font-size: 16px;
}

.darkbg {
    background: #232323;
    color: #fff;
}

.splide__slide {
    background: #fff;
    position: relative;
}

.top-inv {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    line-height: 29px;
    margin-top: 20px;
}

.bot-inv {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    line-height: 29px;
    margin-top: 20px;
}

#testimonials .splide__slide {
    background: transparent;
}

#testimonials .splide__slide .splide-div {
    background: #fff;
    display: block !important;
    padding: 70px 20px;
    transform: scale(80%);
    transition: transform 0.3s ease;
}

#testimonials .splide__slide.is-active .splide-div {
    transform: scale(100%) !important;
    box-shadow: 8px 8px 24px rgba(195, 195, 193, 0.3);
}

#testimonials .splide__slide.is-next .splide-div {
    transform: translateX(-10%) scale(80%);
}

#testimonials .splide__slide.is-prev .splide-div {
    transform: translateX(10%) scale(80%);
}

#testimonials .splide__slide img {
    width: 50%;
    margin: auto;
    display: block;
    margin-bottom: 20px;
}

#testimonials .splide__slide p {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #232323;
}

#testimonials .splide__slide .test-name {
    font-family: 'OptimaNovaLTPro-Regular',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 24px;
    line-height: 27px;
    margin-top: 20px;
    font-weight: 700;
    color: #232323;
}

.global-video-box {
    max-width: 1100px;
    margin: auto;
}

#hero-global {
    height: 60vh;
    color: #fff;
    background-image: url('https://www.gls-legaloperations.com/assets/global/hero.webp');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 100% 100%;.
    overflow: hidden;
    position: relative;
}

.lightH2 {
    color: #fff;
}

.global-container-lrg {
    max-width: 1600px;
    margin: auto;
    padding-left: 76px;
    padding-right: 76px;
    padding-bottom: 50px;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#hero-global h1 {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 54px;
    line-height: 62px;
    max-width: 55%;
    margin-bottom: 30px;
}

#hero-global p {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 27px;
    line-height: 29px;
    max-width: 55%;
    margin-bottom: 40px;
}

.full-splide {
    max-width: 100% !important;
}

.full-width {
    padding: 45px 20px;
}

.awards-cards-global {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2%;

}

.awards-card {
    width: 32%;
    text-align: center;
}

.awards-card img {
    width: 30% !important;
    display: block;
    margin: auto;
}

.all-size {
    max-width: 500px;
}

.big-size {
    max-width: 1000px;
}

.awards-card p {
    font-size: 18px;
    color: #eb5c73;
    text-transform: uppercase;
    margin-bottom: 16px;
    margin-top: 30px;
    font-weight: 700;
}

.awards-card h3 {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 27px;
    line-height: 29px;

}

.col-global {
    height: calc(100% - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#global-contact {
    height: 50vh;
    background-image: url('https://www.gls-legaloperations.com/assets/global/global-contact.png');
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: 100% 0%;.
    overflow: hidden;
}

#global-contact p {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 44px;
    line-height: 48px;
    max-width: 600px;
    margin-bottom: 30px;
}

.full-img {
    width: 40%;
}

.full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80%;
}

.global-text {
    padding-left: 50px;
    width: 60%;
}

.jus-cen {
    justify-content: center;
}

.timeline-item {
    display: flex;
    position: relative;
    align-items: center;
    margin-bottom: 50px;
}

.time-line-text {
    width: 50%;
    position: relative;
}

.timeline-img {
    width: 50%; 
}

.timeline-img img {
    max-width: 200px;
}

.time-line-text h3 {
    font-size: 27px;
    line-height: 29px;
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    margin-bottom: 30px;
    max-width: 420px;
}

.time-line-text p {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    line-height: 24px;
    display: block;
}

.row .time-line-text p {
	margin-left: auto;
	margin-right: 0;
}

.row-reverse .time-line-text p {
	margin-left: 0;
	margin-right: auto;
}

.timeline {
    max-width: 900px;
    margin: auto;
    position: relative;
}

.row .time-line-text {
    padding-right: 50px;
    text-align: right;
}

.row .timeline-img {
    padding-left: 50px;
}

.row-reverse {
    flex-direction: row-reverse;
}

.row-reverse .time-line-text {
    padding-left: 50px;
    text-align: left;
}

.timeline-item:nth-child(3) img {
    width: 100px;
}

.row-reverse .timeline-img {
    padding-right: 50px;
}

.row-reverse .timeline-img img {
    display: block;
    margin-right: 0;
    margin-left: auto;
}

.timeline-line {
    position: absolute;
    height: 0%;
    width: 2px;
    background: #231F20;
    top: 0;
    left: calc(50% - 1px);
    transform: translateX(-50%);
    transition: height 0.25s ease-out;
}

.timeline-left {
    position: absolute;
    width: 10px;
    background: #231F20;
    height: 2px;
    right: 0;
    top: 20px;
}

.timeline-right {
    position: absolute;
    width: 10px;
    background: #231F20;
    height: 2px;
    left: 0;
    top: 20px;
}

.sml-time {
    width: 100px;
}

.founder-flex {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: auto;
}

.founder-img {
    width: 40%;
}

.founder-img img {
    width: 100%;
}

.founder-text {
    width: 60%;
    padding-left: 50px;
}

.founder-text p {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.founder-text h3 {
    font-size: 27px;
    line-height: 29px;
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    margin-bottom: 10px;
    font-weight: 700;
}

.founder-meta {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 21px;
    line-height: 24px;
    margin-bottom: 20px;
}

.founder-text img {
    margin-bottom: 20px;
    height: 50px;
}

.row-reverse .founder-text {
    padding-left: 0;
    padding-right: 50px;
}

.top-founder {
    margin-bottom: 50px;
}

.quote-gl img {
    width: 70px;
    margin-bottom: 30px;
}

.quote-gl {
    text-align: center;
}

.quote-gl p {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 31px;
    line-height: 34px;
    max-width: 900px;
    margin: auto;
}

.quote-gl h3 {
    font-size: 24px;
    line-height: 27px;
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    margin-top: 30px;
    font-weight: 700;
}

.position-quote {
    font-size: 18px !important;
    line-height: 21px !important;
}

.gl-grid-btn {
    text-align: center;
    padding-top: 50px;
}

.gl-meta-text,
.gl-meta-text p {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    line-height: 24px;
    max-width: 900px;
    margin: auto;
    text-align: center;
    margin-bottom: 50px;
}

.button-container-gl {
    display: flex;
    gap: 6%;
    max-width: 1200px;
    margin: auto;
    padding-top: 50px;
}

.two-gl-btn {
    width: 47%;
}

.button-container-gl button {
    width: 100%;
}

.row-reverse .text-global {
    padding-left: 0;
    padding-right: 50px;
}

.contact-flex {
    display: flex;
    gap: 30px;
}

.calendly-con {
    width: calc(35% - 15px);
}

.global-location {
    width: calc(65% - 15px);
    background: #fff;
    padding: 50px;
}

.global-location-flex {
    display: flex;
}

.global-location-flex img {
    width: ;: 50px;
    margin-right: 20px;
}

.global-location ul {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding-left: 20px;
    list-style-type: inherit;
}

.global-location-flex h2 {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 27px;
    line-height: 29px;
    padding-top: 10px;
    font-weight: 700;

}

.build-modal {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    background: transparent;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;    
}

.modal-content-build {
    max-width: 700px;
    background: #fff;
    padding: 100px 100px;
    position: relative;
    text-align: center;
    border: 2px #232323 solid;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}

.close-modal img {
    width: 30px;
}

#testimonials .splide__pagination__page {
    display: block !important;
}

#testimonials .splide:not(.is-overflow) .splide__pagination {
    display: flex !important;
}

#testimonials .splide__pagination {
    bottom: -50px;
}

#testimonials {
    padding-bottom: 95px;
}

#testimonials .splide__pagination__page {
    background: transparent;
    border: 1px solid #fff;
    height: 12px;
    width: 12px;
}

#testimonials .splide__pagination__page.is-active {
    transform: scale(1);
    background: #fff;
}

.modal-content-build h2 {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 35px;
    line-height: 37px;
    margin-bottom: 30px;
}

.modal-content-build p {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
}

.careers-box {
    background: #fff;
    padding: 50px;
}

.careers-box:not(:last-child) {
    margin-bottom: 20px;
}

.awards-card img {
    width: 40%;
}

.careers-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.careers-title img {
    height: 50px;
    margin-right: 20px;
}

.careers-title h3 {
    font-family: "OptimaNovaLTPro-Regular", Helvetica, Arial, Lucida, sans-serif;
    font-size: 35px;
    line-height: 37px;
}

.global-careersbtn {
    max-width: 500px;
    width: 100%;
    display: block;
    margin: auto;
    margin-top: 50px;
}

.careers-box p,
.careers-box ol,
.careers-box ul {
    font-family: 'GT-America-Standard-Standard',  Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.careers-box p:not(:last-child),
.careers-box ol:not(:last-child),
.careers-box ul:not(:last-child) {
    margin-bottom: 24px;
} 

#car-form form {
    padding-left: 100px;
    padding-right: 100px;
}

.next-cat {
    margin-right: 0;
    margin-left: auto;
    max-width: 272px;
}

.contact-line {
    height: 2px;
    background: #232323;
    width: 100%;
    margin-bottom: 20px;
}

.three-col-contact {
    column-count: 3;
}

.gl-pabo {
    padding-bottom: 90px;
}

.gl-pato {
    padding-top: 90px;
}

.gl-fade {
opacity: 0;
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
transform: translateY(100px); 
}

.gl-fade.fade-in {
opacity: 1;
transform: translateY(0);
}

.larger-glo2 {
    max-width: 900px;
}

.out-slide {
    display: none;
}
.active-out-slide {
    display: block;
}

.out-slide-container {
    max-width: 700px;
    margin: auto;
    aspect-ratio: 1/1 !important;
}

.out-slide-container svg {
    width: 100%;
    height: 100%;
}

#client-logos .splide__slide {
    background: transparent;
}

#why-out .flex-three-item .inner-global {
    padding-bottom: 136px;
    position: relative;
    height: calc(100% - 186px);
}

#why-out .flex-three-item .inner-global .global-red-btn {
    position: absolute;
    bottom: 50px;
    width: calc(100% - 80px);
    left: 40px;
}

@media only screen and (max-width: 768px) {
    #hero-global h1 {
        font-size: 35px;
        line-height: 38px;
        max-width: 100%;
    }

    #mob-buildings {
        display: block;
        padding: 30px 20px;

    }

    .building-logo img {
        width: 100%;
    }

    .building-grid {
        display: flex;
        gap: 4%;
        justify-content: center;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .mob-build {
        width: 48%;
        margin-bottom: 20px;
    }

    .mob-build img {
        width: 100%;
    }

    #dk-buildings {
        display: none;
    }

    #hero-global {
        background-image: url('https://www.gls-legaloperations.com/assets/global/hero-mob.webp');
    }

    .dark-overlay-hero {
        display: block;
    }

    .global-location {
        padding-left: 20px;
        padding-right: 20px;
    }

    #hero-global p {
        font-size: 21px;
        line-height: 24px;
        max-width: 100%;
    }

    .global-container-lrg {
        padding-left: 20px;
        padding-right: 20px;
    }

    .global-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .grid-items-4 {
        grid-template-columns: 1fr 1fr;
    }

    .img-left-sec {
        flex-direction: column-reverse;
    }

    .img-global,
    .text-global {
        width: 100%;
    }

    .img-global {
        padding-top: 30px;
    }

    .img-global img {
        display: block;
        margin: auto;
    }

    .global2 {
        font-size: 27px;
        line-height: 31px;
    }

    .flex-three-item {
        width: 100%;
    }

    .awards-cards-global {
        flex-wrap: wrap;
    }

    .awards-card {
        width: 100%;
    }

    #global-contact p {
        font-size: 24px;
        line-height: 27px;
    }

    #global-contact {
        background-size: 50%; 
        background-position: 100% 100%;
    }

    .global-text {
        padding-left: 0;
    }

    .row-reverse .text-global {
        padding-right: 0;
    }

    .button-container-gl {
        display: block;
    }

    .two-gl-btn {
        width: 100%;
    }

    .two-gl-btn:first-child {
        margin-bottom: 10px;
    }

    .full-img {
        width: 100%;
        padding-top: 20px;
    }

    .timeline-line {
        left: 0;
    } 

    .time-line-text {
        width: 100%;
    }

    .timeline-img {
        display: none;
    }

    .row .time-line-text {
        text-align: left;
        padding-right: 0;
        padding-left: 20px;
    }

    .row-reverse .time-line-text {
        padding-left: 20px;
    }

    .timeline-left {
        left: 0;
        right: auto;
    }

    .founder-flex {
        flex-direction: column-reverse;
    }

    .founder-img,
    .founder-text {
        width: 100%;
    }

    .founder-text {
        padding-left: 0;
        padding-bottom: 20px;
    }

    .row-reverse .founder-text {
        padding-right: 0;
    }

    .contact-flex {
        display: block;
    }

    .global-location {
        width: calc(100% - 40px);
        padding-left: 20px;
        padding-right: 20px;
    }
}