/* Bhuban High School - brand palette, sampled from the official crest (navy + gold) */
:root {
  --bhs-navy: #0d2b52;
  --bhs-navy-dark: #081a33;
  --bhs-gold: #d4af37;
  --bhs-gold-bright: #f7ad2a;

  /* Re-point Bootstrap's "primary" theme color at our navy so bg-primary / btn-primary / text-primary / navbar-dark.bg-primary all follow the brand. */
  --bs-primary: var(--bhs-navy);
  --bs-primary-rgb: 13, 43, 82;
  --bs-link-color: var(--bhs-navy);
  --bs-link-color-rgb: 13, 43, 82;
  --bs-link-hover-color: var(--bhs-gold-bright);
  --bs-link-hover-color-rgb: 247, 173, 42;
}

/* Explicit overrides as a safety net, in case a given Bootstrap build hardcodes hex instead of consuming the CSS vars above. */
.bg-primary { background-color: var(--bhs-navy) !important; }
.text-primary { color: var(--bhs-navy) !important; }
.border-primary { border-color: var(--bhs-navy) !important; }
.btn-primary {
  background-color: var(--bhs-navy) !important;
  border-color: var(--bhs-navy) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--bhs-navy-dark) !important;
  border-color: var(--bhs-navy-dark) !important;
}
.btn-outline-primary {
  color: var(--bhs-navy) !important;
  border-color: var(--bhs-navy) !important;
}
.btn-outline-primary:hover {
  background-color: var(--bhs-navy) !important;
  color: #fff !important;
}
.navbar-dark.bg-primary, .bg-brand-navy {
  background-color: var(--bhs-navy) !important;
}
.navbar-dark .nav-link:hover, .navbar-dark .nav-link:focus,
.navbar-dark .nav-link.active {
  color: var(--bhs-gold-bright) !important;
}
.nav-pills .nav-link.active {
  background-color: var(--bhs-navy) !important;
}
footer.bg-dark, .bg-brand-footer {
  background: linear-gradient(180deg, var(--bhs-navy) 0%, var(--bhs-navy-dark) 100%) !important;
  border-top: 3px solid var(--bhs-gold);
}
footer h5, footer h6 {
  color: var(--bhs-gold-bright);
}
footer a.link-light {
  color: #cfd9e6 !important;
  text-decoration: none;
  transition: color .15s ease;
}
footer a.link-light:hover {
  color: var(--bhs-gold-bright) !important;
  text-decoration: underline;
}
footer hr.border-secondary {
  border-color: rgba(212, 175, 55, .35) !important;
  opacity: 1;
}
footer .bi {
  color: var(--bhs-gold);
}
footer .footer-credit {
  color: var(--bhs-gold-bright) !important;
  font-weight: 600;
  letter-spacing: .02em;
}
.btn-gold {
  background-color: var(--bhs-gold) !important;
  border-color: var(--bhs-gold) !important;
  color: var(--bhs-navy-dark) !important;
  font-weight: 600;
}
.btn-gold:hover {
  background-color: var(--bhs-gold-bright) !important;
  border-color: var(--bhs-gold-bright) !important;
  color: var(--bhs-navy-dark) !important;
}
.text-gold { color: var(--bhs-gold) !important; }
.brand-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  margin-right: .6rem;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  box-shadow: 0 0 0 2px var(--bhs-gold);
}

.navbar .nav-link {
  font-size: .92rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-left: .6rem;
  padding-right: .6rem;
  white-space: nowrap;
}
.navbar-brand { font-size: 1.15rem; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .nav-link { font-size: .82rem; padding-left: .4rem; padding-right: .4rem; }
}
body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #f7f9fb;
}
.hero-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.card-hover {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.1);
  background-color: #fff9e0;
}
.founder-card img, .smc-card img, .testimonial-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}
.gallery-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: .5rem;
}
.gallery-trigger { cursor: zoom-in; display: block; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 5;
  border: none;
}
.gallery-nav-prev { left: 1rem; }
.gallery-nav-next { right: 1rem; }
.wish-card {
  position: relative;
  border: 1px solid rgba(13, 43, 82, .08);
  border-top: 4px solid var(--bhs-navy);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.wish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.25rem 2rem rgba(13, 43, 82, .12) !important;
}
.wish-card .wish-quote-icon {
  position: absolute;
  top: .75rem;
  right: 1rem;
  font-size: 2.5rem;
  color: rgba(13, 43, 82, .06);
  line-height: 1;
}
.pride-card {
  position: relative;
  border-top: 4px solid var(--bhs-gold) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf2 100%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pride-card:hover {
  transform: translateY(-6px);
}
.pride-badge {
  background: linear-gradient(135deg, var(--bhs-gold-bright), var(--bhs-gold));
  color: var(--bhs-navy-dark);
  font-size: .78rem;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: 999px;
}
.pride-story-content {
  text-align: left;
  color: #333c47;
  line-height: 1.75;
}
.pride-story-content p {
  margin-bottom: 1rem;
}
.pride-story-content ul,
.pride-story-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.pride-story-content a {
  color: var(--bhs-navy);
  font-weight: 600;
}
.alumni-verified-badge {
  color: #1d9bf0;
  font-size: .95em;
  margin-right: .3rem;
  vertical-align: -1px;
}
.wish-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--bhs-navy), var(--bhs-navy-dark));
  flex-shrink: 0;
}
.wish-type-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.wish-birthday { border-top-color: var(--bhs-gold-bright); }
.wish-birthday .wish-type-pill { background: rgba(247, 173, 42, .15); color: #a56a00; }
.wish-birthday .wish-avatar { background: linear-gradient(135deg, var(--bhs-gold-bright), var(--bhs-gold)); }
.wish-festival { border-top-color: #6f42c1; }
.wish-festival .wish-type-pill { background: rgba(111, 66, 193, .12); color: #6f42c1; }
.wish-festival .wish-avatar { background: linear-gradient(135deg, #6f42c1, #4d2e8a); }
.wish-career { border-top-color: #0f766e; }
.wish-career .wish-type-pill { background: rgba(15, 118, 110, .12); color: #0f766e; }
.wish-career .wish-avatar { background: linear-gradient(135deg, #0f766e, #0b544e); }
.wish-general { border-top-color: var(--bhs-navy); }
.wish-general .wish-type-pill { background: rgba(13, 43, 82, .08); color: var(--bhs-navy); }
@media (max-width: 576px) {
  .hero-slide img { height: 220px; }
}

.hero-fallback {
  background: linear-gradient(135deg, var(--bhs-navy), var(--bhs-navy-dark));
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-fallback .hero-badge,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  font-size: .9rem;
  font-weight: 600;
}
.section-badge {
  background: rgba(13, 43, 82, .08);
  color: var(--bhs-navy);
}
.hero-fallback .hero-panel {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 1rem;
  backdrop-filter: blur(4px);
}
.stat-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .06);
}
.stat-card .display-6 {
  font-weight: 700;
}
.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: linear-gradient(135deg, #eef3f8, #dde7f3);
  color: #6c757d;
  border-radius: .75rem;
}
.founder-card img,
.founder-card .media-placeholder,
.smc-card img,
.smc-card .media-placeholder,
.testimonial-card img,
.testimonial-card .media-placeholder {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}
.testimonial-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--bhs-navy);
  background: linear-gradient(90deg, var(--bhs-gold), var(--bhs-gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wish-provider {
  display: inline-flex;
  align-items: center;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .2px;
  color: var(--bhs-navy);
  background: rgba(212, 175, 55, .12);
  border-left: 3px solid var(--bhs-gold);
  padding: .2rem .6rem;
  border-radius: .25rem;
  margin-top: .35rem;
}
.wish-provider i {
  color: var(--bhs-gold-bright);
}
.testimonial-carousel .carousel-item,
.wishes-carousel .carousel-item {
  padding: .25rem .25rem 1rem;
}
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next,
.wishes-carousel .carousel-control-prev,
.wishes-carousel .carousel-control-next {
  width: 2.75rem;
  height: 2.75rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background-color: var(--bhs-navy);
  border-radius: 50%;
  opacity: .85;
}
.testimonial-carousel .carousel-control-prev,
.wishes-carousel .carousel-control-prev { left: -.75rem; }
.testimonial-carousel .carousel-control-next,
.wishes-carousel .carousel-control-next { right: -.75rem; }
.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover,
.wishes-carousel .carousel-control-prev:hover,
.wishes-carousel .carousel-control-next:hover {
  opacity: 1;
}
.testimonial-carousel .carousel-indicators,
.wishes-carousel .carousel-indicators {
  position: static;
  margin-top: .75rem;
  margin-bottom: 0;
}
.testimonial-carousel .carousel-indicators [data-bs-target],
.wishes-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--bhs-navy);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: .3;
}
.testimonial-carousel .carousel-indicators .active,
.wishes-carousel .carousel-indicators .active {
  opacity: 1;
  background-color: var(--bhs-gold);
}
@media (max-width: 576px) {
  .testimonial-carousel .carousel-control-prev,
  .wishes-carousel .carousel-control-prev { left: 0; }
  .testimonial-carousel .carousel-control-next,
  .wishes-carousel .carousel-control-next { right: 0; }
}
.founder-card {
  position: relative;
  border-top: 4px solid var(--bhs-gold) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf2 100%);
  overflow: visible;
}
.founder-card .card-body {
  padding-top: 2.5rem;
}
.founder-card .founder-badge {
  position: absolute;
  top: -.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--bhs-gold-bright), var(--bhs-gold));
  color: var(--bhs-navy-dark);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  box-shadow: 0 .25rem .6rem rgba(212, 175, 55, .35);
  white-space: nowrap;
}
.founder-card .founder-photo-wrap,
.pride-card .founder-photo-wrap {
  width: 148px;
  height: 148px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--bhs-gold-bright), var(--bhs-gold));
  box-shadow: 0 .4rem 1rem rgba(13, 43, 82, .12);
}
.founder-card .founder-photo-wrap img,
.founder-card .founder-photo-wrap .media-placeholder,
.pride-card .founder-photo-wrap img,
.pride-card .founder-photo-wrap .media-placeholder {
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
}
.founder-card h3 {
  color: var(--bhs-navy);
}
.founder-card .founder-quote-icon {
  color: var(--bhs-gold);
  opacity: .6;
  font-size: 1.1rem;
}
.founder-card .founder-bio {
  position: relative;
  padding: .6rem .75rem;
  margin: 0 -.75rem;
  border-radius: .5rem;
  transition: background-color .2s ease;
}
.founder-card .founder-bio:hover {
  background-color: rgba(212, 175, 55, .1);
}
.gallery-thumb .media-placeholder,
.event-cover .media-placeholder,
.magazine-cover .media-placeholder {
  width: 100%;
  height: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: .5rem;
}
.event-cover .media-placeholder {
  height: 280px;
  min-height: 280px;
}
.magazine-cover .media-placeholder {
  height: 240px;
  min-height: 240px;
}
.page-hero {
  background: linear-gradient(180deg, #fff, #f1f4f9);
  border-bottom: 1px solid rgba(13, 43, 82, .08);
}
.empty-state {
  border: 1px dashed rgba(13, 43, 82, .25);
  border-radius: 1rem;
  background: #fff;
}
.info-list li + li {
  margin-top: .75rem;
}
.alumni-profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(13, 43, 82, .08);
}
.alumni-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alumni-profile-card .media-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.info-grid .text-muted.small {
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .72rem;
}
/* Alumni profile page - cover-banner redesign */
.alumni-hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--bhs-navy) 0%, var(--bhs-navy-dark) 100%);
  color: #fff;
  padding: 3rem 2rem 2.25rem;
}
.alumni-hero-banner::before,
.alumni-hero-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(247, 173, 42, .12);
}
.alumni-hero-banner::before { width: 260px; height: 260px; top: -120px; right: -60px; }
.alumni-hero-banner::after { width: 180px; height: 180px; bottom: -90px; left: -40px; background: rgba(255, 255, 255, .06); }
.alumni-hero-photo {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--bhs-gold-bright), var(--bhs-gold));
  box-shadow: 0 .9rem 1.75rem rgba(0, 0, 0, .3);
  margin: 0 auto;
}
.alumni-hero-photo .alumni-hero-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 3px solid #fff;
}
.alumni-hero-photo .alumni-hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alumni-hero-photo .alumni-hero-photo-inner .media-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.alumni-hero-banner .section-badge {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}
.alumni-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--bhs-gold-bright), var(--bhs-gold));
  color: var(--bhs-navy-dark);
}
.alumni-hero-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
}
.alumni-hero-banner .btn-light {
  font-weight: 600;
  box-shadow: 0 .4rem .9rem rgba(0, 0, 0, .18);
}
.alumni-hero-banner .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, .15);
}
.section-icon-circle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(13, 43, 82, .08);
  color: var(--bhs-navy);
}
.alumni-info-card {
  border-top: 4px solid var(--bhs-navy) !important;
}
.alumni-info-card.card-professional {
  border-top-color: #0f766e !important;
}
.alumni-info-card.card-professional .section-icon-circle {
  background: rgba(15, 118, 110, .1);
  color: #0f766e;
}
.alumni-info-card.card-about {
  border-top-color: #6f42c1 !important;
}
.alumni-info-card.card-about .section-icon-circle {
  background: rgba(111, 66, 193, .1);
  color: #6f42c1;
}
.alumni-info-card.card-school-life {
  border-top-color: var(--bhs-gold-bright) !important;
}
.alumni-info-card.card-school-life .section-icon-circle {
  background: rgba(247, 173, 42, .15);
  color: #a56a00;
}
.info-grid .info-item {
  padding: .85rem 1rem;
  border-radius: .75rem;
  background: #f8f9fb;
  height: 100%;
}
@media (max-width: 767px) {
  .alumni-hero-banner { padding: 2.25rem 1.25rem 1.75rem; text-align: center; }
}
@media (max-width: 576px) {
  .hero-fallback { min-height: 320px; }
}

.pss-tier-heading {
  position: relative;
  color: var(--bhs-navy);
  padding-bottom: .6rem;
}
.pss-tier-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--bhs-gold-bright), var(--bhs-gold));
  border-radius: 2px;
}
.pss-leader-card {
  border-top: 4px solid var(--bhs-gold) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf2 100%);
}
.pss-leader-card h3 {
  color: var(--bhs-navy);
}

.about-icon-badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bhs-navy), var(--bhs-navy-dark));
  color: var(--bhs-gold-bright);
  font-size: 1.5rem;
  box-shadow: 0 .4rem 1rem rgba(13, 43, 82, .18);
}
.about-story-card,
.about-card {
  position: relative;
  border-top: 4px solid var(--bhs-gold) !important;
}
.about-quote {
  position: relative;
  padding: .6rem .75rem;
  margin: 0 -.75rem;
  border-radius: .5rem;
  transition: background-color .2s ease;
}
.about-quote:hover {
  background-color: rgba(212, 175, 55, .1);
}
.about-quote-icon {
  color: var(--bhs-gold);
  opacity: .6;
  font-size: 1.2rem;
}
