@font-face {
    font-family: InriaSans;
    font-display: swap;
    src: url(../font/inria-sans.ttf);
}

@font-face {
    font-family: Sora;
    font-display: swap;
    src: url(../font/sora.ttf);
}

@font-face {
    font-family: Inter;
    font-display: swap;
    src: url(../font/inter.ttf);
}

@font-face {
    font-family: Jost;
    font-display: swap;
    src: url(../font/jost.ttf);
}

:root {
    --color-1: #0156d2;
    --color-2: #c7eaf0;
    --color-3: #2fa267;
    --color-4: #3e51dd;
    --color-5: #ea43bb;
    --bg-color: white;
    --bg-color-2: #f5f5f5;
    --text-color: black;
    --linear-gradient: linear-gradient(to right, #f3fbff, #feffef);
    --nav-logo: url('/image/nav-black.svg');
    --nav-menu: url('/image/menu-black.svg');
    --close-menu: url('/image/close-black.svg');
    --plus: url('data:image/svg+xml,%3csvg%20xmlns%3d%22http://www.w3.org/2000/svg%22%20viewBox%3d%220%200%2016%2016%22%20fill%3d%22none%22%20stroke%3d%22black%22%20stroke-linecap%3d%22round%22%20stroke-linejoin%3d%22round%22%3e%3cpath%20d%3d%22M8%203v10m-5-5h10%22%2f%3e%3c%2fsvg%3e');
    --minus: url('data:image/svg+xml,%3csvg%20xmlns%3d%22http://www.w3.org/2000/svg%22%20viewBox%3d%220%200%2016%2016%22%20fill%3d%22none%22%20stroke%3d%22black%22%20stroke-linecap%3d%22round%22%20stroke-linejoin%3d%22round%22%3e%3cpath%20d%3d%22M3%208h10%22%2f%3e%3c%2fsvg%3e');
    --chevron-up: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    --chevron-down: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    --section-padding: 80px 0px;
    --full-width: 100%;
    --background-light: white;
    --form-box-shadow: 0 0 15px 3px rgba(220, 220, 220, 0.915);
    --form-border: 1px solid transparent;
    --form-background: white;
    --form-input-border: rgba(220, 220, 220, 0.915);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

[data-theme='dark'] {
    --bg-color: black;
    --bg-color-2: #191919;
    --text-color: #ffffff;
    --linear-gradient: black;
    /* --color-3: #00f4b7;
    --color-1: lime; */
    --nav-logo: url('/image/nav-white.svg');
    --nav-menu: url('/image/menu-white.svg');
    --close-menu: url('/image/close-white.svg');
    --plus: url('data:image/svg+xml,%3csvg%20xmlns%3d%22http://www.w3.org/2000/svg%22%20viewBox%3d%220%200%2016%2016%22%20fill%3d%22none%22%20stroke%3d%22white%22%20stroke-linecap%3d%22round%22%20stroke-linejoin%3d%22round%22%3e%3cpath%20d%3d%22M8%203v10m-5-5h10%22%2f%3e%3c%2fsvg%3e');
    --minus: url('data:image/svg+xml,%3csvg%20xmlns%3d%22http://www.w3.org/2000/svg%22%20viewBox%3d%220%200%2016%2016%22%20fill%3d%22none%22%20stroke%3d%22white%22%20stroke-linecap%3d%22round%22%20stroke-linejoin%3d%22round%22%3e%3cpath%20d%3d%22M3%208h10%22%2f%3e%3c%2fsvg%3e');
    --chevron-up: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    --chevron-down: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    --form-box-shadow: none;
    --form-border: 1px solid #262626;
    --form-background: #0F0F0F;
    --form-input-border: #262626;
}

@media (max-width: 992px) {
    body {
        padding-bottom: 90px;
    }
}

body,
html {
    background: var(--bg-color);
}

@media (max-width: 768px) {
    :root {
        --section-padding: 40px 0;
    }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    scroll-behavior: smooth;
    font-family: Sora, InriaSans, Inter;
    transition:
        background 0.15s ease,
        color 0.5s ease;
}

a,
button {
    transition: 0.15s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    all: unset;
    display: block;
    margin: 0;
    padding: 0;
}

#theme-toggler {
    display: inline-block;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;

    .bi {
        font-size: 20px;
        color: var(--text-color);
    }
}

.adjust {
    width: var(--full-width);
    height: 80px;
}

.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.custom-input {
    display: block;
    border-radius: 0px !important;
    box-shadow: none !important;
}

.custom-input:focus {
    border: 1px solid black;
}

.custom-hidden {
    opacity: 0;
    transition: 0.4s linear;
}

.custom-show {
    opacity: 1;
}

.custom-modal {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* text */
.color-light {
    color: white !important;
}

.background-dark {
    background: black !important;
}

.background-gray {
    background: #101010 !important;
}

.heading {
    padding: 0;
    margin: 0;
    font-size: 34px;
    font-weight: 600;
    font-family: Sora;
    color: black;
}

.subheading {
    padding: 0;
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    font-family: Sora;
    color: black;
}

.smallheading {
    padding: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    font-family: Sora;
    color: black;
}

.large-text {
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: black;
}

.text {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: Sora;
    color: black;
}

.color-1 {
    color: var(--color-1) !important;
}

.color-3 {
    color: var(--color-3) !important;
}

.color-5 {
    color: var(--color-5) !important;
}

@media (max-width: 768px) {
    .heading {
        font-size: 30px;
    }

    .subheading {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .heading {
        font-size: 26px;
    }

    .text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section .text {
        font-size: 14px;
    }
}

/* text end */

/* navbar */

.custom-navbar-container {
    width: 100%;
    height: 80px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 2px 2px 10px rgba(0, 0, 128, 0.2);

    .custom-navbar {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-logo {
        content: var(--nav-logo);
        width: 120px;
    }

    @media(max-width:576px) {
        .nav-logo {
            width: 100px;
        }
    }

    @media (prefers-color-scheme: dark) {
        .nav-logo {
            content: var(--nav-logo);
        }
    }

    .link {
        text-decoration: none;
        color: var(--text-color);
        font-size: 14px;
        border-radius: 30px;

        &:hover {
            color: var(--color-3);
        }
    }

    .link.active {
        padding: 8px 15px;
        border: 1px solid var(--color-3);
        color: var(--color-3);
        border-radius: 30px;
    }

    .register-link {
        text-decoration: none;
        padding: 8px 20px;
        border: 1px solid var(--color-1);
        background: white;
        color: black;
        font-size: 14px;
        font-family: 500;

        &:hover {
            background: var(--color-1);
        }
    }

    .login-link {
        text-decoration: none;
        padding: 8px 20px;
        border: none;
        background: var(--color-3);
        color: white;
        font-size: 14px;
        font-family: 500;
    }

    .offcanvas-open-button-border {
        display: inline-flex;
        aspect-ratio: 1;
        padding: 20px;
        align-items: center;
        justify-content: center;
        box-sizing: content-box;
        border-radius: 50%;
        transition: 0.15s ease-in-out;

        /* &:hover {
            background: rgb(239, 239, 239);
        } */
    }

    .offcanvas-open-button {
        display: inline-block;
        width: 23px;
        height: 13px;
        /* background-image: url("data:image/svg+xml;utf8,<svg width='23' height='13' viewBox='0 0 23 13' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0.464844 1.14648L22.4648 1.14648M0.464844 11.1465L22.4648 11.1465' stroke='black' stroke-width='2'/></svg>"); */
        background-image: var(--nav-menu);
        background-repeat: no-repeat;
        background-size: contain;
    }
}

.profile-button {
    anchor-name: --profile-button;
    border: 1px solid silver;
    outline: none;
    border: none;
    background: transparent;

    .bi {
        font-size: 30px;
        color: var(--text-color);
    }

    .bi.active {
        color: var(--color-3);
    }
}

@media(max-width:576px) {
    .profile-button {
        .bi {
            font-size: 24px;
        }
    }
}

.profile-popover {
    width: max-content;
    height: max-content;
    position: fixed;
    display: none;
    right: 10px;
    opacity: 0;
    z-index: 900;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: 0.2s ease-in-out;
    padding: 0;
    border: none;

    .popover-link {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: start;
        gap: 10px;
        padding: 15px 40px 15px 20px;
        text-decoration: none;
        color: black;

        &:hover {
            background: var(--color-3);
            color: white;
        }
    }
}

@media (max-width: 576px) {
    .custom-navbar-container {
        .offcanvas-open-button-border {
            padding: 5px;
        }
    }
}

.custom-offcanvas {
    background: var(--bg-color);
    transition: .3s linear;
    border-right: 1px solid rgb(72, 72, 72) !important;

    .btn-close {
        --bs-btn-close-bg: var(--close-menu);
        box-shadow: none;
        outline: none;
        opacity: 1;
        scale: 1.3;
    }

    .custom-header {
        display: flex;
        align-items: center;
        justify-content: start;
        padding: 10px 20px;
    }

    .custom-body {
        overflow-y: scroll;
        padding-top: 5px;
    }

    .link {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: start;
        gap: 6px;
        margin-bottom: 4px;
        text-decoration: none;
        color: var(--text-color);
        font-size: 18px;
        font-weight: 400;
        padding: 10px 20px;
        transition: 0.15s ease-in-out;

        &:hover {
            color: white;
            background: var(--color-3);
        }
    }

    .link.active {
        color: white;
        background: var(--color-3);
    }

    .register-link {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: none;
        background: #003d75;
        color: white;
        width: 100%;
        text-decoration: none;
        font-size: 18px;
        font-weight: 400;
        padding: 10px 20px;
        transition: 0.15s ease-in-out;

        &:hover {
            background: #012a4f;
        }
    }

    .login-link {
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: none;
        background: white;
        color: black;
        width: 100%;
        text-decoration: none;
        font-size: 18px;
        font-weight: 400;
        padding: 10px 20px;
        transition: 0.15s ease-in-out;

        &:hover {
            background: rgb(236, 236, 236);
        }
    }

    .offcanvas-close-button-border {
        display: inline-flex;
        aspect-ratio: 1;
        padding: 20px;
        align-items: center;
        justify-content: center;
        box-sizing: content-box;
        border-radius: 50%;
        transition: 0.15s ease-in-out;
        /* 
        &:hover {
            background: rgba(231, 231, 231, 0.677);
        } */
    }
}

.bottom-navbar {
    width: 100%;
    background: var(--bg-color);
    border-top: 1px solid rgb(105, 105, 105);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 15px 0;
    display: none;

    .link {
        display: flex;
        width: max-content;
        text-decoration: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-color);

        span {
            font-size: 12px;
        }
    }

    .link.active {
        color: rgb(9, 141, 9);
    }
}

@media (max-width: 992px) {
    .bottom-navbar {
        display: block;
    }
}

/* navbar end */

/* footer */

.footer-section {
    padding: 20px 0;
    background: rgb(29, 29, 29);
}

.footer-logo {
    display: block;
    width: 100%;
    max-width: 250px;
}

.footer-section .custom-card {
    width: 100%;
    height: 100%;
}

.footer-section .smallheading {
    color: white;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
}

.footer-section .footer-link {
    display: block;
    width: max-content;
    padding: 4px 0;
    text-decoration: none;
    color: white;
    font-weight: 200;
    font-size: 14px;
}

.footer-section .footer-text {
    margin: 0;
    padding: 4px 0 !important;
    color: white;
    font-weight: 200;
    font-size: 14px;
}

.footer-link.social {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
}

.footer-section .copyright-text {
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    font-weight: 300;
    font-size: 14px;
}

.footer-section .footer-link:hover {
    color: rgb(194, 194, 194);
}

/* footer end */

/* contact form */

.form {
    width: 100%;
    background: var(--form-background);
    border-radius: 8px;
    padding: 40px 20px;
    box-shadow: var(--form-box-shadow);
    border: var(--form-border);

    .subheading {
        color: var(--text-color);
        margin: 0;
        margin-bottom: 6px;
        font-family: Jost !important;
    }

    .gray-text {
        color: gray;
        font-family: Jost !important;
    }

    input,
    textarea {
        border-radius: 0px;
        resize: none;
        font-family: Jost !important;
        background: transparent;
        color: var(--text-color) !important;
        border-radius: 6px;
        border: 1px solid var(--form-input-border);
    }

    input:focus {
        box-shadow: none;
        border: 1px solid var(--color-3);
        background: transparent;
    }

    textarea:focus {
        box-shadow: none;
        border: 1px solid var(--color-3);
        background: transparent;
    }

    label {
        color: var(--text-color);
        font-family: Jost !important;
        background: transparent;
    }

    .submit-button {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        letter-spacing: 3px;
        background: var(--color-3);
        color: white;
        border: none;
        border-radius: 0px;
        padding: 10px;
        text-transform: uppercase;
        font-family: Jost !important;
        border-radius: 6px;
    }

    .submit-button:hover {
        background: #258252;
    }
}

/* contact form end */


/* policy-section */

.policy-section{
    padding: 40px 0;
    background: var(--bg-color);
}

/* policy-section end */