/* ==========================================================
   ADMISSION PAGE
   ========================================================== */

.ad-wrap {
  --ad-navy: #1d2a5b;
  --ad-navy-2: #253993;
  --ad-rose: #ff1f59;
  --ad-ink: #283034;
  --ad-muted: #7a848d;
  --ad-line: #e6e9ef;
  --ad-soft: #f4f6fc;
}

/* ---------- Intro card ---------- */
.ad-intro {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 26px;
  color: #fff;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 31, 89, .42) 0, rgba(255, 31, 89, 0) 50%),
    linear-gradient(135deg, var(--ad-navy) 0%, var(--ad-navy-2) 100%);
  box-shadow: 0 18px 40px -24px rgba(29, 42, 91, .8);
}

/* faint ring in the corner */
.ad-intro::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border: 14px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  pointer-events: none;
}

.ad-intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 30px;
  background: rgba(255, 255, 255, .12);
}

.ad-intro-text p {
  margin: 14px 0 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
}

.ad-contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ad-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  transition: background .25s, border-color .25s;
}

.ad-contact-item:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .14);
}

.ad-contact-item i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--ad-rose);
  border-radius: 10px;
  background: #fff;
}

.ad-contact-item span {
  min-width: 0;
  font-size: .95rem;
  font-weight: 700;
  word-break: break-all;
}

.ad-contact-item small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  word-break: normal;
}

.ad-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 22px;
  font-weight: 700;
  color: var(--ad-navy);
  border-radius: 10px;
  background: #fff;
  transition: background .25s, color .25s;
}

.ad-cta:hover {
  color: #fff;
  background: var(--ad-rose);
}

.ad-cta i {
  transition: transform .25s;
}

.ad-cta:hover i {
  transform: translateX(4px);
}

/* ---------- Section heading ---------- */
.ad-section {
  margin-top: 44px;
}

.ad-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ad-sec-head h5 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ad-ink);
}

.ad-sec-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ad-navy-2), var(--ad-rose));
  box-shadow: 0 10px 20px -10px rgba(255, 31, 89, .6);
}

.ad-sec-sub {
  margin: 2px 0 0;
  font-size: .9rem;
  color: var(--ad-muted);
}

/* ---------- Documents checklist ---------- */
.ad-docs {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ad-doc;
  border: 1px solid var(--ad-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.ad-docs li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ad-ink);
  border-bottom: 1px dashed var(--ad-line);
  transition: background .25s;
}

.ad-docs li:last-child {
  border-bottom: 0;
}

.ad-docs li:hover {
  background: var(--ad-soft);
}

.ad-check {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: #109d87;
  border-radius: 50%;
  background: #e3f5f1;
  transition: all .25s;
}

.ad-docs li:hover .ad-check {
  color: #fff;
  background: #109d87;
}

/* ---------- Visiting timings ---------- */
.ad-times {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ad-time {
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--ad-line);
  border-left: 4px solid var(--ad-navy-2);
  border-radius: 14px;
  background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.ad-time:first-child {
  border-left-color: var(--ad-rose);
}

.ad-time:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -18px rgba(29, 42, 91, .45);
}

.ad-time-who {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ad-muted);
}

.ad-time-hours {
  display: block;
  margin: 4px 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ad-navy);
}

.ad-time-days {
  font-size: .85rem;
  color: var(--ad-muted);
}

.ad-time-days i {
  margin-right: 4px;
}

/* ---------- Book list tabs ---------- */
.ad-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ad-tab {
  padding: 8px 16px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ad-ink);
  border: 1px solid var(--ad-line);
  border-radius: 30px;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}

.ad-tab:hover {
  color: var(--ad-navy-2);
  border-color: var(--ad-navy-2);
}

.ad-tab:focus-visible {
  outline: 2px solid var(--ad-navy-2);
  outline-offset: 2px;
}

.ad-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--ad-navy-2), var(--ad-rose));
  box-shadow: 0 8px 18px -10px rgba(255, 31, 89, .7);
}

.ad-books {
  overflow: hidden;
  border: 1px solid var(--ad-line);
  border-radius: 14px;
  background: #fff;
}

.ad-books[hidden] {
  display: none;
}

.ad-books-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px 12px 64px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ad-navy);
}

.ad-book-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ad-book-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--ad-line);
  transition: background .2s;
}

.ad-book-list li:nth-child(even) {
  background: #fafbfd;
}

.ad-book-list li:hover {
  background: var(--ad-soft);
}

.ad-book-no {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ad-navy-2);
  border-radius: 8px;
  background: #eef1fb;
  font-variant-numeric: tabular-nums;
}

.ad-book-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ad-ink);
}

.ad-book-pub {
  flex: 0 0 auto;
  max-width: 45%;
  padding: 3px 10px;
  font-size: .8rem;
  font-weight: 600;
  text-align: right;
  color: var(--ad-rose);
  border-radius: 20px;
  background: #fff0f4;
}

.ad-books-foot {
  padding: 10px 20px;
  font-size: .8rem;
  font-weight: 600;
  text-align: right;
  color: var(--ad-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ad-wrap.pr-30 { padding-right: 0; }
}

@media (max-width: 767px) {
  .ad-contact,
  .ad-times { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .ad-intro { padding: 22px 20px; }
  .ad-books-head { padding-left: 20px; }
  .ad-books-head span:last-child { display: none; }
  .ad-book-list li { flex-wrap: wrap; padding: 12px 16px; }
  .ad-book-name { flex-basis: calc(100% - 44px); }
  .ad-book-pub { max-width: none; margin-left: 44px; text-align: left; }
}
