/* UNIVERSAL SELECTOR */

*{
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

img{
    width: 100%;
    height: auto;
}

body{
    font-family: var(--font-main, Arial, sans-serif);
    cursor: default;

    background:
        radial-gradient(circle at 90% 10%, rgba(0, 91, 255, 0.10), transparent 25%),
        linear-gradient(135deg, #ffffff 0%, #f4f8ff 55%, #eef5ff 100%);

    margin-bottom: 50vh;
}

/* THIS IS TO GET RID OF ALL STYLES ON ANCHOR TAG */
a{
    /* WIPES OUT EVERY SINGLE STYLE, THIS LINK WILL BEHAVE LIKE PLAIN TEXT */
    all: unset;
    cursor: pointer;
}

span{
    color: var(--color-primary);
}

/* STYLING RELATED TO THE NAVIGATION BAR */
#navBarOuter{
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(6, 22, 70, 0.08);
    box-shadow: 0 14px 22px -18px rgba(6, 22, 70, 0.28);
    backdrop-filter: blur(12px);

    border-radius: 0;
}

#navBarContent{
    position: relative;
    display: grid;
    grid-template-columns: 12.5% 80%;
    justify-content: center;
    padding-top: 2.5px;
    padding-bottom:2.5px;
}

/* GENERIC COMPONENTS */
.btn{
    position: relative;
    display: inline-block;
    
    font-size: clamp(.5rem, 1.25rem, 1.5rem);
    padding: .5vw;
    color: var(--color-dark);
    font-weight: 700;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    transition: transform 1s ease;

}

.btn:not(.ctaQt)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background-color: var(--color-dark);
    border-radius: 999px;

    transition: width .35s ease;
}

/* underline animation */
.btn:not(.ctaQt):hover::after {
    width: 100%;
}

.ctaQt{
    background-color: var(--color-primary);
    border-radius: 10px;
    color:white;
    
}

.btn:hover{
    transform: scale(1.05) translateZ(0);
}

/* MOBILE HAMBURGER ICON */
#mobileHam{
    display: none;

    width: 44px;
    height: 44px;
    padding: 0;

    border-radius: 14px;
    border: 1px solid rgba(6, 22, 70, 0.10);

    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 8px 22px rgba(6, 22, 70, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background-color .25s ease;
}

#mobileHam span{
    width: 22px;
    height: 2px;

    background: var(--color-dark);
    border-radius: 999px;

    transition:
        transform .25s ease,
        opacity .25s ease,
        background-color .25s ease;
}

.flexCenterAlign{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flexCenterAlignBlock{
    display: flex;
    flex-direction: column;
}

.flexCenterAlignStacked{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.flexRightAlign{
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    align-items: center;
    gap: 5%;
}

#heroSectionOuterContainer, #servicesContainerOuter, #serviceCardGroupOut, #whyChooseUsContainer,
#provenResultsContainer{
    display: grid;
    grid-template-columns: 60%;
    justify-content: center;
    
}
#heroCardContainer{
    position: relative;   
    margin-top: 5%;

    display: grid;

    min-height: clamp(28rem, 42vw, 44rem);

    overflow: hidden;
    border: 0.0625rem solid rgba(6, 22, 70, 0.08);
    border-radius: clamp(1.25rem, 6vw, 2rem);

    box-shadow:
        0 1.5rem 3.75rem rgba(6, 22, 70, 0.10),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.85);

    background:
        radial-gradient(circle at 85% 12%, rgba(0, 91, 255, 0.14), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f4f8ff 55%, #eef5ff 100%);
}

#heroImgContainer{
    position: absolute;
    inset: 0;
    z-index: 1;
}

#heroImg{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 68% center;
    border-radius: inherit;
}

#heroImgContainer::after{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.88) 38%,
        rgba(255, 255, 255, 0.42) 70%,
        rgba(255, 255, 255, 0.06) 100%
    );

    z-index: 2;
    pointer-events: none;
}

#heroContent{
    position: relative;
    z-index: 3;

    width: auto;
    top: auto;

    display: grid;
    grid-template-columns: 90%;
    justify-content: center;

    padding: clamp(1.5rem, 4vw, 3rem) 0;

    color: var(--color-dark, #071B5F);
}

.textContent{
    display: grid;
    grid-template-columns: 50%;
}

.textContent div:nth-child(1){
    font-size: clamp(2vw,3vw,4vw);
    font-weight: 600;
}

.textContent div:nth-child(2){
    display: grid;
    grid-template-columns: 80%;
    font-size: clamp(.75vw, 1vw, 1vw);
    font-weight: 600;
}

#btnGroupCta, #btnViewGalCont{
    margin-top: 2.5%;
    display: grid;
    grid-template-columns: repeat(2,25%);
    height: fit-content;
    gap: 5%;
}

#btnGroupCta a:first-child, #btnViewGalCont a:first-child{
    display: grid;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #005BFF, #003BB8);
    color:white;
    box-shadow: 0 0.875rem 1.75rem rgba(0, 91, 255, 0.24);
    font-weight: 900;
    padding: 6%;
    border-radius: 10px;
    font-size: clamp(.5rem,1rem,1.25rem);
    transition:
        transform .5s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

#btnGroupCta a:last-child{
    display: grid;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    border: 0.0625rem solid rgba(6, 22, 70, 0.10);
    box-shadow: 0 0.625rem 1.5rem rgba(6, 22, 70, 0.08);
    font-size: clamp(.5rem,1rem,1.25rem);
    border-radius: 10px;
    font-weight: 900;
    padding: 6%;
    transition:
        transform .5s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

#btnGroupCta a:hover:first-child , #btnViewGalCont a:hover:first-child{
    transform: translateY(-5px);
    box-shadow: 0 1.125rem 2.125rem rgba(0, 91, 255, 0.30);
    border-color: rgba(0, 91, 255, 0.24);
    box-shadow: 0 1.125rem 2.125rem rgba(6, 22, 70, 0.14);
}

#btnGroupCta a:hover:last-child{
    transform: translateY(-5px);
    box-shadow: 0 1.125rem 2.125rem rgba(0, 91, 255, 0.30);
}

#btnPillsContainer{
    display: grid;
    height: fit-content;
    grid-template-columns: repeat(3,30%);
    gap: 2.5%;
}

.pillCard{
    display: grid;
    grid-template-columns: 12% 88%;
    font-size: clamp(.5vw, 1vw,1.25vw);
    background: rgba(255, 255, 255, 0.88);
    border: 0.0625rem solid rgba(6, 22, 70, 0.10);
    box-shadow: 0 0.5rem 1.375rem rgba(6, 22, 70, 0.10);
    font-weight: 800;
    padding: 2.5%;
    border-radius: 10px;
    width: 100%;

}

#servicesContainerOuter{
    margin-top: 5%;
}

#servicesWrapper{
    display: grid;
    grid-template-columns: 90%;
    justify-content: center;
}

#servicePill, #whyUsPill, #provenResPill{
    color:#005BFF;
    background:rgba(0, 91, 255, 0.08);
    border: 0.0625rem solid rgba(0, 91, 255, 0.14);
    border-radius: 999rem;
    font-weight: 800;
    font-size: clamp(.75vw,1vw,1.25vw);
    padding: 1%;
}

#whyUsPill, #provenResPill{
    width: fit-content;
}

#serviceContainerInner div:nth-child(2){
    margin-top: 2%;
    font-size: clamp(3vw,4vw,5vw);
    font-weight: 700;
    text-align: center;
    color:var(--color-dark, #071B5F);
}

#subServiceTxt{
    display: grid;
    grid-template-columns: 60%;
    justify-content: center;
    text-align: center;
    font-size: clamp(1vw,1.25vw,1.5vw);
    color:rgba(6, 22, 70, 0.66);
}

#serviceCardGroupOut{
    margin-top: 4%;
}

#serviceCardsContainer{
    display: grid;
    grid-template-columns: repeat(3, 30%);
    gap: 5%;
    justify-content: center;
}

.serviceCard{
    display: grid;
    gap: .5rem;
    border-radius: 1.5rem;
    border: 0.0625rem solid rgba(6, 22, 70, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 1.125rem 2.8125rem rgba(6, 22, 70, 0.10),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.9);
    padding: 5%;

    transition: transform  .25s ease,
                box-shadow .25s ease;
}

.serviceImgCont{
    display: grid;
    grid-template-columns: 17.5%;
}

.serviceImgContBack{
    border-radius: 1rem;
    background: rgba(0, 91, 255, 0.08);
    border: 0.0625rem solid rgba(0, 91, 255, 0.12);
    padding: 5%;
}

.serviceCardTitle{
    font-size: clamp(1vw,1.5vw,2vw);
    font-weight: 800;
}

.serviceCardSubTitle ,.serviceReq{
    font-size: clamp(.5vw,1vw,1.5vw);
}

.serviceReq{
    color:#005BFF;
    font-weight: 900;
}

.serviceCard:hover{
    transform: translateY(-5px);
    box-shadow: 0 1.5rem 3.75rem rgba(6, 22, 70, 0.14);
}

#whyChooseUsContainer{
    margin-top: 5%;
}

#whyChooseUsContainerInner, #provenResInnerCont{
    display: grid;
    grid-template-columns: repeat(2, 45%);
    justify-content: center;
    gap: 2.5%;
    padding: 2.5%;
    border-radius: clamp(1.25rem, 6vw, 1.75rem);
    border: 0.0625rem solid rgba(6, 22, 70, 0.10);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(255, 255, 255, 0.84)
    );
    box-shadow: 0 1.5rem 4.375rem rgba(6, 22, 70, 0.10),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);

}

.whyChooseUsTitle{
    font-size: clamp(3vw,4vw,5vw);
    font-weight: 800;
    color:var(--color-dark, #071B5F);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.whyChooseUsSubTitle{
    color: rgba(6, 22, 70, 0.66);
    font-size: clamp(1vw, 1.15vw, 1.5vw);
    font-weight: 500;
    line-height: 1.65;
}

#chooseUsGridContainer{
    display: grid;
    grid-template-columns: 90%;
    justify-content: center;
    align-items: center;
}

.chooseUsCard{
    display: grid;
    grid-template-columns: 10% 80%;
    justify-content: center;
    gap: 5%;
    
}

.checkBox{
    position: relative;
    overflow: hidden;

    width: 2.5vw;
    height: 2.5vw;

    background: white;
    border: 0.0625rem solid rgba(6, 22, 70, 0.08);
    box-shadow: 0 0.625rem 1.375rem rgba(0, 91, 255, 0.20);
    border-radius: 0.875rem;

    align-self: center;
}

/* blue animated box fill */
.checkBox::before{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(135deg, #005BFF, #003BB8);
    border-radius: inherit;

    opacity: 0;
    transform: scale(0.35);

    transition: none;
}

/* actual check mark */
.checkBox::after{
    content: "";
    position: absolute;

    left: 34%;
    top: 18%;

    width: 28%;
    height: 52%;

    border-right: 0.18rem solid white;
    border-bottom: 0.18rem solid white;

    opacity: 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;

    transition: none;
}

/* when section becomes active */
#whyChooseUsContainer.checksActive .chooseUsCard:nth-child(1) .checkBox::before{
    animation: checkBoxFill 0.35s ease forwards 0.1s;
}

#whyChooseUsContainer.checksActive .chooseUsCard:nth-child(1) .checkBox::after{
    animation: checkMarkDraw 0.35s ease forwards 0.32s;
}

#whyChooseUsContainer.checksActive .chooseUsCard:nth-child(2) .checkBox::before{
    animation: checkBoxFill 0.35s ease forwards 0.55s;
}

#whyChooseUsContainer.checksActive .chooseUsCard:nth-child(2) .checkBox::after{
    animation: checkMarkDraw 0.35s ease forwards 0.77s;
}

#whyChooseUsContainer.checksActive .chooseUsCard:nth-child(3) .checkBox::before{
    animation: checkBoxFill 0.35s ease forwards 1s;
}

#whyChooseUsContainer.checksActive .chooseUsCard:nth-child(3) .checkBox::after{
    animation: checkMarkDraw 0.35s ease forwards 1.22s;
}

.chooseUsCardTitle{
    font-size: clamp(1vw,1.25vw,1.5vw);
    font-weight: 900;
}

.chooseUsCardSubTitle{
    font-size: clamp(.8vw,.9vw,1.25vw);
}

#provenResultsContainer{
    margin-top: 5%;
}

#provenResultsGallery{
    display: grid;
    align-items: center;
    min-width: 0;
}

.provenGalleryCard{
    width: 100%;
    overflow: hidden;

    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(6, 22, 70, 0.08);
    box-shadow: 0 18px 45px rgba(6, 22, 70, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.provenGalleryCard:hover{
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(6, 22, 70, 0.14);
}

.beforeAfterImageBox{
    --split: 50%;

    position: relative;
    height: clamp(220px, 24vw, 340px);

    overflow: hidden;
    cursor: ew-resize;
    touch-action: none;
}

.imageHalf{
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.imageHalf img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beforeImage{
    z-index: 1;
}

.afterImage{
    z-index: 2;
    clip-path: inset(0 0 0 var(--split));
}

.imageLabel{
    position: absolute;
    top: 1rem;

    padding: 0.4rem 0.75rem;
    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    z-index: 4;
}

.beforeLabel{
    left: 1rem;
    background: rgba(7, 27, 95, 0.88);
    color: white;
}

.afterLabel{
    right: 1rem;
    background: linear-gradient(135deg, #005BFF, #003BB8);
    color: white;
}

.compareHandle{
    position: absolute;
    top: 50%;
    left: var(--split);

    transform: translate(-50%, -50%);

    width: 46px;
    height: 46px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;

    background: #ffffff;
    color: #071B5F;

    font-size: 0.85rem;
    font-weight: 800;

    box-shadow: 0 10px 28px rgba(6, 22, 70, 0.22);
    z-index: 5;

    pointer-events: none;
}

.compareHandle::before{
    content: "";
    position: absolute;

    width: 2px;
    height: 500px;

    background: rgba(255, 255, 255, 0.95);
    z-index: -1;
}

.galleryCardContent{
    padding: 1.25rem 1.35rem 1.4rem;
}

.galleryCardTitle{
    color: #071B5F;
    font-family: var(--font-heading, 'Poppins', Arial, sans-serif);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;

    margin-bottom: 0.8rem;
}

.galleryCardCategory{
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    color: #14245A;
    font-size: 0.9rem;
    font-weight: 700;
}

.galleryCardCategory img{
    width: 18px;
    height: 18px;
    object-fit: contain;
}

#btnViewGalCont{
    grid-template-columns: 35%;
}

@keyframes checkBoxFill{
    0%{
        opacity: 0;
        transform: scale(0.35);
    }

    70%{
        opacity: 1;
        transform: scale(1.12);
    }

    100%{
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkMarkDraw{
    0%{
        opacity: 0;
        transform: rotate(45deg) scale(0);
    }

    70%{
        opacity: 1;
        transform: rotate(45deg) scale(1.18);
    }

    100%{
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

@media (width <= 1000px){
    #navBarContent{
        grid-template-columns: 40% 50%;
        padding-top: 5px;
        padding-bottom:5px;
    }

    /* MOBILE HAMBURGER */
    #mobileHam {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-self: end;
        gap: 5px;
    }

    #mobileHam:hover {
        transform: translateY(-1px);
        border-color: rgba(0, 91, 255, 0.22);
        box-shadow:
            0 12px 28px rgba(6, 22, 70, 0.16),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    #mobileHam:active {
        transform: translateY(0) scale(0.97);
    }

    #mobileHam:hover span {
        background: var(--color-primary);
    }

    .flexRightAlign {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;

        width: 100%;
        margin: 0;

        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;

        background-color: white;
        padding: 1rem;
        border-radius: 16px;

        box-shadow: 0 18px 45px rgba(6, 22, 70, 0.14);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .flexRightAlign.mobileMenuOpen {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0s linear 0s;
    }

    .flexRightAlign .btn:not(.ctaQt) {
        width: fit-content;
        align-self: center;
        text-align: center;
        padding: 0.65rem 0.75rem;
    }

    .flexRightAlign .ctaQt {
        width: fit-content;
        align-self: center;

        display: inline-flex;
        justify-content: center;
        align-items: center;

        text-align: center;
        padding: 0.95rem 1.6rem;

        background-color: var(--color-primary);
        color: white;
        border-radius: 12px;
    }

    #mobileHam.hamOpen span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #mobileHam.hamOpen span:nth-child(2) {
        opacity: 0;
    }

    #mobileHam.hamOpen span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    #provenResInnerCont{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .beforeAfterImageBox{
        height: clamp(220px, 60vw, 320px);
    }

    .galleryCardContent{
        padding: 1.1rem 1.15rem 1.25rem;
    }

    #heroSectionOuterContainer, #servicesContainerOuter, #serviceCardGroupOut, #whyChooseUsContainer,
    #provenResultsContainer{
        grid-template-columns: 90%;
    }

    .textContent{
        grid-template-columns: 80%;
    }

    .textContent div:nth-child(1){
        font-size: clamp(6vw,6.5vw,6.75vw);
    }

    .textContent div:nth-child(2){
        grid-template-columns: 80%;
        font-size: clamp(3vw, 3.5vw, 4vw);
    }

    #btnGroupCta, #btnViewGalCont{
        grid-template-columns: repeat(2,45%);
        gap: 5%;
    }

    #btnGroupCta a:first-child, #btnViewGalCont a:first-child{
        padding: 2px;
        font-size: clamp(.5rem,1rem,1.25rem);
    }

    #btnPillsContainer{
        grid-template-columns: repeat(2,45%);
        gap: 2.5%;
    }

    .pillCard{
        font-size: clamp(2.75vw,1.5vw,1.75vw);
    }

    #servicePill, #whyUsPill, #provenResPill{
        font-size: clamp(3vw,4vw,5vw);
    }

    #whyUsPill, #provenResPill{
        margin-bottom: 1%;
    }

    #serviceContainerInner div:nth-child(2){
        font-size: clamp(6vw,6.5vw,7vw);
    }

    #subServiceTxt{
        grid-template-columns: 100%;
        font-size: clamp(4.75vw,4.8vw,5vw);
    }

     #serviceCardsContainer{
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .serviceCard{
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .serviceImgCont{
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .serviceImgContBack{
        width: 3rem;
        height: 3rem;
        object-fit: contain;
        padding: 0.65rem;
    }

    .serviceCardTitle{
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        line-height: 1.15;
    }

    .serviceCardSubTitle,
    .serviceReq{
        font-size: clamp(0.95rem, 3.7vw, 1.05rem);
        line-height: 1.55;
    }

    #whyChooseUsContainer{
        margin-top: 3rem;
    }

    #whyChooseUsContainerInner,
    #provenResInnerCont{
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .whyChooseUsTitle{
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.05;
    }

    .whyChooseUsSubTitle{
        font-size: clamp(0.95rem, 3.7vw, 1.05rem);
        line-height: 1.55;
    }

    #chooseUsGridContainer{
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .chooseUsCard{
        grid-template-columns: auto 1fr;
        gap: 0.9rem;
    }

    .checkBox{
        width: 2.5rem;
        height: 2.5rem;
    }

    .chooseUsCardTitle{
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .chooseUsCardSubTitle{
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        line-height: 1.45;
    }
}