/* ============================================================
   PAGE-PREMIUM.CSS
   Shared premium stylesheet for Academics & Admissions pages
   Design language: Blue/Teal gradient theme, Homepage-aligned
   ============================================================ */

/* ── Base ── */
.pp-page {
    background: var(--surface);
    overflow: hidden;
}

.pp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.pp-section {
    padding: 90px 0;
}

/* ── Eyebrow Row ── */
.pp-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.pp-line {
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    flex-shrink: 0;
}

.pp-eyebrow-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--teal);
    font-size: 0.78rem;
}

/* ── Section Title ── */
.pp-section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 52px;
}

.pp-accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.pp-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-soft));
    z-index: -1;
    opacity: 0.65;
    border-radius: 3px;
}

/* ── Intro Section ── */
.pp-intro-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--teal) 100%);
    padding: 60px 0;
}

.pp-intro-box {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.pp-intro-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-light);
    flex-shrink: 0;
}

.pp-intro-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.pp-intro-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 780px;
}

/* ── CTA Strip ── */
.pp-cta-strip {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--teal) 100%);
    padding: 60px 0;
}

.pp-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pp-cta-inner h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.pp-cta-inner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.pp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 28px rgba(58, 181, 174, 0.38);
}

.pp-cta-btn:hover {
    background: #fff;
    color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 12px 35px rgba(58, 181, 174, 0.45);
}

/* ============================================================
   INFRASTRUCTURE — Bento Grid
   ============================================================ */
.infra-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}

.ib-card {
    padding: 36px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
    cursor: default;
}

.ib-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(21, 45, 94, 0.18);
}

.ib-wide {
    grid-column: span 2;
}

.ib-tall {
    grid-row: span 2;
}

.ib-blue {
    background: linear-gradient(140deg, var(--surface-blue) 0%, #cfe0f3 100%);
    border: 1px solid rgba(91, 143, 196, 0.2);
}

.ib-teal {
    background: linear-gradient(140deg, var(--accent-soft) 0%, #b8eeeb 100%);
    border: 1px solid rgba(58, 181, 174, 0.2);
}

.ib-dark {
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.ib-accent {
    background: linear-gradient(140deg, var(--teal) 0%, var(--accent) 100%);
}

.ib-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.08;
    color: var(--primary-dark);
    font-family: 'Oswald', sans-serif;
    pointer-events: none;
}

.ib-dark .ib-num,
.ib-accent .ib-num {
    color: #fff;
    opacity: 0.12;
}

.ib-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(35, 70, 110, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.ib-dark .ib-icon,
.ib-accent .ib-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.ib-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.ib-dark h3,
.ib-accent h3 {
    color: #fff;
}

.ib-card p {
    font-size: 0.91rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.ib-dark p,
.ib-accent p {
    color: rgba(255, 255, 255, 0.78);
}

.ib-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ib-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.91rem;
    font-weight: 600;
}

.ib-list li i {
    color: var(--accent-light);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   NOTIFICATIONS — Policy Cards
   ============================================================ */
.pp-policy-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ppc-card {
    display: flex;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s;
}

.ppc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ppc-side {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 36px;
}

.ppc-orange .ppc-side {
    background: linear-gradient(180deg, #fff4e8, #feddc7);
}

.ppc-red .ppc-side {
    background: linear-gradient(180deg, #fde8e8, #ffc5c5);
}

.ppc-green .ppc-side {
    background: linear-gradient(180deg, #e8f7f0, #c0ebd8);
}

.ppc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ppc-orange .ppc-icon-wrap {
    background: rgba(234, 115, 23, 0.15);
    color: #ea7317;
}

.ppc-red .ppc-icon-wrap {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.ppc-green .ppc-icon-wrap {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.ppc-body {
    flex: 1;
    padding: 32px 36px;
}

.ppc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.ppc-top h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.ppc-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ppc-badge-orange {
    background: #fff0e0;
    color: #b45309;
}

.ppc-badge-red {
    background: #fee2e2;
    color: #b91c1c;
}

.ppc-badge-green {
    background: #dcfce7;
    color: #166534;
}

.ppc-body p {
    color: var(--text-mid);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.ppc-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.ppc-alert-warn {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #92400e;
}

.ppc-alert i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.ppc-check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.ppc-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.91rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.ppc-check-list li i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ppc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ppc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.ppc-chip i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ============================================================
   RULES — Premium Grid Cards  
   ============================================================ */
.rules-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
}

.rp-card {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s;
    box-shadow: var(--shadow-sm);
}

.rp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.rp-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px 18px;
    border-bottom: 1px solid var(--border);
}

.rp-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rp-blue .rp-card-head {
    border-left: 4px solid var(--primary);
}

.rp-red .rp-card-head {
    border-left: 4px solid #dc2626;
}

.rp-teal .rp-card-head {
    border-left: 4px solid var(--teal);
}

.rp-purple.rp-card-head {
    border-left: 4px solid #7c3aed;
}

.rp-orange.rp-card-head {
    border-left: 4px solid #ea7317;
}

.rp-blue .rp-icon-wrap {
    background: var(--surface-blue);
    color: var(--primary);
}

.rp-red .rp-icon-wrap {
    background: #fee2e2;
    color: #dc2626;
}

.rp-teal .rp-icon-wrap {
    background: var(--accent-soft);
    color: var(--teal);
}

.rp-purple .rp-icon-wrap {
    background: #ede9fe;
    color: #7c3aed;
}

.rp-orange .rp-icon-wrap {
    background: #fff4e8;
    color: #ea7317;
}

.rp-card-head h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
}

.rp-list {
    list-style: none;
    padding: 20px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rp-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.rp-list li i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.rp-ok {
    color: var(--accent);
}

.rp-no {
    color: #ef4444;
}

/* ============================================================
   ADMISSIONS PROCEDURE — Timeline
   ============================================================ */
.adm-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.adm-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    position: relative;
}

.adm-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--surface-blue);
    border: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.adm-step-num span {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
}

.adm-step-num--accent {
    background: var(--primary);
    border-color: var(--primary-dark);
}

.adm-step-num--accent span {
    color: #fff;
}

.adm-step-connector {
    position: absolute;
    left: 31px;
    top: 64px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--primary-light), var(--accent-soft));
}

.adm-step-connector--accent {
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.adm-step-connector--last {
    display: none;
}

.adm-step-card {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s;
}

.adm-step-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.adm-step-card--accent {
    background: linear-gradient(135deg, var(--surface-blue), #e8f3fb);
    border-color: var(--primary-light);
}

.adm-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.adm-step-card--accent .adm-step-icon {
    background: var(--primary);
    color: #fff;
}

.adm-step-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.adm-step-card p {
    font-size: 0.91rem;
    color: var(--text-mid);
    line-height: 1.75;
}

.adm-step-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.adm-step-cta:hover {
    gap: 14px;
    color: var(--teal);
}

.adm-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(35, 70, 110, 0.08);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================================
   ELIGIBILITY — Split Layout
   ============================================================ */
.elig-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: flex-start;
}

.elig-sub {
    color: var(--text-light);
    font-size: 0.93rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.elig-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.elig-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s;
}

.elig-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.elig-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.elig-icon-blue {
    background: var(--surface-blue);
    color: var(--primary);
}

.elig-icon-teal {
    background: var(--accent-soft);
    color: var(--teal);
}

.elig-icon-accent {
    background: #fef3c7;
    color: #b45309;
}

.elig-card-body h4 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.elig-card-body p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.elig-docs-card {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    border-radius: 22px;
    padding: 36px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(21, 45, 94, 0.32);
    position: sticky;
    top: 100px;
}

.elig-docs-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.elig-docs-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-light);
}

.elig-docs-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.elig-doc-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.elig-doc-item:last-of-type {
    border-bottom: none;
}

.elig-doc-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--accent-light);
    flex-shrink: 0;
    font-family: 'Oswald', sans-serif;
}

.elig-doc-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.elig-doc-item p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
}

.elig-docs-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.elig-docs-note i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--accent-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .infra-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-bento .ib-wide {
        grid-column: span 2;
    }

    .elig-layout {
        grid-template-columns: 1fr;
    }

    .elig-docs-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .pp-section {
        padding: 60px 0;
    }

    .pp-intro-box {
        flex-direction: column;
        gap: 20px;
    }

    .pp-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .infra-bento {
        grid-template-columns: 1fr;
    }

    .infra-bento .ib-wide,
    .infra-bento .ib-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .ppc-card {
        flex-direction: column;
    }

    .ppc-side {
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 20px 24px 12px;
    }

    .ppc-body {
        padding: 20px 24px 28px;
    }

    .rules-premium-grid {
        grid-template-columns: 1fr;
    }

    .adm-step {
        flex-direction: column;
    }

    .adm-step-num {
        align-self: flex-start;
    }

    .adm-step-connector {
        display: none;
    }

    .elig-layout {
        grid-template-columns: 1fr;
    }
}