@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700&display=swap');

@font-face {
    font-family: "icons";
    src: url("../../fonts/icons.woff");
    font-display: swap;
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "PageX";
    font-weight: normal;
    font-display: swap;
    src: url("/assets/fonts/PageX/PageX-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "PageX";
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/PageX/PageX-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "PageX";
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/PageX/PageX-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "PageX";
    font-weight: 800;
    src: url("/assets/fonts/PageX/PageX-Black.woff2") format("woff2");
}


/* RESET CSS */

*,
*:before,
*:after {
    box-sizing: border-box;
    line-height: 1.5em;
}

nav,
ul,
li {
    margin: 0;
}

img {
    border: none;
    display: block;
}

button {
    font-family: inherit;
}

button:active {
    transform: scale(.95);
}

a {
    text-decoration: none;
    color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p,
figure {
    margin: 0;
}

.hide {
    display: none !important;
}


/* VARIABLES */

:root {
    --text-100: #c6cfe8;
    --text-200: #b5bfdd;
    --text-300: #9daace;
    --text-400: #8c99bd;
    --text-500: #7481A5;
    --text-600: #606c8e;
    --text-700: #3F475E;
    --text-800: #2b3042;
    --text-900: #171920;
    --text: #111218;
    --shade-100: #F6F6FF;
    --shade-200: #D8DAEE;
    --shade-300: #ced0e6;
    --shade-400: #c0c3e0;
    --shade-500: #aeb1d2;
    --light: #FFF;
    --dark: #000;
    --key-100: #6b7aff;
    --key-200: #475aff;
    --key-300: #2137FF;
    --key-500: #0017e3;
    --key-600: #000f9a;
    --gradient: linear-gradient(45deg, var(--key-300), var(--key-100));
    --light-10: rgb(255 255 255 / 10%);
    --light-20: rgb(255 255 255 / 20%);
    --light-30: rgb(255 255 255 / 30%);
    --light-40: rgb(255 255 255 / 40%);
    --light-50: rgb(255 255 255 / 50%);
}

:lang(ar) {
    --font: "PageX", "Plus Jakarta Sans", "Segoue UI", "Arial", "Sans Serif";
}

:lang(en) {
    --font: "Plus Jakarta Sans", "PageX", "Segoue UI", "Sans Serif";
    --font2: "Space Grotesk", "Sans Serif";
    --font3: "Helvetica Neue", "Sans Serif";
}


body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text-500);
}

body.no-overflow {
    overflow: hidden;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* overflow-x: hidden; */
    width: 100vw;
}

.wrapper {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}


/* LIB */

.button {
    border: none;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.95;
    transition: 0.1s;
}

.button:hover {
    opacity: 1;
}

.button:active {
    transform: scale(0.95);
}

.button.button-gradient {
    background: var(--gradient);
    color: #FFF;
}

.button.button-light {
    background: var(--light);
    color: var(--key-300);
}

.button.button-100 {
    background-color: var(--light-20);
    color: #FFF;
}

.button.md {
    padding: 15px 30px;
    font-size: 14px;
}

.button.lg {
    font-size: 16px;
    padding: 20px 50px;
}


/* HEADER */

header.main-header {
    height: 100px;
    background-color: var(--light);
    position: sticky;
    top: 0;
    z-index: 9;
    box-shadow: 0 5px 10px rgb(0 0 0 /5%);
}

.header-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}


/* header menu */
nav.header-menu {
    margin: 0 auto;
}

nav.header-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav.header-menu ul li a {
    text-decoration: none;
    color: var(--text-700);
    font-weight: 700;
    position: relative;
    transition: 0.1s;
}

nav.header-menu ul li a:after {
    content: "";
    position: absolute;
    top: 30px;
    inset-inline-start: 0;
    width: 100%;
    background-color: var(--key-500);
    height: 2px;
    border-radius: 9px;
    transform: scaleX(0);
    transition: 0.3s;
}

nav.header-menu ul li a:hover:after {
    transform: scaleX(1.2);
}

nav.header-menu ul li a:hover {
    color: var(--key-300);
}


/* header actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-lang {
    position: relative;
    cursor: pointer;
    margin-inline-start: auto;
}

.header-lang button {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    pointer-events: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--text-700);
    height: 50px;
    transition: 0.1s;
}

.header-lang:focus button {
    background-color: var(--shade-100);
}

.header-lang ul {
    padding: 0;
    list-style: none;
    position: absolute;
    width: 120px;
    top: 100%;
    inset-inline-start: 0;
    background-color: var(--light);
    border-radius: 0 10px 10px 10px;
    overflow: hidden;
    display: none;
    padding: 10px;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
}

html:dir(rtl) {
    .header-lang ul {
        border-radius: 10px 0 10px 10px;
    }
}

.header-lang:focus ul,
.header-lang ul:hover {
    display: block;
}

.header-lang ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: var(--text-400);
    font-weight: 600;
    border-radius: 10px;
}

.header-lang ul li:hover {
    background-color: var(--shade-100);
    color: var(--text-800);
}

.header-lang ul li:last-of-type {
    border: none;
}

.header-lang button:after {
    content: "\ea31";
    font-family: "icons";
    font-size: 6px;
    color: var(--text-200);
}

.header-lang:focus button:after {
    content: "\ea30";
}


/* FOOTER */

footer.main-footer {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    border-top: 1px solid var(--shade-200);
}

.footer-top {
    display: flex;
    padding: 50px 0 30px;
}

.footer-top>div {
    width: 280px;
}

.footer-col-1 {
    flex-grow: 1;
}

.footer-top .footer-col-5 {
    width: max-content
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h2 {
    margin: 0;
    font-size: 18px;
    color: var(--text-900);
}

.footer-links ul {
    padding-inline-start: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-500);
    transition: 0.1s;
    font-size: 16px;
}

.footer-links ul li a:hover {
    color: var(--key-500);
    text-decoration: underline;
}

.footer-col-1 p {
    max-width: 230px;
    color: var(--text-800);
    margin: 20px 0;
}

ul.footer-social {
    display: flex;
    padding: 0;
    list-style: none;
    gap: 10px;
}

ul.footer-social li a {
    font-size: 0;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background-color: var(--shade-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.1s;
}

ul.footer-social li a:before {
    content: "";
    font-family: icons;
    font-size: 20px;
}

ul.footer-social li a:hover:before {
    color: var(--text-900);
}

ul.footer-social li a:hover {
    background-color: var(--shade-200);
}

ul.footer-social li a[data-site="fb"]:before {
    content: "\ea28"
}

ul.footer-social li a[data-site="in"]:before {
    content: "\ea29"
}

ul.footer-social li a[data-site="yt"]:before {
    content: "\ea27"
}


/* copyrights */

.footer-bottom.wrapper {
    border-top: 1px solid var(--shade-200);
    padding: 30px 0;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

p.copyrights {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
}

p.copyrights a {
    color: var(--key-500);
    text-decoration: none;
}

p.copyrights a:hover {
    text-decoration: underline;
}

a.scroll-top {
    margin-inline-start: auto;
    margin-inline-end: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-500_);
}

a.scroll-top:before {
    content: "\e914";
    font-family: 'icons';
}

a.scroll-top:hover {
    color: var(--dark);
}

.accepted-payments {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accepted-payments img {
    height: 20px;
    pointer-events: none;
}

/* Cookies */
.cookies-choice {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    padding: 30px;
    background-color: var(--text-900);
    max-width: 500px;
    z-index: 9999;
    box-shadow: 0 0 40px rgb(0 0 0 / 10%);
    width: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0.95;
}

.cookies-choice:hover {
    opacity: 1;
}

.cookies-choice p {
    color: var(--text-100);
    font-size: 12px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.cookie-actions button,
.cookie-actions a {
    padding: 10px 20px;
    color: var(--light);
}

.cookies-choice>b {
    font-size: 16px;
    color: var(--text-800);
    color: var(--light);
}

/* TOOLTIP */
[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    text-align: center;
    padding: 5px 10px;
    background-color: rgb(0 0 0 / 70%);
    color: #FFF;
    font-size: 12px;
    border-radius: 100px;
    z-index: -1;
    opacity: 0;
    transform: translateX(-50%);
    left: 50%;
    transition: 0.1s;
    white-space: nowrap;
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover:before {
    bottom: calc(100% + 10px);
    opacity: 1;
}

/* CONTAICT ICONS */
.contact-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icons a {
    opacity: 0.95;
}

.contact-icons a:hover {
    opacity: 1;
    transform: scale(0.95);
}

/* MOBILE */
button.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 20px;
    color: var(--text-500);
    margin-inline-end: 30px;
}

button.menu-toggle:before {
    content: "\e998";
    font-family: 'icons';
}


.header-wrapper {
    justify-content: flex-start;
    gap: 30px;
}

.header-actions {
    margin-inline-start: auto;
}

button.menu-toggle:before {
    content: "\e998";
    font-family: 'icons';
}

.mobile-menu-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    backdrop-filter: blur(5px);
}

span.mobile-menu-overlay {
    position: inherit;
    top: inherit;
    left: inherit;
    width: inherit;
    height: inherit;
    background-color: rgb(0 0 0 / 30%);
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    background-color: var(--light);
    width: 75%;
    max-width: 400px;
    height: inherit;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    transition: 0.3s;
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    padding-bottom: 25vh;
}

[dir="ltr"] .mobile-menu-content {
    transform: translateX(-100%);
}

[dir="rtl"] .mobile-menu-content {
    transform: translateX(100%);
}

.open .mobile-menu-content {
    transform: translateX(0);
}

.mobile-header {
    display: flex;
    align-items: center;
}

nav.mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

nav.mobile-menu ul a {
    width: 100%;
    display: block;
    font-size: 20px;
    font-weight: 600;
}

.mobile-cta a {
    width: 100%;
    display: block;
    text-align: center;
}

/* RESPONSIVE */
@media screen and (max-width:1024px) {

    nav.header-menu,
    .header-cta {
        display: none;
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 50px;
    }

    .footer-col-1 {
        width: 100% !important;
    }

    button.menu-toggle {
        display: flex;
    }

    .header-wrapper {
        gap: 0;
    }

    .header-actions {
        margin-inline-start: auto;
    }
}

@media screen and (max-width:540px) {
    .footer-bottom.wrapper {
        flex-direction: column;
        gap: 20px;
    }

    a.scroll-top {
        margin-inline-start: 0;
    }

    .cookies-choice {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 20px;
    }

    .cookie-actions button,
    .cookie-actions a {
        font-size: 12px;
        padding: 10px 20px;
    }
}