.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-top: 130px;
    overflow: hidden;
}
.home .service-box span.play-icon.play-icon-show {
    min-width: 28px;
    display: inline-block;
    min-height: 28px;
    max-height: 28px;
    max-width: 28px;
}
.hero-overlay img {
    width: 100%;
    object-fit: contain;
}

.hero-overlay video {
    width: 100%;
    object-fit: cover;
    height: -webkit-fill-available;
    
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* dark overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1167px;
    padding: 0 20px;
}

.hero-overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000052;
}
.hero p {
    margin-top: 32px;
}
.hero .hero-content h1, .hero .hero-content p {
    text-shadow: 0px 0px 18px #000000;
}
.play-icon-sec {
    width: 100%;
    margin: auto;
    text-align: -webkit-center;
    position: absolute;
    bottom: 30px;
    z-index: 111;
}

.play-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 2.4px;
    font-family: 'Montserrat';
    font-weight: 500;
}

/* about section */

section.about-us {
    opacity: 1;
    padding-top: 113px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.about-container-sec {
    width: 100%;
    margin: auto;
}

.about-main-cont {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    justify-content: space-between;
    z-index: 1;
    position: relative;
}

.about-us:before {
    content: "";
    background-image: url("../images/partnership-left-bg.png");
    background-size: 100%;
    width: 226px;
    height: 316px;
    position: absolute;
    background-repeat: no-repeat;
    left: -76px;
    top: 214px;
    opacity: 0.5;
}

.about-us::after {
    content: "";
    background-image: url("../images/about-right--icon.png");
    background-size: 100%;
    width: 226px;
    height: 316px;
    position: absolute;
    background-repeat: no-repeat;
    right: -97px;
    top: 124px;
    opacity: 0.5;
}

.about-disp p {
    max-width: 708px;
    padding-bottom: 20px;
}

.about-disp {
    padding-top: 15px;
}

.about-disp ul li {
    letter-spacing: 0.17px;
    color: #262626;
    opacity: 1;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    padding-bottom: 20px;
    position: relative;
}

.about-disp ul {
    padding: 0px;
    padding-left: 19px;
    margin-top: 15px;
    margin-bottom: 30px;
    list-style: none;

}

.about-disp ul li:before {
    content: " ";
    position: absolute;
    background: red;
    width: 5px;
    height: 10px;
    left: 0px;
}

.about-disp ul li:before {
    content: " ";
    position: absolute;
    background: #014278 0% 0% no-repeat padding-box;
    width: 5px;
    height: 5px;
    left: -17px;
    top: 9px;
}

.about-text-heading h3 {
    text-align: end;
    padding-bottom: 38px;
}

.about-disp p strong {
    letter-spacing: 0.22px;
    color: #014278;
}

.about-disp p:last-child {
    letter-spacing: 0.22px;
    color: #262626;
    font-size: 22px;
    font-weight: 500;
}

/* servives */


.service-section {
    width: 100%;
    margin: auto;
    padding-top: 120px;
    padding-bottom: 380px;
    z-index: 1;
    position: relative;
}

.service-heading-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 23px;
}

section.services {
    position: relative;
    overflow: hidden;
}

.services::after {
    content: "";
    background-image: url("../images/what-we-offer.svg");
    background-size: 100%;
    width: 254px;
    height: 360px;
    position: absolute;
    background-repeat: no-repeat;
    left: -69px;
    top: 618px;
}



.service-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* first two in two columns */
    gap: 25px;
    padding-top: 52px;
    row-gap: 40px;
}

/* For the first two items (50% each) */
.service-box:nth-child(1),
.service-box:nth-child(2) {
    grid-column: span 1;
}

/* For items 3 to 6 — show 4 in one row */
.service-box:nth-child(n+3) {
    grid-column: auto;
}

.service-items {
    grid-template-columns: repeat(4, 1fr);
}

.service-box:nth-child(-n+2) {
    grid-column: span 2;
    /* make first two span 2 columns in 4-col grid (50/50) */
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    max-height: 420px;
    object-fit: cover;
}

.service-box h3 {
    margin: 10px 0px;
    text-transform: inherit;

}
.service-box h3 a:hover {
    color: #00BBD2;
}
.service-box span p {
    letter-spacing: 0.16px;
    color: #FFFFFF;
    opacity: 1;
    margin: 0px;
    font-size: 16px;
    font-weight: 400;
}

.right-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-desp-text p {
    color: #fff;
    padding-bottom: 10px;
}

/* Contact css */

.contact-inner-sec {
    background: transparent linear-gradient(180deg, #00BBD2 0%, #014278 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    margin: auto;
    padding: 70px 48px;
    margin-top: -250px;
    z-index: 2;
    position: relative;
}

.contact-inner-sec h2 {
    text-transform: capitalize;
}

.wpcf7-not-valid-tip+.wpcf7-not-valid-tip {
    display: none;
}

.input-sec p label {
    letter-spacing: 0.4px;
    color: #FFFFFF;
    opacity: 1;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Lexend Deca';
}

.input-sec {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.input-sec input {
    width: 100% !important;
    height: 60px !important;
    padding: 10px;
    box-shadow: 0px 0px 6px #00000015;
    outline: none !important;
    border: none !important;
    margin-top: 10px;
    font-size: 15px;
    border-radius: 0px !important;
}

.input-sec select {
    width: 100%;
    height: 60px;
    padding: 10px !important;
    box-shadow: 0px 0px 6px #00000015;
    outline: none;
    border: none !important;
    outline: none !important;
    border: none !important;
    margin-top: 10px;
    font-size: 15px;
    appearance: none;
    background-image: url("../images/select-option-arrow.svg");
    background-repeat: no-repeat;
    background-position: 94% 50%;
}

.submit-btn input {
    background: #004278 0% 0% no-repeat padding-box;
    border: 1px solid #014278;
    opacity: 1;
    height: 58px;
    width: 132px;
    letter-spacing: 0.64px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 58px;
    font-weight: 600;
}

.submit-btn {
    text-align: center;
    margin: auto;
    margin-top: 40px;
    max-width: 150px;

}

.wpcf7 form.invalid .wpcf7-response-output {
    border: none !important;
    color: red;
    border-radius: 0px !important;
}

/* .wpcf7-not-valid-tip {
    position: absolute;
} */

.wpcf7 form.sent .wpcf7-response-output {
    border-color: none !important;
}

/* === OUR ETHOS SECTION === */
.our-ethos {
    width: 100%;
    font-family: "Poppins", sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.our-ethos .our-ethos-main {
    display: flex;
    flex-wrap: wrap;
    align-items: unset;
    width: calc(50% + 734px);
}

.our-ethos .our-left-image {
    flex: 1 1 45%;
}

.our-ethos .our-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 776px;
}

.our-ethos .our-right-sec {
    flex: 1 1 55%;
    padding: clamp(60px, 6.25vw, var(--fs-113));
    padding-right: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.our-ethos .our-title-text {
    margin-bottom: 60px;
}

.our-title-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.our-ethos .our-promises .promises {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: ethos-counter;
    position: relative;
}

.image-icon-and-heading {
    display: flex;
    align-items: center;
    gap: 25px;
}

.our-ethos .our-promises .promises-heading {
    margin-bottom: 10px;
}

.our-ethos .our-promises .promises-heading::before {
    counter-increment: ethos-counter;
    content: counter(ethos-counter);
    position: absolute;
    top: -32px;
    left: -78px;
    line-height: 1;
    opacity: 0.5;
    font-size: 140px;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    font-family: 'Yrsa', sans-serif;
}

.our-ethos .our-promises span {
    display: block;
    margin-top: 8px;
    max-width: 348px;
    color: #FFF7F7;
}

.insights-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
    padding-top: 50px;
}

.new-post a img {
    width: 100%;
    max-height: 400px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.read-more a {
    color: #014278;
}

.read-more {
    margin-top: 15px;
}

section.news-insights:before {
    content: "";
    background-image: url("../images/our-promises-bg-icon.png");
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    bottom: 19px;
    left: -97px;
    max-width: 243px;
    height: 274px;
}

.read-more a:before {
    content: "";
    background-image: url("../images/right-arrow.svg");
    width: 20px;
    position: absolute;
    right: -27px;
    background-repeat: no-repeat;
    top: 4px;
    height: 14px;
}

button.see-all {
    width: auto;
    height: auto;
    border: none;
    outline: none;
    cursor: pointer;
}

.see-all-btn {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

.see-all-btn button a:hover {
    color: #fff;
}


a.see-all-links {
    padding: 16px 39px;
    font-weight: 600;
    font-size: 20px;
}


/* .logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    flex-wrap: wrap;
} */



/* testimonials section */
.testimonials-section {
    overflow: hidden;
}

.testimonials-heading {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonials-heading h3 {
    text-transform: uppercase;
}

.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.125vh;
}

/* Scrolling rows */
.scroll-row {
    display: flex;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    display: flex;
    gap: 2.125vh;
    flex-shrink: 0;
}

/* Duplicate content for looping */
.scroll-content.clone {
    position: absolute;
    top: 0;
    left: 100%;
}

/* Infinite scroll animations */
.scroll-left .scroll-content,
.scroll-left .scroll-content.clone {
    animation: scroll-left 50s linear infinite;
}

.scroll-right .scroll-content,
.scroll-right .scroll-content.clone {
    animation: scroll-right 50s linear infinite;
}

/* Hover pause (optional) */
.scroll-row:hover .scroll-content {
    animation-play-state: paused;
}

.scroll-row:hover .scroll-content.clone {
    animation-play-state: paused;
}

/* Testimonial box */
.testimonial-item {
    background: #E2F0FF 0% 0% no-repeat padding-box;
    /* padding: 30px 25px; */
    width: 24.4791vw;
    flex-shrink: 0;
    padding: 1.5vw 1.5vw;
}

.testimonial-rating .star {
    color: #999;
    font-size: 18px;
}

.testimonial-rating .star.filled {
    color: #014278;
    font-size: 22px;
}

.testimonial-description p {
    margin-top: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    font-size: 1vw;

}

.testimonial-title {
    margin-top: 10px;
    color: #014278;
    font-size: 2.1458vh;
    font-weight: 400;
    font-family: 'Lexend Deca';
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 10px;
}

.main-testimonial-up {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    height: 100%;
}
.testimonial-author {
    margin-top: auto;
}

/* Keyframes */

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.hide-md {
    display: none;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
    font-weight: 400;
    color: #ba0707;
}

span.wpcf7-spinner {
    position: absolute;
    top: 19px;
    left: 121px;
}

.submit-btn p input {
    text-align: center !important;
}

.review-solicitors-sec {
    padding: 20px 0px;
}


/* end */

@media (max-width: 1500px) {
    .our-title-text {
        gap: 10px;
        flex-direction: column;
        align-items: self-start;
    }
}

@media (max-width: 1450px) {
    .about-us:before {
        left: -128px;
    }

    .about-us::after {
        right: -127px;
    }

    .our-ethos .our-ethos-main {
        width: calc(50% + 565px);
    }

    .our-ethos .our-left-image {
        flex: 1 1 40%;
    }

    .our-ethos .our-right-sec {
        flex: 1 1 60%;
    }
}

@media (max-width: 1200px) {
    .our-ethos .our-ethos-main {
        width: 100%;
    }

    .our-ethos .our-left-image {
        flex: 100%;
    }

    .our-ethos .our-right-sec {
        flex: 1 1 100%;
        padding-right: 10px;
        margin-left: 15px;
    }

    .our-ethos .our-promises .promises-heading::before {
        left: -65px;
        font-size: 118px;

    }

    .input-sec {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .about-main-cont {
        gap: 20px;
        flex-direction: column;
    }

    .about-text-heading h3 {
        text-align: start;
    }

    section.about-us {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .service-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-box:nth-child(-n+2) {
        grid-column: span 1;
    }


    .news-list {
        grid-template-columns: 1fr;
    }

    .testimonials-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .testimonial-item {
        width: 35.4791vw;
        padding: 1.56vw 1.30vw;
    }

    .testimonial-description p {
        font-size: 1.5vw;
    }

    .sm-hide {
        display: none;
    }

    .hide-md {
        display: block;
    }

    .about-text-heading h3 {
        padding-bottom: 10px;
    }

    .about-disp p {
        max-width: 100%;
    }

    .about-right-side {
        width: 100%;
    }

    .about-right-side img {
        width: 100%;
    }

    .hero {
        height: calc(100vh - 109px);
        margin-top: 109px;
    }
}

@media (max-width: 767px) {
    .service-section {
        padding-bottom: 315px;
    }

    .input-sec {
        grid-template-columns: 1fr;
    }

    .about-us::after {
        right: -164px;
    }

    .about-us:before {
        left: -164px;
    }

    .our-ethos .our-promises .promises {
        grid-template-columns: repeat(1, 1fr);
        gap: 50px 30px;
    }

    .our-ethos .our-promises span {
        max-width: 100%;
    }

    .our-ethos .our-promises span {
        max-width: 100%;
    }
}

@media (max-width: 600px) {

    .service-heading-text {
        flex-direction: column-reverse;
        gap: 10px;
        align-items: self-start;
        padding-bottom: 15px;
    }

    .service-section {
        padding-bottom: 315px;
        padding-top: 75px;
    }

    .insights-heading {
        flex-direction: column-reverse;
        align-items: start;
        gap: 10px;
    }

    .contact-inner-sec {
        padding: 40px 20px;
    }

    .testimonial-item {
        width: 60.4791vw;
        padding: 2vw 2vw;
    }

    .testimonial-description p {
        font-size: 2.8vw;
    }

}

@media (max-width: 480px) {
.review-solicitors-sec {
    padding: 10px 0px;
}
}