/* =================================================================
   ZBIMS — Inner Pages Shared Styles
   pages-shared.css  |  All inner pages include this AFTER style.css
   ================================================================= */

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(
    130deg,
    var(--navy-dark) 0%,
    var(--navy) 55%,
    var(--navy-mid) 100%
  );
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(74, 144, 217, 0.18),
    transparent 70%
  );
}

.page-hero h1 {
  color: #fff;
}

.page-hero .hero-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  max-width: 560px;
  margin-top: 10px;
}

.page-hero .breadcrumb {
  margin-bottom: 12px;
  background: none;
  padding: 0;
}

.page-hero .breadcrumb-item {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.page-hero .breadcrumb-item a:hover {
  color: var(--orange);
}

.page-hero .breadcrumb-item.active {
  color: var(--orange);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
}

/* ── SECTION CTA BAND ── */
.cta-section {
  background: linear-gradient(130deg, var(--orange) 0%, #c9700d 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='40' cy='40' r='35'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 36px;
}

.btn-cta-white {
  background: #fff;
  color: var(--orange);
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-white:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ── STAT HIGHLIGHT ── */
.stat-highlight {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.stat-highlight:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stat-highlight .num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1;
}

.stat-highlight .lbl {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
  display: block;
}

/* ── ABOUT PAGE ── */
.vision-card {
  border-radius: var(--radius-lg);
  padding: 42px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vision-card.v-navy {
  background: var(--navy);
}

.vision-card.v-orange {
  background: var(--orange);
}

.vision-card h3,
.vision-card p {
  color: #fff;
}

.vision-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.vision-card .vc-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  display: block;
  opacity: 0.85;
}

.vision-accent {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin: 14px 0 20px;
}

.v-navy .vision-accent {
  background: var(--orange);
}

.v-orange .vision-accent {
  background: rgba(255, 255, 255, 0.5);
}

.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-card .v-emoji {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 14px;
}

.value-card h5 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* ── CHAIRMAN ── */
.chairman-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.chairman-wrap::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 14rem;
  color: rgba(26, 58, 107, 0.04);
  position: absolute;
  top: -40px;
  left: 10px;
  line-height: 1;
  pointer-events: none;
}

.chairman-avatar {
  width: 200px;
  height: 185px;
  border-radius: 50%;
  /* background:linear-gradient(135deg,var(--navy),var(--blue)); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  /* border:5px solid var(--orange); box-shadow:var(--shadow-md); */
  margin: 0 auto 18px;
}

.chairman-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy);
  border-left: 4px solid var(--orange);
  padding-left: 18px;
  margin-top: 22px;
  line-height: 1.6;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--blue));
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--orange);
}

.tl-year {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.timeline-item h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 5px;
  font-size: 0.95rem;
}

.timeline-item p {
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.65;
  color: var(--gray-600);
}

/* ── AFFILIATIONS ── */
.affil-logo {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  height: 96px;
  gap: 6px;
}

.affil-logo:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.affil-logo .affil-name {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  line-height: 1.3;
}

.affil-logo .affil-sub {
  font-size: 0.68rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.affil-logo:hover .affil-name {
  color: var(--orange);
}

/* ── COURSES PAGE ── */
.tab-filter-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  background: #fff;
  border: 2px solid var(--gray-200);
  color: var(--navy);
  border-radius: 50px;
  padding: 10px 26px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.course-card-new {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card-new:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.cc-header {
  padding: 28px 28px 22px;
  position: relative;
  overflow: hidden;
}

.cc-header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cc-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  display: block;
}

.cc-header h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cc-duration {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cc-body p {
  font-size: 0.86rem;
  line-height: 1.72;
  flex: 1;
  margin-bottom: 16px;
}

.cc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.cc-chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--off-white);
  color: var(--gray-600);
}

.cc-body .btn-detail {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: block;
  text-decoration: none;
}

.cc-body .btn-detail:hover {
  background: var(--orange);
  color: #fff;
}

/* ── COURSE DETAIL PAGE ── */
.cd-hero {
  background: linear-gradient(130deg, var(--navy-dark), var(--navy-mid));
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.cd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cd-info-bar {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin: -36px 0 0;
}

.cd-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cd-info-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.cd-info-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
}

.cd-info-item span {
  font-size: 0.74rem;
  color: var(--gray-400);
}

.acc-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.acc-item {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.acc-head {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  transition: background 0.2s;
}

.acc-head:hover {
  background: var(--off-white);
}

.acc-head i {
  transition: transform 0.3s;
  color: var(--orange);
  flex-shrink: 0;
}

.acc-head.open i {
  transform: rotate(180deg);
}

.acc-body-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.acc-body-wrap.open {
  max-height: 500px;
}

.acc-body-wrap ul {
  padding: 0 20px 18px;
  list-style: none;
}

.acc-body-wrap ul li {
  padding: 7px 0;
  font-size: 0.84rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-bottom: 1px dashed var(--gray-200);
}

.acc-body-wrap ul li:last-child {
  border: none;
}

.acc-body-wrap ul li::before {
  content: "●";
  color: var(--orange);
  font-size: 0.45rem;
  margin-top: 8px;
  flex-shrink: 0;
}

.career-chip {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.career-chip:hover {
  background: var(--blue-pale);
  border-color: var(--blue);
}

.career-chip .chip-ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ── ADMISSIONS PAGE ── */
.process-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.step-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-hov));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.process-step h5 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.process-step p {
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.65;
}

.elig-table {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.elig-table table {
  width: 100%;
  border-collapse: collapse;
}

.elig-table thead {
  background: var(--navy);
  color: #fff;
}

.elig-table thead th {
  padding: 14px 18px;
  font-size: 0.86rem;
  font-weight: 600;
}

.elig-table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: 0.2s;
}

.elig-table tbody tr:hover {
  background: var(--off-white);
}

.elig-table tbody td {
  padding: 13px 18px;
  font-size: 0.84rem;
  color: var(--gray-600);
}

.elig-table tbody td.orange-val {
  font-weight: 700;
  color: var(--orange);
}

.fee-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.fee-card-head {
  padding: 18px 24px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fee-card-head h5 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.86rem;
}

.fee-row:last-child {
  border: none;
}

.fee-row .label {
  color: var(--gray-600);
}

.fee-row .value {
  font-weight: 700;
  color: var(--navy);
}

.fee-row .value.highlight {
  color: var(--orange);
  font-size: 0.95rem;
}

.fee-row .value.total {
  color: var(--navy);
  font-size: 1rem;
}

.fee-note {
  padding: 14px 24px;
  background: var(--off-white);
  font-size: 0.76rem;
  color: var(--gray-400);
}

.schol-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.schol-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.schol-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--orange-pale);
  pointer-events: none;
}

.schol-pct {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.schol-card h5 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1rem;
}

.schol-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schol-card ul li {
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px dashed var(--gray-200);
}

.schol-card ul li:last-child {
  border: none;
}

.schol-card ul li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.apply-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-lbl {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

.form-ctrl {
  width: 100%;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  font-family: var(--font-body);
  background: #fff;
}

.form-ctrl:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.12);
}

.form-ctrl::placeholder {
  color: var(--gray-400);
}

.submit-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 44px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  letter-spacing: 0.3px;
}

.submit-btn:hover {
  background: var(--orange-hov);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 131, 26, 0.38);
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
  .section-pad {
    padding: 64px 0;
  }

  .cd-info-bar {
    margin-top: 20px;
  }

  .chairman-wrap {
    padding: 32px 24px;
  }

  .apply-form-card {
    padding: 28px 20px;
  }
}

@media (max-width: 575.98px) {
  .process-step {
    flex-direction: column;
    gap: 14px;
  }

  .timeline-item::before {
    left: -32px;
  }
}
