:root {
  --um-blue: #465f9f;
  --um-blue-dark: #26396f;
  --um-blue-deep: #172858;
  --um-green: #8fcf00;
  --um-green-dark: #659a00;
  --um-lime: #b4dc00;
  --um-yellow: #fff200;
  --um-yellow-dark: #d8b800;
  --deep-navy: #172858;
  --line: rgba(255, 255, 255, .16);
  --section-bg-image: url("https://smktelkom-pwt.sch.id/wp-content/uploads/2026/04/bg-edulean.png");
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14213d;
  background: #dfe7f1;
}

.site-header {
  background: linear-gradient(90deg, var(--um-blue-deep), var(--um-blue-dark));
  border-bottom: 4px solid var(--um-yellow);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 242, 0, .55);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, .84);
  font-size: .92rem;
  padding-inline: .9rem;
}

.navbar .nav-link.active {
  color: #fff;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .25rem;
  height: 2px;
  border-radius: 8px;
  background: var(--um-yellow);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 40, 88, .98) 0%, rgba(38, 57, 111, .93) 42%, rgba(70, 95, 159, .68) 66%, rgba(143, 207, 0, .34) 100%),
    url("bg_um.jpg") center right / cover;
  color: #fff;
  padding: 36px 0 116px;
  border-bottom: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .17) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 44%);
  opacity: .55;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(223, 231, 241, 0), rgba(223, 231, 241, .86));
  opacity: 1;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #eef5ff;
  font-size: .86rem;
  box-shadow: inset 0 0 0 1px rgba(255, 242, 0, .35);
}

.eyebrow i {
  color: var(--um-yellow);
}

.hero h1 {
  max-width: 640px;
  margin: 20px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: .98;
  font-weight: 700;
}

.hero p {
  max-width: 570px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-logo {
  position: absolute;
  right: clamp(16px, 7vw, 96px);
  bottom: 26px;
  width: clamp(110px, 18vw, 210px);
  opacity: .2;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25));
  pointer-events: none;
}

.program-area {
  margin-top: -92px;
  position: relative;
  z-index: 4;
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(223, 231, 241, .8), rgba(210, 222, 236, .86)),
    var(--section-bg-image) center top / cover no-repeat;
}

.program-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(248, 251, 239, .97)),
    radial-gradient(circle at 92% 12%, rgba(255, 242, 0, .2), transparent 32%);
  box-shadow: 0 10px 26px rgba(38, 57, 111, .1);
}

.program-heading h2 {
  margin-bottom: .4rem;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.program-heading p {
  max-width: 760px;
  margin: 0;
  color: #5b6879;
  line-height: 1.65;
}

.program-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.2rem;
}

.program-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 7px 18px rgba(38, 57, 111, .08);
}

.summary-value {
  color: var(--um-blue-deep);
  font-size: 1.3rem;
  font-weight: 900;
}

.summary-label {
  color: #5b6879;
  font-size: .78rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.program-grid > [class*="col-"] {
  animation: cardRise .7s cubic-bezier(.2, .75, .2, 1) both;
}

.program-grid > [class*="col-"]:nth-child(2) {
  animation-delay: .08s;
}

.program-grid > [class*="col-"]:nth-child(3) {
  animation-delay: .16s;
}

.program-grid > [class*="col-"]:nth-child(4) {
  animation-delay: .24s;
}

.program-grid > [class*="col-"]:nth-child(5) {
  animation-delay: .32s;
}

.program-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(70, 95, 159, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(38, 57, 111, .14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-top: 4px solid var(--um-blue);
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(70, 95, 159, .08), transparent 44%),
    radial-gradient(circle at 92% 8%, rgba(143, 207, 0, .16), transparent 30%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(143, 207, 0, .5);
  box-shadow: 0 20px 42px rgba(38, 57, 111, .2);
}

.program-card:hover::before {
  opacity: 1;
}

.program-package > * {
  position: relative;
  z-index: 1;
}

.featured-package {
  border-top-color: var(--um-yellow);
}

.program-number {
  position: absolute;
  right: 1.1rem;
  top: .65rem;
  color: rgba(70, 95, 159, .11);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.program-label {
  display: inline-flex;
  margin-bottom: .35rem;
  padding: .24rem .55rem;
  border-radius: 999px;
  color: var(--um-blue-dark);
  background: rgba(180, 220, 0, .18);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-activities {
  display: grid;
  gap: .65rem;
  min-height: 112px;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.program-activities li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: #4f5f76;
  line-height: 1.45;
}

.program-activities i {
  color: var(--um-green-dark);
  margin-top: .1rem;
}

.program-category-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.program-category-card .program-activities {
  flex: 1;
  min-height: auto;
}

.program-list {
  counter-reset: program-item;
  max-height: 168px;
  overflow-y: auto;
  padding-right: .35rem;
  scrollbar-color: rgba(70, 95, 159, .34) transparent;
  scrollbar-width: thin;
}

.program-list::-webkit-scrollbar {
  width: 6px;
}

.program-list::-webkit-scrollbar-track {
  background: transparent;
}

.program-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(70, 95, 159, .34);
}

.program-list li {
  position: relative;
  align-items: flex-start;
  min-height: 30px;
  padding-left: 2.25rem;
}

.program-list li::before {
  counter-increment: program-item;
  content: counter(program-item);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--um-blue-deep);
  background: rgba(180, 220, 0, .2);
  font-size: .78rem;
  font-weight: 900;
}

.program-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: .8rem .9rem;
  border-radius: 8px;
}

.program-meta span,
.program-meta strong {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
}

.program-meta span {
  font-size: .83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.program-meta strong {
  color: var(--um-blue-deep);
  font-size: 1.05rem;
}

.icon-bubble {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.75rem;
  flex: 0 0 58px;
}

.theme-blue {
  color: var(--um-blue-dark);
  background-color: rgba(70, 95, 159, .13);
}

.theme-green {
  color: #386b00;
  background-color: rgba(143, 207, 0, .18);
}

.theme-lime {
  color: #516f00;
  background-color: rgba(180, 220, 0, .2);
}

.theme-yellow {
  color: #786500;
  background-color: rgba(255, 242, 0, .28);
}

.icon-sm {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  flex-basis: 44px;
}

.time-pill {
  width: fit-content;
  gap: .45rem;
  border-radius: 999px;
  padding: .36rem .75rem;
  font-weight: 700;
  font-size: .95rem;
}

.detail-btn {
  border-radius: 7px;
  border: 1px solid var(--um-blue);
  color: var(--um-blue-dark);
  background: #fff;
  font-weight: 700;
  font-size: .9rem;
}

.detail-btn:hover {
  color: #fff;
  background: var(--um-blue-dark);
  border-color: var(--um-blue-dark);
}

.btn-um-blue {
  color: var(--um-blue-dark);
  border: 1px solid var(--um-blue);
  background: #fff;
}

.btn-um-blue:hover {
  color: #fff;
  background: var(--um-blue-dark);
  border-color: var(--um-blue-dark);
}

.btn-um-green {
  color: #386b00;
  border: 1px solid var(--um-green);
  background: #fff;
}

.btn-um-green:hover {
  color: #153000;
  background: var(--um-green);
  border-color: var(--um-green);
}

.btn-um-lime {
  color: #516f00;
  border: 1px solid var(--um-lime);
  background: #fff;
}

.btn-um-lime:hover {
  color: #203000;
  background: var(--um-lime);
  border-color: var(--um-lime);
}

.btn-um-yellow {
  color: #665700;
  border: 1px solid var(--um-yellow-dark);
  background: #fff;
}

.btn-um-yellow:hover {
  color: #1f2400;
  background: var(--um-yellow);
  border-color: var(--um-yellow);
}

.btn-cta {
  color: #1f2400;
  border: 1px solid var(--um-yellow);
  background: var(--um-yellow);
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(255, 242, 0, .24);
}

.btn-cta:hover {
  color: #fff;
  background: var(--um-blue-dark);
  border-color: var(--um-blue-dark);
}

.btn-hero-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  font-weight: 700;
  border-radius: 8px;
}

.btn-hero-outline:hover {
  color: #1f2400;
  background: var(--um-yellow);
  border-color: var(--um-yellow);
}

.home-hero {
  padding-bottom: 132px;
}

.home-content {
  margin-top: -82px;
  position: relative;
  z-index: 4;
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(223, 231, 241, .8), rgba(210, 222, 236, .86)),
    var(--section-bg-image) center top / cover no-repeat;
}

.content-panel,
.contact-section {
  border: 1px solid rgba(70, 95, 159, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(38, 57, 111, .12);
}

.content-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.welcome-panel {
  min-height: 430px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border-top: 4px solid var(--um-yellow);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(248, 251, 239, .96)),
    radial-gradient(circle at top right, rgba(143, 207, 0, .24), transparent 36%);
}

.welcome-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--um-yellow), var(--um-green), var(--um-blue));
}

.welcome-orbit {
  position: absolute;
  right: -28px;
  top: -34px;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(70, 95, 159, .08);
  animation: floatLogo 5s ease-in-out infinite;
}

.welcome-orbit::before,
.welcome-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(70, 95, 159, .18);
}

.welcome-orbit::before {
  inset: 18px;
}

.welcome-orbit::after {
  inset: 38px;
  border-color: rgba(143, 207, 0, .38);
}

.welcome-orbit img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  opacity: .24;
}

.welcome-panel h2,
.welcome-panel p,
.welcome-panel .section-kicker,
.welcome-quote,
.welcome-stats {
  position: relative;
  z-index: 1;
}

.lead-copy {
  max-width: 650px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--um-blue-dark) !important;
}

.welcome-quote {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin: 1.25rem 0;
  padding: 1rem;
  border-left: 4px solid var(--um-green);
  border-radius: 8px;
  color: #34435c;
  background: rgba(70, 95, 159, .06);
}

.welcome-quote i {
  color: var(--um-green-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.welcome-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-top: 1.35rem;
}

.welcome-stats div {
  padding: .95rem;
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  transition: transform .2s ease, border-color .2s ease;
}

.welcome-stats div:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 207, 0, .6);
}

.welcome-stats strong {
  display: block;
  color: var(--um-blue-deep);
  font-size: 1rem;
}

.welcome-stats span {
  display: block;
  margin-top: .25rem;
  color: #5b6879;
  font-size: .82rem;
  line-height: 1.35;
}

.goals-panel {
  border-top: 4px solid var(--um-green);
  background:
    linear-gradient(180deg, #fff, #fbfff0),
    radial-gradient(circle at bottom left, rgba(255, 242, 0, .22), transparent 40%);
}

.section-kicker {
  width: fit-content;
  margin-bottom: .8rem;
  padding: .38rem .72rem;
  border-radius: 999px;
  color: var(--um-blue-dark);
  background: rgba(180, 220, 0, .18);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-panel h2,
.photo-section h2,
.contact-section h2 {
  margin-bottom: 1rem;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.content-panel p,
.contact-section p {
  color: #4f5f76;
  line-height: 1.72;
}

.goal-list {
  display: grid;
  gap: 1rem;
  counter-reset: goals;
}

.goal-item {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
}

.goal-card {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 18px rgba(38, 57, 111, .08);
  counter-increment: goals;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: cardRise .7s ease both;
}

.goal-card:nth-child(2) {
  animation-delay: .16s;
}

.goal-card:nth-child(3) {
  animation-delay: .28s;
}

.goal-card::after {
  content: "0" counter(goals);
  position: absolute;
  right: .9rem;
  top: .7rem;
  color: rgba(70, 95, 159, .12);
  font-weight: 900;
  font-size: 1.7rem;
}

.goal-card:hover {
  transform: translateX(6px);
  border-color: rgba(143, 207, 0, .62);
  box-shadow: 0 12px 24px rgba(38, 57, 111, .14);
}

.goal-card strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--um-blue-deep);
}

.goal-item p {
  margin: 0;
}

.reveal-up {
  animation: revealUp .8s cubic-bezier(.2, .75, .2, 1) both;
}

.delay-1 {
  animation-delay: .12s;
}

.delay-2 {
  animation-delay: .22s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(10px) rotate(3deg);
  }
}

.photo-section {
  position: relative;
  margin-top: 34px;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(248, 251, 239, .96)),
    radial-gradient(circle at 92% 10%, rgba(255, 242, 0, .22), transparent 30%);
  box-shadow: 0 10px 26px rgba(38, 57, 111, .1);
  overflow: hidden;
}

.photo-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--um-blue), var(--um-green), var(--um-yellow));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery-heading {
  position: relative;
  z-index: 2;
}

.gallery-heading p {
  max-width: 620px;
  margin: -.45rem 0 0;
  color: #5b6879;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 210px;
  gap: 1rem;
}

.photo-section .home-photo-grid {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .85fr));
  grid-auto-rows: 220px;
  gap: .9rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-radius: 8px;
  border: 1px solid rgba(70, 95, 159, .18);
  background: var(--um-blue-deep);
  box-shadow: 0 10px 24px rgba(38, 57, 111, .16);
  animation: galleryRise .75s cubic-bezier(.2, .75, .2, 1) both;
}

.photo-section .home-photo-card {
  border: 0;
  background: #eef3f9;
  box-shadow: 0 16px 34px rgba(23, 40, 88, .16);
}

.photo-section .home-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(23, 40, 88, .24)),
    linear-gradient(90deg, rgba(255, 242, 0, .12), transparent 48%);
  opacity: .78;
  pointer-events: none;
}

.photo-section .home-photo-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  display: block;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.gallery-card:nth-child(2) {
  animation-delay: .12s;
}

.gallery-card:nth-child(3) {
  animation-delay: .2s;
}

.gallery-card:nth-child(4) {
  animation-delay: .28s;
}

.gallery-card:nth-child(5) {
  animation-delay: .36s;
}

.gallery-feature {
  grid-row: span 2;
}

.activity-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: .94;
  transform: scale(1.02);
  transition: transform .55s ease, opacity .35s ease, filter .35s ease;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 20%, rgba(23, 40, 88, .88) 100%),
    linear-gradient(90deg, rgba(143, 207, 0, .22), transparent 46%);
  opacity: .88;
  transition: opacity .35s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 6px;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.gallery-card:hover .activity-photo {
  opacity: 1;
  transform: scale(1.1);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-card:hover::before {
  opacity: .98;
}

.gallery-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.photo-section .gallery-card::before,
.photo-section .gallery-card::after {
  display: none;
}

.photo-section .home-photo-card:hover::before {
  opacity: .96;
}

.photo-section .home-photo-card:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  color: #fff;
  transform: translateY(8px);
  transition: transform .35s ease;
}

.gallery-card:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .5rem;
  padding: .28rem .58rem;
  border-radius: 999px;
  color: #1f2400;
  background: var(--um-yellow);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-caption h3 {
  margin: 0;
  max-width: 420px;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.gallery-feature .gallery-caption h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.gallery-empty {
  grid-column: 1 / -1;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  border: 1px dashed rgba(70, 95, 159, .28);
  border-radius: 8px;
  color: #5b6879;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(248, 251, 239, .96)),
    radial-gradient(circle at 90% 12%, rgba(255, 242, 0, .22), transparent 34%);
  text-align: center;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75);
}

@keyframes galleryRise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-section {
  margin-top: 30px;
  padding: clamp(1.25rem, 2vw, 2rem);
  border-top: 4px solid var(--um-green);
}

.contact-grid {
  display: grid;
  gap: .85rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem;
  color: #14213d;
  text-decoration: none;
  border: 1px solid rgba(70, 95, 159, .18);
  border-radius: 8px;
  background: #f9fbf4;
}

.contact-item strong,
.contact-item small {
  display: block;
}

.contact-item small {
  color: #5b6879;
}

.contact-area {
  margin-top: -92px;
  position: relative;
  z-index: 4;
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(223, 231, 241, .8), rgba(210, 222, 236, .86)),
    var(--section-bg-image) center top / cover no-repeat;
}

.contact-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.05fr) minmax(210px, .45fr);
  gap: 1.2rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 251, 239, .97)),
    radial-gradient(circle at 92% 12%, rgba(255, 242, 0, .22), transparent 32%);
  box-shadow: 0 16px 34px rgba(38, 57, 111, .12);
}

.contact-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  min-height: 260px;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-top: 4px solid var(--um-green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(38, 57, 111, .1);
}

.contact-avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  flex: 0 0 92px;
  border-radius: 50%;
  color: var(--um-blue-deep);
  background: linear-gradient(135deg, rgba(255, 242, 0, .55), rgba(180, 220, 0, .32));
  box-shadow: inset 0 0 0 2px rgba(70, 95, 159, .18);
  font-size: 2.4rem;
}

.contact-profile h2 {
  margin: 0 0 .5rem;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.contact-profile p {
  margin: 0;
  color: #4f5f76;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  min-height: 124px;
  padding: 1rem;
  border: 1px solid rgba(70, 95, 159, .14);
  border-radius: 8px;
  color: inherit;
  background: #fff;
  box-shadow: 0 10px 24px rgba(38, 57, 111, .1);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 207, 0, .5);
  box-shadow: 0 16px 34px rgba(38, 57, 111, .16);
}

.contact-card small {
  display: block;
  margin-bottom: .2rem;
  color: #63728a;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card > span:last-child {
  min-width: 0;
}

.contact-card strong {
  display: block;
  color: var(--um-blue-deep);
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: normal;
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-qr-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .9rem;
  min-height: 260px;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(70, 95, 159, .14);
  border-top: 4px solid var(--um-yellow);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(38, 57, 111, .1);
  text-align: center;
}

.contact-qr-card small {
  display: block;
  margin-bottom: .2rem;
  color: #63728a;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-qr-card strong {
  display: block;
  color: var(--um-blue-deep);
}

.contact-qr-card img {
  width: min(180px, 100%);
  height: auto;
  padding: .6rem;
  border: 1px solid rgba(70, 95, 159, .14);
  border-radius: 8px;
  background: #fff;
}

.contact-map {
  margin-top: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(38, 57, 111, .12);
}

.contact-map-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(70, 95, 159, .14);
}

.contact-map-heading h2 {
  margin: 0;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
}

.schedule-area {
  margin-top: -92px;
  position: relative;
  z-index: 4;
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(223, 231, 241, .8), rgba(210, 222, 236, .86)),
    var(--section-bg-image) center top / cover no-repeat;
}

.schedule-toolbar,
.schedule-panel,
.month-card,
.month-calendar-shell {
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 26px rgba(38, 57, 111, .1);
}

.schedule-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.schedule-toolbar h2,
.schedule-panel h2 {
  margin-bottom: .45rem;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.schedule-toolbar p {
  max-width: 720px;
  margin: 0;
  color: #5b6879;
  line-height: 1.65;
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
}

.schedule-legend span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .5rem .72rem;
  border-radius: 999px;
  color: var(--um-blue-deep);
  background: #fff;
  font-size: .85rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(70, 95, 159, .14);
}

.status-dot {
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  display: inline-block;
}

.year-calendar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.month-calendar-shell {
  padding: clamp(1rem, 2vw, 1.4rem);
  animation: revealUp .8s cubic-bezier(.2, .75, .2, 1) both;
}

.month-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(70, 95, 159, .16);
}

.month-control span,
.month-picker label {
  display: block;
  color: #667286;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.month-control h3 {
  margin: .15rem 0 0;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 700;
}

.month-nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(70, 95, 159, .2);
  border-radius: 8px;
  color: var(--um-blue-deep);
  background: #fff;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.month-nav:hover {
  color: #fff;
  background: var(--um-blue-dark);
  transform: translateY(-2px);
}

.month-picker {
  max-width: 260px;
  margin-bottom: 1rem;
}

.month-picker .form-select {
  border-color: rgba(70, 95, 159, .22);
  border-radius: 8px;
  font-weight: 800;
}

.month-card {
  padding: 1rem;
  animation: cardRise .7s cubic-bezier(.2, .75, .2, 1) both;
}

.month-card-large {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.month-card h3 {
  margin-bottom: .8rem;
  color: var(--um-blue-deep);
  font-size: 1rem;
  font-weight: 900;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .32rem;
}

.calendar-weekdays {
  margin-bottom: .45rem;
}

.calendar-weekdays span {
  color: #6d7788;
  font-size: .68rem;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  min-height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--um-blue-deep);
  font-size: .78rem;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.single-month-calendar .calendar-weekdays,
.single-month-calendar .calendar-days {
  gap: .55rem;
}

.single-month-calendar .calendar-weekdays span {
  padding: .45rem 0;
  border-radius: 7px;
  background: rgba(70, 95, 159, .08);
  color: var(--um-blue-dark);
}

.single-month-calendar .calendar-day {
  min-height: 74px;
  align-content: center;
  border: 1px solid rgba(70, 95, 159, .12);
  font-size: 1.05rem;
}

.calendar-day:not(.is-empty):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(38, 57, 111, .16);
}

.available,
.status-dot.available {
  background: rgba(143, 207, 0, .34);
}

.full,
.status-dot.full {
  background: rgba(255, 242, 0, .5);
}

.booked,
.status-dot.booked {
  color: #fff;
  background: var(--um-blue);
}

.holiday,
.status-dot.holiday {
  color: #fff;
  background: #d93434;
}

.calendar-day.is-empty {
  background: transparent;
}

.schedule-panel {
  position: sticky;
  top: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.event-list {
  display: grid;
  gap: .85rem;
}

.event-card {
  display: flex;
  gap: .9rem;
  padding: .95rem;
  border-radius: 8px;
  border: 1px solid rgba(70, 95, 159, .14);
}

.event-date {
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--um-blue-deep);
  background: rgba(255, 255, 255, .72);
  font-size: .82rem;
  font-weight: 900;
  text-align: center;
}

.event-card h3 {
  margin: 0 0 .25rem;
  color: var(--um-blue-deep);
  font-size: .98rem;
  font-weight: 900;
}

.event-card p {
  margin: 0;
  color: #4f5f76;
  font-size: .88rem;
  line-height: 1.45;
}

.form-area {
  margin-top: -92px;
  position: relative;
  z-index: 4;
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(223, 231, 241, .8), rgba(210, 222, 236, .86)),
    var(--section-bg-image) center top / cover no-repeat;
}

.registration-form {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid rgba(70, 95, 159, .18);
  border-top: 5px solid var(--um-yellow);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 251, 239, .94)),
    radial-gradient(circle at 96% 0%, rgba(143, 207, 0, .18), transparent 30%);
  box-shadow: 0 18px 46px rgba(38, 57, 111, .18);
}

.form-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(70, 95, 159, .14);
}

.form-intro h2 {
  margin: 0;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.form-required {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  color: #665700;
  background: rgba(255, 242, 0, .32);
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
}

.registration-form .form-label {
  color: var(--um-blue-deep);
  font-size: .88rem;
  font-weight: 900;
}

.registration-form .form-label span {
  color: #c43d3d;
}

.registration-form .form-label small {
  color: #6d7788;
  font-weight: 700;
}

.registration-form .form-control,
.registration-form .form-select {
  min-height: 46px;
  border-color: rgba(70, 95, 159, .2);
  border-radius: 7px;
  color: #14213d;
  background-color: rgba(255, 255, 255, .9);
}

.registration-form textarea.form-control {
  min-height: 94px;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
  border-color: var(--um-blue);
  box-shadow: 0 0 0 .2rem rgba(70, 95, 159, .14);
}

.form-hint {
  margin-top: .35rem;
  color: #6d7788;
  font-size: .78rem;
  text-align: right;
}

.upload-box {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 1rem;
  border: 2px dashed rgba(70, 95, 159, .35);
  border-radius: 8px;
  color: var(--um-blue-deep);
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.upload-box:hover {
  border-color: var(--um-green);
  background: rgba(248, 251, 239, .96);
  transform: translateY(-2px);
}

.upload-box.is-selected {
  border-color: var(--um-green);
  background: rgba(248, 251, 239, .98);
  box-shadow: 0 12px 26px rgba(78, 132, 64, .14);
}

.upload-box.is-selected .upload-icon {
  background: var(--um-green);
}

.upload-box.is-selected .upload-title {
  color: var(--um-blue);
}

.upload-box.is-selected .upload-subtitle {
  color: var(--um-green);
  font-weight: 700;
}

.upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--um-blue);
  font-size: 1.65rem;
}

.upload-box strong,
.upload-box small {
  display: block;
}

.upload-box small {
  margin-top: .2rem;
  color: #5b6879;
}

.submit-btn {
  margin-top: .2rem;
}

.admin-page {
  background:
    linear-gradient(180deg, rgba(245, 248, 252, .96), rgba(229, 237, 247, .94)),
    var(--section-bg-image) center top / cover no-repeat;
}

.admin-topbar {
  padding: 18px 0;
  color: #fff;
  background: linear-gradient(90deg, var(--um-blue-deep), #061a45);
  box-shadow: 0 12px 30px rgba(9, 28, 72, .18);
}

.admin-brand,
.admin-user {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.admin-brand strong,
.admin-user strong {
  display: block;
  line-height: 1.1;
}

.admin-brand small,
.admin-user small {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
}

.admin-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--um-blue-deep);
  background: #fff;
  font-size: 1.25rem;
}

.admin-dashboard {
  padding: clamp(24px, 4vw, 42px) 0 30px;
}

.admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 22px;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #0c4ea2, var(--um-blue-dark));
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(12, 78, 162, .18);
}

.admin-heading h1 {
  margin: 14px 0 6px;
  color: var(--um-blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.admin-heading p {
  margin: 0;
  color: #5b6879;
}

.date-filter {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid rgba(70, 95, 159, .2);
  border-radius: 8px;
  color: var(--um-blue-deep);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(38, 57, 111, .08);
}

.admin-stats {
  margin-bottom: 22px;
}

.admin-stat-card {
  --stat-color: #1f63d3;
  --stat-soft: rgba(31, 99, 211, .12);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 172px;
  padding: 1.2rem;
  border: 1px solid rgba(70, 95, 159, .14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 251, 255, .94)),
    radial-gradient(circle at 92% 8%, var(--stat-soft), transparent 34%);
  box-shadow: 0 14px 30px rgba(38, 57, 111, .1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.admin-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--stat-color);
}

.admin-stat-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--stat-soft);
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--stat-color) 35%, transparent);
  box-shadow: 0 18px 38px rgba(38, 57, 111, .15);
}

.stat-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--stat-color);
  background: var(--stat-soft);
  font-size: 1.55rem;
}

.stat-card-top,
.stat-card-body {
  position: relative;
  z-index: 1;
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: var(--stat-color);
  background: var(--stat-soft);
  font-size: .78rem;
  font-weight: 800;
}

.stat-blue {
  --stat-color: #1f63d3;
  --stat-soft: rgba(31, 99, 211, .12);
}

.stat-green {
  --stat-color: #14965f;
  --stat-soft: rgba(20, 150, 95, .13);
}

.stat-orange {
  --stat-color: #f17b16;
  --stat-soft: rgba(241, 123, 22, .13);
}

.stat-purple {
  --stat-color: #5f3dd7;
  --stat-soft: rgba(95, 61, 215, .12);
}

.admin-stat-card strong {
  display: block;
  color: var(--stat-color);
  font-size: clamp(2.05rem, 4vw, 2.65rem);
  line-height: .95;
  letter-spacing: 0;
}

.admin-stat-card span {
  display: block;
  color: var(--um-blue-deep);
  font-weight: 800;
}

.admin-stat-card small {
  display: block;
  margin-top: .3rem;
  color: #6d7788;
}

.admin-table-panel {
  overflow: hidden;
  border: 1px solid rgba(70, 95, 159, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 34px rgba(38, 57, 111, .12);
}

.program-admin-panel {
  margin-top: 22px;
}

.documentation-admin-panel {
  margin-top: 22px;
}

.table-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(70, 95, 159, .13);
}

.table-panel-heading h2 {
  margin: 0;
  color: var(--um-blue-deep);
  font-size: 1.2rem;
  font-weight: 800;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.admin-table-panel .dt-layout-row {
  padding: .85rem 1.25rem 0;
}

.admin-table-panel .dt-layout-row:last-child {
  padding: .75rem 1.25rem 1rem;
}

.admin-table-panel .dt-search {
  text-align: left;
}

.admin-table-panel .dt-search input {
  min-width: min(320px, 100%);
  border-radius: 8px;
  border-color: rgba(70, 95, 159, .22);
}

.admin-table-panel .table-responsive {
  position: relative;
  min-height: 220px;
}

.table-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--um-blue-deep);
  font-weight: 800;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(2px);
}

.table-loading-overlay.is-active {
  display: flex;
}

.admin-table {
  margin: 0;
}

.admin-table thead th {
  color: #63728a;
  background: #f5f7fb;
  font-size: .82rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(70, 95, 159, .13);
}

.admin-table tbody td {
  color: #33415c;
  border-color: rgba(70, 95, 159, .1);
}

.admin-table .number-column {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  text-align: center;
}

.school-cell {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 220px;
}

.school-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #0d3b90;
  box-shadow: inset 0 0 0 2px rgba(255, 242, 0, .55);
}

.logo-green {
  background: #177a4d;
}

.logo-blue {
  background: #1467cc;
}

.logo-yellow {
  color: var(--um-blue-deep);
  background: var(--um-yellow);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}

.status-badge.approved {
  color: #168358;
  background: rgba(20, 150, 95, .12);
}

.status-badge.review {
  color: #f17b16;
  background: rgba(241, 123, 22, .12);
}

.status-badge.rejected {
  color: #d93434;
  background: rgba(217, 52, 52, .12);
}

.admin-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 1.2rem;
  color: rgba(255, 255, 255, .9);
  text-align: center;
  background: linear-gradient(90deg, var(--um-blue-deep), #061a45);
}

.admin-footer p {
  margin: 0;
}

.admin-date-modal {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(9, 28, 72, .22);
}

.admin-date-modal .modal-header,
.admin-date-modal .modal-footer {
  border-color: rgba(70, 95, 159, .14);
}

.admin-date-modal .modal-title {
  color: var(--um-blue-deep);
  font-weight: 800;
}

.program-items-preview {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding-left: 1rem;
}

.program-items-preview li {
  color: #4f5f76;
  line-height: 1.35;
  max-width: 520px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.program-input-list {
  display: grid;
  gap: .65rem;
}

.program-input-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.program-input-row .form-control {
  flex: 1;
}

.program-input-row .btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  padding: 0;
}

.registration-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.detail-field {
  padding: .85rem;
  border: 1px solid rgba(70, 95, 159, .14);
  border-radius: 8px;
  background: #f8fbff;
}

.detail-field.detail-wide {
  grid-column: 1 / -1;
}

.detail-field span {
  display: block;
  margin-bottom: .25rem;
  color: #63728a;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-field strong,
.detail-field p {
  margin: 0;
  color: var(--um-blue-deep);
  font-weight: 800;
  line-height: 1.45;
}

.detail-field p {
  font-weight: 600;
}

.registration-letter-frame {
  width: 100%;
  height: min(68vh, 720px);
  border: 1px solid rgba(70, 95, 159, .18);
  border-radius: 8px;
  background: #f5f7fb;
}

.sample-letter-frame {
  width: 100%;
  height: min(72vh, 760px);
  display: block;
  border: 1px solid rgba(70, 95, 159, .18);
  border-radius: 8px;
  background: #f5f7fb;
}

.documentation-name-button {
  padding: 0;
  border: 0;
  color: var(--um-blue-dark);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.documentation-name-button:hover {
  color: var(--um-green-dark);
  text-decoration: underline;
}

.documentation-preview-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f7fb;
}

.documentation-preview-button {
  border: 0;
}

.documentation-preview-modal {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #0f1d3f;
  box-shadow: 0 24px 60px rgba(9, 28, 72, .35);
}

.documentation-preview-modal .modal-header {
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

.documentation-preview-modal .btn-close {
  filter: invert(1) grayscale(1);
}

.documentation-full-image {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: #07132d;
}

.documentation-area {
  margin-top: -92px;
  position: relative;
  z-index: 4;
  padding-bottom: 34px;
  background:
    linear-gradient(180deg, rgba(223, 231, 241, .8), rgba(210, 222, 236, .86)),
    var(--section-bg-image) center top / cover no-repeat;
}

.doc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.2rem;
  padding: .85rem;
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px rgba(38, 57, 111, .1);
}

.doc-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 132px;
  padding: .72rem 1rem;
  border: 1px solid rgba(70, 95, 159, .18);
  border-radius: 8px;
  color: var(--um-blue-deep);
  background: #fff;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.doc-filter-btn:hover,
.doc-filter-btn.active {
  color: #fff;
  border-color: var(--um-blue-dark);
  background: var(--um-blue-dark);
  transform: translateY(-2px);
}

.doc-filter-btn.active {
  box-shadow: 0 10px 20px rgba(38, 57, 111, .18);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.doc-card {
  overflow: hidden;
  border: 1px solid rgba(70, 95, 159, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(38, 57, 111, .12);
  animation: cardRise .7s cubic-bezier(.2, .75, .2, 1) both;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.doc-card:nth-child(2) {
  animation-delay: .08s;
}

.doc-card:nth-child(3) {
  animation-delay: .16s;
}

.doc-card:nth-child(4) {
  animation-delay: .24s;
}

.doc-card:nth-child(5) {
  animation-delay: .32s;
}

.doc-card:nth-child(6) {
  animation-delay: .4s;
}

.doc-card:hover {
  transform: translateY(-7px);
  border-color: rgba(143, 207, 0, .55);
  box-shadow: 0 18px 40px rgba(38, 57, 111, .18);
}

.doc-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--um-blue-deep);
}

.doc-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .55s ease, filter .35s ease;
}

.doc-card:hover .doc-image img {
  transform: scale(1.09);
  filter: saturate(1.08) contrast(1.04);
}

.doc-date {
  position: absolute;
  left: .8rem;
  top: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .42rem .62rem;
  border-radius: 7px;
  color: #fff;
  background: rgba(23, 40, 88, .9);
  font-size: .75rem;
  font-weight: 900;
}

.doc-body {
  position: relative;
  min-height: 126px;
  padding: 1rem 3.25rem 1rem 1rem;
}

.doc-body h2 {
  margin-bottom: .42rem;
  color: var(--um-blue-deep);
  font-size: 1rem;
  font-weight: 900;
}

.doc-body p {
  margin: 0;
  color: #4f5f76;
  font-size: .88rem;
  line-height: 1.45;
}

.doc-action {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--um-blue);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.doc-action:hover {
  color: #1f2400;
  background: var(--um-yellow);
  transform: translateX(3px);
}

.benefits {
  margin: 24px 0 30px;
  border: 1px solid rgba(70, 95, 159, .2);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbef);
  box-shadow: 0 7px 22px rgba(38, 57, 111, .08);
}

.benefit-item {
  min-height: 74px;
}

.benefit-title {
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: .14rem;
}

.benefit-text {
  font-size: .76rem;
  color: #556276;
  line-height: 1.35;
}

.footer {
  min-height: 110px;
  background: linear-gradient(90deg, var(--um-blue-deep), var(--um-blue-dark));
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
  position: relative;
  overflow: hidden;
  border-top: 6px solid var(--um-yellow);
}

.footer .sketch {
  position: absolute;
  color: rgba(255, 255, 255, .13);
  font-size: 4.8rem;
  line-height: 1;
}

.footer .sketch.left {
  left: 72px;
  bottom: 18px;
}

.footer .sketch.right {
  right: 90px;
  bottom: 14px;
}

@media (max-width: 991.98px) {
  .hero {
    padding-bottom: 128px;
  }

  .program-area {
    margin-top: -104px;
  }

  .schedule-area {
    margin-top: -104px;
  }

  .form-area {
    margin-top: -104px;
  }

  .documentation-area {
    margin-top: -104px;
  }

  .contact-area {
    margin-top: -104px;
  }

  .contact-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .program-summary {
    grid-template-columns: 1fr;
  }

  .schedule-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-legend {
    justify-content: flex-start;
  }

  .year-calendar {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-panel {
    position: static;
  }

  .welcome-stats {
    grid-template-columns: 1fr;
  }

  .welcome-orbit {
    width: 140px;
    height: 140px;
    right: -36px;
    top: -28px;
  }

  .welcome-orbit img {
    width: 74px;
    height: 74px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .photo-section .home-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 210px;
  }

  .gallery-feature {
    grid-column: span 2;
    grid-row: span 1;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .date-filter {
    width: 100%;
    justify-content: space-between;
  }

  .admin-table-panel .dt-layout-row {
    gap: .75rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 28px;
  }

  .program-card {
    box-shadow: 0 8px 18px rgba(38, 57, 111, .11);
  }

  .program-number {
    font-size: 2.35rem;
  }

  .program-activities {
    min-height: auto;
  }

  .program-category-card {
    min-height: 280px;
  }

  .program-list {
    max-height: 190px;
  }

  .program-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }

  .hero-logo {
    width: 96px;
    opacity: .14;
  }

  .welcome-panel {
    min-height: auto;
  }

  .goal-card {
    padding: .9rem;
  }

  .goal-card::after {
    font-size: 1.25rem;
  }

  .photo-section {
    padding: .9rem;
  }

  .contact-profile {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    align-items: flex-start;
  }

  .contact-map-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map-heading .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .photo-section .home-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-feature {
    grid-column: span 1;
  }

  .gallery-caption {
    left: .85rem;
    right: .85rem;
    bottom: .85rem;
  }

  .year-calendar {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 36px;
  }

  .event-card {
    flex-direction: column;
  }

  .form-intro {
    flex-direction: column;
  }

  .form-required {
    white-space: normal;
  }

  .upload-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .doc-grid {
    grid-template-columns: 1fr;
  }

  .doc-filter-btn {
    flex: 1 1 100%;
  }

  .month-control {
    align-items: stretch;
  }

  .month-control h3 {
    font-size: 1.55rem;
    text-align: center;
  }

  .single-month-calendar .calendar-weekdays,
  .single-month-calendar .calendar-days {
    gap: .32rem;
  }

  .single-month-calendar .calendar-day {
    min-height: 48px;
    font-size: .9rem;
  }

  .month-picker {
    max-width: none;
  }

  .admin-topbar .d-flex {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .admin-user {
    width: 100%;
    padding-top: .85rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }

  .registration-detail-grid {
    grid-template-columns: 1fr;
  }

  .table-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-actions {
    width: 100%;
  }

  .table-actions .btn {
    flex: 1 1 0;
  }

  .admin-table-panel .dt-layout-row {
    padding-inline: .85rem;
  }

  .admin-table-panel .dt-search,
  .admin-table-panel .dt-search input {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid rgba(70, 95, 159, .2);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
