/*
 * PhD Programme — Page-Specific Styles
 * Shared design system: srusti-design-system.css (loaded first)
 */

/* ══════════ HERO VISUAL ══════════ */
.phd-visual { position: relative; width: 420px; height: 420px; flex-shrink: 0; }
.phd-circle { width: 100%; height: 100%; background: rgba(55,71,153,0.35); border: 1.5px solid rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: phd-pulse 3s ease-in-out infinite; }
@keyframes phd-pulse { 0%,100%{box-shadow:0 0 0 10px rgba(220,162,0,0.08),0 0 0 22px rgba(220,162,0,0.04);} 50%{box-shadow:0 0 0 18px rgba(220,162,0,0.12),0 0 0 36px rgba(220,162,0,0.06);} }
@media(prefers-reduced-motion:reduce){.phd-circle{animation:none;}}
.phd-circle svg { width: 120px; height: 120px; stroke: var(--gold); }

/* ══════════ STICKY SECTION NAV ══════════ */
.phd-nav-sticky {
    position: sticky;
    top: 0;
    z-index: 100;    
    padding: 14px 0;
}

/* ══════════ TAB NAVIGATION (now nav pills) ══════════ */
.phd-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.phd-tab { font-family: "Poppins",sans-serif; font-size: 12px; font-weight: 600; padding: 10px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--blue); background: var(--white); color: var(--blue); cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.phd-tab:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--navy); }
.phd-tab.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Each section has a top scroll-margin so the sticky nav doesn't cover it */
.phd-section { scroll-margin-top: 80px; }

/* ══════════ SECTION HEADER ══════════ */
.panel-header { margin-bottom: 24px; }
.panel-header h3 { font-family: "Anton",sans-serif; font-size: clamp(22px,3vw,34px); color: var(--navy); }

/* ══════════ CONTENT BLOCKS ══════════ */
.phd-text-block { max-width: 900px; margin-bottom: 24px; }
.phd-text-block p { font-size: 15px; color: var(--body-gray); line-height: 1.8; }

.phd-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.phd-list-block { max-width: 860px; }

.phd-ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.phd-ul li { font-size: 15px; color: var(--charcoal); line-height: 1.65; padding: 14px 18px; background: var(--off-white); border-radius: var(--radius-sm); border-left: 4px solid var(--gold); }
.phd-ul li a { color: var(--blue); font-weight: 600; }

/* ══════════ SUB-SECTIONS ══════════ */
.phd-sub-section { margin-bottom: 32px; max-width: 860px; }
.phd-sub-section p { font-size: 15px; color: var(--body-gray); line-height: 1.75; }
.phd-sub-section a { color: var(--blue); font-weight: 600; }

.phd-sub-label {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-family: "Antonio",sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ══════════ DOCS GRID (Application Procedure) ══════════ */
.phd-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin-bottom: 32px; }

/* ══════════ STEPS TO APPLY ══════════ */
.phd-steps { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.phd-step { display: flex; gap: 18px; align-items: flex-start; }
.phd-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: "Anton",sans-serif; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phd-step p { font-size: 14.5px; color: var(--charcoal); line-height: 1.65; padding-top: 6px; }
.phd-step a { color: var(--blue); font-weight: 600; }

/* ══════════ FEE TABLE ══════════ */
.phd-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); max-width: 860px; }
.phd-table { width: 100%; border-collapse: collapse; font-family: "Poppins",sans-serif; font-size: 14px; background: var(--white); }
.phd-table thead th { background: var(--navy); color: var(--white); font-family: "Antonio",sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 18px; text-align: left; }
.phd-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--charcoal); }
.phd-table tbody tr:hover { background: var(--gold-pale); }
.phd-table tbody tr:last-child td { border-bottom: none; }

/* ══════════ IMPORTANT DATES ══════════ */
.phd-dates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 760px; }
.phd-date-card { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: var(--radius-lg); padding: 22px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.phd-date-label { font-family: "Antonio",sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 8px; }
.phd-date-val { font-family: "Anton",sans-serif; font-size: 18px; color: var(--navy); }

/* ══════════ CONTACT CARD ══════════ */
.phd-contact-card { max-width: 500px; background: var(--white); border: 1px solid var(--border); border-left: 5px solid var(--gold); border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.phd-contact-icon { width: 48px; height: 48px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phd-contact-icon svg { width: 22px; height: 22px; }
.phd-contact-body p { font-size: 15px; color: var(--charcoal); margin-bottom: 6px; line-height: 1.6; }
.phd-contact-body a { color: var(--blue); font-weight: 600; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 768px) {
    .phd-docs-grid  { grid-template-columns: 1fr; }
    .phd-dates-grid { grid-template-columns: 1fr; }
    .phd-contact-card { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 480px) {
    .phd-cta-row { flex-direction: column; }
}
