/* =========================================================
   Aurelia University — components.css
   Buttons, cards, forms, nav widgets, badges, page-specific UI
   ========================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--accent);
  color: var(--btn-secondary-text);
}
.btn-secondary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
}
.btn-ghost:hover { background: var(--primary-light); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.86rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ---------- Badges / tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.badge.badge--accent { background: #FFF1DF; color: var(--accent-dark); }
.badge.badge--outline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.12);
  border-color: #D9CFF6;
}

/* Course card */
.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.course-card__media {
  height: 140px;
  background: linear-gradient(135deg, var(--primary-light), #FFF3E6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.course-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.course-card__meta span { display: inline-flex; align-items: center; gap: 5px; }

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.course-card__fee { font-weight: 700; color: var(--text); }
.course-card__fee small { font-weight: 500; color: var(--text-muted); }

/* Category card (homepage) */
.category-card {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}

/* Feature / why-choose-us card */
.feature-card { padding: 26px 22px; }
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #FFF3E6;
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* Stat card (trust bar) */
.stat {
  text-align: center;
  padding: 8px 12px;
}
.stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--primary);
  font-weight: 800;
}
.stat span { color: var(--text-muted); font-size: 0.86rem; }

/* Testimonial */
.testimonial-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-card__quote { color: var(--text); font-size: 1rem; }
.testimonial-card__person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card__person strong { display: block; font-size: 0.92rem; }
.testimonial-card__person span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 84px 64px;
}

.hero__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(124,58,237,0.16), rgba(253,186,116,0.10) 55%, transparent 75%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; text-align: center; }

.hero p.lead { margin-top: 16px; max-width: 52ch; margin-inline: auto; }

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
  max-width: 560px;
  margin-inline: auto;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.96rem;
  min-width: 0;
}
.search-bar button { border-radius: 999px; flex-shrink: 0; }
.search-bar svg { color: var(--text-muted); flex-shrink: 0; }

/* World-clock strip (signature element) */
.worldclock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}
.worldclock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  min-width: 108px;
}
.worldclock__item .city { font-size: 0.76rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.worldclock__item .time { font-size: 1.05rem; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-block: 28px;
}
.trust-bar__logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .hint { font-size: 0.8rem; color: var(--text-muted); }

.field input,
.field select,
.field textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
  outline: none;
}

.field textarea { resize: vertical; min-height: 120px; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}
.field .error-msg {
  display: none;
  color: var(--danger);
  font-size: 0.8rem;
}
.field.has-error .error-msg { display: block; }

.checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; color: var(--text-muted); }
.checkbox-row input { width: auto; margin-top: 3px; }

.form-card { padding: 32px; max-width: 520px; margin-inline: auto; }

.form-note {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 18px;
}

.form-success {
  display: none;
  background: #EEFBF3;
  border: 1px solid #BFEBD3;
  color: #1E7C4E;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-block: 20px;
}
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Course catalog layout ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) {
  .catalog-layout { grid-template-columns: 1fr; }
}

.filters {
  padding: 22px;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

.filters h3 { margin-bottom: 4px; }

.filter-group { border-top: 1px solid var(--border); padding-block: 16px; }
.filter-group:first-of-type { border-top: none; padding-top: 18px; }

.filter-group legend, .filter-group .filter-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}
.filter-option input { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-option:hover { color: var(--text); }

.filters-mobile-toggle { display: none; }
@media (max-width: 860px) {
  .filters-mobile-toggle { display: inline-flex; margin-bottom: 16px; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.catalog-results { color: var(--text-muted); font-size: 0.9rem; }

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* ---------- Course detail page ---------- */
.detail-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 40px;
}

.detail-hero__top { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.enroll-card { padding: 26px; position: sticky; top: calc(var(--nav-height) + 16px); }
.enroll-card__price { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.enroll-card__price small { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.summary-list { display: flex; flex-direction: column; gap: 12px; margin-block: 18px; }
.summary-list li { display: flex; justify-content: space-between; font-size: 0.9rem; border-top: 1px solid var(--border); padding-top: 12px; }
.summary-list li:first-child { border-top: none; padding-top: 0; }
.summary-list li span:first-child { color: var(--text-muted); }
.summary-list li span:last-child { font-weight: 600; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.tab-btn {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  background: transparent;
}
.tab-btn.active { color: var(--primary); border-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.syllabus-module {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.syllabus-module h4 { margin-bottom: 6px; }

.faculty-row { display: flex; gap: 14px; align-items: flex-start; padding-block: 16px; border-top: 1px solid var(--border); }
.faculty-row:first-child { border-top: none; }
.faculty-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}

/* ---------- Steps (admissions) ---------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
}
.step:first-child { border-top: none; padding-top: 0; }
.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Timeline (deadlines) ---------- */
.deadline-table { width: 100%; border-collapse: collapse; }
.deadline-table th, .deadline-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.deadline-table th { color: var(--text-muted); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--surface);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 0.96rem;
}
.accordion-trigger .plus { flex-shrink: 0; color: var(--primary); transition: transform var(--transition); font-size: 1.2rem; }
.accordion-item.open .plus { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.accordion-panel__inner { padding: 0 18px 18px; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Contact page ---------- */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Login / dashboard ---------- */
/* ---------- Login & Registration SaaS Auth Layout ---------- */
.auth-page-wrapper {
  min-height: calc(100vh - var(--nav-height));
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-container-grid {
  width: 100%;
  max-width: 1120px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  overflow: hidden;
}

@media (max-width: 960px) {
  .auth-container-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .auth-left-hero { display: none; }
}

.auth-left-hero {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-right-form {
  padding: 48px 44px;
  background: #ffffff;
}

@media (max-width: 576px) {
  .auth-right-form { padding: 32px 20px; }
  .auth-page-wrapper { padding: 16px 10px; }
}

.auth-segmented-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.auth-tab-btn {
  flex: 1;
  padding: 11px 16px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.94rem;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-wrapper input,
.input-icon-wrapper select,
.field > select,
.field > input {
  padding-left: 42px;
  padding-right: 16px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.93rem;
  color: #0f172a;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #ffffff;
}

.input-icon-wrapper.has-toggle input {
  padding-right: 72px;
}

.input-icon-wrapper input:focus,
.input-icon-wrapper select:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
  outline: none;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  z-index: 1;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 10px;
  z-index: 2;
}

.password-toggle-btn:hover {
  background: #e2e8f0;
}

.field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  line-height: 1.3;
}

.pwd-requirement-pill {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 6px;
  display: block;
}

/* Dashboard */
.dash-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--nav-height)); }
@media (max-width: 860px) {
  .dash-shell { grid-template-columns: 1fr; }
}

.dash-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
}
@media (max-width: 860px) { .dash-sidebar { border-right: none; border-bottom: 1px solid var(--border); } }

.dash-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.dash-sidebar a:hover { background: var(--primary-light); color: var(--primary); }
.dash-sidebar a.active { background: var(--primary); color: #fff; }

.dash-main { padding: 32px 28px; }

.dash-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
@media (max-width: 760px) { .dash-stats { grid-template-columns: 1fr 1fr; } }

.dash-stat-card { padding: 18px 20px; }
.dash-stat-card .label { font-size: 0.82rem; color: var(--text-muted); }
.dash-stat-card .value { font-size: 1.5rem; font-weight: 800; margin-top: 4px; }

.progress-bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; margin-top: 10px; }
.progress-bar__fill { height: 100%; background: var(--primary); border-radius: 999px; }

.dash-course-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.dash-course-row:first-child { border-top: none; }
.dash-course-row__thumb {
  width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), #FFF3E6);
}
.dash-course-row__body { flex: 1; min-width: 0; }
.dash-course-row__body h4 { font-size: 0.95rem; }

.deadline-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.deadline-item:first-child { border-top: none; }
.deadline-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dark); flex-shrink: 0; }

.cert-card { padding: 18px; display: flex; align-items: center; gap: 14px; }
.cert-card .icon-wrap { width: 42px; height: 42px; border-radius: 10px; background: var(--badge-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* =========================================================
   Career Care India Custom UI Extensions
   ========================================================= */

/* Top Helpline pill in Header */
.helpline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.helpline-pill:hover {
  background: #dcfce7;
}

/* NAAC Verification Badges */
.naac-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
  letter-spacing: 0.03em;
}

.naac-badge--gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.approved-pill {
  display: inline-flex;
  align-items: center;
  background: #e2e8f0;
  color: #334155;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Top Most Highlighted & Trusted Card */
.top-spotlight-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.18);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.top-spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.28);
}

.spotlight-banner {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #ffffff;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Section Mode Tabs */
.mode-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.mode-tab-btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.mode-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* University Cards Grid */
.univ-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.univ-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.univ-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.univ-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.univ-card__location {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.univ-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Floating Quick Action Helpline Widget */
.floating-helpline {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #10B981;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
  color: #FFFFFF;
}
.floating-btn--phone {
  background: #1E40AF;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.35);
}
.floating-btn--phone:hover {
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.5);
}

/* =========================================================
   Executive Programs Catalog UI Polish
   ========================================================= */

.catalog-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.catalog-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.catalog-search-wrap input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.93rem;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s ease;
}

.catalog-search-wrap input:focus {
  outline: none;
  border-color: #1e40af;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.catalog-actions-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.catalog-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.catalog-sort-group select {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.catalog-sort-group select:focus {
  outline: none;
  border-color: #1e40af;
}

.filters-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.filters-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 18px;
}

.filters-panel-head h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-clear-all {
  background: transparent;
  border: none;
  color: #1e40af;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.btn-clear-all:hover {
  background: #eff6ff;
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 12px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.custom-checkbox:hover {
  background: #f8fafc;
  color: #1e40af;
}

.custom-checkbox input[type="checkbox"] {
  accent-color: #1e40af;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
}

/* ---------- Mobile Responsive Enhancements (320px - 960px) ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

@media (max-width: 960px) {
  .catalog-layout,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .filters-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .catalog-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .catalog-actions-right {
    justify-content: space-between;
    width: 100%;
  }

  .floating-helpline {
    bottom: 12px;
    right: 12px;
    gap: 6px;
  }

  .floating-btn {
    padding: 9px 13px;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  }

  .dash-main {
    padding: 20px 14px;
  }
}

/* ---------- Professional Counselor Callback Modal System ---------- */
.cci-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.cci-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cci-modal-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22);
  border: 1px solid #e2e8f0;
  position: relative;
  transform: scale(0.92);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cci-modal-overlay.open .cci-modal-card {
  transform: scale(1);
}

.cci-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.cci-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cci-modal-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e40af;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.cci-modal-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 6px;
}

.cci-modal-sub {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 20px;
}

.cci-modal-field {
  margin-bottom: 14px;
}

.cci-modal-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.cci-modal-field input,
.cci-modal-field select {
  width: 100%;
  height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cci-modal-field input:focus,
.cci-modal-field select:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.cci-modal-btn {
  height: 46px;
  font-weight: 800;
  font-size: 0.93rem;
  margin-top: 18px;
  justify-content: center;
}

.cci-modal-alert {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 480px) {
  .cci-modal-card {
    padding: 24px 20px 20px;
    border-radius: 16px;
  }
}



