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

:root {
    --section-margin: 150px;

    --txt: black;
    --txt2: white;
    --gray-txt: rgb(162, 171, 186);
    --main-color: rgb(43, 68, 250);
    --main-color2: rgb(17, 13, 161);
    --main-color-shadow: rgba(43, 68, 250, 0.15);
    --main-bg: white;
    --light-gray: rgb(236, 237, 248);
    --yellow: rgb(245, 206, 5);

    --circle-lr: linear-gradient(90deg, var(--main-color2) 49%, var(--main-color) 100%);
    --footer-lr: linear-gradient(270deg, var(--main-color2) 49%, var(--main-color) 100%);
    --action-btn-lr: linear-gradient(180deg, var(--main-color2) 0%, var(--main-color) 100%);

    --parent-default: 1rem;
    --x-small: .7em;
    --small: .85em;
    --default: 1em;
    --default-big: 1.2em;
    --big: 1.5em;
    --x-big: 2em;
    --xx-big: 2.5em;

    /* shadows */
    --light-border: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    --bold-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
    --normal-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    --light-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

html {
    font-size: 15px;
}

/* ************************************************* */

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li {
    margin: 0;
    padding: 0;
    border: 0;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

input,
textarea,
button,
select {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: inherit;
}

:focus {
    outline: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

/* ********************************************************************* */
/* scroll bar  */

::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* ********************************************************************** */
.bold {
    font-weight: bold;
}

.mb-title {
    padding: 0 0 10px 0;

    font-size: var(--xx-big);
    width: fit-content;
    position: relative;
    text-transform: capitalize;
    font-weight: 800 !important;
    white-space: nowrap;
    text-align: center;
}

.mb-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 72%;
    transform: translateX(-50%);

    background-color: var(--main-color);
    width: 45%;
    height: .5rem;
    border-radius: 1rem;
}

.mb-title-our {
    padding: 0 0 10px 0;

    font-size: var(--xx-big);
    width: fit-content;
    position: relative;
    text-transform: capitalize;
    font-weight: 800 !important;
    white-space: nowrap;
    text-align: center;
}

.mb-title-our::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    background-color: var(--main-color);
    width: 90%;
    height: .5rem;
    border-radius: 1rem;
}

.mb-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.mb-btn:hover {
    opacity: 0.9;
}

.mb-btn:active {
    opacity: 0.85;
}

.image-container1 {
    background-color: var(--light-gray);
    height: 45px;
    width: 45px;
    border-radius: 50%;
    overflow: hidden;
}

.image-container1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-container2 {
    border-radius: 5px;
    height: 45px;
    width: 45px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.image-container2 img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

i {
    font-size: 1rem;
    transition: all 300ms;
}

/* ==== form styles ==== */

input:focus {
    outline: none;
}

textarea:focus {
    outline: none;
}

label {
    text-transform: capitalize;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 5px;
    text-indent: 5px;
    font-size: var(--default);

    color: var(--txt);
    background-color: var(--main-bg);
    border: 1px solid var(--light-gray);
    border-radius: 3px;
}

input::placeholder {
    font-size: var(--default);
    color: var(--gray-txt);
}

textarea {
    width: 100%;
    padding: 5px;
    text-indent: 5px;

    color: var(--txt);
    background-color: var(--main-bg);
    border: 1px solid var(--light-gray);
    border-radius: 3px;
    resize: vertical;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--main-color);
}

input[type="date"] {
    width: 100%;
    padding: 5px;
    text-indent: 5px;
    font-size: var(--default);

    color: var(--txt);
    background-color: var(--main-bg);
    border: 1px solid var(--light-gray);
    border-radius: 3px;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--main-color);
}

/* **************************************** */

.line-nowrap {
    width: 100%;
    white-space: nowrap;
    display: block;
}

/* ************************************* */

.loader {
    background-color: white;
    height: 100dvh;
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.loader .circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;

    border-top: 4px solid var(--main-color);
    border-right: 4px solid var(--main-color);
    border-bottom: 4px solid var(--main-color);
    border-left: 4px solid white;

    animation: spin 1s linear infinite;
}

.hide-overflow {
    overflow: hidden !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ************************************* */

.lp-mobile-nav {
    display: none;
}

.lp-nav-btn {
    display: none;
}

.lp-navbar {
    margin: 0 auto;
    font-size: var(--default);
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    /* font  */
    font-size: var(--big);
    text-transform: uppercase;
    font-weight: 500;
    color: var(--txt2);

    /* image  */
    height: 6rem;
}

.logo img {
    height: 100%;
    object-fit: contain;
}

.lp-navlinks {
    width: 40%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navlink {
    font-size: var(--default);
    font-weight: 300;
    text-transform: capitalize;
    text-decoration: none;
    color: var(--txt2);
}

.btns {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mb-login {
    padding: .3rem 1rem;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: .5rem;

    border: 2px solid var(--txt2);
    border-radius: 9px;

    color: var(--txt2);

    font-weight: 400;
    font-size: var(--default);
    text-transform: capitalize;
}

.mb-rq {
    padding: calc(.3rem + 2px) 1rem;

    background-color: var(--txt2);
    border-radius: 9px;

    color: var(--main-color);

    font-weight: 700;
    font-size: var(--default);
}

/* ************************************* */

.vector {
    width: 100%;
}

.vector img {
    width: 100%;
}

.vector1 {
    margin-top: -1px;
}

.vector2 {
    margin-bottom: -15px;
}

/* ************************************* */

footer {
    padding: 1.5rem 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: var(--main-color);
    background: var(--footer-lr);
}

footer .flogo img {
    height: 7rem;
    object-fit: contain;
    width: 100%;
}

footer .mini-title {
    margin-top: 2rem;
    padding: 1rem 1.5rem;

    background-color: var(--txt2);
    color: var(--main-color);
    border-radius: 4rem;

    font-weight: 700;
    font-size: var(--big);
    text-align: center;
}

.footer-description {
    margin-top: 1rem;
    width: 50%;

    color: var(--txt2);

    text-align: center;
    font-size: var(--big);
    line-height: var(--x-big);
}

.footer-links {
    margin-top: 2rem;
    width: 50%;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-links a {
    color: var(--txt2);

    font-size: var(--big);
    text-transform: capitalize;
    font-weight: 200;
}

.social-links {
    margin-top: 1.5rem;
    width: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-links a i {
    color: var(--txt2);
    font-size: var(--x-big);
}

footer .copy-right {
    margin-top: 4rem;
    color: var(--txt2);
    font-weight: 300;
}

/* **************************************** */

@media (min-width: 1400px) {
    html {
        font-size: 19px;
    }
}

@media (min-width: 1600px) {
    html {
        font-size: 21px;
    }
}

@media (min-width: 1800px) {
    html {
        font-size: 24px;
    }
}

@media (min-width: 2000px) {
    html {
        font-size: 26px;
    }
}

@media (min-width: 2500px) {
    html {
        font-size: 29px;
    }
}

@media (max-width: 1100px) {
    html {
        font-size: 13px;
    }
}

@media (max-width:900px) {
    .footer-description {
        width: 75%;
    }
}

@media (max-width:850px) {
    .lp-navbar {
        width: 95%;
    }
}

@media (max-width:750px) {
    .lp-navbar {
        width: 90%;
        justify-content: space-between;
    }

    .lp-navlinks {
        display: none;
    }

    .lp-navbar .btns {
        display: none;
    }

    .lp-nav-btn {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: 2.5rem;
        z-index: 1000;
    }

    .lp-mobile-nav {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;

        position: fixed;
        top: 0;
        left: 100%;
        bottom: 0;
        z-index: 99;
        background-color: var(--txt2);
        transition: all 400ms;
    }

    .lp-mobile-nav.shown {
        left: 0;
    }

    .lp-mobile-navlinks {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-size: var(--big);
    }

    .lp-mobile-navlinks .navlink {
        color: var(--main-color);
        margin: 10% 0;
    }

    .lp-mobile-nav .btns {
        flex-direction: column;
    }

    .mb-login {
        gap: 1rem;
        border: 2px solid var(--main-color);
        color: var(--main-color);
    }

    .mb-rq {
        background-color: var(--main-color);
        color: var(--txt2);
    }


    .mb-bar {
        width: 100%;
        height: 2px;
        margin: 3px 0;

        border-radius: 10px;
        background-color: var(--txt2);
        transition: all 300ms;
    }

    .mb-bar:nth-child(2) {
        width: 80%;
    }

    .lp-nav-btn.navbar-shown .mb-bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
        background-color: var(--main-color);
    }

    .lp-nav-btn.navbar-shown .mb-bar:nth-child(2) {
        opacity: 0;
    }

    .lp-nav-btn.navbar-shown .mb-bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
        background-color: var(--main-color);
    }

    .footer-links {
        width: 90%;
    }
}

@media (max-width:650px) {
    .footer-description {
        width: 95%;
    }

    .footer-links {
        width: 95%;
    }
}

@media (max-width:425px) {
    html {
        font-size: 11px;
    }

    .mini-title {
        width: 90%;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width:300px) {
    html {
        font-size: 10px;
    }
}

@media (max-width:250px) {
    .lp-navbar {
        flex-direction: column;
        align-items: center;
    }
}