/* ============================================================
   TOGABE SCHOOLS — Academic Programs Page Stylesheet
   ============================================================ */

/* ── Programs Nav Bar ── */
.programs-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 200;
    box-shadow: var(--shadow-sm);
}
.programs-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.programs-nav-inner::-webkit-scrollbar { display: none; }

.programs-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}
.programs-nav-link [data-lucide] { width: 16px; height: 16px; }
.programs-nav-link:hover {
    color: var(--primary);
    background: var(--primary-xlight);
}
.programs-nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ── Program Section ── */
.program-section {
    padding: 5rem 0;
    scroll-margin-top: 130px;
}
.program-section:nth-child(even) {
    background: var(--bg-section);
}
.program-section:nth-child(odd) {
    background: #fff;
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.program-grid.reverse {
    direction: rtl;
}
.program-grid.reverse > * {
    direction: ltr;
}

/* ── Program Visual ── */
.program-visual {}
.program-visual-box {
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.program-visual-box::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}
.program-visual-box::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

.program-icon-large {
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
}
.program-icon-large [data-lucide] { width: 48px; height: 48px; color: #fff; }

.program-visual-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.program-visual-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

.program-meta-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.program-meta-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 0.35rem 0.875rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.program-meta-badge [data-lucide] { width: 12px; height: 12px; }

/* ── Program Content ── */
.program-content {}
.program-content-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.program-content h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}
.program-content-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.program-content p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Program Objectives */
.program-objectives {
    margin: 1.75rem 0;
}
.program-objectives-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.program-objectives-title [data-lucide] { width: 15px; height: 15px; }

.program-objective-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.6;
}
.program-objective-item:last-child { border-bottom: none; }
.program-objective-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.program-objective-dot [data-lucide] { width: 11px; height: 11px; }

/* Program Highlights */
.program-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.75rem 0;
}
.program-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-body);
    border: 1px solid var(--border);
}
.program-highlight-icon {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.program-highlight-icon [data-lucide] { width: 15px; height: 15px; }

/* ── Overview Banner ── */
.programs-overview {
    background: var(--bg-section);
    padding: 4rem 0;
}
.programs-overview-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.25rem;
}
.program-overview-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.program-overview-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.program-overview-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.1rem;
}
.program-overview-icon [data-lucide] { width: 26px; height: 26px; }
.program-overview-card h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.program-overview-card p  { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ── Admissions CTA ── */
.programs-cta {
    background: #fff;
    padding: 5rem 0;
}
.programs-cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.programs-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.programs-cta-box > * { position: relative; z-index: 1; }
.programs-cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.programs-cta-box p  {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .programs-overview-grid { grid-template-columns: repeat(2,1fr); }
    .program-highlights       { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .program-grid,
    .program-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
    .program-visual        { display: none; }
    .programs-overview-grid { grid-template-columns: repeat(2,1fr); }
    .programs-cta-box      { padding: 2.5rem 1.5rem; }
    .programs-cta-box h2   { font-size: 1.6rem; }
    .programs-nav-link     { padding: 0.875rem 1rem; font-size: 0.82rem; }
}
@media (max-width: 480px) {
    .programs-overview-grid { grid-template-columns: 1fr; }
}