:root {
    --primary-blue: #1749a8;
    --primary-blue-dark: #10377f;
    --secondary-green: #079447;
    --accent-orange: #f47b13;
    --accent-red: #e5262f;

    --white: #ffffff;
    --off-white: #f8faf9;
    --soft-blue: #f2f6fc;
    --soft-green: #f1f8f4;

    --text-dark: #17202a;
    --text-medium: #52606d;
    --text-light: #7b8794;

    --border-light: rgba(23, 73, 168, 0.10);
    --border-medium: rgba(23, 73, 168, 0.16);

    --shadow-soft:
        0 8px 30px rgba(23, 73, 168, 0.07);

    --shadow-header:
        0 8px 35px rgba(20, 40, 80, 0.08);

    --shadow-button:
        0 10px 25px rgba(23, 73, 168, 0.18);

    --transition-fast:
        0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --transition-smooth:
        0.45s cubic-bezier(0.16, 1, 0.3, 1);

    --transition-slow:
        0.7s cubic-bezier(0.16, 1, 0.3, 1);

    --container-width: 1280px;
}


/* =========================================================
   02. BASIC RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--text-dark);

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;
}

button,
a,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   03. HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid
        rgba(23, 73, 168, 0.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--transition-smooth),
        box-shadow var(--transition-smooth),
        height var(--transition-smooth);
}


/* =========================================================
   HEADER SCROLLED
========================================================= */

.header.scrolled {
    height: 74px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow: var(--shadow-header);
}


/* =========================================================
   04. HEADER CONTAINER
========================================================= */

.header-container {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   05. LOGO
========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    position: relative;

    transition:
        transform var(--transition-smooth),
        opacity var(--transition-fast);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo img {
    width: auto;
    height: 90px;

    object-fit: contain;

    transition:
        transform var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.025);
}


/* =========================================================
   06. DESKTOP NAVIGATION
========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
}


/* Navigation links */

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    height: 82px;

    color: var(--text-medium);

    font-size: 17px;
    font-weight: 500;

    letter-spacing: -0.01em;

    white-space: nowrap;

    transition:
        color var(--transition-fast);
}


/* Underline */

.nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 20px;

    width: 0;
    height: 2px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--primary-blue),
            var(--secondary-green)
        );

    transform: translateX(-50%);

    transition:
        width var(--transition-smooth);
}


/* Hover */

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 24px;
}


/* Active */

.nav-link.active {
    color: var(--primary-blue);

    font-weight: 600;
}

.nav-link.active::after {
    width: 24px;
}


/* =========================================================
   ACCOUNT DROPDOWN - DESKTOP
========================================================= */

.nav-dropdown {
    position: relative;
}


/* Account Button */

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    border: 0;
    background: transparent;
    cursor: pointer;

    font: inherit;
}


/* Arrow */

.nav-dropdown-toggle i {
    font-size: 9px;

    transition:
        transform 0.3s ease;
}


/* Dropdown Box */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 0px);
    right: 0;

    width: 175px;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    box-shadow:
        0 15px 40px
        rgba(20, 50, 90, 0.12);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-8px)
        scale(0.97);

    transform-origin: top right;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 1000;
}


/* Show Dropdown */

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* Rotate Arrow */

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i {
    transform: rotate(180deg);
}


/* Dropdown Items */

.nav-dropdown-item {
    display: flex;
    align-items: center;

    gap: 10px;

    width: 100%;

    padding: 11px 12px;

    border-radius: 8px;

    color: #14213d;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/* Icons */

.nav-dropdown-item i {
    width: 18px;

    color: #1749a8;

    font-size: 12px;

    text-align: center;
}


/* Hover */

.nav-dropdown-item:hover {
    background: #f3f7fc;

    color: #1749a8;

    transform: translateX(2px);
}


/* =========================================================
   07. HEADER CTA
========================================================= */

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    flex-shrink: 0;

    color: var(--white);

    background: var(--primary-blue);

    border: 1px solid var(--primary-blue);

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: -0.01em;

    box-shadow:
        0 8px 22px
        rgba(23, 73, 168, 0.15);

    transition:
        transform var(--transition-smooth),
        background var(--transition-fast),
        box-shadow var(--transition-smooth);
}

.header-button:hover {
    background: var(--primary-blue-dark);

    transform: translateY(-2px);

    box-shadow: var(--shadow-button);
}

.header-button:active {
    transform: translateY(0);
}


/* =========================================================
   08. MOBILE MENU TOGGLE
========================================================= */

.menu-toggle {
    position: relative;

    width: 48px;
    height: 48px;

    display: none;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    border: 1px solid var(--border-light);

    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 5px 18px
        rgba(23, 73, 168, 0.08);

    z-index: 1100;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

.menu-toggle:hover {
    border-color: var(--border-medium);

    box-shadow:
        0 8px 25px
        rgba(23, 73, 168, 0.13);
}

.menu-toggle:active {
    transform: scale(0.94);
}


.menu-toggle span {
    display: block;

    width: 19px;
    height: 2px;

    border-radius: 10px;

    background: var(--primary-blue);

    transform-origin: center;

    transition:
        transform var(--transition-smooth),
        opacity var(--transition-fast),
        width var(--transition-smooth);
}


/* =========================================================
   09. HAMBURGER → CROSS
========================================================= */

.menu-toggle.active {
    background: var(--primary-blue);

    border-color: var(--primary-blue);
}

.menu-toggle.active span {
    background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;

    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   10. MOBILE OVERLAY
========================================================= */

.mobile-overlay {
    position: fixed;

    inset: 0;

    z-index: 1040;

    background:
        rgba(12, 25, 45, 0.28);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    transition:
        opacity var(--transition-smooth),
        visibility var(--transition-smooth);
}

.mobile-overlay.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   11. MOBILE SIDEBAR
========================================================= */

.mobile-sidebar {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    width: min(390px, 88vw);

    height: 100dvh;
    max-height: 100dvh;

    z-index: 1050;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfdfc 60%,
            #f4f9f7 100%
        );

    border-left: 1px solid
        rgba(23, 73, 168, 0.09);

    box-shadow:
        -20px 0 60px
        rgba(16, 55, 127, 0.13);

    transform: translateX(105%);

    visibility: hidden;

    transition:
        transform var(--transition-slow),
        visibility var(--transition-slow);
}

.mobile-sidebar.active {
    transform: translateX(0);

    visibility: visible;
}


/* =========================================================
   12. SIDEBAR HEADER
========================================================= */

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex: 0 0 auto;

    min-height: 72px;

    padding-bottom: 20px;

    border-bottom: 1px solid
        rgba(23, 73, 168, 0.09);
}


.sidebar-logo {
    display: inline-flex;
    align-items: center;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    border-radius: 50%;

    overflow: hidden;

    background: var(--white);

    box-shadow:
        0 5px 18px
        rgba(23, 73, 168, 0.08);
}

.sidebar-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   13. MOBILE NAVIGATION
========================================================= */

.mobile-nav {
    flex: 1 1 auto;

    min-height: 0;

    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 28px 0;

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
}

.mobile-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-nav::-webkit-scrollbar-thumb {
    background:
        rgba(23, 73, 168, 0.18);

    border-radius: 20px;
}


/* =========================================================
   14. MOBILE NAV LINK
========================================================= */

.mobile-nav-link {
    position: relative;

    display: flex;
    align-items: center;

    flex: 0 0 auto;

    min-height: 64px;

    gap: 16px;

    padding: 8px 12px 8px 8px;

    color: var(--text-dark);

    border: 1px solid transparent;

    border-radius: 16px;

    font-size: 17px;
    font-weight: 500;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--primary-blue);

    background:
        rgba(23, 73, 168, 0.045);

    border-color:
        rgba(23, 73, 168, 0.07);

    transform: translateX(4px);
}

.mobile-nav-link.active {
    color: var(--primary-blue);

    background:
        linear-gradient(
            90deg,
            rgba(23, 73, 168, 0.075),
            rgba(7, 148, 71, 0.035)
        );

    border-color:
        rgba(23, 73, 168, 0.09);

    font-weight: 600;
}


/* =========================================================
   15. CIRCULAR NAV ICON
========================================================= */

.nav-icon {
    width: 44px;
    height: 44px;

    min-width: 44px;

    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--primary-blue);

    background: var(--white);

    border: 1px solid
        rgba(23, 73, 168, 0.13);

    box-shadow:
        0 4px 14px
        rgba(23, 73, 168, 0.06);

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

.nav-icon svg {
    width: 20px;
    height: 20px;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;

    fill: none;

    transition:
        transform var(--transition-smooth);
}

.nav-icon .icon-fill {
    fill: currentColor;

    stroke: none;
}

.mobile-nav-link:hover .nav-icon {
    color: var(--white);

    background: var(--primary-blue);

    border-color: var(--primary-blue);

    transform: scale(1.04);

    box-shadow:
        0 8px 20px
        rgba(23, 73, 168, 0.16);
}

.mobile-nav-link:hover .nav-icon svg {
    transform: scale(1.05);
}

.mobile-nav-link.active .nav-icon {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary-blue),
            #2863c8
        );

    border-color: transparent;

    box-shadow:
        0 8px 20px
        rgba(23, 73, 168, 0.17);
}


/* =========================================================
   16. MOBILE NAV TEXT
========================================================= */

.mobile-nav-link > span:not(.nav-icon) {
    flex: 1;

    min-width: 0;

    line-height: 1.3;
}


/* =========================================================
   17. NORMAL MOBILE NAV ARROW
========================================================= */

.mobile-nav-link::after {
    content: "→";

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-light);

    font-size: 17px;

    opacity: 0;

    transform: translateX(-8px);

    transition:
        opacity var(--transition-fast),
        transform var(--transition-smooth),
        color var(--transition-fast);
}

.mobile-nav-link:hover::after {
    opacity: 1;

    color: var(--primary-blue);

    transform: translateX(0);
}

.mobile-nav-link.active::after {
    opacity: 1;

    color: var(--primary-blue);

    transform: translateX(0);
}


/* =========================================================
   18. MOBILE ACCOUNT DROPDOWN
========================================================= */
/* =========================================================
   MOBILE ACCOUNT DROPDOWN
========================================================= */

.mobile-account-dropdown {
    width: 100%;
    flex: 0 0 auto;
    position: relative;
}


/* =========================================================
   ACCOUNT BUTTON
========================================================= */

.mobile-account-toggle {
    width: 100%;

    min-height: 64px;

    border: 1px solid transparent;

    background: transparent;

    color: var(--text-dark);

    font: inherit;

    text-align: left;

    cursor: pointer;

    display: flex;
    align-items: center;

    gap: 16px;

    padding: 8px 12px 8px 8px;

    border-radius: 16px;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-smooth);
}


/*
   IMPORTANT:
   Account button par normal mobile-nav-link
   wala "→" arrow nahi chahiye.
*/

.mobile-account-toggle::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   ACCOUNT HOVER
========================================================= */

.mobile-account-toggle:hover {
    color: var(--primary-blue);

    background:
        rgba(23, 73, 168, 0.045);

    border-color:
        rgba(23, 73, 168, 0.07);

    transform: translateX(4px);
}


/* =========================================================
   ACCOUNT ICON
========================================================= */

.mobile-account-toggle .nav-icon {
    flex: 0 0 44px;
}


/* =========================================================
   ACCOUNT TEXT
========================================================= */

.mobile-account-toggle > span:not(.nav-icon) {
    flex: 1;

    min-width: 0;

    line-height: 1.3;
}


/* =========================================================
   ACCOUNT CHEVRON
========================================================= */

.mobile-account-arrow {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    color: var(--text-light);

    font-size: 12px;

    transition:
        transform 0.3s ease,
        color 0.25s ease;
}


/* Arrow hover */

.mobile-account-toggle:hover .mobile-account-arrow {
    color: var(--primary-blue);
}


/* =========================================================
   HOVER OPEN ARROW
========================================================= */

/*
   Click/aria-expanded ki jagah hover use hoga.
*/

.mobile-account-dropdown.active .mobile-account-arrow {
    transform: rotate(180deg);

    color: var(--primary-blue);
}


/* =========================================================
   ACCOUNT DROPDOWN MENU
========================================================= */

.mobile-account-menu {
    width: 100%;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    padding-left: 60px;

    padding-top: 0;

    transform: translateY(-5px);

    transition:
        max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.25s ease,
        visibility 0.25s ease,
        padding-top 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   HOVER OPEN ACCOUNT MENU
========================================================= */

/*
   IMPORTANT:
   Ab dropdown click se nahi,
   Account par cursor le jaane par open hoga.
*/

.mobile-account-dropdown.active .mobile-account-menu {
    max-height: 130px;

    opacity: 1;

    visibility: visible;

    padding-top: 4px;

    transform: translateY(0);
}


/* =========================================================
   ACCOUNT DROPDOWN ITEMS
========================================================= */

.mobile-account-item {
    position: relative;

    width: 100%;

    min-height: 46px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 7px 12px;

    color: var(--text-medium);

    border: 1px solid transparent;

    border-radius: 11px;

    font-size: 15px;

    font-weight: 500;

    text-decoration: none;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-smooth);
}


/*
   Remove normal nav arrow from Login/Register
*/

.mobile-account-item::after {
    content: none !important;

    display: none !important;
}


/* =========================================================
   ACCOUNT ITEM ICON
========================================================= */

.mobile-account-item .nav-icon {
    width: 34px;
    height: 34px;

    min-width: 34px;

    flex: 0 0 34px;

    font-size: 13px;

    box-shadow: none;

    background: #f8fafc;

    border-color:
        rgba(23, 73, 168, 0.10);
}


/* =========================================================
   ACCOUNT ITEM HOVER
========================================================= */

.mobile-account-item:hover {
    color: var(--primary-blue);

    background:
        rgba(23, 73, 168, 0.045);

    border-color:
        rgba(23, 73, 168, 0.07);

    transform: translateX(4px);
}


/* =========================================================
   ACCOUNT ITEM ICON HOVER
========================================================= */

.mobile-account-item:hover .nav-icon {
    color: var(--white);

    background: var(--primary-blue);

    border-color: var(--primary-blue);

    transform: scale(1.03);
}


/* =========================================================
   ACCOUNT HOVER OPEN STATE
========================================================= */

/*
   Pehle yahan .active tha.
   Ab hover state use ho raha hai.
*/

.mobile-account-dropdown:hover .mobile-account-toggle {
    color: var(--primary-blue);

    background:
        linear-gradient(
            90deg,
            rgba(23, 73, 168, 0.075),
            rgba(7, 148, 71, 0.035)
        );

    border-color:
        rgba(23, 73, 168, 0.09);
}


/* =========================================================
   ACCOUNT ICON — HOVER OPEN
========================================================= */

.mobile-account-dropdown:hover
.mobile-account-toggle .nav-icon {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary-blue),
            #2863c8
        );

    border-color: transparent;

    box-shadow:
        0 8px 20px
        rgba(23, 73, 168, 0.17);
}


/* =========================================================
   MOBILE ACCOUNT DROPDOWN — KEEP MENU CONNECTED
========================================================= */

.mobile-account-menu {
    position: relative;
    z-index: 10;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .mobile-account-dropdown {
        width: 100%;
    }

    .mobile-account-toggle {
        min-height: 64px;
    }

    .mobile-account-menu {
        padding-left: 60px;
    }

    .mobile-account-dropdown.active .mobile-account-menu {
        padding-left: 60px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .mobile-account-menu {
        padding-left: 56px;
    }

    .mobile-account-dropdown.active .mobile-account-menu {
        padding-left: 56px;
    }

    .mobile-account-item {
        min-height: 44px;

        font-size: 15px;
    }
}

/* =========================================================
   19. SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    flex: 0 0 auto;

    padding-top: 20px;

    border-top: 1px solid
        rgba(23, 73, 168, 0.09);

    background: transparent;
}


/* =========================================================
   20. SIDEBAR CTA
========================================================= */

.sidebar-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 54px;

    padding: 0 22px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary-blue),
            #2862c1
        );

    border-radius: 14px;

    font-size: 15px;
    font-weight: 600;

    overflow: hidden;

    box-shadow:
        0 12px 28px
        rgba(23, 73, 168, 0.16);

    transition:
        transform var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

.sidebar-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.8s
        cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-button:hover::before {
    left: 140%;
}

.sidebar-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 32px
        rgba(23, 73, 168, 0.22);
}


/* =========================================================
   21. SIDEBAR CONTACT
========================================================= */

.sidebar-contact {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 18px;

    padding: 14px 4px;
}

.sidebar-contact a {
    color: var(--text-light);

    font-size: 13px;

    line-height: 1.5;

    overflow-wrap: anywhere;

    transition:
        color var(--transition-fast);
}

.sidebar-contact a:hover {
    color: var(--primary-blue);
}


/* =========================================================
   22. SIDEBAR CLOSE BUTTON
========================================================= */

.sidebar-close {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    border: 1px solid var(--border-light);

    border-radius: 50%;

    background: var(--soft-blue);

    cursor: pointer;
}

.sidebar-close span {
    position: absolute;

    width: 18px;
    height: 2px;

    background: var(--primary-blue);

    border-radius: 10px;
}

.sidebar-close span:first-child {
    transform: rotate(45deg);
}

.sidebar-close span:last-child {
    transform: rotate(-45deg);
}


/* =========================================================
   23. FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid
        rgba(23, 73, 168, 0.22);

    outline-offset: 4px;
}


/* =========================================================
   24. TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-container {
        width: min(
            calc(100% - 36px),
            var(--container-width)
        );
    }

    .desktop-nav {
        gap: 23px;
    }

    .nav-link {
        font-size: 15px;
    }

    .header-button {
        padding: 0 16px;

        font-size: 13px;
    }

    .logo img {
        width: 62px;
        height: 62px;
    }
}


/* =========================================================
   25. MOBILE
========================================================= */

@media (max-width: 850px) {

    .header {
        height: 74px;
    }

    .header.scrolled {
        height: 70px;
    }

    .header-container {
        width: calc(100% - 32px);

        gap: 16px;
    }


    .desktop-nav,
    .header-button {
        display: none;
    }


    .menu-toggle {
        display: flex;
    }


    .logo img {
        width: 58px;
        height: 58px;
    }


    .mobile-sidebar {
        width: min(390px, 88vw);

        padding: 22px;
    }


    .mobile-nav {
        flex: 1 1 auto;

        min-height: 0;

        padding: 22px 0;
    }


    .mobile-nav-link {
        flex: 0 0 auto;

        min-height: 60px;
    }


    /* =====================================================
       MOBILE ACCOUNT DROPDOWN - TABLET/MOBILE
    ===================================================== */

    .mobile-account-toggle {
        min-height: 60px;
    }

    .mobile-account-menu {
        padding-left: 56px;
    }

    .mobile-account-dropdown.active
    .mobile-account-menu {
        max-height: 120px;
    }

    .mobile-account-item {
        min-height: 44px;

        font-size: 15px;
    }
}


/* =========================================================
   26. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .header {
        height: 68px;
    }

    .header.scrolled {
        height: 66px;
    }


    .header-container {
        width: calc(100% - 24px);
    }


    .logo img {
        width: auto;
        height: 80px;
    }


    .menu-toggle {
        width: 44px;
        height: 44px;
    }


    .menu-toggle span {
        width: 18px;
    }


    /* =====================================================
       SIDEBAR
    ===================================================== */

    .mobile-sidebar {
        width: 91vw;

        height: 100dvh;
        max-height: 100dvh;

        padding: 18px;

        overflow: hidden;
    }


    .sidebar-header {
        flex: 0 0 auto;

        min-height: 62px;

        padding-bottom: 14px;
    }


    .sidebar-logo {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }


    /* =====================================================
       NAV
    ===================================================== */

    .mobile-nav {
        flex: 1 1 auto;

        min-height: 0;

        gap: 5px;

        padding: 18px 0;

        overflow-y: auto;
        overflow-x: hidden;
    }


    .mobile-nav-link {
        flex: 0 0 auto;

        min-height: 58px;

        gap: 12px;

        padding: 7px 10px 7px 7px;

        font-size: 16px;

        border-radius: 14px;
    }


    .nav-icon {
        width: 42px;
        height: 42px;

        min-width: 42px;

        flex-basis: 42px;
    }


    .nav-icon svg {
        width: 19px;
        height: 19px;
    }


    /* =====================================================
       MOBILE ACCOUNT DROPDOWN
    ===================================================== */

    .mobile-account-toggle {
        min-height: 58px;

        gap: 12px;

        padding: 7px 10px 7px 7px;

        font-size: 16px;

        border-radius: 14px;
    }


    .mobile-account-toggle .nav-icon {
        width: 42px;
        height: 42px;

        min-width: 42px;

        flex-basis: 42px;
    }


    .mobile-account-arrow {
        width: 28px;
        height: 28px;

        flex-basis: 28px;

        font-size: 11px;
    }


    .mobile-account-menu {
        padding-left: 52px;
    }


    .mobile-account-dropdown.active
    .mobile-account-menu {
        max-height: 110px;

        padding-top: 3px;
    }


    .mobile-account-item {
        min-height: 42px;

        gap: 10px;

        padding: 6px 10px;

        font-size: 14px;

        border-radius: 10px;
    }


    .mobile-account-item .nav-icon {
        width: 34px;
        height: 34px;

        min-width: 34px;

        flex-basis: 34px;

        font-size: 12px;
    }


    /* =====================================================
       BOTTOM
    ===================================================== */

    .sidebar-bottom {
        flex: 0 0 auto;

        padding-top: 14px;
    }


    .sidebar-button {
        min-height: 50px;

        font-size: 14px;

        padding: 0 16px;
    }


    .sidebar-contact {
        gap: 5px;

        margin-top: 10px;

        padding: 10px 2px 2px;
    }


    .sidebar-contact a {
        font-size: 11.5px;

        line-height: 1.4;
    }
}


/* =========================================================
   27. VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .header-container {
        width: calc(100% - 18px);
    }


    .mobile-sidebar {
        width: 94vw;

        padding: 15px;
    }


    .sidebar-header {
        min-height: 58px;

        padding-bottom: 10px;
    }


    .sidebar-logo {
        width: 46px;
        height: 46px;

        flex-basis: 46px;
    }


    .mobile-nav {
        padding: 14px 0;

        gap: 3px;
    }


    .mobile-nav-link {
        min-height: 52px;

        gap: 9px;

        padding-left: 5px;
        padding-right: 6px;

        font-size: 15px;
    }


    .nav-icon {
        width: 38px;
        height: 38px;

        min-width: 38px;

        flex-basis: 38px;
    }


    .nav-icon svg {
        width: 18px;
        height: 18px;
    }


    .mobile-nav-link::after {
        display: none;
    }


    /* =====================================================
       VERY SMALL ACCOUNT DROPDOWN
    ===================================================== */

    .mobile-account-toggle {
        min-height: 52px;

        gap: 9px;

        padding-left: 5px;
        padding-right: 6px;

        font-size: 15px;
    }


    .mobile-account-toggle .nav-icon {
        width: 38px;
        height: 38px;

        min-width: 38px;

        flex-basis: 38px;
    }


    .mobile-account-arrow {
        width: 26px;
        height: 26px;

        flex-basis: 26px;

        font-size: 10px;
    }


    .mobile-account-menu {
        padding-left: 47px;
    }


    .mobile-account-dropdown.active
    .mobile-account-menu {
        max-height: 100px;
    }


    .mobile-account-item {
        min-height: 39px;

        padding: 5px 8px;

        gap: 8px;

        font-size: 13px;
    }


    .mobile-account-item .nav-icon {
        width: 31px;
        height: 31px;

        min-width: 31px;

        flex-basis: 31px;

        font-size: 11px;
    }


    .sidebar-bottom {
        padding-top: 10px;
    }


    .sidebar-button {
        min-height: 46px;

        font-size: 13px;
    }


    .sidebar-contact {
        margin-top: 7px;

        padding: 7px 0 0;
    }


    .sidebar-contact a {
        font-size: 10.5px;
    }
}


/* =========================================================
   28. EXTRA SMALL HEIGHT DEVICES
========================================================= */

@media (max-width: 480px) and (max-height: 700px) {

    .mobile-sidebar {
        padding: 14px 16px;
    }


    .sidebar-header {
        min-height: 54px;

        padding-bottom: 9px;
    }


    .sidebar-logo {
        width: 44px;
        height: 44px;

        flex-basis: 44px;
    }


    .mobile-nav {
        padding: 10px 0;

        gap: 2px;
    }


    .mobile-nav-link {
        min-height: 49px;

        font-size: 15px;
    }


    .nav-icon {
        width: 36px;
        height: 36px;

        min-width: 36px;

        flex-basis: 36px;
    }


    .nav-icon svg {
        width: 17px;
        height: 17px;
    }


    /* Account */

    .mobile-account-toggle {
        min-height: 49px;

        font-size: 15px;
    }


    .mobile-account-toggle .nav-icon {
        width: 36px;
        height: 36px;

        min-width: 36px;

        flex-basis: 36px;
    }


    .mobile-account-menu {
        padding-left: 45px;
    }


    .mobile-account-dropdown.active
    .mobile-account-menu {
        max-height: 96px;
    }


    .mobile-account-item {
        min-height: 36px;

        font-size: 13px;

        padding: 4px 8px;
    }


    .mobile-account-item .nav-icon {
        width: 30px;
        height: 30px;

        min-width: 30px;

        flex-basis: 30px;
    }


    .sidebar-bottom {
        padding-top: 8px;
    }


    .sidebar-button {
        min-height: 44px;
    }


    .sidebar-contact {
        margin-top: 5px;

        padding-top: 5px;

        gap: 3px;
    }


    .sidebar-contact a {
        font-size: 10px;
    }
}


/* =========================================================
   29. LANDSCAPE MOBILE
========================================================= */

@media (max-width: 850px) and (orientation: landscape) {

    .mobile-sidebar {
        width: min(390px, 75vw);

        padding: 14px 20px;
    }


    .sidebar-header {
        min-height: 54px;

        padding-bottom: 10px;
    }


    .sidebar-logo {
        width: 44px;
        height: 44px;

        flex-basis: 44px;
    }


    .mobile-nav {
        padding: 10px 0;

        gap: 3px;
    }


    .mobile-nav-link {
        min-height: 48px;

        font-size: 15px;
    }


    .nav-icon {
        width: 36px;
        height: 36px;

        min-width: 36px;

        flex-basis: 36px;
    }


    /* Account */

    .mobile-account-toggle {
        min-height: 48px;

        font-size: 15px;
    }


    .mobile-account-toggle .nav-icon {
        width: 36px;
        height: 36px;

        min-width: 36px;

        flex-basis: 36px;
    }


    .mobile-account-menu {
        padding-left: 45px;
    }


    .mobile-account-dropdown.active
    .mobile-account-menu {
        max-height: 96px;
    }


    .mobile-account-item {
        min-height: 36px;

        font-size: 13px;
    }


    .mobile-account-item .nav-icon {
        width: 30px;
        height: 30px;

        min-width: 30px;

        flex-basis: 30px;
    }


    .sidebar-bottom {
        padding-top: 8px;
    }


    .sidebar-contact {
        margin-top: 5px;

        padding: 5px 0;
    }
}


/* =========================================================
   30. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}