:root {
    --color-white: #ffffff;

}

html,
body {
    overflow-x: clip;
    max-width: 100%;
}

h1,
p {
    margin: 0px;
    padding: 0px;
}

p {
    font-size: 18px;
    font-weight: 200;
    line-height: var(--line-md);
}
 /***** FORM *****/
 form input,
 form textarea {
     border-radius: 0;
     appearance: none;
     -webkit-appearance: none;
 }

 form input:focus,
 form textarea:focus,
 form button:focus,
 form select:focus {
     outline: none;
 }

 form input:-webkit-autofill,
 form input:-webkit-autofill:hover,
 form input:-webkit-autofill:focus,
 form textarea:-webkit-autofill,
 form textarea:-webkit-autofill:hover,
 form textarea:-webkit-autofill:focus {
     -webkit-text-fill-color: #fff;
     transition: background-color 5000s ease-in-out 0s;
 }
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}
section{
    overflow-x: clip;
}

.inner-hero.firm-hero .hero-wrap {
    display: flex;
    padding-bottom: 248px;
    max-width: 780px;
    flex-direction: column;
    text-align: center;
    margin: 0px auto;
    gap: 35px
}
.firm-hero .heading {
    font-size: clamp(48px, 5.46vw, 70px);
    max-width: 730px;
    line-height: 100%;
    font-weight: 200;
    color: var(--color-white);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}
.firm-hero .hero-wrap .p-txt {
    color: var(--color-white);
    font-size: 32px;
    line-height: 100%;
    font-weight: 200;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;max-width: 780px;
}
.subheading {
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 16%;
    text-align: center;
    text-transform: uppercase;
}



.firm-about {
    padding: 132px 0px 122px;
    background-color: var(--color-white);
}

.firm-about-wrap {
    display: flex;
    gap: 105px;
}

.firm-about-wrap h2 {
    max-width: 510px;
}

.firm-about-wrap p {
    max-width: 525px;
}

.firm-about-wrap h2 {
    font-size: 30px;
    line-height: 41px;
    font-weight: 200;
    color: var(--color-secondary)
}
.ip-info p {
    font-size: 30px;
    line-height: 41px;
    font-weight: 200;
    color: var(--color-white);
    margin-top: 21px;
    text-align: center;
}
.ip-info h2{
color: var(--color-white);
}
.ip-info{
    max-width: 890px;margin:0px auto 90px;
}
.firm-about-wrap p {
    font-size: 18px;
    font-weight: 200;
    color: var(--color-secondary);
    line-height: 100%;margin-bottom:20px
}
.firm-about-wrap p:last-child{
margin-bottom:0px}
.firm-platform {
    background: #0376BD;
    padding: 138px 0px 100px;
}

.firm-platform h2 {
    color: var(--color-white);
}

.firm-platform p {
    color: var(--color-white);
    max-width: 688px;
    margin: 32px auto 0px;
    text-align: center;
}

.platform-grid {
    display: grid;
    gap: 21px;
    margin-top: 63px;
    grid-template-columns: repeat(3, 1fr);
}

.platform-grid>div {
    justify-content: center;
    background: #0384D4;
    min-height: 460px;
    border-radius: 20px;
    padding: 52px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 105px
}

.platform-grid h3 {
    font-weight: 400;
    font-size: 20px;
    line-height: 33px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-white);
}

.firm-approch {
    /*background: url(/wp-content/uploads/2026/08/1920-Firm-Approach.jpg)no-repeat;*/
    background-position: center;
    min-height: 900px;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start;
    padding: 147px 0;
}

.firm-approch-info {
    display: flex;
    gap: 60px;
    justify-content: space-between;
    align-items: baseline;
}

.firm-approch-info h2,
.firm-approch-info p {
    color: var(--color-white)
}

.firm-approch-info .sub_description {
    margin-top: 20px;
    display: block;
}

.firm-apprch-list {
    margin-top: 110px;
}

.falist-wrapper {
    display: flex;
    flex-direction: column;
}

.falist-item {
    display: flex;
    gap: 391px;
    /*padding: 18px 0px;*/
    padding: 25px 0px;
    cursor: pointer;
    justify-content: flex-start;
    transition: align-items 300ms ease-in;
    position: relative;
    align-items: center;
}

.falist-line {
    background-color: rgba(255, 255, 255, .5);
    width: 100%;
    height: 1px;
    position: absolute;
    top: 0%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%);
}

.falist-line.is-bot {
    top: auto;
    bottom: 0%;
}

.falist-num {
    color: rgba(255, 255, 255, .35);
    font-weight: 200;
    height: 36px;width:20px;
    display: flex;
    font-size: 30px;
    line-height: 100%;
    transform: translateY(14px);
    letter-spacing: 0%;
    /* Both color and transform now transition together - previously two
       separate `transition` declarations existed on this selector and the
       second silently overwrote the first, so color changed instantly
       while only transform eased. */
    transition: color 300ms ease-in, transform 300ms cubic-bezier(0.32, 0.72, 0, 1);
}

.falist-info-wrap {
    /* Switched from max-height to the CSS grid-rows accordion technique.
       max-height animates toward a fixed pixel guess (65px), which is
       prone to visible "jump"/snap near the end of the transition when
       real content height doesn't match that guess, and clips text that
       runs longer than the guess. grid-template-rows: 0fr -> 1fr instead
       animates to the content's ACTUAL height, so it's smooth regardless
       of how long the description text is. */
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.falist-info-wrap .falist-desc {
    overflow: clip;
    min-height: 0;
}

.falist-item.expanded .falist-info-wrap {
    grid-template-rows: 1fr;
}

.falist-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0px;transition: gap 300ms ease-in;
    
}
.expanded .falist-info {
gap: 14px;}
.falist-heading {
    font-weight: 200;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, .3);
    /* Previously had no transition at all, so color snapped instantly on
       hover instead of easing with the rest of the reveal. */
    transition: color 300ms ease-in;
}

.falist-desc p {
    opacity: 0;
    color: var(--color-white);
    transform: translateY(1rem);
    transition: opacity 300ms ease-in, transform 300ms ease-out;
    font-size: 18px;
    line-height: 30px;
    font-weight: 200;
}

.firm-approch-info p {
    font-size: 30px;
    line-height: 41px;
    font-weight: 200;
    max-width: 772px;
}

.falist-item.expanded .falist-desc p {
    opacity: 1;
    transform: translateY(0rem);
}
.falist-item .falist-desc p{font-weight: 300;}
.falist-item.expanded .falist-num {
    color: var(--color-white);
    transform: translateY(-8px);
}

.falist-item.expanded .falist-heading {
    color: var(--color-white)
}

.integrated-platform {
    padding: 121px 0;
    background-color: #0A152B;position: relative;
}

.ip-icon {
    width: 65px;
    height: 46px;
    display: flex;
    align-items: center;
}

.ip-grid {
    display: grid;
    gap: 20px;
    align-items: center;
    grid-template-columns: repeat(5, 1fr);
}

.ip-grid>div {
    height: 230px;
    border-radius: 20px;
    background: rgba(70, 92, 136, .2);
    display: flex;
    align-items: center;
    gap: 43px;
    flex-direction: column;
    justify-content: center;
}

.ip-grid h3 {
    color: var(--color-white);
    font-weight: 200;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
}

.image-item {
    /* aspect-ratio: 607/900; */
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    background-size: cover !important;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask: linear-gradient(#000 0 0), linear-gradient(45deg, #000 50%, #0000 0) 0% 0% / 200% 200% no-repeat;
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0), linear-gradient(45deg, #000 50%, #0000 0) 0% 0% / 200% 200% no-repeat;
    mask-composite: exclude;
    -webkit-mask-position: 100% 0%;
    mask-position: 100% 0%;
    will-change: mask-position;
    border-radius: 20px !important;
height: 100%;
}

.firm-value {
    min-height: 900px;
    /* height: 100vh; */
    display: flex;
    padding: 0px 0;
    position: relative;
    align-items: flex-start;padding: 102px 0px ;
}

.firm-value .container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* JS sets this too via inline style once initS4() runs;
                     present here so the layout doesn't jump/flash before
                     JS executes */
    display: flex;
    align-items: stretch;
    /* overflow: clip; */
    
}
.firm-value .right {
width: 607px;
    height: 100%;
    /* stretches to match .container's height */
    position: relative;
    padding: 0px 0
}

.image-container {
    height: 100%;
    
}

.firm-value .items-list .value-item.active h3 {
    color: #0376BD
}

.firm-value .value-item h3 {
    color: rgb(96, 96, 96);
    font-weight: 200;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
}

.firm-value .value-item p {
    margin-top: 20px;
    font-weight: 200;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    opacity:1;
    color: #1E1E1E;
}

.firm-value .value-item.active p {
    opacity: 1;
}

.firm-value .value-item {
    border-top: 1px solid#c1c1c1;
    padding-top: 24px;
    padding-bottom: 24px;
}
.firm-value .value-item:last-child{
    border-bottom: 0px solid #c1c1c1;padding-bottom: 0px;
}

.value-list-wrapper {
   height:100%;
    /* set to whatever fits your design */
   justify-content: space-between;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: visible;
}

.mob-img {
    display: none;
}

.eyebrow {
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 16%;
    text-align: left;
    text-transform: uppercase;
    color: var(--color-primary)
}

.eyebrow+p {
    font-weight: 200;
    font-size: 30px;
    margin-top: 27px;
    line-height: 41px;
    letter-spacing: 0%;
    color: #1E1E1E;
    max-width: 515px;
    margin-bottom: 0px;
}

.firm-value .left {
    width: 516px;   
    height:100%;
}

.firm-value .container {
    display: flex;
    gap: 98px;
}

.prefooter {
    padding: 197px 0px 203px;
    width: 100%;
    min-height: 647px;  
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: none;
}

.prefooter>div {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prefooter h2 {
    color: var(--color-white)
}

.prefooter p {
    max-width: 960px;
    margin: 0px auto;
    color: var(--color-white);
    font-weight: 200;
    font-size: 30px;
    line-height: 41px;
    letter-spacing: 0%;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 52px;
}

.prefooter .global-btn span:first-child {
    color: var(--color-white)
}

.news-item .news-img {
    aspect-ratio: 400/295;
    max-height: 295px;
    margin-bottom: 20px;
}

.news-img img {
    width: 100%;
    height: 100%;
}

.news-list {
    display: grid;
    gap: 64px 20px;
    grid-template-columns: repeat(3, 1fr);
    padding: 144px 0px;
}

.news-item h3 {
    color: #0A152B;
    font-weight: 200;
    font-size: 30px;
    line-height: 41px;
    letter-spacing: 0%;
    margin-bottom: 20px;
}

.nw-date {
    font-weight: 200;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}
.address-section{
padding: 92px 0px;
}
 .address-grid {      
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 11px;
    width: 1078px;
        margin: 0px auto;
 }
 .address-card:not(:first-child){
background:rgba(217, 217, 217, .2);
 }
 .address-card {
     position: relative;     
     border-radius: 20px;
     padding: 52px 42px;
     min-height: 300px;
     
 }

 .address-card h3 {   
        font-weight: 200;      
        font-size: 30px;       
        line-height: 41px;
        letter-spacing: 0%;
     color: var(--color-primary);margin-bottom: 7px;
 }

 .address-card p {    
        font-weight: 200;     
        font-size: 20px;       
        line-height: 100%;
        letter-spacing: 0%;
        color: var(--color-primary);
 }

 .address-card .icon {
     position: absolute;
    top: 21px;
        right: 28px;  
        display: flex;align-items: flex-end;height: 60px;width:60px;justify-content: flex-end;
 }

 /* Enquiries card — highlighted */
 .address-card.enquires {
     background: #ffffff;
     border: 1px solid rgb(0 0 0 / 20%);border-radius: 20px;
 }
 .address-card.enquires{
    padding-top: 34px;
 }
 .address-card.enquires a {    
     text-decoration: none;color:var(--color-primary)
 }
.contact-section h2{
font-weight: 200;line-height: 100%;font-size: 45px;margin-bottom: 34px;
}
.contact-section {padding: 70px 0 116px;width:1030px;margin: 0px auto;}
.contact-section form input[type="text"] ,.contact-section form input[type="email"]{
    width: 100%;
    border: none;
    border-bottom: 1px solid #c1c1c1;
    background: transparent;      
    color: var(--color-primary);
    padding-bottom: 13px;
    margin-bottom: 34px;   
        font-weight: 200;      
        font-size: 20px;     
        line-height: 100%;
        letter-spacing: 0%;
}
.contact-section textarea{
    color: var(--color-primary);width: 100%;
    border: none;
        border-bottom: 1px solid #c1c1c1;font-weight: 200;
            font-size: 20px;
            line-height: 100%;
            letter-spacing: 0%;margin-bottom: 34px;
}
 form .global-btn-wrapper {
     position: relative;
     display: inline-flex;
     align-items: center;
     width: 110px;
     height: 35px;
     cursor: pointer;
 }

 /* input now covers the FULL wrapper, sits on top, fully transparent */
 form .global-btn {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     background: none;
     border: none;
     outline: none;
     appearance: none;
     -webkit-appearance: none;
     padding: 0;
     margin: 0;
     cursor: pointer;
     font-size: 0;
     color: transparent;
     z-index: 2;
 }

 form .global-btn-icon-wrapper {
     position: relative;
     width: 110px;
     overflow: clip;
     display: flex;
     justify-content: flex-start;
     pointer-events: none;
     /* purely visual, clicks pass through to input above */
     z-index: 1;
 }

 form .global-btn-icon {
     position: relative;
     width: 36px;
     height: 35px;
     border-radius: 999px;
     background: var(--color-accent);
     overflow: clip;
     transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
     will-change: width;
 }

 form .global-btn-icon-arrow-line {
     position: absolute;
     top: 50%;
     left: 12px;
     width: 10px;
     height: 2px;
     border-radius: 999px;
     background: var(--color-white);
     transform: translateY(-50%);
     transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
 }

 form .global-btn-icon-arrow {
     position: absolute;
     top: 50%;
     right: 8px;
     width: 14px;
     height: 14px;
     transform: translateY(-50%);
     transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
 }

 form .global-btn-wrapper:hover .global-btn-icon {
     width: 80px;
 }

 form .global-btn-wrapper:hover .global-btn-icon-arrow-line {
     width: 50px;
 }

 form .global-btn-wrapper:hover .global-btn-icon-arrow {
     right: 14px;
 }
@media (min-height: 938px) {
    .image-container {       
        border-radius: 20px;
        position: relative;
    }

    /* .firm-value .right {
        height: auto;
    } */

    .firm-value {
        min-height: 700px;
    }
    .firm-value .container{max-height: 850px;}
    .falist-heading{font-size: 48px;}
}

@media (max-height: 700px) {
    .image-container {       
        border-radius: 20px;
        position: relative;
    }
        .value-list-wrapper{
        height: 100%;
        max-width: 540px;gap: 20px;
        }
    .image-container>div {
        height: 100%;
        background-size: cover !important;
        border-radius: 20px;
    }

    .eyebrow+p {
        margin-bottom: 0px;font-size: 24px;
    }

    .firm-value .value-item {
        padding: 20px 0px 20px;
    }

    .firm-value .right {
                    height: 100%;padding: 0px;
    }

    /* .value-list-wrapper {
        height: 540px;
        max-height: 540px;
    } */

    .firm-value {
        min-height: 520px;
    }
        
        .items-list,
        .valur-list-info {
            /* height: auto !important; */
            overflow: visible !important;
           }
}
@media screen and (max-width:1568px) {
.firm-value .value-item h3{font-size: 32px;}
.firm-value .value-item p{margin-top: 12px;font-size: 16px;}
 .firm-value .value-item{padding:20px 0 20px}
}
@media screen and (max-width:1368px) {
    .firm-value .value-item{padding:20px 0 20px}
.inner-hero.firm-hero .hero-wrap{
    padding-bottom: 150px;
}
.firm-value .value-item h3{font-size: 32px;}
.firm-value .value-item p{margin-top: 12px;font-size: 16px;}

.firm-value{
padding: 102px 0 ;
}
}
@media screen and (max-width:1286px) {
    .image-container{height: 100%;}
.firm-value .value-item{padding:12px 0}
.firm-value .value-item p{margin-top:8px}
}


@media screen and (max-width:1099px) {
    .firm-value .container{height: auto;max-height: none;}
    .address-grid {          
            grid-template-columns: repeat(2, 1fr);
    }
        .platform-grid>div {
            padding: 30px;
            min-height: auto;
            gap: 30px
        }
    .news-item h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .firm-value {
        padding: 45px 0px;
    }

    .firm-value .items-list .value-item h3 {
        color: #0376BD
    }

    .firm-value .value-item p {
        opacity: 1;
    }
.firm-value .container{
    width:calc(100% - 2rem)
}
.eyebrow+p{margin-bottom: 0px;}
    .mob-img {
        display: none;
        width: 100%;
        height: auto;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        aspect-ratio: 6 / 7;
        margin-bottom: 27px;

    }
  .image-item{
        aspect-ratio: 12 / 7;height: auto;
        width: calc(100vw - 30px);
        background-position: center !important;}
    .firm-about-wrap p,
    .firm-about-wrap h2 {
        max-width: 100%;
    }

    .firm-value .value-item p {
        max-width: 80%;
    }

    .firm-about-wrap {
        flex-direction: column;
        gap: 30px
    }
.firm-about-wrap p{margin-bottom:18px

}
    .firm-value .value-item p {
        margin-top: 18px;
    }

    .firm-approch-info {
        gap: 30px
    }

    .firm-approch-info p {
        max-width: 65%;
    }

    .falist-item {
        gap: 100px
    }

    .firm-value .value-item {
        margin: 50px 0px 40px;
        padding: 40px 0px 0px;
    }

    .firm-value .right {
        display: block;
    }

    .value-list-wrapper {
        max-height: 100%;
    }

    .firm-value {
        height: auto;
    }

    .firm-value .container {
        flex-direction: column;
        gap: 32px;
    }

    .value-list-wrapper {
        gap: 32px;
    }

    .firm-value .left {
        width: 100%;
    }

    .ip-grid {
        display: grid;
        gap: 20px;
        align-items: center;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet breakpoint — half the height of the mobile version */
@media screen and (min-width: 768px) and (max-width: 1099px) {
    .mob-img {
        aspect-ratio: 12 / 7;
        background-position: center !important;
    }
}

@media screen and (max-width:768px) {
    /*.global-btn .global-btn-icon{width: 86px;}
                .global-btn .global-btn-icon-arrow {
                    right: 50px;
                }
   .global-btn .arrow-line {
                                    transform: scaleX(3);
                                }
.global-btn .arrow-head {
    transform: translateX(35px);
}*/
/*.prefooter .global-btn{left:10% !important;}*/
    .address-grid {
            grid-template-columns: 1fr;width: 100%;
        }
.contact-section{width:100%}
        .address-card{min-height: auto;}
    /* .inner-hero .hero-wrap {
        padding-bottom: 80px;
    } */
.firm-value .right{width:100%;}
    .heading {
        font-size: 48px;
        text-align: left;
    }

    .hero-wrap .p-txt {
        font-size: 20px;
        text-align: left;
    }

    .platform-grid>div {
        padding: 52px;
        min-height: auto;
        gap: 30px
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .firm-approch-info {
        flex-direction: column;
    }

    .firm-approch-info p {
        max-width: 100%
    }

    .falist-info-wrap {
        grid-template-rows: 1fr;
    }
 .image-item{       
        background-position: center !important;}
    .falist-desc p {
        opacity: 1;
        transform: translateY(0rem);
        font-size: 18px;
        font-weight: 200 !important;
    }

    .falist-num,
    .falist-heading {
        color: var(--color-white);
        font-size: 30px;
    }
.falist-info{gap:14px}
    .falist-num {
        transform: translateY(-8px);
        display: none;
    }

    .firm-approch {
        padding: 80px 0;
    }

    .ip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .firm-value .items-list .value-item h3 {
        font-size: 43px;
    }

    .news-list {
        grid-template-columns: 1fr;
        padding: 80px 0px;
        gap: 35px
    }

    .news-item .news-img {
        aspect-ratio: 400 / 295;
        max-height: 100%;
    }

    .news-item h3 {
        font-size: 20px;
    }

    /* .inner-hero {
        min-height: 450px;
    } */
     .ip-info h2, .ip-info p{text-align: left;}
     .value-list-wrapper {
        gap: 0;
     }
     .firm-value .value-item {
        margin: 40px 0px 40px;
     }
     .mob-img{
        border-radius: 20px;
     }
     .firm-value .value-item:last-child{margin-bottom: 20px;}
     .image-item{width:100%}
}

@media screen and (max-width:480px) {
    /* .inner-hero {
        min-height: 500px;
    } */

    .eyebrow+p {
        margin-bottom: 0px;
    }

    .mob-img {
        width: 100%;
        /*height: 321px;*/
        height: auto;
        border-radius: 20px;
    }

    .falist-item {
        gap: 40px
    }

    .firm-value .value-item p {
        max-width: 100%;
    }

    .ip-grid {
        grid-template-columns: 1fr;
    }
    .ip-grid>div {
        height: 180px;
        gap: 25px;
    }
}