/* ==========================================================
   PILLAR PAGE ENHANCEMENTS (Modeled after about.php)
   Shared across all KAY Scholar Course Pillar Pages
   ========================================================== */

/* Hero Banner & Image Styling */
.pillar-hero-img-box {
    position: relative;
    z-index: 1;
    padding: 10px;
}

.pillar-hero-img-box .img-holder {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(26, 23, 41, 0.12);
    border: 4px solid #ffffff;
    position: relative;
}

.pillar-hero-img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pillar-hero-img-box:hover img {
    transform: scale(1.03);
}

.pillar-hero-badge {
    position: absolute;
    bottom: -15px;
    right: 25px;
    background: linear-gradient(135deg, #1A1729 0%, #4540E1 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(69, 64, 225, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.pillar-hero-badge i {
    color: #F2BC00;
    font-size: 16px;
}

/* Feature Icon Color Override */
.wpo-about-section .wpo-about-wrap .wpo-about-text .wpo-about-features-wrap .wpo-about-features-item .icon i {
    color: var(--feature-accent) !important;
    font-size: 24px;
    line-height: 1;
}

/* Hero Action Buttons */
.pillar-action-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    max-width: 620px;
}

.pillar-action-btns .theme-btn,
.pillar-action-btns .theme-btn-s2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-height: 52px;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    margin: 0 !important;
    box-sizing: border-box;
}

.pillar-action-btns .theme-btn {
    padding: 0 28px !important;
}

.pillar-action-btns .theme-btn-s2 {
    padding: 0 64px 0 26px !important;
}

.pillar-action-btns .theme-btn-s2::before {
    width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    top: 50% !important;
    right: 5px !important;
    transform: translateY(-50%) !important;
}

@media (max-width: 575px) {
    .pillar-action-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pillar-action-btns .theme-btn,
    .pillar-action-btns .theme-btn-s2 {
        width: 100%;
        height: 48px;
        min-height: 48px;
        font-size: 14.5px !important;
    }

    .pillar-action-btns .theme-btn-s2 {
        padding: 0 54px 0 24px !important;
    }

    .pillar-action-btns .theme-btn-s2::before {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
    }
}

/* Dedicated Pillar Card Action Button */
.pillar-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1A1729 0%, #4540E1 100%) !important;
    box-shadow: 0 8px 20px rgba(69, 64, 225, 0.28);
    transition: all 0.3s ease;
    text-decoration: none !important;
    border: none;
    line-height: 1.4;
    white-space: nowrap;
    position: relative;
}

.pillar-card-btn::before,
.pillar-card-btn::after {
    display: none !important;
    content: none !important;
}

.pillar-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(69, 64, 225, 0.42);
    background: linear-gradient(135deg, #4540E1 0%, #764ba2 100%) !important;
    color: #ffffff !important;
}

.pillar-card-btn i {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.pillar-card-btn:hover i {
    transform: translateX(4px);
}

/* Pillar Feature Cards (Cards like about.php wpo-group-section) */
.pillar-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 18px;
    padding: 32px 26px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(92, 45, 145, 0.05);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(209, 150, 251, 0.5);
    box-shadow: 0 18px 40px rgba(69, 64, 225, 0.12);
}

.pillar-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #d196fb 0%, #f5d0fe 50%, #e9d5ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1A1729;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(209, 150, 251, 0.35);
}

.pillar-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #4540E1;
    background: #f3e8ff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.pillar-card h4 {
    color: #002147;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pillar-card p {
    color: #554F67;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Note Callout Box */
.pillar-note-box {
    background: #ffffff;
    border-left: 4px solid #4540E1;
    padding: 22px 28px;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 6px 24px rgba(0, 33, 71, 0.04);
    margin: 32px 0 0 0;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.pillar-note-box strong {
    color: #002147;
}

/* Stage / Roadmap Cards */
.pillar-roadmap-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 34px;
    box-shadow: 0 10px 35px rgba(0, 33, 71, 0.06);
    border: 1px solid #eef2f6;
    margin-bottom: 30px;
    position: relative;
}

.pillar-roadmap-card.stage-month1 {
    border-top: 5px solid #4540E1;
}

.pillar-roadmap-card.stage-month2 {
    border-top: 5px solid #F2BC00;
}

.pillar-roadmap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 18px;
}

.pillar-roadmap-header h3 {
    color: #002147;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.pillar-roadmap-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 16px;
    border-radius: 30px;
    background: #f3e8ff;
    color: #7928ca;
}

.stage-month2 .pillar-roadmap-badge {
    background: #fef3c7;
    color: #92400e;
}

.pillar-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .pillar-module-grid {
        grid-template-columns: 1fr;
    }
    .pillar-roadmap-card {
        padding: 24px 20px;
    }
}

.pillar-module-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    transition: all 0.25s ease;
}

.pillar-module-box:hover {
    background: #ffffff;
    border-color: #d196fb;
    box-shadow: 0 6px 20px rgba(209, 150, 251, 0.18);
}

.pillar-module-box h5 {
    color: #002147;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillar-module-box h5 i {
    color: #4540E1;
    font-size: 18px;
}

.pillar-module-box p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Step Process Box */
.pillar-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.pillar-process-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin: 32px 0;
}

@media (max-width: 1199px) {
    .pillar-process-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .pillar-process-grid,
    .pillar-process-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .pillar-process-grid,
    .pillar-process-grid-5 {
        grid-template-columns: 1fr;
    }
}

.pillar-process-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 26px 22px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 33, 71, 0.04);
    display: flex;
    flex-direction: column;
}

.pillar-process-card:hover {
    transform: translateY(-5px);
    border-color: #4540E1;
    box-shadow: 0 14px 30px rgba(69, 64, 225, 0.1);
}

.pillar-process-num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1A1729 0%, #4540E1 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 6px 14px rgba(69, 64, 225, 0.25);
}

.pillar-process-card h5 {
    color: #002147;
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pillar-process-card p {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Spotlight Callout Banner */
.pillar-spotlight-banner {
    background: linear-gradient(135deg, #1A1729 0%, #2e2852 100%);
    border-radius: 20px;
    padding: 42px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
    box-shadow: 0 16px 40px rgba(26, 23, 41, 0.16);
}

.pillar-spotlight-banner::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209, 150, 251, 0.22), transparent 70%);
    pointer-events: none;
}

.pillar-spotlight-banner h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pillar-spotlight-banner p {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.75;
    max-width: 800px;
    margin-bottom: 24px;
}

/* Questions / Checklist Cards */
.pillar-checklist-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.03);
}

.pillar-checklist-card:hover {
    border-color: #cbd5e1;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 33, 71, 0.06);
}

.pillar-checklist-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f3e8ff;
    color: #7928ca;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-checklist-body h5 {
    color: #002147;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pillar-checklist-body p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Accordion Styling */
.pillar-faq-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.pillar-faq-wrap .accordion-item {
    border: 1px solid #eef2f6;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.02);
}

.pillar-faq-wrap .accordion-button {
    font-size: 16.5px;
    font-weight: 700;
    color: #002147;
    padding: 18px 22px;
    background: #ffffff;
}

.pillar-faq-wrap .accordion-button:not(.collapsed) {
    color: #4540E1;
    background: #f8fafc;
    box-shadow: none;
}

.pillar-faq-wrap .accordion-body {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    padding: 20px 22px;
    background: #ffffff;
}

/* Final Action Section */
.pillar-final-cta {
    background: url('../images/noise.png'), linear-gradient(135deg, #1A1729 0%, #4540E1 100%);
    border-radius: 24px;
    padding: 56px 40px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 50px rgba(69, 64, 225, 0.25);
    margin-top: 40px;
}

.pillar-final-cta h3 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pillar-final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16.5px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.pillar-final-cta .btn-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pillar-final-cta .btn-gold {
    background: #F2BC00;
    color: #1A1729;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(242, 188, 0, 0.35);
}

.pillar-final-cta .btn-gold:hover {
    background: #ffffff;
    color: #1A1729;
    transform: translateY(-2px);
}

.pillar-final-cta .btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pillar-final-cta .btn-outline:hover {
    background: #ffffff;
    color: #1A1729;
    border-color: #ffffff;
    transform: translateY(-2px);
}
