@font-face {
    font-family: "Manrope";
    src: url("/public/fonts/Manrope.ttf") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/public/fonts/Manrope.ttf") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/public/fonts/Manrope.ttf") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/public/fonts/Manrope.ttf") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/public/fonts/Manrope.ttf") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* =========================
   GLOBAL
========================= */

:root {
    --primary: #4324b8;
    --primary-dark: #32198f;
    --green: #a8df18;
    --green-dark: #8fc800;

    --text-dark: #17173a;
    --text: #34344d;
    --text-light: #73738a;

    --white: #ffffff;

    --container-width: 1280px;
}

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

body {
    font-family: "Manrope", sans-serif !important;
    color: var(--text);
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    height: 88px;
    background: #ffffff;

    display: flex;
    align-items: center;

    position: relative;
    z-index: 1000;

    border-bottom: 1px solid #f0f0f5;
}

.header-container {
    width: calc(100% - 80px);
    max-width: 1280px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

/* =========================================
   LOGO
========================================= */

.site-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}

.site-logo img {
    display: block;

    width: 220px;
    height: auto;
}

/* =========================================
   NAVIGATION
========================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
}

.main-nav a {
    display: inline-flex;
    align-items: center;

    position: relative;

    font-family: "Manrope", sans-serif;

    font-size: 13px;
    font-weight: 600;

    line-height: 1;

    color: #17173a;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.main-nav a:hover {
    color: #4324b8;

    text-decoration: none;
}

/* =========================================
   ACTIVE / HOVER UNDERLINE
========================================= */

.main-nav a:not(.header-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    /* background: #a8df18; */

    transition: width 0.25s ease;
}

.main-nav a:not(.header-cta):hover::after {
    width: 100%;
}

/* =========================================
   DROPDOWN
========================================= */

.nav-dropdown {
    display: inline-flex;

    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;

    color: #4324b8;

    transform: translateY(-1px);

    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: translateY(1px);
}

/* =========================================
   GET IN TOUCH BUTTON
========================================= */

.header-cta {
    padding: 12px 20px 12px 20px !important;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    border-radius: 28px;

    background: #a8df18;

    color: #25145f !important;

    font-family: "Manrope", sans-serif;

    font-size: 13px !important;
    font-weight: 800 !important;

    box-shadow: 0 10px 25px rgba(168, 223, 24, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.header-cta:hover {
    color: #25145f !important;

    background: #9bd411;

    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(168, 223, 24, 0.35);
}

/* IMPORTANT:
   Don't show underline animation on CTA
*/

.main-nav a.header-cta::after {
    display: none;
}

/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu-btn {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    padding: 0;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;

    display: block;

    background: #4324b8;

    border-radius: 10px;
}

/* =========================================
   LARGE LAPTOP
========================================= */

@media (max-width: 1250px) {
    .header-container {
        width: calc(100% - 50px);
    }

    .main-nav {
        gap: 22px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .site-logo img {
        width: 200px;
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .site-logo img {
        width: 180px;
    }

    .header-cta {
        min-width: 110px;
        height: 44px;

        padding: 0 17px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {
    .site-header {
        height: 76px;
    }

    .header-container {
        width: calc(100% - 32px);
    }

    .site-logo img {
        width: 175px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* =========================================================
   PORTFOLIO NAV
========================================================= */

.portfolio-nav {
    position: relative;
    height: 100%;
}

.portfolio-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    height: 100%;

    color: #11113a;
    text-decoration: none;
    white-space: nowrap;

    transition: color 0.2s ease;
}

.portfolio-nav-trigger:hover {
    color: #302080;
}

/* Chevron */

.portfolio-chevron {
    width: 10px;
    height: 10px;

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

    transition: transform 0.25s ease;
}

.portfolio-chevron svg {
    width: 10px;
    height: 10px;
}

.portfolio-nav:hover .portfolio-chevron {
    transform: rotate(180deg);
}

/* =========================================================
   DROPDOWN
========================================================= */

.portfolio-dropdown {
    position: absolute;

    top: calc(90% + 10px);

    left: 50%;

    width: 330px;

    padding: 12px 12px 10px;

    background: #ffffff;

    border: 1px solid #e4e0ee;

    border-radius: 16px;

    box-shadow:
        0 12px 35px rgba(48, 32, 128, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.03);

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, -6px);

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);

    z-index: 9999;
}

/* =========================================================
   POINTER
========================================================= */

.portfolio-dropdown::before {
    content: "";

    position: absolute;

    top: -7px;
    left: 50%;

    width: 12px;
    height: 12px;

    background: #ffffff;

    border-left: 1px solid #e4e0ee;
    border-top: 1px solid #e4e0ee;

    transform: translateX(-50%) rotate(45deg);
}

/* =========================================================
   SHOW DROPDOWN
========================================================= */

.portfolio-nav:hover .portfolio-dropdown {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}

/* =========================================================
   PORTFOLIO LINK
========================================================= */

.portfolio-link {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 49px;

    padding: 6px 12px;

    color: #17173a;
    text-decoration: none;

    border-radius: 10px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

/* Hover */

.portfolio-link:hover {
    background: #f3f6e5;

    color: #302080;
}

/* =========================================================
   NUMBER
========================================================= */

.portfolio-link-number {
    width: 31px;
    height: 31px;

    flex-shrink: 0;

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

    margin-right: 14px;

    border-radius: 8px;

    background: #f0f5dc;

    color: #39258f;

    font-size: 10px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

/* Hover number */

.portfolio-link:hover .portfolio-link-number {
    background: #39258f;
    color: #ffffff;
}

/* =========================================================
   TITLE
========================================================= */

.portfolio-link-title {
    flex: 1;

    font-size: 15px;
    line-height: 1;

    font-weight: 600;

    white-space: nowrap;
}

/* =========================================================
   ARROW
========================================================= */

.portfolio-link-arrow {
    margin-left: 8px;
    color: #91c900;
    font-size: 17px;
    line-height: 1;
    opacity: 0;
    transform: translateX(-5px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.portfolio-link:hover .portfolio-link-arrow {
    opacity: 1;

    transform: translateX(0);
}

.portfolio-link.active {
    width: calc(100% - 48px);

    background: #f2f6e3;

    color: #302080;
}

.portfolio-link.active .portfolio-link-number {
    background: #39258f;

    color: #ffffff;
}

.portfolio-link.active .portfolio-link-arrow {
    opacity: 1;

    transform: translateX(0);
}

.portfolio-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    border-radius: 10px;
    background: #a8df18;
}

.portfolio-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 8px;

    padding: 13px 12px 5px;

    border-top: 1px solid #e8e5ee;

    color: #17173a;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    transition: color 0.2s ease;
}

.portfolio-dropdown-footer span {
    color: #39258f;

    font-size: 18px;

    transition: transform 0.2s ease;
}

.portfolio-dropdown-footer:hover {
    color: #302080;
}

.portfolio-dropdown-footer:hover span {
    transform: translateX(4px);

    color: #91c900;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
    .portfolio-dropdown {
        display: none;
    }
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 18, 65, 0.38);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
    z-index: 9998;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(390px, 88vw);
    height: 100dvh;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(105%);
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
    box-shadow: -20px 0 70px rgba(48, 32, 128, 0.18);
    overflow-y: auto;
}

.mobile-menu::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #39258f, #a8df18);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-head {
    height: 90px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eeeef5;
}

.mobile-menu-logo {
    display: block;
    width: 165px;
}

.mobile-menu-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 1px solid #e4e1ee;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
}

.mobile-menu-close:hover {
    background: #39258f;
    border-color: #39258f;
}

.mobile-menu-close span {
    position: absolute;
    width: 17px;
    height: 1.5px;
    background: #302080;
    transition: 0.3s ease;
}

.mobile-menu-close span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover span {
    background: #ffffff;
}

.mobile-menu-body {
    padding: 25px 22px 28px;
}

.mobile-menu-intro {
    padding: 5px 4px 22px;
}

.mobile-menu-intro span {
    display: block;
    color: #39258f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.mobile-menu-intro p {
    margin: 5px 0 0;
    color: #8a879b;
    font-size: 11px;
}

.mobile-nav {
    border-top: 1px solid #ebe9f2;
}

.mobile-nav-link {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 4px;
    border: 0;
    border-bottom: 1px solid #ebe9f2;
    background: transparent;
    color: #21174f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-link > span:nth-child(2) {
    flex: 1;
}

.mobile-nav-link b {
    color: #8b8899;
    font-size: 17px;
    font-weight: 400;
    transition: 0.25s ease;
}

.mobile-nav-link:hover {
    color: #39258f;
}

.mobile-nav-number {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5dd;
    color: #39258f;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

.mobile-dropdown-trigger {
    font-family: inherit;
}

.mobile-dropdown-arrow {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4f3f8;
    color: #39258f;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.mobile-dropdown-arrow svg {
    width: 11px;
    height: 11px;
}

.mobile-nav-group.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
    background: #39258f;
    color: #ffffff;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
}

.mobile-nav-group.open .mobile-submenu {
    max-height: 400px;
    opacity: 1;
}

.mobile-submenu a {
    min-height: 48px;
    padding: 0 5px 0 48px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #514d69;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f0eef5;
}

.mobile-submenu a span {
    font-size: 9px;
    font-weight: 800;
    color: #9a96a9;
}

.mobile-submenu a b {
    margin-left: auto;
    color: #a8df18;
    font-size: 15px;
    font-weight: 400;
}

.mobile-submenu a:hover {
    color: #39258f;
}

.mobile-submenu-all {
    color: #39258f !important;
    font-weight: 700;
    padding-left: 48px !important;
}

.mobile-menu-bottom {
    margin-top: 25px;
    display: grid;
    gap: 11px;
}

.mobile-brochure {
    min-height: 72px;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    border-radius: 15px;
    background: #39258f;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.mobile-brochure::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -35px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(168, 223, 24, 0.18);
}

.mobile-brochure small {
    display: block;
    margin-bottom: 4px;
    color: #a8df18;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.mobile-brochure strong {
    font-size: 14px;
    font-weight: 700;
}

.mobile-brochure > span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #a8df18;
    color: #302080;
    font-size: 18px;
    z-index: 1;
}

.mobile-contact {
    min-height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    border: 1px solid #ddd9e9;
    border-radius: 13px;
    color: #302080;
    font-size: 13px;
    font-weight: 650;
}

.mobile-contact b {
    color: #8fc800;
    font-size: 18px;
    font-weight: 400;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 901px) {
    .mobile-menu,
    .mobile-menu-overlay,
    .mobile-menu-btn {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .mobile-menu {
        width: 91vw;
    }

    .mobile-menu-head {
        height: 82px;
    }

    .mobile-menu-logo {
        width: 145px;
    }

    .mobile-menu-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mobile-nav-link {
        min-height: 55px;
        font-size: 14px;
    }
}
