@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Regular.woff2') format('woff2'),
        url('fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Regular.woff') format('woff');
}

:root {
    --main-color: #1B2636;
    --second-color: #F0F7FE;
    --btn-color: #2D75E3;
}

* {
    transition: 0.2s;
}

body {
    /* overflow-x: hidden; */
}

/* adds some margin below the link sets  */
.navbar .dropdown-menu div[class*="col"] {
    margin-bottom: 1rem;
}


/* breakpoint and up - mega dropdown styles */
@media screen and (min-width: 992px) {

    /* remove the padding from the navbar so the dropdown hover state is not broken */
    .navbar {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        background-color: var(--second-color);

        .active {
            border-bottom: 3px solid var(--main-color);
        }
    }

    /* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
    .navbar .nav-item {
        padding: .5rem .5rem;
        margin: 0 .25rem;


    }

    .navbar-expand-lg .navbar-collapse {
        flex-basis: auto;
        display: flex !important;
        justify-content: space-around;
    }

    /* makes the dropdown full width  */

    .navbar .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        /*  height of nav-item  */
        top: 45px;

        display: block;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.3s linear;

    }


    /* shows the dropdown menu on hover */

    .navbar .dropdown-menu {
        border: 1px solid rgba(0, 0, 0, .15);
        background-color: #fff;
    }

    .content-div {
        display: flex;
        flex-direction: column;
        height: 92%;
        padding: 0px 0px 0px 0px;
        align-items: start;
        justify-content: center;
    }
}

.navbar .dropdown:hover .dropdown-menu,
.navbar .dropdown .dropdown-menu:hover {
    display: block;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s linear;
}

/* btn  */
.custom-btn {
    width: 214px;
    height: 52px;
    padding: 12px 35px 12px 40px;
    gap: 8px;
    opacity: 0px;
    background-color: var(--btn-color);
    color: white !important;
    outline: none;
    border: none;
    text-align: center;
    transition: 0.3s;
}

.large-text {
    font-family: 'Satoshi', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.800000011920929px;
    text-align: justify;
}

.h2 {
    font-family: DM Serif Text;
    font-size: 48px;
    font-weight: 400;
    line-height: 58px;
    letter-spacing: -0.800000011920929px;
    text-align: left;
}

a {
    text-decoration: none;
    cursor: pointer;

    :hover {
        text-decoration: none !important;
    }
}


/* hero section */
.hero-section {
    height: 72vh;
    margin-top: 180px;
    /* width: 100vw; */
    position: relative;
    background-image: url(./images/hero.jpg);
    background-size: cover;
    background-position: top center;

    .sucess-btn {
        background: none;
        border: 2px solid white;
        transition: 0.2s;
        font-family: Lato, sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: -0.800000011920929px;
        text-align: left;
        padding: 12px 20px 12px 20px;
        text-align: center;

    }

    .sucess-btn:hover {
        background-color: var(--btn-color);
        border: 2px solid var(--btn-color);
    }

    h2,
    p {
        color: white;
    }

    .content-div {
        div {
            display: flex;
            flex-direction: column;
            height: 100%;
            align-items: start;
            justify-content: center;
            gap: 24px;
        }

        h2 {
            font-family: DM Serif Text;
            font-size: 48px;
            font-weight: 400;
            line-height: 58px;
            letter-spacing: -0.800000011920929px;
            text-align: left;
        }

        p {
            font-family: Lato, sans-serif;
            font-size: 20px;
            font-weight: 400;
            line-height: 28px;
            letter-spacing: -0.800000011920929px;
            text-align: justify;
        }
    }

    @media (min-width: 768px) {
        .content-div {
            display: flex;
            flex-direction: column;
            height: 100%;
            padding: 108px 0px 108px 0;
            align-items: start;
            justify-content: center;
            gap: 8px;



        }
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 45, 64, 0.4);
}

/* hero section */

/* achieve section */
.achieve {
    .inner-sec {
        width: 100%;
        height: 160px;
        padding: 40px 80px 40px 80px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;

        .ver {
            height: 80px;
            background-color: var(--main-color);
            width: 2px;
        }

        div {
            /* border-right: 2px solid var(--main-color); */
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            width: 370px;

            p {
                font-family: Lato, sans-serif;
                font-size: 20px;
                font-weight: 400;
                line-height: 28px;
                letter-spacing: -0.800000011920929px;
                text-align: justify;
            }

            h6 {
                font-family: Satoshi;
                font-size: 20px;
                font-weight: 700;
                line-height: 28px;
                letter-spacing: -0.800000011920929px;
                text-align: left;
            }
        }
    }
}

.title-bar {
    background-color: var(--main-color);
    color: white;
    width: 100%;
    height: 74px;
    top: 720px;
    text-align: center;
    margin: auto;
    padding: 24px 8px 24px 8px;
    gap: 8px;
    opacity: 0px;

    h5 {
        font-family: DM Serif Text;
        font-size: 24px;
        font-weight: 400;
        line-height: 26px;
        letter-spacing: -0.800000011920929px;
    }


}

/* achieve section */


/* who are we */
.who-sec {
    width: 100%;
    /* height: 100vh; */

    padding: 50px;
    display: flex;
    align-items: center;

    h3 {
        font-family: DM Serif Text;
        font-size: 40px;
        font-weight: 400;
        line-height: 56px;
        letter-spacing: -0.800000011920929px;
        text-align: left;
    }

    .custom-btn:hover {
        background-color: var(--main-color);
    }
}

/* who are we */

.quote {
    .italic-line {
        padding: 200px 0;
        margin: auto;
        text-align: center;

    }

    h1 {
        font-family: Satoshi;
        font-size: 32px;
        font-style: italic;
        font-weight: 400;
        line-height: 36px;
        letter-spacing: -0.800000011920929px;
        text-align: center;
        padding-bottom: 50px;
    }

    h5 {
        font-family: DM Serif Text;
        font-size: 24px;
        font-weight: 600;
        line-height: 26px;
        letter-spacing: -0.800000011920929px;
        text-align: center;
    }

    p {
        font-family: Satoshi;
        font-size: 18px;
        font-weight: 500;
        line-height: 28px;
        letter-spacing: -0.800000011920929px;
        text-align: center;

    }
}

/* testi */
.ftco-section {
    padding: 7em 0;

    .owl-carousel {
        position: relative;
    }

    .owl-carousel .owl-item {
        opacity: 1;
    }

    .owl-carousel .owl-item.active {
        opacity: 1;
    }

    .owl-carousel .owl-nav {
        position: absolute;
        top: 50%;
        width: 100%;
    }

    .owl-carousel .owl-nav .owl-prev,
    .owl-carousel .owl-nav .owl-next {
        position: absolute;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin-top: -10px;
        color: rgba(0, 0, 0, 0.1) !important;
        -webkit-transition: 0.7s;
        -o-transition: 0.7s;
        transition: 0.7s;
        opacity: 0;
    }

    @media (prefers-reduced-motion: reduce) {

        .owl-carousel .owl-nav .owl-prev,
        .owl-carousel .owl-nav .owl-next {
            -webkit-transition: none;
            -o-transition: none;
            transition: none;
        }
    }

    .owl-carousel .owl-nav .owl-prev span:before,
    .owl-carousel .owl-nav .owl-next span:before {
        font-size: 30px;
    }

    .owl-carousel .owl-nav .owl-prev {
        left: 0;
    }

    .owl-carousel .owl-nav .owl-next {
        right: 0;
    }

    .owl-carousel .owl-dots {
        text-align: center;
        margin-top: 20px;
    }

    .owl-carousel .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
        margin: 5px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.1);
        position: relative;
    }

    .owl-carousel .owl-dots .owl-dot:hover,
    .owl-carousel .owl-dots .owl-dot:focus {
        outline: none !important;
    }

    .owl-carousel .owl-dots .owl-dot.active {
        background: var(--btn-color);
    }

    .owl-carousel:hover .owl-nav .owl-prev,
    .owl-carousel:hover .owl-nav .owl-next {
        opacity: 1;
    }

    .owl-carousel:hover .owl-nav .owl-prev {
        left: -25px;
    }

    .owl-carousel:hover .owl-nav .owl-next {
        right: -25px;
    }

    .owl-carousel.owl-drag .owl-item {
        -ms-touch-action: pan-y;
        touch-action: pan-y;
    }

    .block-20 {
        overflow: hidden;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        height: 275px;
        position: relative;
        display: block;
    }

    .item .blog-entry {
        h3 a {
            font-family: DM Serif Text;
            font-size: 18px;
            font-weight: 400;
            line-height: 28px;
            letter-spacing: -0.800000011920929px;
            text-align: left;
            color: rgba(42, 45, 45, 1);
        }

        p {
            font-family: Satoshi;
            font-size: 16px;
            font-weight: 400;
            line-height: 22px;
            letter-spacing: -0.800000011920929px;
            text-align: justify;

        }
    }
}

/* testi */

/* footer */
footer {
    a {
        color: white;
    }

    background-color: var(--main-color);

    .menu {
        display: flex;
        gap: 25px;
        align-items: center;
        justify-content: center;
    }

    .ver {
        height: 20px;
        background-color: white;
        width: 1px;
    }

    .ftco-footer-social li {
        list-style: none;
        margin: 0 10px 0 0;
        display: inline-block;
    }

    .ftco-footer-social li a {
        height: 40px;
        width: 40px;
        display: block;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 50%;
        position: relative;
    }

    .ftco-footer-social li a img {
        position: absolute;
        font-size: 20px;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .fot-div {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
}

/* footer */





.overview-breadcrumb::before,
.team-breadcrumb::before,
.testi-breadcrumb::before,
.career-breadcrumb::before,
.article-breadcrumb::before,
.blog-breadcrumb::before,
.litigation-breadcrumb::before,
.coprate-breadcrumb::before,
.document-breadcrumb::before,
.adr-breadcrumb::before,
.advisory-breadcrumb::before,
.contact-breadcrumb::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 52, 105, 0.5)
}

.overview-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/overview.jpeg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;
    h2 {
        color: white;
    }
}

.team-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/team1.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center top;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.testi-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/testi.jpeg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.career-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/career.jpeg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.blog-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/blog.jpeg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.article-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/article.jpeg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.litigation-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/litigation.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.coprate-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/coprate.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.document-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/document.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.advisory-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/advisory.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.adr-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/adr.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}

.contact-breadcrumb {
    position: relative;
    background-image: url(./images/breadcrumb/contact.jpg);
    background-size: cover;
    width: 100%;
    height: 400px;
    background-position: center center;
    margin-top: 180px;

    h2 {
        color: white;
    }
}


/* overview breadcrumb */


.about-sidebar {

    a {
        height: 90px;
        transition: 0.2s;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Times New Roman;
        font-size: 24px;
        font-weight: 400;
        line-height: 26px;
        color: black;
        letter-spacing: -0.800000011920929px;
    }
}

.about-sidebar:hover {
    background-color: rgba(234, 238, 238, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-active {
    background-color: rgba(234, 238, 238, 1);
    border-top: 3px solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;

    p {
        font-weight: 700;
        color: var(--main-color);
    }
}

/* overview breadcrumb */

/* team */

article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    /* border-radius: 16px; */
    box-shadow: none;
    background: rgba(255, 255, 255, 1);
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    /* overflow: hidden; */
    border-bottom: 3px solid var(--main-color);
    /* height: 358px; */
}

article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}

/* basic article elements styling */
article h2 {
    font-family: Satoshi;
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: -0.800000011920929px;
    text-align: left;
}

article p {
    font-family: Satoshi;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -0.800000011920929px;
    text-align: left;

}

article img {
    width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;

}

.article-body {
    /* padding: 24px; */
    display: flex;
    align-items: center;
    flex-direction: column;
}

figure {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

figure img {
    height: 100%;
    height: 258px;
    object-fit: cover;
    background-position: center bottom;
}


/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(3, minmax(248px, 1fr));
    gap: 24px;
}


@media screen and (max-width: 960px) {

    figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    figure img {
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

@container card (min-width: 380px) {
    .article-wrapper {
        display: grid;
        grid-template-columns: 358px 1fr;
        gap: 16px;
    }

    .article-body {
        padding-left: 0;
    }

    figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    figure img {
        height: 100%;
        height: 258px;
        object-fit: cover;
        background-position: center bottom;
    }
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media screen and (max-width: 768px) {
    .articles {
        grid-template-columns: repeat(1, minmax(248px, 1fr));
        /* 2 columns for tablets */
    }
}

@media screen and (max-width: 480px) {
    .articles {
        grid-template-columns: repeat(1, minmax(248px, 1fr));
        /* 1 column for mobile */
    }
}

/* testimonials */
.testi {
    display: flex;
    flex-direction: column;
    gap: 64px;

    .testi-box {
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        border-bottom: 3px solid var(--main-color);
        background-color: rgba(246, 249, 249, 1);
        width: 100%;

        h3 {
            font-family: Satoshi;
            font-size: 20px;
            font-style: italic;
            font-weight: 400;
            line-height: 36px;
            letter-spacing: -0.800000011920929px;
            text-align: center;
            padding: 10px 0;
        }

        span {
            font-family: DM Serif Text;
            font-size: 20px;
            font-weight: 400;
            /* line-height: 26px; */
            letter-spacing: -0.800000011920929px;
            text-align: center;
            display: block;
        }

        p {
            font-family: Satoshi;
            font-size: 16px;
            font-weight: 700;
            /* line-height: 28px; */
            letter-spacing: -0.800000011920929px;
            text-align: center;
        }
    }
}

/* testimonials */

/* blog */
.blog {
    display: flex;
    flex-direction: column;
    gap: 24px;

    .blog-box {
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        border-bottom: 3px solid var(--main-color);
        background-color: rgba(246, 249, 249, 1);
        width: 100%;
        display: flex;
        gap: 5px;

        img{
            object-fit: cover;
        }

        h3 {
            font-family: Satoshi;
            font-size: 24px;
            font-style: italic;
            font-weight: 400;
            line-height: 36px;
            letter-spacing: -0.800000011920929px;
            text-align: center;
            padding: 10px 0;
        }

        span {
            font-family: Satoshi;
            font-size: 18px;
            font-weight: 700;
            line-height: 28px;
            letter-spacing: -0.800000011920929px;
            text-align: left;

        }

        p {
            font-family: Satoshi;
            font-size: 16px;
            font-weight: 400;
            line-height: 22px;
            letter-spacing: -0.800000011920929px;
            text-align: justified;

        }
    }
}

/* blog */

/* contact */
.contact {
    h1 {
        font-family: DM Serif Text;
        font-size: 48px;
        font-weight: 400;
        line-height: 58px;
        letter-spacing: -0.800000011920929px;
        text-align: left;
    }

    p {
        font-family: Satoshi;
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: -0.800000011920929px;
        text-align: justify;

    }

    .details {
        display: flex;
        flex-direction: column;
        gap: 20px;

        .office {
            div {
                gap: 20px;
            }

            p {
                font-family: Satoshi;
                font-size: 20px;
                font-weight: 700;
                letter-spacing: -0.800000011920929px;
                text-align: left;
                margin: 0;
            }
        }

        .ver {
            width: 100%;
            height: 1px;
            background-color: var(--main-color);
        }

        .call,
        .mail,
        .office {
            display: flex;
            align-items: start;
            justify-content: start;
            gap: 10px;

            div {
                display: flex;
                align-items: start;
                justify-content: center;
                flex-direction: column;
            }
        }
    }
}

/* contact */

/* searchbar */

@media (min-width: 768px){
    .search {
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        cursor: pointer;
    }
}

.searchbox {
    position: absolute;
    top: 0;
    right: 0; /* Align to the right */
    width: 0;
    height: 100%;
    background: white;
    z-index: 3;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.5s ease-in-out;
}

.saerchbox:hover{
}

.searchbox.active {
    width: 100%;
    border-bottom: 0;
}

.searchbox input {
    padding:0 20px;
    width: 100%;
    border: none;
    outline: none;
    height: 100%;
    color: black;
    font-size: 1.25em;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0, 0.5);
}

.closebtn {
    position: absolute;
    right: 20px; /* Adjusted position */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
    cursor: pointer;
}

.closebtn.active {
    opacity: 1;
    visibility: visible;
    border-bottom: 0;
}
/* searchbar */
