/* ============================================================
   Partha Kundu Stock Academy - Main Stylesheet (CSS/pksa_01.css)
   ============================================================ */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

#pallabi-window {
    animation: fadeIn .25s ease;
}
#pallabi-messages::-webkit-scrollbar {
    width: 5px;
}
#pallabi-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* ============================================================
   Limited Seats Announcement Ticker
   ============================================================ */
.pk-seat-ticker {
    position: relative;
    z-index: 45;
    width: 100%;
    background: linear-gradient(90deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
    color: #fff;
    border-bottom: 2px solid rgba(240, 185, 11, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    overflow: hidden;
}

.pk-seat-ticker-inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    box-sizing: border-box;
    width: 100%;
}

/* Fixed Left Tab / Mini Banner */
.pk-ticker-fixed-tab {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 9px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.pk-ticker-window {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.pk-ticker-track {
    display: inline-flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: pkTickerMove 22s linear infinite;
}

.pk-ticker-track:hover,
.pk-ticker-window:focus-within .pk-ticker-track {
    animation-play-state: paused;
}

/* Vibrant Running Text */
.pk-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    padding-right: 60px;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #f39c12, #f1c40f, #2ecc71, #3498db, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.pk-ticker-separator {
    color: #64748b;
    margin: 0 10px;
    -webkit-text-fill-color: #64748b;
}

@keyframes pkTickerMove {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
}

/* Action Group */
.pk-ticker-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
    flex-wrap: nowrap;
}

/* Action Buttons (Default Desktop style with text/icon) */
.pk-ticker-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, filter .18s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    flex-shrink: 0;
    white-space: nowrap;
}

.pk-ticker-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.15);
}

.pk-ticker-book { background: #e87516; }     /* Inquiry / Details */
.pk-ticker-call { background: #059669; }     /* Direct Call */
.pk-ticker-whatsapp { background: #16a34a; } /* WhatsApp Chat */


/* ============================================================
   MOBILE-SPECIFIC OVERRIDES: Symbolic, Right-Aligned Buttons
   ============================================================ */
@media (max-width: 767px) {
    .pk-seat-ticker-inner {
        min-height: 48px;
        gap: 8px;
        padding: 5px 10px;
    }

    .pk-ticker-item {
        font-size: 13px;
        padding-right: 40px;
    }

    /* Force right alignment for the action group */
    .pk-ticker-actions {
        margin-left: auto;
        gap: 5px;
    }

    /* Hide Call and WhatsApp buttons completely on mobile */
    .pk-ticker-call,
    .pk-ticker-whatsapp {
        display: none !important;
    }

    /* Style the remaining Book Now button into a compact square with symbol only */
    .pk-ticker-cta.pk-ticker-book {
        display: inline-flex;
        width: 30px;
        height: 30px;
        min-height: 30px;
        padding: 0;
        border-radius: 8px;
        font-size: 12.5px;
        justify-content: center;
        align-items: center;
    }

    /* Hide text nodes inside the book button, leaving only icons/symbols visible */
    .pk-ticker-cta span,
    .pk-ticker-cta .cta-text {
        display: none !important;
    }
}

    /* Hide text nodes inside action buttons on mobile, leaving only icons/symbols visible */
    .pk-ticker-cta span,
    .pk-ticker-cta .cta-text {
        display: none !important;
    }
}

/* ============================================================
   PKSA Slider — Full-bleed, edgeless image carousel
   ============================================================ */

.hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(2,6,23,.35);
    border: 1px solid rgba(255,255,255,.08);
    background: #0b1220;
}

.hero-slider-viewport {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
}
@media (min-width: 640px) {
    .hero-slider-viewport { height: 420px; }
}
@media (min-width: 1024px) {
    .hero-slider-viewport { height: 460px; }
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.pk-img-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, rgba(59,130,246,.38), transparent 34%),
                linear-gradient(135deg, #0f172a, #1e3a8a 55%, #4c1d95);
    color: rgba(255,255,255,.82);
    font-weight: 900;
    letter-spacing: .14em;
    font-size: 12px;
}
.pk-img-placeholder span { padding: 8px 12px; border: 1px dashed rgba(255,255,255,.45); border-radius: 10px; background: rgba(15,23,42,.38); }

.hero-slide-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(6,10,22,.94) 0%, rgba(6,10,22,.6) 38%, rgba(6,10,22,.05) 68%, transparent 100%);
}

.hero-slide-counter {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255,255,255,.75);
    font-variant-numeric: tabular-nums;
}

.hero-slide-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 18px 20px 22px;
}
@media (min-width: 640px) {
    .hero-slide-body { padding: 24px 30px 28px; }
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    margin-bottom: 10px;
}
.badge-emerald { background: rgba(16,185,129,.22); color: #6ee7b7; border: 1px solid rgba(52,211,153,.35); }
.badge-amber   { background: rgba(245,158,11,.22); color: #fcd34d; border: 1px solid rgba(251,191,36,.35); }
.badge-purple  { background: rgba(168,85,247,.22); color: #d8b4fe; border: 1px solid rgba(192,132,252,.35); }

.hero-slide-title {
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
    margin-bottom: 6px;
}
@media (min-width: 640px) {
    .hero-slide-title { font-size: 25px; }
}

.hero-slide-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(226,232,240,.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 46rem;
    margin-bottom: 12px;
}
@media (min-width: 640px) {
    .hero-slide-desc { font-size: 14px; }
}

.hero-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #34d399;
    text-decoration: none;
}
.hero-slide-link:hover { color: #6ee7b7; }
.hero-slide-link i { font-size: 11px; transition: transform .2s ease; }
.hero-slide-link:hover i { transform: translateX(3px); }

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(15,23,42,.45);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(3px);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.hero-slider-arrow:hover { background: rgba(15,23,42,.72); }
.hero-slider-arrow-left { left: 14px; }
.hero-slider-arrow-right { right: 14px; }

.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: #0b1220;
    border-top: 1px solid rgba(255,255,255,.08);
}
.pk-slider-progress {
    flex: 1 1 auto;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
}
.pk-slider-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg,#34d399,#60a5fa,#c084fc,#fb7185);
    animation: pkProgress 6s linear infinite;
}
@keyframes pkProgress { from { width: 0; } to { width: 100%; } }

/* ============================================================
   Pallabi UX Enhancements
   ============================================================ */

#pallabi-window {
    max-height: min(640px, calc(100vh - 110px)) !important;
    height: 520px !important;
    overflow: hidden;
}

#pallabi-window .flex-1,
#pallabi-window .overflow-y-auto {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

#pallabi-window .chat-interface,
#pallabi-window .p-3,
#pallabi-window .p-4 {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

#pallabi-window .recommend-tabs,
#pallabi-window .tab-container,
#pallabi-window .flex.space-x-2,
#pallabi-window .overflow-x-auto {
    order: 1 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    white-space: normal !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
    flex-shrink: 0 !important;
    position: relative;
    z-index: 15;
    pointer-events: auto !important;
}

.pk-pallabi-welcome {
    background: linear-gradient(135deg,#ffffff,#eef2ff 70%,#ecfeff) !important;
    border-color: #c7d2fe !important;
}

.pk-pallabi-chip { transition: transform .18s ease, box-shadow .18s ease; }
.pk-pallabi-chip:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,.08); }

.pk-pallabi-typing { display:inline-flex; gap:3px; align-items:center; }
.pk-pallabi-typing i { width:4px; height:4px; border-radius:50%; background:#64748b; animation:pkTyping 1s infinite ease-in-out; }
.pk-pallabi-typing i:nth-child(2){animation-delay:.15s}.pk-pallabi-typing i:nth-child(3){animation-delay:.3s}
@keyframes pkTyping { 0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1} }

.pk-featured-card { position:relative; overflow:hidden; }
.pk-featured-card::before { content:""; position:absolute; inset:0; background:linear-gradient(120deg,rgba(59,130,246,.08),transparent 45%,rgba(168,85,247,.09)); pointer-events:none; }
.pk-featured-card:hover { transform:translateY(-3px); box-shadow:0 20px 45px rgba(15,23,42,.12); }

.pk-pallabi-search-wrapper,
#pallabi-window form,
#pallabi-window .relative.flex {
    position: relative;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    order: 2 !important;
    z-index: 15;
    pointer-events: auto !important;
}

#pallabi-window form *,
.pk-pallabi-search-wrapper * {
    pointer-events: auto !important;
}

#pallabi-window input[type="text"],
#pallabi-window input[type="search"],
#pallabi-window .pk-pallabi-search,
#pallabi-window .chat-search-input {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: #ffffff !important;
    border-radius: 10px;
    padding: 8px 12px;
    pointer-events: auto !important;
    position: relative;
    z-index: 20;
}

#pallabi-window button,
#pallabi-window [type="submit"],
#pallabi-window .send-btn,
#pallabi-window svg,
#pallabi-window i {
    pointer-events: auto !important;
    z-index: 25;
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    #hero-slider-container::before,#hero-slider-container::after,#hero-slider-container .hero-slide > div:nth-child(2)::after { animation:none; }
    #hero-slider-container .hero-slide { animation:none; }
    .pk-slider-progress span { animation:none; width:100%; }
}

@media (max-width: 640px) {
    #pallabi-window { width: min(380px, calc(100vw - 20px)); height: min(500px, calc(100vh - 100px)) !important; }
}

.pk-featured-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pk-featured-card > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pk-featured-card .card-desc {
    min-height: 4.5rem;
}

.pk-featured-card .mt-5.flex {
    margin-top: auto;
    padding-top: 1.25rem;
    align-items: center;
}

.pk-featured-card a {
    white-space: nowrap;
    flex-shrink: 0;
}

.header-search {
  display: flex;
  align-items: center;
  width: 100%;
}

.color-timer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    font-family: sans-serif;
}
.timer-display {
    font-size: 54px;
    font-weight: bold;
    animation: pulseNumber 1s infinite alternate;
    margin-bottom: 10px;
}
.timer-label {
    font-size: 15px;
    color: #555;
}
@keyframes pulseNumber {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-title, .hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero-subtitle-tag {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #4ade80;
    margin-top: 8px;
    letter-spacing: -0.2px;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
    letter-spacing: 0.2px;
    margin-bottom: 25px;
    max-width: 600px;
}

/* ==========================================================
   Quiz — Trading Desk theme
   ========================================================== */
.pksa-quiz-wrapper {
  --pk-bg-1: #0b1220;
  --pk-bg-2: #0e1830;
  --pk-panel: #101a2e;
  --pk-line: #223050;
  --pk-text: #edf1f9;
  --pk-text-dim: #8a97b3;
  --pk-bull: #0ecb81;
  --pk-bull-dim: rgba(14, 203, 129, 0.12);
  --pk-bear: #f6465d;
  --pk-bear-dim: rgba(246, 70, 93, 0.12);
  --pk-gold: #f0b90b;
  --pk-gold-ink: #201802;

  position: relative;
  background:
    radial-gradient(60% 90% at 18% 0%, rgba(240, 185, 11, 0.07), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgba(14, 203, 129, 0.08), transparent 55%),
    var(--pk-bg-1);
  padding: 64px 20px;
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.pksa-quiz-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px);
  mask-image: radial-gradient(60% 70% at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}

.pksa-quiz-card {
  position: relative;
  background: linear-gradient(180deg, var(--pk-panel), var(--pk-bg-2));
  border: 1px solid var(--pk-line);
  border-radius: 14px;
  padding: 44px 40px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: var(--pk-text);
  text-align: left;
  overflow: hidden;
}

.pksa-quiz-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pk-bear), var(--pk-gold) 50%, var(--pk-bull));
}

.pksa-welcome-box {
  text-align: center;
  padding: 12px 0 4px;
}

.pksa-welcome-box h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pk-text);
  margin-bottom: 14px;
}

.pksa-welcome-box p {
  color: var(--pk-text-dim);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.pksa-welcome-box p strong {
  color: var(--pk-text);
}

.pksa-start-btn {
  background: var(--pk-gold);
  color: var(--pk-gold-ink);
  border: none;
  padding: 15px 42px;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 30px rgba(240, 185, 11, 0.25);
}

.pksa-start-btn::after {
  content: "  →";
}

.pksa-start-btn:hover {
  transform: translateY(-2px);
  background: #ffc928;
  box-shadow: 0 12px 34px rgba(240, 185, 11, 0.4);
}

.pksa-start-btn:active {
  transform: translateY(0);
}

.pksa-progress {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pk-text-dim);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pk-line);
}

.pksa-progress #pksa-q-num {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pk-gold);
}

.pksa-question-text {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--pk-text);
  margin-bottom: 32px;
  min-height: 55px;
  padding-left: 18px;
  border-left: 3px solid var(--pk-line);
}

.pksa-btn-row {
  display: flex;
  gap: 14px;
}

.pksa-btn {
  flex: 1;
  padding: 15px 20px;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
}

.pksa-yes {
  background: var(--pk-bull-dim);
  border-color: rgba(14, 203, 129, 0.35);
  color: var(--pk-bull);
}

.pksa-yes::before {
  content: "▲";
  font-size: 0.7em;
}

.pksa-yes:hover {
  background: var(--pk-bull);
  color: #052d1e;
  transform: translateY(-2px);
}

.pksa-no {
  background: var(--pk-bear-dim);
  border-color: rgba(246, 70, 93, 0.35);
  color: var(--pk-bear);
}

.pksa-no::before {
  content: "▼";
  font-size: 0.7em;
}

.pksa-no:hover {
  background: var(--pk-bear);
  color: #350a10;
  transform: translateY(-2px);
}

.pksa-results-box h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--pk-text);
  text-align: center;
}

.pksa-score-display {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  color: var(--pk-text-dim);
  margin-bottom: 6px;
  text-align: center;
}

.pksa-score-display #pksa-final-score {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--pk-text);
}

.pksa-level-display {
  font-size: 1.05rem;
  color: var(--pk-text-dim);
  font-weight: 600;
  margin-bottom: 28px;
  text-align: center;
}

.pksa-level-display #pksa-user-level {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(240, 185, 11, 0.12);
  border: 1px solid rgba(240, 185, 11, 0.4);
  color: var(--pk-gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.pksa-recommendation-box {
  background: var(--pk-bg-1);
  border: 1px solid var(--pk-line);
  border-top: 2px solid var(--pk-gold);
  padding: 24px 26px;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.65;
  color: #dbe2f0;
  margin-bottom: 24px;
}

.pksa-recommendation-box strong {
  color: var(--pk-text);
}

.pksa-picks-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pk-text);
  margin-bottom: 12px;
}

.pksa-course-picks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pksa-picks-empty {
  color: var(--pk-text-dim);
  font-size: 0.95rem;
}

.pksa-pick-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--pk-bg-1);
  border: 1px solid var(--pk-line);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}

.pksa-pick-card:hover {
  border-color: var(--pk-gold);
}

.pksa-pick-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pk-text);
}

.pksa-pick-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--pk-text-dim);
  margin-top: 3px;
}

.pksa-pick-btn {
  flex-shrink: 0;
  background: rgba(240, 185, 11, 0.12);
  border: 1px solid rgba(240, 185, 11, 0.4);
  color: var(--pk-gold);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.pksa-pick-btn:hover {
  background: var(--pk-gold);
  color: var(--pk-gold-ink);
}

.pksa-counsellor-box {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.1), rgba(14, 203, 129, 0.06));
  border: 1px solid var(--pk-line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pksa-counsellor-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pksa-counsellor-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(240, 185, 11, 0.15);
  color: var(--pk-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.pksa-counsellor-copy h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--pk-text);
  margin-bottom: 4px;
}

.pksa-counsellor-copy p {
  font-size: 0.88rem;
  color: var(--pk-text-dim);
  line-height: 1.5;
}

.pksa-counsellor-actions {
  display: flex;
  gap: 12px;
}

.pksa-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.pksa-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.pksa-cta-call {
  background: var(--pk-gold);
  color: var(--pk-gold-ink);
}

.pksa-cta-whatsapp {
  background: #25d366;
  color: #06210f;
}

.pksa-start-btn:focus-visible,
.pksa-btn:focus-visible,
.pksa-pick-btn:focus-visible,
.pksa-cta-btn:focus-visible {
  outline: 2px solid var(--pk-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pksa-start-btn,
  .pksa-btn,
  .pksa-pick-card,
  .pksa-pick-btn,
  .pksa-cta-btn {
    transition: none;
  }
  .pksa-start-btn:hover,
  .pksa-yes:hover,
  .pksa-no:hover,
  .pksa-cta-btn:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .pksa-quiz-card {
    padding: 32px 22px;
  }
  .pksa-welcome-box h2 {
    font-size: 1.6rem;
  }
  .pksa-btn-row {
    flex-direction: column;
  }
  .pksa-pick-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .pksa-pick-btn {
    align-self: stretch;
    text-align: center;
  }
  .pksa-counsellor-actions {
    flex-direction: column;
  }
}

.pk-logo-holder {
    aspect-ratio: 2.35 / 1;
    height: clamp(40px, 6vw, 70px);
    flex-shrink: 0;
}

.pk-logo-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pksa-location-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}

.pksa-location-section h2 {
    margin: 0 0 15px;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.pksa-location-section p {
    margin: 0 auto;
    max-width: 750px;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

@media (max-width: 640px) {
    .pksa-location-section {
        padding: 35px 16px;
    }

    .pksa-location-section h2 {
        font-size: 23px;
    }

    .pksa-location-section p {
        font-size: 15px;
    }
}

/* =========================================
   PKSA PREMIUM HEADER
   ========================================= */
.pksa-premium-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.pksa-header-inner {
    max-width: 1280px;
    height: 78px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.pksa-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.pk-logo-holder {
    width: 155px;
    aspect-ratio: 2.35 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.pk-logo-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pksa-premium-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
}

.pksa-nav-link {
    position: relative;
    padding: 10px 17px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pksa-nav-link:hover {
    color: #0b1f3a;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.pksa-nav-link.active {
    color: #0b1f3a;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10);
}

.pksa-nav-link.active::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 5px;
    height: 2px;
    background: #e87516;
    border-radius: 10px;
}

.pksa-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 5px;
    padding: 10px 17px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #e87516, #f28c28);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(232, 117, 22, 0.25);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pksa-nav-cta:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #d9650d, #e87516);
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(232, 117, 22, 0.32);
}

.pksa-nav-cta i {
    font-size: 11px;
}

.pksa-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pksa-call-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px 6px 7px;
    color: #0b1f3a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 11px;
    transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pksa-call-btn:hover {
    color: #d9650d;
    border-color: #e87516;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.pksa-call-icon {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #0b1f3a;
    border-radius: 8px;
    font-size: 12px;
    transition: background 0.25s ease, color 0.25s ease;
}

.pksa-call-btn:hover .pksa-call-icon {
    background: #e87516;
}

.pksa-brochure-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: #0b1f3a;
    border: 1px solid #0b1f3a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(11, 31, 58, 0.12);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pksa-brochure-btn:hover {
    color: #ffffff;
    background: #142f50;
    border-color: #e87516;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(11, 31, 58, 0.18);
}

.pksa-brochure-btn i {
    color: #f28c28;
    font-size: 11px;
}

.pksa-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pksa-mobile-call,
.pksa-mobile-menu {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1f3a;
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pksa-mobile-menu i {
    font-size: 17px;
    line-height: 1;
}

.pksa-mobile-call:hover,
.pksa-mobile-menu:hover {
    color: #e87516;
    background: #fff7ed;
    border-color: #e87516;
}

.pksa-mobile-call:active,
.pksa-mobile-menu:active {
    transform: scale(0.95);
}

.pksa-mobile-drawer {
    display: none;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px 24px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
    z-index: 49;
}

.pksa-mobile-drawer:not(.hidden) {
    display: block;
}

@media (max-width: 767px) {
    .pksa-header-inner {
        height: 68px;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    /* Hide desktop elements */
    .pksa-premium-nav,
    .pksa-header-actions {
        display: none !important;
    }

    /* Logo stays on the left */
    .pksa-logo-link {
        flex-shrink: 0;
    }

    /* Actions container acts as the middle slot */
    .pksa-mobile-actions {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
    }

    /* Centered Call Button Pill */
    .pksa-mobile-call-pill {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #0b1f3a;
        color: #ffffff;
        padding: 6px 10px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 10.5px; /* Slightly adjusted to fit perfectly */
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(11, 31, 58, 0.2);
        white-space: nowrap;
    }

    /* Menu button stays pinned to the right */
    #mobile-menu-btn,
    .pksa-mobile-menu {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0b1f3a;
        background: #f8fafc;
        border: 1px solid #dbe2ea;
        border-radius: 10px;
    }
}
@media (min-width: 768px) {
    .pksa-mobile-actions,
    .pksa-mobile-drawer {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .pksa-header-inner {
        padding: 0 12px;
    }
    .pk-logo-holder {
        width: 115px;
    }
    .pksa-mobile-call,
    .pksa-mobile-menu {
        width: 38px;
        height: 38px;
    }
}