
:root {
    --hpmi-navy: #103270;
    --hpmi-dark-navy: #0B254F;
    --hpmi-ivory: #F8F5EE;
    --hpmi-gold: #B79A5B;
    --hpmi-green: #536B5A;
    --hpmi-text: #26354D;
    --hpmi-muted-text: #667085;
    --hpmi-white: #FFFFFF;
    --hpmi-border: #DCE2EA;

    --hpmi-shadow:
        0 14px 35px rgba(16, 50, 112, 0.10);
}


/* =========================================================
   HEADER
   ========================================================= */

.hpmi-header {
    position: sticky;
    top: 0;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid var(--hpmi-border);

    box-shadow:
        0 3px 18px rgba(16, 50, 112, 0.04);

    z-index: 99999;

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}


/* =========================================================
   HEADER INNER
   ========================================================= */

.hpmi-header-inner {
    width: min(1440px, calc(100% - 72px));

    min-height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.hpmi-logo {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    text-decoration: none;
}

.hpmi-logo img {
    display: block;

    width: 205px;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.hpmi-nav {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 2px;

    margin-left: auto;
}


/* =========================================================
   NAV ITEM
   ========================================================= */

.hpmi-nav-item {
    position: relative;

    display: flex;
    align-items: center;
}


/* =========================================================
   NAV LINK
   ========================================================= */

.hpmi-nav-item > a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 88px;

    padding: 0 14px;

    color: var(--hpmi-text);

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.015em;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}


/* =========================================================
   NAV HOVER
   ========================================================= */

.hpmi-nav-item > a:hover {
    color: var(--hpmi-navy);
}


/* =========================================================
   NAV GOLD UNDERLINE
   ========================================================= */

.hpmi-nav-item > a::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;

    bottom: 19px;

    width: auto;
    height: 2px;

    background: var(--hpmi-gold);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform 0.25s ease;
}


.hpmi-nav-item:hover > a::after,
.hpmi-nav-item > a:focus-visible::after {
    transform: scaleX(1);
}


/* =========================================================
   PREMIUM CSS CHEVRON
   ========================================================= */

.hpmi-chevron {
    width: 6px;
    height: 6px;

    display: inline-block;

    flex: 0 0 auto;

    border-right: 1.4px solid var(--hpmi-gold);
    border-bottom: 1.4px solid var(--hpmi-gold);

    transform: rotate(45deg);

    margin-top: -3px;

    transition:
        transform 0.25s ease,
        margin-top 0.25s ease;
}


/* Rotate arrow when dropdown opens */

.hpmi-nav-item:hover .hpmi-chevron,
.hpmi-nav-item:focus-within .hpmi-chevron {
    transform: rotate(225deg);

    margin-top: 3px;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.hpmi-dropdown {
    position: absolute;

    top: calc(100% - 1px);
    left: 0;

    width: 285px;

    padding: 10px;

    background: var(--hpmi-white);

    border: 1px solid var(--hpmi-border);

    border-top: 3px solid var(--hpmi-gold);

    box-shadow: var(--hpmi-shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity 0.20s ease,
        transform 0.20s ease,
        visibility 0.20s ease;
}


/* =========================================================
   SHOW DROPDOWN
   ========================================================= */

.hpmi-nav-item:hover > .hpmi-dropdown,
.hpmi-nav-item:focus-within > .hpmi-dropdown {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   DROPDOWN LINKS
   ========================================================= */

.hpmi-dropdown a {
    position: relative;

    display: block;

    padding: 11px 14px;

    color: var(--hpmi-text);

    font-family: "Poppins", sans-serif;

    font-size: 12.5px;

    font-weight: 400;

    line-height: 1.45;

    text-decoration: none;

    border-radius: 2px;

    transition:
        color 0.20s ease,
        background-color 0.20s ease,
        padding-left 0.20s ease;
}


/* =========================================================
   DROPDOWN HOVER
   ========================================================= */

.hpmi-dropdown a:hover,
.hpmi-dropdown a:focus-visible {
    color: var(--hpmi-navy);

    background: var(--hpmi-ivory);

    padding-left: 18px;
}


/* =========================================================
   SMALL GOLD INDICATOR
   ========================================================= */

.hpmi-dropdown a::before {
    content: "";

    position: absolute;

    left: 8px;
    top: 50%;

    width: 3px;
    height: 3px;

    background: var(--hpmi-gold);

    border-radius: 50%;

    opacity: 0;

    transform: translateY(-50%);

    transition:
        opacity 0.20s ease;
}


.hpmi-dropdown a:hover::before,
.hpmi-dropdown a:focus-visible::before {
    opacity: 1;
}


/* =========================================================
   ENQUIRE NOW BUTTON
   ========================================================= */

.hpmi-enquire-btn {
    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 11px;

    min-width: 160px;

    padding: 14px 20px;

    background: var(--hpmi-navy);

    color: var(--hpmi-white);

    border: 1px solid var(--hpmi-navy);

    border-radius: 3px;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.10em;

    line-height: 1;

    text-transform: uppercase;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   ENQUIRE ARROW
   ========================================================= */

.hpmi-enquire-btn span {
    display: inline-block;

    color: #D8C28A;

    font-size: 15px;

    line-height: 1;

    transition:
        transform 0.25s ease;
}


/* =========================================================
   ENQUIRE HOVER
   ========================================================= */

.hpmi-enquire-btn:hover {
    background: var(--hpmi-dark-navy);

    border-color: var(--hpmi-dark-navy);

    color: var(--hpmi-white);

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(16, 50, 112, 0.15);
}


.hpmi-enquire-btn:hover span {
    transform: translate(2px, -2px);
}


/* =========================================================
   MOBILE TOGGLE
   ========================================================= */

.hpmi-mobile-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    background: transparent;

    border: 1px solid var(--hpmi-border);

    border-radius: 3px;

    cursor: pointer;

    position: relative;

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}


.hpmi-mobile-toggle:hover {
    background: var(--hpmi-ivory);

    border-color: var(--hpmi-gold);
}


/* =========================================================
   HAMBURGER LINES
   ========================================================= */

.hpmi-mobile-toggle span {
    display: block;

    width: 21px;
    height: 1.5px;

    margin: 5px auto;

    background: var(--hpmi-navy);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   MOBILE TOGGLE OPEN STATE
   ========================================================= */

.hpmi-mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hpmi-mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.hpmi-mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.hpmi-mobile-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    max-height: calc(100vh - 88px);

    overflow-y: auto;

    padding: 12px 20px 25px;

    background: var(--hpmi-white);

    border-top: 1px solid var(--hpmi-border);

    box-shadow:
        0 18px 40px rgba(16, 50, 112, 0.12);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


/* =========================================================
   MOBILE MENU OPEN
   ========================================================= */

.hpmi-mobile-menu.is-open {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   MOBILE MENU ITEM
   ========================================================= */

.hpmi-mobile-item {
    border-bottom: 1px solid var(--hpmi-border);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.hpmi-mobile-item > button {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 17px 4px;

    background: transparent;

    border: 0;

    color: var(--hpmi-navy);

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    font-weight: 500;

    line-height: 1.4;

    text-align: left;

    cursor: pointer;
}


.hpmi-mobile-item > button span {
    color: var(--hpmi-gold);

    font-size: 20px;

    font-weight: 300;

    line-height: 1;
}


/* =========================================================
   MOBILE SUBMENU
   ========================================================= */

.hpmi-mobile-submenu {
    display: none;

    padding: 0 4px 12px;
}


/* =========================================================
   OPEN MOBILE SUBMENU
   ========================================================= */

.hpmi-mobile-item.is-open .hpmi-mobile-submenu {
    display: block;
}


/* =========================================================
   MOBILE SUBMENU LINKS
   ========================================================= */

.hpmi-mobile-submenu a {
    display: block;

    padding: 10px 10px;

    color: var(--hpmi-muted-text);

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.20s ease,
        padding-left 0.20s ease,
        background-color 0.20s ease;
}


.hpmi-mobile-submenu a:hover {
    color: var(--hpmi-navy);

    background: var(--hpmi-ivory);

    padding-left: 15px;
}


/* =========================================================
   MOBILE DIRECT LINKS
   ========================================================= */

.hpmi-mobile-link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 17px 4px;

    color: var(--hpmi-navy);

    border-bottom: 1px solid var(--hpmi-border);

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.20s ease;
}


.hpmi-mobile-link:hover {
    color: var(--hpmi-gold);
}


/* =========================================================
   COMING SOON
   ========================================================= */

.hpmi-mobile-link small {
    color: var(--hpmi-green);

    font-family: "Poppins", sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 0.10em;

    line-height: 1;

    text-transform: uppercase;
}


/* =========================================================
   MOBILE ENQUIRE BUTTON
   ========================================================= */

.hpmi-mobile-enquire {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 100%;

    margin-top: 20px;

    padding: 16px 20px;

    background: var(--hpmi-navy);

    color: var(--hpmi-white);

    border: 1px solid var(--hpmi-navy);

    border-radius: 3px;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.10em;

    line-height: 1;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.hpmi-mobile-enquire span {
    color: #D8C28A;

    font-size: 15px;
}


.hpmi-mobile-enquire:hover {
    background: var(--hpmi-dark-navy);

    color: #FFFFFF;

    transform: translateY(-1px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .hpmi-header-inner {
        width: calc(100% - 48px);

        gap: 20px;
    }

    .hpmi-logo img {
        width: 185px;
    }

    .hpmi-nav-item > a {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 12px;
    }

    .hpmi-nav-item > a::after {
        left: 9px;
        right: 9px;
    }

    .hpmi-enquire-btn {
        min-width: 145px;

        padding-left: 16px;
        padding-right: 16px;
    }
}


/* =========================================================
   MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .hpmi-header-inner {
        width: calc(100% - 40px);

        min-height: 76px;

        justify-content: space-between;
    }


    /* Hide desktop navigation */

    .hpmi-nav {
        display: none;
    }


    /* Hide desktop CTA */

    .hpmi-enquire-btn {
        display: none;
    }


    /* Show hamburger */

    .hpmi-mobile-toggle {
        display: block;
    }


    /* Show mobile menu */

    .hpmi-mobile-menu {
        display: block;

        max-height: calc(100vh - 76px);
    }


    .hpmi-logo img {
        width: 180px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .hpmi-header-inner {
        width: calc(100% - 30px);

        min-height: 70px;
    }


    .hpmi-logo img {
        width: 165px;
    }


    .hpmi-mobile-menu {
        max-height: calc(100vh - 70px);

        padding:
            8px 15px
            22px;
    }


    .hpmi-mobile-item > button,
    .hpmi-mobile-link {
        padding-top: 15px;
        padding-bottom: 15px;

        font-size: 14px;
    }


    .hpmi-mobile-submenu a {
        font-size: 12.5px;

        padding-top: 9px;
        padding-bottom: 9px;
    }


    .hpmi-mobile-enquire {
        margin-top: 17px;

        padding: 15px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .hpmi-header-inner {
        width: calc(100% - 24px);
    }


    .hpmi-logo img {
        width: 150px;
    }


    .hpmi-mobile-toggle {
        width: 42px;
        height: 42px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.hpmi-nav-item > a:focus-visible,
.hpmi-dropdown a:focus-visible,
.hpmi-mobile-link:focus-visible,
.hpmi-mobile-enquire:focus-visible {
    outline: 2px solid var(--hpmi-gold);

    outline-offset: 3px;
}


.hpmi-mobile-toggle:focus-visible,
.hpmi-mobile-item > button:focus-visible {
    outline: 2px solid var(--hpmi-gold);

    outline-offset: 2px;
}


/* =========================================================
   REDUCE MOTION
   ========================================================= */
/* =========================================================
   HPMI HERO SLIDER
========================================================= */

.hpmi-hero-slider {
    width: 100%;
    margin: 0;
    padding: 0;
}


.hpmi-hero {
    position: relative;

    width: 100%;
    height: calc(100vh - 90px);

    min-height: 600px;

    overflow: hidden;

    background: #091F45;
}

