/* ─────────────────────────────────────────────
   CAT 2026 Weekend Bootcamps (PYQ Bootcamp) - CATKing v5
   Follows the section-inner / section-label / section-title
   pattern used across the new-frontend static pages
   (see offline-centers.css) for visual consistency.
───────────────────────────────────────────── */

:root {
    --pyq-orange:    #FEA525;
    --pyq-orange-dk: #E8931A;
    --pyq-ink:       #0F1021;
    --pyq-white:     #ffffff;
    --pyq-line:      #E8E8E8;
    --pyq-muted:     #BFBAB2;
    --pyq-bg:        #F7F6F3;
}

/* ══════════════════════════════════════════
   BASE
══════════════════════════════════════════ */
.pyq-page {
    font-family: 'DM Sans', sans-serif;
    background: var(--pyq-bg);
    color: var(--pyq-ink);
    -webkit-font-smoothing: antialiased;
}

.pyq-page .section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

.pyq-page .section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pyq-orange);
    margin-bottom: 12px;
}

.pyq-page .section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--pyq-ink);
    margin-bottom: 12px;
    line-height: 1.2;
}

.pyq-page .section-title em {
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
    color: var(--pyq-orange);
    font-style: italic;
    font-weight: 600;
}

.pyq-page .section-intro {
    font-size: 15px;
    color: #555;
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.pyq-hero {
    background: var(--pyq-ink);
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
}

.pyq-hero::before {
    content: '';
    position: absolute;
    left: -180px; top: 50%;
    transform: translateY(-50%);
    width: 420px; height: 420px;
    background: radial-gradient(circle, #4B3621 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
}

.pyq-hero::after {
    content: '';
    position: absolute;
    right: -120px; top: 10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, #0D3D2F 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.8;
}

.pyq-hero .section-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pyq-hero-eyebrow {
    display: inline-block;
    background: rgba(254,165,37,0.15);
    color: var(--pyq-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 24px;
    border: 1px solid rgba(254,165,37,0.3);
}

.pyq-hero h1 {
    font-size: 50px;
    font-weight: 800;
    color: var(--pyq-white);
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 720px;
}

.pyq-hero h1 em {
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
    color: var(--pyq-orange);
    font-style: italic;
    font-weight: 600;
}

.pyq-hero .hero-desc {
    font-size: 16px;
    color: var(--pyq-muted);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.pyq-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.pyq-price-pill {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--pyq-white);
    padding: 14px 22px;
    border-radius: 12px;
}

.pyq-price-pill .amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--pyq-orange);
}

.pyq-price-pill .label {
    font-size: 12px;
    color: var(--pyq-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pyq-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.pyq-btn-primary {
    background: var(--pyq-orange);
    color: #000;
}

.pyq-btn-primary:hover {
    background: var(--pyq-orange-dk);
    transform: translateY(-1px);
    color: #000;
}

.pyq-btn-ghost {
    background: transparent;
    color: var(--pyq-white);
    border-color: rgba(255,255,255,0.25);
}

.pyq-btn-ghost:hover {
    border-color: var(--pyq-orange);
    /* !important: the sitewide `a:hover{color:inherit!important}` rule in
       master.blade.php would otherwise win and turn this ink-dark on hover */
    color: var(--pyq-white) !important;
    transform: translateY(-1px);
}

.pyq-hero-faculty {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pyq-faculty-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--pyq-white);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px 8px 8px;
    border-radius: 40px;
}

.pyq-faculty-chip .chip-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pyq-faculty-chip .chip-cred {
    color: var(--pyq-orange);
    font-weight: 700;
}

/* ══════════════════════════════════════════
   TABLE CARD — shared shell for every
   info / offerings / schedule table
══════════════════════════════════════════ */
.pyq-table-card {
    background: var(--pyq-white);
    border: 2px solid var(--pyq-ink);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 32px rgba(15,16,33,0.12);
}

.pyq-table-banner {
    background: var(--pyq-ink);
    border-bottom: 2px solid var(--pyq-ink);
    padding: 18px 28px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--pyq-white);
}

.pyq-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.pyq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.pyq-table th,
.pyq-table td {
    padding: 16px 28px;
    text-align: left;
    border-bottom: 1px solid rgba(15,16,33,0.14);
    border-right: 1px solid rgba(15,16,33,0.1);
    vertical-align: top;
}

.pyq-table th:last-child,
.pyq-table td:last-child {
    border-right: none;
}

.pyq-table tr:last-child td,
.pyq-table tr:last-child th {
    border-bottom: none;
}

.pyq-table th {
    width: 240px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    background: #F2F1EC;
}

.pyq-table td {
    color: #333;
    font-weight: 500;
}

.pyq-table td strong {
    color: var(--pyq-ink);
    font-weight: 800;
}

.pyq-table tbody tr:nth-child(even) td {
    background: #FBFAF7;
}

.pyq-table tbody tr:hover td {
    background: rgba(254,165,37,0.08);
}

.pyq-table .price-cell {
    color: var(--pyq-orange-dk);
    font-weight: 800;
    font-size: 16px;
}

.pyq-table ul.offer-list {
    margin: 0;
    padding-left: 18px;
}

.pyq-table ul.offer-list li {
    margin-bottom: 6px;
}

.pyq-table ul.offer-list li:last-child {
    margin-bottom: 0;
}

/* Offerings table — numbered row-label cell (overrides the generic
   .pyq-table th sizing/uppercase treatment meant for the wide label column) */
.pyq-table th.pyq-offer-num {
    width: 64px;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    background: var(--pyq-white);
}

.pyq-offer-num span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pyq-ink);
    color: var(--pyq-orange);
    font-weight: 800;
    font-size: 13px;
}

/* In-table sub-group divider row (e.g. "Mocks & Analysis" inside What's Included).
   !important guards against the zebra-stripe/hover rules below, which are
   more specific (tbody tr td) and would otherwise flip this row's background. */
.pyq-table td.pyq-group-row {
    background: var(--pyq-ink) !important;
    color: var(--pyq-orange) !important;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 10px 28px;
}

/* Schedule table */
.pyq-schedule-table th,
.pyq-schedule-table td {
    width: auto;
}

.pyq-schedule-table thead th {
    background: var(--pyq-ink);
    color: var(--pyq-white);
    font-size: 11.5px;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-bottom: none;
}

.pyq-schedule-table tbody tr:nth-child(even) td {
    background: #FBFAF7;
}

.pyq-month-cell {
    font-weight: 800;
    color: var(--pyq-ink);
    background: #F2F1EC !important;
    white-space: nowrap;
    border-right: 1px solid rgba(15,16,33,0.14) !important;
}

.pyq-schedule-table .date-cell {
    white-space: nowrap;
    color: #666;
    font-weight: 600;
}

/* Wrapper so a "Completed" tag sits right after the date text, but still
   lines up in a straight column across rows: the date text gets a fixed
   min-width (wide enough for the longest date range, "31st Oct - 1st Nov"),
   so the tag that follows always starts at the same x-position regardless
   of how short or long any individual row's date text is. */
.pyq-date-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pyq-date-text {
    display: inline-block;
    min-width: 150px;
}

.pyq-completed-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    background: var(--pyq-orange);
    color: var(--pyq-ink);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.pyq-completed-tag svg {
    flex-shrink: 0;
}

.pyq-schedule-table .topic-cell {
    font-weight: 700;
    color: var(--pyq-ink);
}

.pyq-schedule-note {
    padding: 16px 28px;
    background: #F2F1EC;
    border-top: 2px solid var(--pyq-ink);
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.pyq-schedule-note strong {
    color: var(--pyq-ink);
    font-weight: 800;
}

/* ══════════════════════════════════════════
   OVERVIEW GRID — "Course Overview", as info cards
   instead of a label/value table
══════════════════════════════════════════ */
.pyq-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.pyq-overview-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pyq-overview-icon,
.pyq-feature-icon {
    width: 44px; height: 44px;
    background: rgba(254,165,37,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pyq-overview-icon svg,
.pyq-feature-icon svg {
    width: 20px; height: 20px;
    color: var(--pyq-orange-dk);
}

.pyq-overview-text {
    min-width: 0;
}

.pyq-overview-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 6px;
}

.pyq-overview-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--pyq-ink);
    line-height: 1.4;
}

/* ══════════════════════════════════════════
   SUB-HEADINGS — "What's Included" / "Mocks & Analysis"
══════════════════════════════════════════ */
.pyq-subhead {
    margin-bottom: 24px;
}

.pyq-subhead-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--pyq-ink);
}

/* ══════════════════════════════════════════
   FEATURE GRID — "What's Included" core offerings,
   as icon cards instead of a numbered table
══════════════════════════════════════════ */
.pyq-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
    margin-bottom: 48px;
}

.pyq-feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pyq-feature-text {
    min-width: 0;
}

.pyq-feature-name {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--pyq-ink);
    margin-bottom: 4px;
    line-height: 1.35;
}

.pyq-feature-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.45;
}

/* ══════════════════════════════════════════
   CHECK GRID — "Mocks & Analysis", as a checklist
   instead of a table
══════════════════════════════════════════ */
.pyq-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pyq-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.pyq-check-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    width: 10px;
    height: 10px;
    color: var(--pyq-ink);
    background: var(--pyq-orange);
    border-radius: 50%;
    padding: 4px;
    box-sizing: content-box;
}

.pyq-check-item strong {
    color: var(--pyq-ink);
    font-weight: 800;
}

/* ══════════════════════════════════════════
   MAIN CONTENT SECTIONS
══════════════════════════════════════════ */
.pyq-section {
    padding: 70px 0;
}

.pyq-section.alt {
    background: var(--pyq-white);
}

/* ══════════════════════════════════════════
   FACULTY GRID
══════════════════════════════════════════ */
.pyq-faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pyq-faculty-card {
    background: var(--pyq-white);
    border: 1px solid var(--pyq-line);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pyq-faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
    border-color: var(--pyq-orange);
}

.pyq-faculty-photo {
    width: 96px; height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    border: 3px solid rgba(254,165,37,0.25);
}

.pyq-faculty-photo-fallback {
    width: 96px; height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pyq-ink);
    color: var(--pyq-orange);
    font-size: 28px;
    font-weight: 800;
    border: 3px solid rgba(254,165,37,0.25);
}

.pyq-faculty-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--pyq-ink);
    margin-bottom: 4px;
}

.pyq-faculty-cred {
    font-size: 13px;
    color: var(--pyq-orange-dk);
    font-weight: 700;
}

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.pyq-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.pyq-section-head-row .section-title {
    margin-bottom: 0;
}

.pyq-testi-nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pyq-testi-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--pyq-white);
    border: 1px solid var(--pyq-line);
    color: var(--pyq-ink);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pyq-testi-arrow svg {
    width: 18px; height: 18px;
}

.pyq-testi-arrow:hover {
    background: var(--pyq-orange);
    border-color: var(--pyq-orange);
    color: #000;
}

.pyq-testi-arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.pyq-testi-swiper {
    padding-top: 28px;
    overflow: hidden;
}

.pyq-testi-swiper .swiper-slide {
    height: auto;
}

/* Card: photo + name top-left, quote spans the full card width below */
.pyq-testimonial-card {
    height: 100%;
    background: var(--pyq-white);
    border: 1px solid var(--pyq-line);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pyq-testimonial-card:hover,
.pyq-testimonial-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15,16,33,0.08);
    border-color: var(--pyq-orange);
}

.pyq-testimonial-card:focus-visible {
    outline: 2px solid var(--pyq-orange);
    outline-offset: 2px;
}

.pyq-testimonial-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.pyq-testimonial-photo {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.pyq-testimonial-headtext {
    min-width: 0;
}

.pyq-testimonial-quote {
    width: 100%;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.pyq-testimonial-name {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--pyq-ink);
}

.pyq-testimonial-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--pyq-orange-dk);
}

.pyq-testimonial-sub {
    font-size: 11px;
    color: #999;
    margin-top: 1px;
}

/* ══════════════════════════════════════════
   TESTIMONIAL POP-UP (full quote, blurred backdrop)
══════════════════════════════════════════ */
.pyq-testi-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pyq-testi-modal.is-open {
    display: flex;
}

.pyq-testi-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,16,33,0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pyq-testi-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--pyq-white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    animation: pyqTestiModalPop 0.22s ease;
}

@keyframes pyqTestiModalPop {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.pyq-testi-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #F2F1EC;
    color: var(--pyq-ink);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.pyq-testi-modal-close:hover {
    background: var(--pyq-orange);
    color: #000;
}

.pyq-testi-modal-card .pyq-testimonial-quote {
    color: #333;
}

/* ══════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════ */
.pyq-cta {
    background: var(--pyq-ink);
    position: relative;
    overflow: hidden;
}

.pyq-cta::before {
    content: '';
    position: absolute;
    right: -200px; top: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, #0D3D2F 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.7;
}

.pyq-cta .section-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pyq-cta .section-title { color: var(--pyq-white); }

.pyq-cta-intro {
    font-size: 15px;
    color: var(--pyq-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.pyq-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pyq-faculty-grid  { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .pyq-table th      { width: 180px; }
    .pyq-overview-grid,
    .pyq-feature-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pyq-hero          { padding: 60px 0 80px; }
    .pyq-hero h1       { font-size: 32px; }
    .pyq-page .section-title { font-size: 26px; }
    .pyq-faculty-grid  { grid-template-columns: 1fr; }
    .pyq-page .section-inner { padding-left: 16px; padding-right: 16px; }
    .pyq-table th,
    .pyq-table td      { padding: 12px 16px; }
    .pyq-table th      { width: 130px; }
    .pyq-overview-grid,
    .pyq-feature-grid  { grid-template-columns: 1fr; }
    .pyq-check-grid    { grid-template-columns: 1fr; padding: 20px; }
    .pyq-section-head-row { flex-direction: column; align-items: flex-start; }
}
