@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #FFF;
    max-width: 1440px;
    width: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
    background: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    -webkit-box-shadow: 0px 0px 20px 5px rgba(170, 170, 170, 1);
    -moz-box-shadow: 0px 0px 20px 5px rgba(170, 170, 170, 1);
    box-shadow: 0px 0px 20px 5px rgba(170, 170, 170, 1);
}

.body-wrapper {
    background-image: url("/assets/body-bg.png");
    background-color: #223E73;
}

.section {
    padding: 40px 120px;
}

p {
    margin: 0 0 15px;
}


ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

.heading-xl {
    font-size: 72px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin:0 0 10px;
}

.heading-large {
    text-align: center;
    font-size: 46px;
    font-style: normal;
    font-weight: 700;
    line-height: 55px;
}


.heading-s {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.1px;
    margin: 0 0 10px;
}

.body-xl {
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
    margin: 0 0 10px;
    color:#E5E5E5;
}

.body-l {
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 10px;
}

.body-m {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 10px;
}

.body-s {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.1px;
    margin: 0 0 10px;
    color:#E5E5E5;
}

p {
    margin-bottom: 10px;
}

@media only screen and (max-width: 767px) {
    .heading-xl {
        font-size: 48px;
        line-height: 1.2;
    }

    .heading-large {
        font-size: 36px;
        line-height: 1.2;
    }

    .heading-s {
        font-size: 20px;
        line-height: 1.2;
    }

    .body-xl {
        font-size: 16px;
        line-height: 1.5;
    }

    .body-l {
        font-size: 14px;
        line-height: 1.5;
    }

    .body-m {
        font-size: 13px;
        line-height: 1.5;
    }

    .body-s {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* For tablet devices */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .heading-xl {
        font-size: 60px;
        line-height: 1.2;
    }

    .heading-large {
        font-size: 42px;
        line-height: 1.2;
    }

    .heading-s {
        font-size: 22px;
        line-height: 1.2;
    }

    .body-xl {
        font-size: 18px;
        line-height: 1.5;
    }

    .body-l {
        font-size: 16px;
        line-height: 1.5;
    }

}



/* Download Buttons */

.buttons {
    margin-top: 48px;
    display: flex;
    gap: 12px;
}

.btn-black, .btn-white {
    padding: 14px 24px;
    border-radius: 6px;
    width: fit-content;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
    gap: 8px;
    text-decoration: none;
}


.btn-black img, .btn-white img {
    margin-right: 5px;
}

.btn-black, .btn-white:hover {
    background: #3768EB;
    color: white;
    border: 2px solid #FFF;
}

.btn-white img, .btn-black:hover img {
    filter: invert(31%) sepia(34%) saturate(6928%) hue-rotate(220deg) brightness(103%) contrast(84%);
}

.btn-black img {
    filter: invert(95%) sepia(100%) saturate(0%) hue-rotate(246deg) brightness(108%) contrast(101%);
}


.btn-white:hover img {
    filter: invert(100);
}

.btn-white, .btn-black:hover {
    background: #FFF;
    border: 2px solid #3768EB;
    color: #3768EB;
}

@media screen and (max-width: 937px) {
    .buttons {
        display: flex;
        flex-direction: column;
    }

    .buttons button {
        width: fit-content;
    }
}



/* ↓ Before After ↓ */

.before-after {
    display: flex;
    max-height: 740px;
}

.before-after .con-half {
    padding: 5%;
    text-align: center;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.top-section-phone img {
    display: block;
    max-width: 100%;
}

main {
    display: grid;
    place-items: center;

}

.container {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    --position: 40%;
}

.image-container {
    max-width: 800px;
    max-height: 90vh;
    aspect-ratio: 57/89;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    max-height: 645px;
}

.image-before {
    position: absolute;
    width: var(--position);
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    /* for Firefox */
    width: 100%;
    height: 100%;
}

.slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
}

.slider-line {
    position: absolute;
    inset: 0;
    width: 0.3rem;
    height: 75%;
    background: rgb(255,255,240);
    background: linear-gradient(0deg, rgba(255,255,240,0) 0%, rgba(255,255,240,1) 15%, rgba(255,255,240,1) 50%, rgba(255,255,240,1) 85%, rgba(255,255,240,0) 100%);
    /* z-index: 10; */
    left: var(--position);
    transform: translate(-50%, 25%);
    pointer-events: none;
    max-height: 645px;
}

.slider-button {
    position: absolute;
    /* background-color: #fff; */
    color: black;
    padding: 0.5rem;
    /* border-radius: 100vw; */
    /* display: grid; */
    /* place-items: center; */
    top: 64%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* z-index: 100; */
    /* box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5); */
}


#before-after ul li, #before-after ul {
    margin-top: 10px;
    list-style: none;
}

div:has(.app-home) {
    align-items: center;
}

.app-home {
    width: 300px;
    height: auto;
}

.p-left-right {
    padding: 0 5%;
    text-align: center;
}

/* Decrease size at 1040px */
@media (max-width: 1040px) {
    #before-after-arrows {
        width: 50px;
        height: 26px;
    }
}




/* Top Section */

#top-section {
    background: url("/assets/top-background.png");
    background-repeat: no-repeat;
    background-size: contain;
    min-height:100dvh;
    display: flex;
    align-items: center;
    padding-top:0;
    padding-bottom:0;
    position: relative;
    background-position: center;
}

.top-banner {
    display: flex;
    gap: 50px;
    align-items: center;
}

.top-banner div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.top-banner div:first-child {
    flex-basis: 67%;
}

.logo {
    max-width: 120px;
}

.top-section-phone {
    max-width: 444px;
    position: absolute;
    bottom:0;
    right:0;
}

#top-section .body-large {
    margin-bottom: 150px;
}

@media screen and (max-width:1100px) {
    .section {
        padding: 30px 5%;
    }
    .top-banner div:first-child {
        flex-basis: 60%;
    }
}

@media screen and (max-width: 1023px) {
    #top-section .buttons {
        display: flex;
        flex-direction: column;
    }

    #top-section {
        min-height: 700px;
        background-position: center;
    }

    #top-section .buttons button {
        width: fit-content;
    }

    .top-banner div:first-child {
        flex-basis: 60%;
    }

    .top-section-phone {
        max-width: 366px;
        width:40%;
        position: absolute;
        bottom:0;
        right:0;
    }
}

@media (max-width:720px) {
    .top-banner div:first-child {
        flex-basis:100%;
    }

    .top-banner {
        flex-direction:column;
    }

    .top-section-phone {
        position:relative;
        width:100%;
    }
}

@media (max-width:720px) {
    .top-section-phone {
        display:none;
    }

    #top-section {
        min-height:100vh;
        background-size: cover;
    }
}


/* Features Section */

#vector-1, #vector-2, #vector-3, #hole {
    position: absolute;
    top:0;
    left:0;
    width:100%;
}

#vector-2 {
    top:47%;
}

#vector-3 {
    top:100%;
}

#hole {
    top:20%;
    left:0;
    width:10%;
}

#features *:not(.vector), #faq {
    position: relative;
    z-index:2;
}
#features {
    margin-top:160px;
    position: relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.feature {
    width:30%;
}

.features-text {
   max-width:884px;
}

.features-img, .features-text {
    width:100%;
    z-index:1;
}

.features {
    display:flex;
    gap:5%;
    margin-top:60px;
}

.features .heading-s {
    margin: 40px 0 23px;
}

.swiper-slide {
    width: 100% !important;
}

.swiper-wrapper {
    position: relative;
}

.swiper-slide img {
    width:100%;
}

.swiper-nav-con {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 99;
}

.swiper-pagination {
    position: relative;
    top:-120px;
}

.swiper-pagination-bullet {
    background: #08101F;
    height:15px;
    width:15px;
    opacity:1;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

@media screen and (max-width:852px) {
    .features {
        flex-direction:column;
        gap:60px;
        max-width:400px;
    }

    .features .heading-s {
        margin: 25px 0 20px;
    }

    #features {
        margin-top:80px;
    }

    .feature {
        width:100%;
    }
}

/* FAQ */

#faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.faqs {
    margin-top: 78px;
    max-width: 700px;
}

.faqs div {
    margin-bottom: 60px;
}


.faqs .body-l {
    font-weight: 600;
    margin-bottom: 24px;
}

@media screen and (max-width:720px) {
    .faqs {
        margin-top:40px;
    }
}

/* Footer */

.footer-inner {
    display: flex;
    justify-content: space-between;
}

footer {
    margin: 0;
    width: 100%;
}

footer .logo {
    max-width:220px;
}

footer svg path {
    fill: #fff;
}

.footer-right div:has(#copyright) {
    display: flex;
}


.footer-inner {
    z-index:2;
    position: relative;
}

#footer-bg {
    width:100%;
    position: absolute;
    bottom:0;
    left:0;
    z-index:0;
}

.footer-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-privacy {
    display:flex;
}
#footer-logo {
    margin-bottom: 10px;
    width: 30%;
    min-width: 80px;
    max-width: 130px;
    border-radius: 15%;
    margin-left: -20px;
}

.footer-right table {
    margin-bottom: 10px;
}

.footer-right table .body-l, .footer-privacy .body-m {
    color: #FFF !important;
}


.tr td {
    padding-bottom: 10px;
}


.anchor {
    text-decoration: none;
}


@media screen and (max-width: 800px) {
    .footer-right:has(#copyright) {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 720px) {

    .footer-btn {
        display: flex;
        flex-direction: column;
    }

    .footer-btn .btn-blue {
        margin-bottom: 10px;
    }
}


@media screen and (max-width: 500px) {
    .footer-inner {
        flex-direction: column;
    }

    .footer-btn .btn-blue, .footer-btn .btn-white {
        width: fit-content;
    }

    .footer-btn {
        padding-top: 18px;
    }
}
