/* =====================================================
   PMY NET NAVBAR
   ===================================================== */

:root {
    --pmy-primary: #0b63f6;
    --pmy-primary-dark: #0849b9;
    --pmy-accent: #00c2ff;

    --pmy-dark: #071426;
    --pmy-text: #172033;
    --pmy-muted: #6d7788;

    --pmy-white: #ffffff;
    --pmy-border: rgba(12, 39, 75, 0.09);

    --pmy-shadow:
        0 12px 40px rgba(10, 35, 70, 0.08);
}


/* =====================================================
   NAVBAR
   ===================================================== */

.pmy-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid transparent;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.pmy-navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);

    border-color: var(--pmy-border);

    box-shadow: var(--pmy-shadow);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =====================================================
   NAV CONTAINER
   ===================================================== */

.nav-container {
    width: min(1240px, calc(100% - 40px));

    height: 82px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 34px;
}


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

.pmy-logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    text-decoration: none;

    flex-shrink: 0;
}

/* =========================
   PMY NET LOGO
========================= */

.pmy-logo-image {
    display: block;
    width: 150px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.pmy-logo:hover .pmy-logo-image {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
    .pmy-logo-image {
        width: 125px;
        max-height: 45px;
    }
}

.logo-mark {
    width: 40px;
    height: 40px;

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

    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--pmy-primary),
            var(--pmy-accent)
        );

    box-shadow:
        0 8px 20px rgba(11, 99, 246, 0.24);

    transform: rotate(-2deg);

    transition: transform 0.25s ease;
}

.pmy-logo:hover .logo-mark {
    transform:
        rotate(4deg)
        scale(1.05);
}

.logo-mark i {
    font-size: 20px;

    transform: rotate(2deg);
}

.logo-text {
    font-family:
        "Plus Jakarta Sans",
        sans-serif;

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

    letter-spacing: -0.7px;

    color: var(--pmy-dark);
}

.logo-text span {
    color: var(--pmy-primary);
}


/* =====================================================
   DESKTOP MENU
   ===================================================== */

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

    gap: 4px;

    margin-left: auto;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 10px 13px;

    border: 0;
    background: transparent;

    color: #4b5668;

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

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

    text-decoration: none;

    cursor: pointer;

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

.nav-link:hover {
    color: var(--pmy-primary);
}

.nav-link.active {
    color: var(--pmy-primary);
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;

    bottom: 3px;

    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--pmy-primary),
            var(--pmy-accent)
        );
}


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

.nav-dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 10px;

    transition:
        transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;

    top: calc(100% + 16px);
    left: 50%;

    width: 330px;

    padding: 10px;

    transform:
        translateX(-50%)
        translateY(8px);

    background: rgba(255, 255, 255, 0.98);

    border: 1px solid var(--pmy-border);

    border-radius: 18px;

    box-shadow:
        0 24px 60px rgba(10, 35, 70, 0.13);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    backdrop-filter: blur(18px);
}

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

    position: absolute;

    top: -7px;
    left: 50%;

    width: 14px;
    height: 14px;

    background: #fff;

    border-left: 1px solid var(--pmy-border);
    border-top: 1px solid var(--pmy-border);

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

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

    transform:
        translateX(-50%)
        translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px;

    border-radius: 12px;

    text-decoration: none;

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

.dropdown-menu a:hover {
    background: #f3f8ff;

    transform: translateX(3px);
}

.dropdown-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

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

    border-radius: 11px;

    color: var(--pmy-primary);

    background: #edf5ff;
}

.dropdown-icon i {
    font-size: 18px;
}

.dropdown-menu a > span:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.dropdown-menu strong {
    color: var(--pmy-text);

    font-size: 13px;
    font-weight: 700;
}

.dropdown-menu small {
    color: var(--pmy-muted);

    font-size: 11px;
    line-height: 1.4;
}


/* =====================================================
   RIGHT ACTION
   ===================================================== */

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

    gap: 20px;

    flex-shrink: 0;
}

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

    gap: 9px;

    color: var(--pmy-text);

    text-decoration: none;
}

.nav-phone > i {
    width: 36px;
    height: 36px;

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

    border-radius: 10px;

    color: var(--pmy-primary);

    background: #eef6ff;

    font-size: 16px;
}

.nav-phone span {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.nav-phone small {
    color: var(--pmy-muted);

    font-size: 9px;

    font-weight: 500;
}

.nav-phone strong {
    font-size: 11px;

    font-weight: 700;
}


/* =====================================================
   CTA
   ===================================================== */

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 0 17px;

    border-radius: 11px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--pmy-primary),
            #087cf5
        );

    box-shadow:
        0 8px 22px rgba(11, 99, 246, 0.22);

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

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

    text-decoration: none;

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

.nav-cta:hover {
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(11, 99, 246, 0.30);
}

.nav-cta i {
    font-size: 13px;

    transition:
        transform 0.25s ease;
}

.nav-cta:hover i {
    transform: translate(2px, -2px);
}


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

.mobile-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    margin-left: auto;

    border: 1px solid var(--pmy-border);

    border-radius: 11px;

    background: #fff;

    cursor: pointer;

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

    flex-direction: column;

    gap: 5px;
}

.mobile-toggle span {
    display: block;

    width: 19px;
    height: 2px;

    border-radius: 5px;

    background: var(--pmy-dark);

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


/* =====================================================
   MOBILE OPEN ANIMATION
   ===================================================== */

.menu-open .mobile-toggle span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .mobile-toggle span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


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

.mobile-menu {
    display: none;
}


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

@media (max-width: 1180px) {

    .nav-container {
        width: min(1100px, calc(100% - 32px));

        gap: 20px;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 13px;
    }

    .nav-phone {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

}


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

@media (max-width: 900px) {

    .pmy-navbar {
        background: rgba(255, 255, 255, 0.96);
    }

    .nav-container {
        height: 72px;

        width: calc(100% - 28px);
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;

        position: absolute;

        top: 72px;
        left: 14px;
        right: 14px;

        max-height: calc(100vh - 90px);

        overflow-y: auto;

        background: rgba(255, 255, 255, 0.98);

        border: 1px solid var(--pmy-border);

        border-radius: 18px;

        box-shadow:
            0 20px 50px rgba(10, 35, 70, 0.15);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;

        backdrop-filter: blur(20px);
    }

    .menu-open .mobile-menu {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .mobile-menu-inner {
        padding: 10px;
    }

    .mobile-menu a {
        display: flex;
        align-items: center;

        gap: 12px;

        min-height: 48px;

        padding: 0 13px;

        border-radius: 11px;

        color: var(--pmy-text);

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

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

        text-decoration: none;

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

    .mobile-menu a:hover {
        color: var(--pmy-primary);

        background: #f2f7ff;
    }

    .mobile-menu a i {
        width: 20px;

        color: var(--pmy-primary);

        font-size: 16px;

        text-align: center;
    }

    .mobile-service-title {
        margin-top: 6px;
        padding: 10px 13px 5px;

        color: var(--pmy-muted);

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

        letter-spacing: 0.8px;

        text-transform: uppercase;
    }

    .mobile-service-title span {
        display: flex;
        align-items: center;

        gap: 10px;
    }

    .mobile-sub-link {
        padding-left: 25px !important;

        color: #5c6676 !important;

        font-size: 12px !important;
    }

    .mobile-sub-link i {
        font-size: 13px !important;
    }

    .mobile-cta {
        justify-content: center;

        margin-top: 10px;

        color: #fff !important;

        background:
            linear-gradient(
                135deg,
                var(--pmy-primary),
                #087cf5
            );

        box-shadow:
            0 8px 20px rgba(11, 99, 246, 0.20);
    }

    .mobile-cta i {
        color: #fff !important;
    }

}


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

@media (max-width: 480px) {

    .nav-container {
        width: calc(100% - 22px);
    }

    .logo-mark {
        width: 37px;
        height: 37px;
    }

    .logo-text {
        font-size: 19px;
    }

    .mobile-menu {
        left: 11px;
        right: 11px;
    }

}


/* =====================================================
   ACCESSIBILITY
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    .pmy-navbar,
    .logo-mark,
    .dropdown-menu,
    .nav-cta,
    .nav-cta i,
    .mobile-menu,
    .mobile-toggle span {
        transition: none;
    }

}