/* =========================================================
   PRINCE KHALID ALFAISAL CENTER — IP SERVICES PAGE
   Standalone stylesheet (prefix: pkx-)
========================================================= */

/* ---------- 1. BASE ---------- */
.pkx-page { color:#071a43; font-family:inherit; overflow:hidden; }
.pkx-page * { box-sizing:border-box; }
.pkx-container { width:90%; max-width:1240px; margin:0 auto; }

/* ---------- 2. TYPOGRAPHY ---------- */
.pkx-page h1,
.pkx-page h2 { font-size:56px; font-weight:700; line-height:1.2; color:#071a43 !important; margin-top:0; }
.pkx-page h3 { font-size:24px; font-weight:700; line-height:1.35; color:#071a43 !important; margin-top:0; }
.pkx-page p  { font-size:18px; font-weight:400; line-height:1.85; color:#071a43 !important; }
.pkx-page .pkx-eyebrow {
        color: #80e387 !important;
    font-size: 14px;
    line-height: 1;
    padding: 11px 24px;
    border: 1px solid #80e387;
    border-radius: 50px;
    margin-bottom: 28px;
}

/* ---------- 3. SECTIONS ---------- */
.pkx-section { padding:95px 0; }
.pkx-heading { max-width:850px; margin:0 auto 55px; text-align:center; }
.pkx-heading h2 { margin-bottom:20px; }
.pkx-heading p { margin-bottom:0; }

.pkx-expertise { background:#ffffff; }
.pkx-services  { background:#f5faf4; }
.pkx-achieve   { background:#ffffff; }
.pkx-fields    { background:#f5faf4; }
.pkx-audience  { background:#ffffff; }
.pkx-questions { background:#f5faf4; }
.pkx-faq       { background:#ffffff; padding:95px 0; }

/* ---------- 4. BUTTONS ---------- */
.pkx-buttons { display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.pkx-btn {
    display:inline-flex; justify-content:center; align-items:center; flex-shrink:0;
    min-height:53px; padding:15px 28px; border-radius:50px;
    text-decoration:none !important; font-size:20px; font-weight:600; transition:all .3s ease;
}
.pkx-btn-primary,
.pkx-btn-green { background:#80e387; border:2px solid #80e387; color:#071a43 !important; }
.pkx-btn-primary:hover { background:transparent; border-color:#071a43; }
.pkx-btn-green:hover { background:transparent; border-color:#ffffff; color:#ffffff !important; }

/* CTA row used under sections */
.pkx-cta-row {
    display:flex; align-items:center; justify-content:space-between; gap:30px;
    margin-top:50px; padding:32px 40px; background:#f5faf4;
    border-left:4px solid #80e387; border-radius:12px;
}
.pkx-fields .pkx-cta-row,
.pkx-services .pkx-cta-row { background:#ffffff; }
.pkx-cta-row h3 { margin:0; }


/* ---------- 6. CARDS ---------- */
.pkx-grid { display:grid; gap:24px; }
.pkx-grid-2 { grid-template-columns:repeat(2,1fr); }
.pkx-grid-3 { grid-template-columns:repeat(3,1fr); }
.pkx-grid-5 { grid-template-columns:repeat(5,1fr); gap:16px; }

.pkx-card {
    background:#ffffff; border:1px solid #e7ece9; border-radius:14px;
    padding:35px; transition:all .3s ease;
}
.pkx-expertise .pkx-card { background:#f5faf4; border-top:4px solid #80e387; }
.pkx-card:hover { transform:translateY(-7px); box-shadow:0 15px 40px rgba(7,26,67,.09); border-color:#80e387; }
.pkx-card h3 { margin:0 0 15px; }
.pkx-card p  { margin:0; font-size:16px; line-height:1.8; }
.pkx-card-wide { grid-column:1 / -1; }

.pkx-card-num { position:relative; padding-left:100px; }
.pkx-num {
    position:absolute; left:32px; top:35px; width:48px; height:48px;
    display:flex; align-items:center; justify-content:center;
    background:#80e387; border-radius:50%; font-size:16px; font-weight:700;
}

/* Sub-topic tags */
.pkx-tags { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.pkx-tags li {
    padding:7px 14px; background:#ffffff; border:1px solid #d8e3d9;
    border-radius:50px; font-size:14px; font-weight:600; line-height:1.4;
}

.pkx-source {
    max-width:900px; margin:40px auto 0; padding-left:22px;
    border-left:4px solid #80e387; font-size:15px; line-height:1.8;
}

/* ---------- 7. CHECKLIST ---------- */
.pkx-checklist {
    list-style:none; margin:0 auto; padding:0; max-width:1000px;
    display:grid; grid-template-columns:repeat(2,1fr); gap:14px 24px;
}
.pkx-checklist li {
    position:relative; padding:20px 24px 20px 66px; background:#f5faf4;
    border:1px solid #e8eee9; border-radius:12px; font-size:17px; font-weight:700; line-height:1.5;
    transition:all .3s ease;
}
.pkx-checklist li::before {
    content:"✓"; position:absolute; left:22px; top:50%; transform:translateY(-50%);
    width:30px; height:30px; display:flex; align-items:center; justify-content:center;
    background:#80e387; border-radius:50%; font-size:15px; font-weight:700;
}
.pkx-checklist li:hover { background:#ffffff; border-color:#80e387; transform:translateY(-3px); }

/* ---------- 8. FIELD TILES ---------- */
.pkx-tile {
    display:flex; flex-direction:column; gap:8px; padding:26px 20px;
    background:#ffffff; border:1px solid #e7ece9; border-bottom:4px solid #80e387;
    border-radius:12px; text-align:center; transition:all .3s ease;
}
.pkx-tile:hover { transform:translateY(-5px); box-shadow:0 12px 30px rgba(7,26,67,.08); }
.pkx-tile strong { font-size:19px; line-height:1.3; }
.pkx-tile span { font-size:14px; font-weight:600; line-height:1.55; opacity:.8; }

.pkx-closing { max-width:850px; margin:45px auto 0; text-align:center; }

/* ---------- 9. WHY (sticky intro + rows) ---------- */
.pkx-why { background:#f5f8fc; padding:110px 0; }
.pkx-why-layout { display:grid; grid-template-columns:.85fr 1.5fr; gap:85px; align-items:start; }
.pkx-why-intro { position:sticky; top:50px; }
.pkx-why-intro h2 { margin:0 0 20px; }
.pkx-why-intro p  { font-size:18px; font-weight:700; margin:0 0 30px; }

.pkx-link-pill {
    display:inline-flex; align-items:center; gap:20px; padding:14px 24px;
    background:#80e387; color:#071a43 !important; border-radius:50px;
    font-size:20px; font-weight:600; text-decoration:none !important; transition:all .3s ease;
}
.pkx-link-pill:hover { background:#071a43; color:#ffffff !important; }
.pkx-link-pill span { transition:transform .3s ease; }
.pkx-link-pill:hover span { transform:translate(4px,-4px); }

.pkx-why-list { display:flex; flex-direction:column; gap:16px; }
.pkx-why-row {
    padding:30px 35px; background:#ffffff; border:1px solid #e5ece5;
    border-radius:12px; transition:all .35s ease;
}
.pkx-why-row:hover { transform:translateX(7px); border-color:#80e387; box-shadow:0 12px 30px rgba(7,26,67,.07); }
.pkx-why-row h3 { margin:0 0 8px; }
.pkx-why-row p  { margin:0; font-size:16px; line-height:1.8; }

/* ---------- 10. ACCORDIONS ---------- */
.pkx-faq-list { display:flex; flex-direction:column; gap:15px; max-width:950px; margin:0 auto; }
.pkx-faq-box { background:#80e387; border-radius:20px; overflow:hidden; }

.pkx-faq-trigger {
    width:100%; min-height:84px; padding:20px 32px;
    display:flex; justify-content:space-between; align-items:center; gap:25px;
    background:transparent; border:none; cursor:pointer; text-align:left;
    color:#071a43; font-family:inherit; font-size:20px; font-weight:700; line-height:1.5;
}
.pkx-faq-toggle {
    width:44px; height:44px; min-width:44px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    background:#071a43; border-radius:50%; transition:transform .3s ease;
}
.pkx-faq-toggle::after {
    content:""; display:block; width:9px; height:9px;
    border-right:2px solid #ffffff; border-bottom:2px solid #ffffff;
    transform:rotate(45deg); margin-top:-5px;
}
.pkx-faq-box.active .pkx-faq-toggle { transform:rotate(180deg); }

.pkx-faq-panel { display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s ease; }
.pkx-faq-box.active .pkx-faq-panel { grid-template-rows:1fr; }
.pkx-faq-panel-inner { overflow:hidden; }
.pkx-faq-panel p { padding:0 32px 30px; margin:0; color:#071a43 !important; font-size:16px; font-weight:600; line-height:1.8; }

/* Light variant (Questions Business Leaders Should Ask) */
.pkx-faq-light .pkx-faq-box { background:#ffffff; border:1px solid #dfe8e0; border-radius:16px; transition:border-color .3s ease; }
.pkx-faq-light .pkx-faq-box.active { border-color:#80e387; }
.pkx-faq-light .pkx-faq-trigger { font-size:19px; }
.pkx-faq-light .pkx-faq-toggle { background:#80e387; }
.pkx-faq-light .pkx-faq-toggle::after { border-color:#071a43; }
.pkx-faq-light .pkx-faq-panel p { font-weight:400; font-size:17px; }

/* ---------- 11. FINAL CTA ---------- */
.pkx-final { background:#071a43; padding:100px 0; text-align:center; }
.pkx-final-inner { max-width:900px; }
.pkx-page .pkx-final h2,
.pkx-page .pkx-final p { color:#ffffff !important; }
.pkx-page .pkx-final .pkx-eyebrow { color:#80e387 !important; font-size:15px; line-height:1.7; }
.pkx-final p { margin-bottom:35px; }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width:1100px) {
    .pkx-grid-5 { grid-template-columns:repeat(3,1fr); }
}

@media (max-width:991px) {
    .pkx-page h1, .pkx-page h2 { font-size:42px; }
    .pkx-section, .pkx-faq { padding:70px 0; }
    .pkx-hero { min-height:auto; padding:80px 0; }
    .pkx-grid-3 { grid-template-columns:repeat(2,1fr); }
    .pkx-cta-row { flex-direction:column; align-items:flex-start; padding:28px; }
    .pkx-why { padding:75px 0; }
    .pkx-why-layout { grid-template-columns:1fr; gap:45px; }
    .pkx-why-intro { position:static; max-width:700px; }
    .pkx-faq-trigger { font-size:18px; min-height:75px; }
    .pkx-final { padding:75px 0; }
}

@media (max-width:600px) {
    .pkx-page h1, .pkx-page h2 { font-size:32px; }
    .pkx-page h3 { font-size:22px; }
    .pkx-section, .pkx-faq, .pkx-why, .pkx-final { padding:60px 0; }
    .pkx-hero { padding:70px 0; }
    .pkx-buttons { flex-direction:column; align-items:stretch; }
    .pkx-btn { width:100%; }
    .pkx-grid-2, .pkx-grid-3, .pkx-checklist { grid-template-columns:1fr; }
    .pkx-grid-5 { grid-template-columns:repeat(2,1fr); gap:12px; }
    .pkx-card { padding:25px; }
    .pkx-card-num { padding:25px 25px 25px 25px; }
    .pkx-num { position:static; margin-bottom:14px; }
    .pkx-tile { padding:20px 12px; }
    .pkx-tile strong { font-size:16px; }
    .pkx-checklist li { padding:16px 18px 16px 58px; font-size:16px; }
    .pkx-cta-row { padding:22px 18px; margin-top:35px; }
    .pkx-why-row { padding:22px 18px; }
    .pkx-why-row:hover { transform:translateY(-3px); }
    .pkx-faq-box { border-radius:14px; }
    .pkx-faq-trigger { min-height:68px; padding:16px 18px; font-size:16px; gap:15px; }
    .pkx-faq-toggle { width:36px; height:36px; min-width:36px; }
    .pkx-faq-panel p { padding:0 18px 22px; font-size:14px; }
    .pkx-faq-light .pkx-faq-trigger { font-size:16px; }
    .pkx-faq-light .pkx-faq-panel p { font-size:15px; }
}

@media (prefers-reduced-motion:reduce) {
    .pkx-card, .pkx-tile, .pkx-why-row, .pkx-checklist li, .pkx-faq-panel, .pkx-faq-toggle, .pkx-btn { transition:none; }
}


/* =========================================================
   IP SERVICES PAGE ADDITIONS
========================================================= */

/* Hero secondary button */
.pkx-btn-outline { background:transparent; border:2px solid #ffffff; color:#ffffff !important; }
.pkx-btn-outline:hover { background:#ffffff; color:#071a43 !important; }

/* 4-column tiles */
.pkx-grid-4 { grid-template-columns:repeat(4,1fr); gap:16px; }

/* Note under tag lists */
.pkx-note {
    margin:20px 0 0 !important; padding-top:16px; border-top:1px solid #d8e3d9;
    font-size:14px !important; font-weight:600; line-height:1.7 !important; opacity:.85;
}

/* Questions list */
.pkx-qlist {
    list-style:none; margin:0 auto; padding:0; max-width:1000px;
    display:grid; grid-template-columns:repeat(2,1fr); gap:16px;
}
.pkx-qlist li {
    display:flex; align-items:flex-start; gap:18px; padding:26px 28px;
    background:#ffffff; border:1px solid #e1e9e2; border-radius:14px; transition:all .3s ease;
}
.pkx-qlist li:hover { transform:translateY(-4px); border-color:#80e387; box-shadow:0 12px 30px rgba(7,26,67,.07); }
.pkx-qlist span {
    flex-shrink:0; width:46px; height:46px; display:flex; align-items:center; justify-content:center;
    background:#80e387; border-radius:50%; font-size:15px; font-weight:700;
}
.pkx-qlist strong { font-size:18px; line-height:1.5; padding-top:9px; }

/* Education section backgrounds (alternating) */
.pkx-expertise { background:#ffffff; }
.pkx-services  { background:#f5faf4; }
.pkx-achieve   { background:#ffffff; }
.pkx-fields    { background:#f5faf4; }
.pkx-audience  { background:#ffffff; }
.pkx-questions { background:#f5faf4; }

@media (max-width:1100px) {
    .pkx-grid-4 { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:991px) {
    .pkx-qlist { grid-template-columns:1fr; }
}
@media (max-width:600px) {
    .pkx-grid-4 { grid-template-columns:repeat(2,1fr); gap:12px; }
    .pkx-qlist li { padding:20px 18px; gap:14px; }
    .pkx-qlist strong { font-size:16px; padding-top:7px; }
    .pkx-hero .pkx-buttons .pkx-btn { width:100%; }
}


/* Title-only tiles */
.pkx-tile { justify-content:center; min-height:110px; }
.pkx-tile strong { font-size:19px; }

/* Pill list (who is it for) */
.pkx-pills {
    list-style:none; margin:0 auto; padding:0; max-width:1000px;
    display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
}
.pkx-pills li {
    display:inline-flex; align-items:center; gap:12px; padding:16px 28px;
    background:#f5faf4; border:1px solid #e8eee9; border-radius:50px;
    font-size:17px; font-weight:700; line-height:1.4; transition:all .3s ease;
}
.pkx-pills li::before {
    content:""; flex-shrink:0; width:10px; height:10px; border-radius:50%; background:#80e387;
}
.pkx-pills li:hover { background:#ffffff; border-color:#80e387; transform:translateY(-4px); box-shadow:0 12px 30px rgba(7,26,67,.07); }

@media (max-width:600px) {
    .pkx-pills { gap:10px; }
    .pkx-pills li { padding:13px 20px; gap:10px; font-size:15px; }
    .pkx-tile { min-height:84px; }
    .pkx-tile strong { font-size:16px; }
}


/* Cards with green top accent (expertise) */
.pkx-card-top { border-top:4px solid #80e387; }

/* Section backgrounds (alternating) */
.pkx-whyic { background:#f5faf4; }
.pkx-questions .pkx-cta-row { background:#ffffff; margin-top:50px; }

/* Icon cards (why choose) */
.pkx-icons { display:flex; flex-wrap:wrap; justify-content:center; gap:24px; }
.pkx-icon-card {
    flex:0 1 calc(33.333% - 16px); min-width:260px; padding:38px 30px; text-align:center;
    background:#ffffff; border:1px solid #e7ece9; border-bottom:4px solid #80e387;
    border-radius:14px; transition:all .3s ease;
}
.pkx-icon-card:hover { transform:translateY(-7px); box-shadow:0 15px 40px rgba(7,26,67,.09); }
.pkx-icon {
    display:inline-flex; align-items:center; justify-content:center;
    width:70px; height:70px; margin-bottom:22px; border-radius:50%;
    background:#80e387; color:#071a43;
}
.pkx-icon svg { width:32px; height:32px; }
.pkx-icon-card h3 { margin:0 0 12px; font-size:22px; }
.pkx-icon-card p { margin:0; font-size:16px; line-height:1.8; }

@media (max-width:991px) {
    .pkx-icon-card { flex-basis:calc(50% - 12px); }
}
@media (max-width:600px) {
    .pkx-icon-card { flex-basis:100%; padding:30px 22px; }
}


/* Section backgrounds (alternating) */
.pkx-whyc { background:#f5faf4; }
.pkx-why { background:#ffffff; }
.pkx-why-row { background:#f5faf4; }
.pkx-why-row:hover { background:#ffffff; }
.pkx-questions { background:#f5faf4; }
.pkx-faq { background:#ffffff; }

/* Sub-heading inside sticky intro */
.pkx-page .pkx-sub-h { font-size:22px; margin:0 0 15px; }
.pkx-why-intro h2 { margin-bottom:20px; }

/* Pill list (why choose) */
.pkx-pills {
    list-style:none; margin:0 auto; padding:0; max-width:1000px;
    display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
}
.pkx-pills li {
    display:inline-flex; align-items:center; gap:12px; padding:16px 28px;
    background:#ffffff; border:1px solid #e1e9e2; border-radius:50px;
    font-size:17px; font-weight:700; line-height:1.4; transition:all .3s ease;
}
.pkx-pills li::before { content:""; flex-shrink:0; width:10px; height:10px; border-radius:50%; background:#80e387; }
.pkx-pills li:hover { border-color:#80e387; transform:translateY(-4px); box-shadow:0 12px 30px rgba(7,26,67,.07); }

/* Callout under sticky layout */
.pkx-callout {
    max-width:900px; margin:70px auto 0; padding:34px 40px;
    background:#f5faf4; border-left:4px solid #80e387; border-radius:12px;
}
.pkx-callout h3 { margin:0 0 10px; }
.pkx-callout p { margin:0; }

@media (max-width:600px) {
    .pkx-pills { gap:10px; }
    .pkx-pills li { padding:13px 20px; gap:10px; font-size:15px; }
    .pkx-callout { margin-top:45px; padding:24px 20px; }
}


/* =========================================================
   IP SERVICES PAGE ADDITIONS
========================================================= */

.pkx-center { text-align:center; margin-top:45px; }
.pkx-heading .pkx-lead { margin-top:10px; font-weight:700; }

/* Stats */
.pkx-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.pkx-stat {
    padding:38px 20px; text-align:center; background:#ffffff;
    border-radius:12px; border-bottom:4px solid #80e387; transition:all .3s ease;
}
.pkx-stat:hover { transform:translateY(-5px); box-shadow:0 12px 30px rgba(7,26,67,.08); }
.pkx-stat strong { display:block; font-size:46px; font-weight:700; line-height:1.1; margin-bottom:10px; }
.pkx-stat span { font-size:16px; font-weight:600; line-height:1.5; }

/* Approach step cards */
.pkx-card-step { text-align:center; }
.pkx-step {
    display:inline-flex; align-items:center; justify-content:center;
    width:60px; height:60px; margin-bottom:20px; border-radius:50%;
    background:#80e387; font-size:24px; font-weight:700;
}

/* 4-up icon grid (consultancy in practice) */
.pkx-icons-4 .pkx-icon-card { flex-basis:calc(25% - 18px); min-width:220px; padding:32px 20px; }
.pkx-icons-4 .pkx-icon-card h3 { margin:0; font-size:19px; }

/* Section backgrounds (alternating) */
.pkx-evidence { background:#f5faf4; }
.pkx-solutions { background:#ffffff; }
.pkx-when { background:#f5faf4; }
.pkx-challenges { background:#ffffff; }
.pkx-services { background:#f5faf4; }
.pkx-why { background:#ffffff; }
.pkx-audience { background:#f5faf4; }
.pkx-process { background:#ffffff; }
.pkx-custom { background:#f5faf4; }
.pkx-practice { background:#ffffff; }
.pkx-outcomes { background:#f5faf4; }
.pkx-ideas { background:#ffffff; }
.pkx-faq { background:#f5faf4; }
.pkx-solutions .pkx-pills li,
.pkx-practice .pkx-icon-card { background:#f5faf4; }
.pkx-custom .pkx-pills li { background:#ffffff; }

@media (max-width:991px) {
    .pkx-stats { grid-template-columns:repeat(2,1fr); }
    .pkx-icons-4 .pkx-icon-card { flex-basis:calc(50% - 12px); }
}
@media (max-width:600px) {
    .pkx-stats { grid-template-columns:1fr; }
    .pkx-stat strong { font-size:38px; }
    .pkx-icons-4 .pkx-icon-card { flex-basis:100%; }
    .pkx-center .pkx-btn { width:100%; }
}


/* =========================================================
   IP PAGE OVERRIDES & COMPONENTS
========================================================= */

.pkx-page [hidden] { display:none !important; }

/* Section backgrounds (alternating) */
.pkx-when { background:#ffffff; }
.pkx-services { background:#f5faf4; }
.pkx-flow-section { background:#ffffff; }
.pkx-audience { background:#f5faf4; }
.pkx-transfer { background:#ffffff; }
.pkx-areas { background:#f5faf4; }
.pkx-why { background:#ffffff; }
.pkx-collab { background:#f5faf4; }
.pkx-faq { background:#ffffff; }
.pkx-inquiry { background:#f5faf4; }
.pkx-transfer .pkx-pills li { background:#f5faf4; }
.pkx-collab .pkx-pills li { background:#ffffff; }
.pkx-when .pkx-checklist li { background:#f5faf4; }
.pkx-collab .pkx-callout { background:#ffffff; margin-top:40px; }
.pkx-why-intro .pkx-intro-lead { font-weight:700; margin-top:-10px; }
.pkx-why-row h3 { margin:0; }

/* Research → Application flow */
.pkx-flow { display:grid; grid-template-columns:repeat(4,1fr); gap:38px; }
.pkx-flow-step {
    position:relative; padding:36px 22px; text-align:center; background:#f5faf4;
    border:1px solid #e1e9e2; border-top:4px solid #80e387; border-radius:14px;
}
.pkx-flow-step::after {
    content:"→"; position:absolute; right:-30px; top:50%; transform:translateY(-50%);
    font-size:26px; font-weight:700; line-height:1;
}
.pkx-flow-step:last-child::after { display:none; }
.pkx-flow-step h3 { margin:0 0 10px; }
.pkx-flow-step p { margin:0; font-size:16px; line-height:1.7; }


@media (max-width:991px) {
    .pkx-flow { grid-template-columns:repeat(2,1fr); gap:40px 38px; }
    .pkx-flow-step:nth-child(2)::after { display:none; }
    .pkx-form { padding:35px; }
}
@media (max-width:600px) {
    .pkx-flow { grid-template-columns:1fr; gap:44px; }
    .pkx-flow-step::after { content:"↓"; right:auto; left:50%; top:auto; bottom:-38px; transform:translateX(-50%); }
    .pkx-flow-step:nth-child(2)::after { display:block; }
    .pkx-flow-step:last-child::after { display:none; }
    .pkx-form, .pkx-thanks { padding:25px 18px; }
    .pkx-row--2 { grid-template-columns:1fr; }
    .pkx-actions .pkx-btn { width:100%; }
}


/* =====================================
   PKX INQUIRY SECTION
===================================== */

.pkx-inquiry-content {
    text-align: center;
    padding: 30px 20px;
}

.pkx-inquiry-content p {
    margin-bottom: 22px;
}

/* =====================================
   PKX INQUIRY POPUP
===================================== */

#pkx-inquiry-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    z-index: 9999999 !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#pkx-inquiry-modal.active {
    display: flex !important;
}

#pkx-inquiry-modal .pkx-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 51, 0.85);
    cursor: pointer;
}

#pkx-inquiry-modal .pkx-modal-content {
    position: relative !important;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 950px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* CLOSE BUTTON */

#pkx-inquiry-modal .pkx-modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 18px !important;
    left: auto !important;
    z-index: 20;

    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;
    line-height: 1 !important;
    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}

#pkx-inquiry-modal .pkx-modal-close:hover {
    background: #c49a45 !important;
    color: #ffffff !important;
}

/* FORM AREA */

#pkx-inquiry-modal .pkx-form-area {
    width: 100%;
    padding: 65px 35px 30px;
    box-sizing: border-box;
    background: #ffffff;
}

#pkx-mf-placeholder {
    width: 100%;
    min-height: 500px;
}

#pkx-inquiry-modal iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
}

/* BODY SCROLL LOCK */

body.pkx-modal-open {
    overflow: hidden !important;
}

/* MOBILE */

@media (max-width: 767px) {

    #pkx-inquiry-modal {
        padding: 8px;
    }

    #pkx-inquiry-modal .pkx-modal-content {
        height: 95vh;
        max-height: none;
        border-radius: 8px;
    }

    #pkx-inquiry-modal .pkx-form-area {
        padding: 60px 15px 20px;
    }

    #pkx-inquiry-modal .pkx-modal-close {
        top: 10px !important;
        right: 10px !important;
    }

}
/* Embedded form */
#mf_placeholder {
    width: 100%;
}

#mf_placeholder iframe {
    display: block;
    width: 100% !important;
    border: none !important;
}

/* Smooth popup scrolling */
#pkx-inquiry-modal .pkx-form-area {
    width: 100%;
    padding: 65px 35px 30px;
    box-sizing: border-box;
}