/* =========================================================
   PKG ADDITIONS — GOVERNMENT PAGE
   Add at the END of your pkb stylesheet.
   Also needs pkb-additions.css (.pkb-grid-4, .pkb-stat, .pkb-tags-center)
   Page-specific classes use the "pkg-" prefix; the rest are shared pkb- classes.
========================================================= */


/* =====================================
   HERO VARIANT: NAVY + ARCH IMAGE (image on the left)
===================================== */

.pkg-hero {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(128,227,135,.16) 0, rgba(128,227,135,0) 45%),
        #071a43;
    overflow: hidden;
}

.pkg-hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: .85fr 1fr;
    gap: 90px;
    align-items: center;
}

/* arch image with offset green outline */
.pkg-hero-media {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.pkg-hero-media::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -18px;
    right: 18px;
    bottom: -18px;
    border: 3px solid #80e387;
    border-radius: 230px 230px 14px 14px;
    z-index: 1;
}

.pkg-hero-media img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 230px 230px 14px 14px;
}

.pkg-hero-content { max-width: 620px; }

.pkb-page .pkg-hero .pkb-eyebrow {
    color: #80e387 !important;
    font-size: 14px;
    line-height: 1;
    padding-left: 18px;
    border-left: 4px solid #80e387;
    margin-bottom: 22px;
}

.pkb-page .pkg-hero h1 {
    color: #ffffff !important;
    font-size: 48px;
    line-height: 1.17;
    margin: 0 0 25px;
}

.pkb-page .pkg-hero p {
    color: rgba(255,255,255,.85) !important;
    font-size: 18px;
    line-height: 1.85;
    margin: 0 0 35px;
}

@media (max-width: 991px) {
    .pkg-hero { padding: 75px 0; }
    .pkg-hero-container { gap: 55px; }
    .pkb-page .pkg-hero h1 { font-size: 38px; }
    .pkg-hero-media img { height: 440px; }
}

@media (max-width: 767px) {
    .pkg-hero { padding: 55px 0 65px; }
    .pkg-hero-container { grid-template-columns: 1fr; gap: 50px; padding: 0 20px; }
    .pkg-hero-media { max-width: 300px; }
    .pkg-hero-media img { height: 360px; border-radius: 150px 150px 12px 12px; }
    .pkg-hero-media::before { border-radius: 150px 150px 12px 12px; }
    .pkb-page .pkg-hero h1 { font-size: 32px; }
    .pkb-page .pkg-hero p { font-size: 16px; }
    .pkg-hero .pkb-btn { width: 100%; }
}


/* =====================================
   IMAGE + TEXT SPLIT
===================================== */

.pkg-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 70px;
}

.pkg-split-media { position: relative; }

.pkg-split-media::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -18px;
    bottom: -18px;
    background: #80e387;
    border-radius: 8px;
    z-index: 1;
}

.pkg-split-media img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 8px;
}

.pkg-split-text h2 { margin: 0 0 22px; }
.pkg-split-text p { margin: 0 0 18px; font-size: 17px; }
.pkg-split-text p:last-child { margin-bottom: 0; }
.pkg-split-text .pkb-eyebrow { margin-bottom: 14px; }

@media (max-width: 991px) {
    .pkg-split { grid-template-columns: 1fr; gap: 45px; margin-bottom: 50px; }
    .pkg-split-media img { height: 340px; }
}

@media (max-width: 600px) {
    .pkg-split-media img { height: 250px; }
    .pkg-split-media::after { width: 90px; height: 90px; right: -8px; bottom: -8px; }
}


/* =====================================
   CHECK LIST INSIDE CARDS
===================================== */

.pkg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pkg-list li {
    position: relative;
    padding-left: 34px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.pkg-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #80e387;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}


/* =====================================
   FORM IFRAME CONTAINER
===================================== */

.pkg-form-frame { max-width: 900px; margin: 0 auto; }

.pkg-form-frame iframe {
    display: block;
    width: 100%;
    min-height: 1000px;
    border: 1px solid #e7ece9;
    border-top: 4px solid #80e387;
    border-radius: 14px;
    background: #ffffff;
}

@media (max-width: 600px) {
    .pkg-form-frame iframe { min-height: 1200px; }
}


/* =====================================
   BUTTON INSIDE GREEN FAQ ACCORDION
===================================== */

.pkg-faq-cta { padding: 0 32px 30px; }

.pkg-faq-cta .pkb-btn {
    background: #071a43;
    border-color: #071a43;
    color: #ffffff !important;
    min-height: 48px;
    font-size: 17px;
}
.pkg-faq-cta .pkb-btn:hover { background: transparent; color: #071a43 !important; }

@media (max-width: 600px) {
    .pkg-faq-cta { padding: 0 18px 22px; }
}




/* =====================================
   INQUIRY SECTION
===================================== */

.pkg-inquiry-content {
    text-align: center;
    padding: 30px 20px;
}

.pkg-inquiry-content p {
    margin-bottom: 22px;
}

/* =====================================
   INQUIRY POPUP
===================================== */

#pkg-inquiry-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999999 !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#pkg-inquiry-modal.active {
    display: flex !important;
}

#pkg-inquiry-modal .pkp-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 51, 0.85);
}

#pkg-inquiry-modal .pkg-inquiry-modal-content {
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 950px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 10px;
    position: relative !important;
    z-index: 2;
}

/* =====================================
   CLOSE BUTTON
===================================== */

#pkg-inquiry-modal .pkp-modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 18px !important;
    left: auto !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #071a43 !important;
    color: #ffffff !important;

    border: none !important;
    border-radius: 50% !important;

    font-size: 26px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    box-shadow: none !important;
    z-index: 999999 !important;

    transition: background 0.3s ease !important;
}

#pkg-inquiry-modal .pkp-modal-close:hover {
    background: #c49a45 !important;
    color: #ffffff !important;
}

/* =====================================
   FORM PADDING
===================================== */

.pkg-inquiry-form-area {
    width: 100%;
    padding: 65px 35px 30px;
    box-sizing: border-box;
    background: #ffffff;
}

.pkg-inquiry-form-area #mf_placeholder {
    width: 100%;
    min-height: 500px;
}

.pkg-inquiry-form-area iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {

    #pkg-inquiry-modal {
        padding: 8px;
    }

    #pkg-inquiry-modal .pkg-inquiry-modal-content {
        height: 95vh;
        max-height: none;
    }

    .pkg-inquiry-form-area {
        padding: 60px 15px 20px;
    }

    #pkg-inquiry-modal .pkp-modal-close {
        top: 10px !important;
        right: 10px !important;
    }

}

/* =====================================
   PKB WHY SECTION IMAGE
===================================== */

.pkb-why-image {
    width: 100%;
    max-width: 390px;
    margin-top: 30px;
    border-radius: 14px;
    overflow: hidden;
}

.pkb-why-image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 14px;
}

@media (max-width: 767px) {
    .pkb-why-image {
        max-width: 100%;
        margin-top: 25px;
    }

    .pkb-why-image img {
        height: 220px;
    }
}