* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #c2185b;
  --pink2: #e91e8c;
  --pink3: #fce4ec;
  --pink4: #f48fb1;
  --purple: #6a1b9a;
  --purple2: #9c27b0;
  --purple3: #f3e5f5;
  --purple4: #ce93d8;
  --gold: #c8a000;
  --text: #1a1a1a;
  --muted: #555;
  --border: #e0d0e8;
  --bg: #fdf6ff;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ═══════════════════════════════════════════
   HEADER — Identity row + sticky nav row
═══════════════════════════════════════════ */
.site-header {
  background: #fff;
}

/* ── Row 1: Identity (scrolls away) ── */
.header-identity {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 3%;
}

.header-identity-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

.header-college-name {
  text-align: center;
}

.header-sss {
  display: block;
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.header-arni {
  display: block;
  font-size: clamp(12px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 2px;
  margin-top: 3px;
}

.header-affil {
  display: block;
  font-size: clamp(10px, 1vw, 13px);
  color: var(--muted);
  margin-top: 3px;
}

.header-contact-info {
  text-align: right;
  flex-shrink: 0;
}

.header-contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.hc-icon {
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.header-contact-row a {
  color: var(--purple);
  font-weight: 600;
}

.header-contact-row a:hover {
  color: var(--pink);
}

.header-apply-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--pink2), var(--purple));
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
}

.header-apply-btn:hover {
  opacity: .9;
}

/* ── Row 2: Nav bar (sticky) ── */
.header-nav {
  background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 100%);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 10px rgba(106, 27, 154, .3);
}

.header-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* ── Nav links (desktop) ── */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links>li>a {
  color: #fff;
  font-size: 13px;
  padding: 14px 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: .92;
  transition: background .2s;
  white-space: nowrap;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  background: rgba(255, 255, 255, .18);
  opacity: 1;
}

.nav-apply-btn {
  background: rgba(255, 255, 255, .22) !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  margin-left: 4px;
  padding: 9px 14px !important;
}

/* ── Dropdown arrow ── */
.sub-arrow {
  font-size: 9px;
  transition: transform .2s;
  display: inline-block;
}

/* ── DESKTOP DROPDOWN ── */
.has-sub {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 230px;
  max-height: 70vh;
  overflow-y: auto;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 32px rgba(106, 27, 154, .22);
  z-index: 600;
  border-top: 3px solid var(--pink2);
  list-style: none;
  padding: 6px 0;
}

/* keep open on hover (desktop) */
.has-sub:hover>.sub-menu {
  display: block;
}

.has-sub:hover .sub-arrow {
  transform: rotate(180deg);
}

.sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--text) !important;
  opacity: 1 !important;
  border-bottom: 1px solid #f4eaf8;
  white-space: nowrap;
  background: none;
}

.sub-menu li a:hover {
  background: var(--pink3);
  color: var(--pink) !important;
}

.sub-divider {
  padding: 8px 18px 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .8px;
  background: var(--purple3);
}

/* Academics dropdown: two-column layout (lots of items) */
/* Wide dropdown: two-column layout for menus with many items */
.sub-menu-wide {
  display: none;
  columns: 2;
  column-gap: 0;
  min-width: 420px;
  max-width: 520px;
}

.has-sub:hover>.sub-menu-wide {
  display: block;
}

.sub-menu-wide li {
  break-inside: avoid;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  transition: all .3s;
}

/* X animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── NOTICE BAR ── */
.notice-bar {
  background: #3a0040;
  padding: 7px 3%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-bar .nb-label {
  background: var(--pink2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.notice-bar marquee {
  color: var(--pink4);
  font-size: 13px;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  background: #fff;
}

.hero-title-bar {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  padding: 28px 3% 22px;
  text-align: center;
  color: #fff;
}

.hero-title-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.hero-college-name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-sss {
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .3);
  letter-spacing: -2px;
}

.hero-college-text {
  font-size: clamp(22px, 4.5vw, 48px);
  font-weight: 700;
  color: rgba(255, 255, 255, .95);
  line-height: 1.15;
}

.hero-tagline {
  font-size: clamp(12px, 1.5vw, 15px);
  opacity: .88;
  margin: 0;
}

/* Carousel */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform .75s cubic-bezier(.77, 0, .175, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .25);
  border: 2px solid rgba(255, 255, 255, .6);
  color: #fff;
  font-size: 36px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
  padding: 0;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, .45);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all .3s;
  border: 2px solid rgba(255, 255, 255, .8);
  padding: 0;
}

.carousel-dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.carousel-caption {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  padding: 9px 20px;
  text-align: center;
}

/* CTA strip */
.hero-cta-strip {
  background: var(--bg);
  border-top: 3px solid var(--purple);
  padding: 16px 3%;
}

.hero-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  flex-wrap: wrap;
}

.hero-phones a {
  color: var(--pink);
  font-weight: 700;
}

.hero-phones a:hover {
  color: var(--purple);
}

.pipe {
  color: var(--border);
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--pink2), var(--purple));
  color: #fff;
  padding: 11px 22px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 14px rgba(194, 24, 91, .35);
  transition: transform .15s, box-shadow .15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(194, 24, 91, .45);
}

.btn-outline-pink {
  border: 2px solid var(--purple);
  color: var(--purple);
  padding: 9px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, color .2s;
}

.btn-outline-pink:hover {
  background: var(--purple);
  color: #fff;
}

.btn-wa {
  background: #25D366;
  color: #fff;
  padding: 11px 22px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, .3);
}

.btn-wa:hover {
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--purple);
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .15s;
}

.btn-white:hover {
  transform: translateY(-2px);
}

/* ═══════ ACHIEVEMENT STRIP ═══════ */
.ach-strip {
  background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 100%);
  padding: 22px 5%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.ach-item {
  text-align: center;
}

.ach-item .a-num {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  display: block;
}

.ach-item .a-lbl {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}

/* ═══════ SECTIONS ═══════ */
.section {
  padding: 56px 5%;
}

.section.alt {
  background: var(--bg);
}

.s-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.s-title {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--purple);
}

.s-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.two-col+.two-col {
  margin-top: 32px;
}

@media(max-width:600px) {
  .two-col+.two-col {
    margin-top: 24px;
  }
}

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.card:hover {
  border-color: var(--pink2);
  box-shadow: 0 6px 24px rgba(194, 24, 91, .12);
  transform: translateY(-4px);
}

.card-icon {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--purple3), var(--pink3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 5px;
}

.card-body p {
  font-size: 13px;
  color: var(--muted);
}

.card-body .badge {
  display: inline-block;
  background: var(--pink3);
  color: var(--pink);
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 20px;
  margin-top: 9px;
  font-weight: 600;
  border: 1px solid var(--pink4);
}

/* About purple box */
.about-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
}

.about-purple h3 {
  color: #f8bbd0;
  font-size: 16px;
  margin-bottom: 18px;
}

.about-item {
  display: flex;
  gap: 13px;
  margin-bottom: 18px;
}

.about-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.about-item strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.about-item p {
  font-size: 13px;
  opacity: .85;
}

/* Rank cards */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.rank-card {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  color: #fff;
}

.rank-card-gold {
  background: linear-gradient(135deg, #8a6800, #c8a000) !important;
}

.rank-card .medal {
  font-size: 34px;
  margin-bottom: 10px;
}

.rank-card h3 {
  font-size: 14px;
  font-weight: 700;
}

.rank-card p {
  font-size: 12px;
  opacity: .85;
  margin-top: 3px;
  text-align: center !important;
}

.rank-card .rank-badge {
  background: rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, .4);
}
/*video*/
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.video-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.video-card:hover {
  box-shadow: 0 6px 24px rgba(194, 24, 91, .12);
  transform: translateY(-3px);
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-info {
  padding: 16px 18px;
}

.video-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 4px;
}

.video-info p {
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

@media(max-width:480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
/* Facility cards */
.facility-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.facility-card:hover {
  border-color: var(--pink2);
  transform: translateY(-3px);
}

.facility-icon {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, var(--purple3), var(--pink3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

.facility-body {
  padding: 18px;
}

.facility-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 6px;
}

.facility-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* Gallery */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

/* Contact */
.c-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.c-icon {
  width: 42px;
  height: 42px;
  background: var(--pink3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.c-row strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
}

.c-row p,
.c-row a {
  font-size: 14px;
  color: var(--muted);
}

.c-row a:hover {
  color: var(--pink);
}

.contact-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Enquiry box */
.enquiry-box {
  background: var(--bg);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
}

.enquiry-box h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 13px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink2);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, .1);
}

.form-group textarea {
  height: 85px;
  resize: vertical;
}

.btn-submit {
  background: linear-gradient(135deg, var(--pink2), var(--purple));
  color: #fff;
  padding: 13px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: opacity .2s;
}

.btn-submit:hover {
  opacity: .9;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  padding: 36px 5%;
  color: #fff;
}

.breadcrumb {
  font-size: 12px;
  opacity: .7;
  margin-bottom: 8px;
}

.breadcrumb a {
  color: var(--pink4);
}

.page-hero h1 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
}

.page-hero p {
  font-size: 14px;
  opacity: .85;
  margin-top: 6px;
  max-width: 600px;
}

/* Person grid */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.person-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform .2s;
}

.person-card:hover {
  transform: translateY(-3px);
}

.person-photo {
  width: 100%;
  height: 180px;
  background: var(--purple3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--purple2);
}

.person-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.person-info {
  padding: 14px;
}

.person-info h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.person-info .role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.person-info .qual {
  font-size: 11px;
  color: var(--pink);
  margin-top: 3px;
  font-weight: 600;
}

.person-info .dept-tag {
  display: inline-block;
  background: var(--pink3);
  color: var(--pink);
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 7px;
  font-weight: 600;
}

/* Chairman */
.chairman-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

.chairman-photo {
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--pink4);
}

.chairman-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* VM boxes */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.vm-box {
  border-radius: 12px;
  padding: 24px;
}

.vm-box.vision {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
}

.vm-box.mission {
  background: var(--purple3);
  border: 1px solid var(--purple4);
}

.vm-box.values {
  background: #fff;
  border: 2px solid var(--purple);
}

.vm-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.vm-box.vision h3 {
  color: #f8bbd0;
}

.vm-box.mission h3,
.vm-box.values h3 {
  color: var(--purple);
}

.vm-box ul {
  list-style: none;
  padding: 0;
}

.vm-box ul li {
  padding: 5px 0;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.vm-box ul li::before {
  content: '▶';
  font-size: 10px;
  margin-top: 5px;
  flex-shrink: 0;
}

.vm-box.vision p,
.vm-box.vision ul li {
  color: rgba(255, 255, 255, .9);
}

.vm-box.vision ul li::before {
  color: #f8bbd0;
}

.vm-box.mission ul li::before,
.vm-box.values ul li::before {
  color: var(--pink2);
}

.vm-box.mission ul li,
.vm-box.values ul li {
  color: var(--muted);
}

/* Tables */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.trustee-table,
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
}

.trustee-table th,
.fee-table th {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  color: #fff;
  padding: 11px 16px;
  text-align: left;
}

.trustee-table td,
.fee-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}

.trustee-table tr:nth-child(even),
.fee-table tr:nth-child(even) {
  background: var(--bg);
}

.trustee-table tr:hover {
  background: var(--pink3);
}

.fee-table .amt {
  font-weight: 700;
  color: var(--pink);
  font-size: 15px;
}

.fee-note {
  background: linear-gradient(135deg, #fff8d6, #fff3a0);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 20px 22px;
  margin-top: 20px;
}

.fee-note h4 {
  color: #8a6800;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.fee-note ul {
  padding-left: 18px;
}

.fee-note ul li {
  font-size: 14px;
  color: #5a4400;
  margin-bottom: 5px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.step-num {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 13px;
}

.step h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--purple);
}

.step p {
  font-size: 13px;
  color: var(--muted);
}

.apply-cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.apply-cta h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.apply-cta p {
  font-size: 14px;
  opacity: .85;
}

/* Transport */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.route-tag {
  background: var(--pink3);
  border: 1px solid var(--pink4);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-q {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--purple);
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--pink);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  font-size: 14px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 10px;
}

/* Tab page layout */
.tab-page-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.tab-sidebar {
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  align-self: start;
  position: sticky;
  top: 56px;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

.tab-sidebar-group {
  margin-bottom: 18px;
}

.tab-sidebar-group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 0 20px;
  margin-bottom: 8px;
}

.tab-link {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--text);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.tab-link:hover {
  background: var(--pink3);
  color: var(--pink);
}

.tab-link.active {
  background: var(--pink3);
  border-left-color: var(--pink2);
  color: var(--pink);
  font-weight: 700;
}

.tab-content-area {
  padding: 32px 4%;
  min-width: 0;
}

.tab-panel {
  display: none;
  animation: fadeIn .25s ease;
}

.tab-panel p {
  text-align: justify;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

/* img-box placeholder */
.img-box {
  background: var(--purple3);
  border: 2px dashed var(--purple4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--purple2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.img-box .ib-icon {
  font-size: 32px;
}

.img-box small {
  font-size: 11px;
  opacity: .7;
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: #1a0020;
  color: #bbb;
  padding: 46px 5% 20px;
}

.f-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 26px;
}

.f-brand strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.f-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: #888;
}

.f-contact {
  margin-top: 13px;
  font-size: 13px;
  line-height: 2;
}

.f-contact a {
  color: var(--pink4);
}

footer h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.f-links {
  list-style: none;
}

.f-links li {
  margin-bottom: 7px;
}

.f-links a {
  font-size: 13px;
  color: #666;
  transition: color .2s;
}

.f-links a:hover {
  color: var(--pink4);
}

.f-bottom {
  border-top: 1px solid #2a0030;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #333;
  flex-wrap: wrap;
  gap: 8px;
}

.f-bottom a {
  color: #444;
}

.f-bottom a:hover {
  color: #888;
}

.f-admin-trigger {
  cursor: pointer;
  color: #1a0020;
  font-size: 16px;
  transition: color .2s;
  user-select: none;
}

.f-admin-trigger:hover {
  color: #555;
}

/* Admin overlay */
.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.admin-overlay.show {
  display: flex;
}

.admin-box {
  background: #fff;
  border-radius: 16px;
  padding: 38px;
  width: 360px;
  max-width: 92vw;
  position: relative;
}

.admin-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 4px;
}

.admin-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.admin-box input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 11px;
  font-family: inherit;
}

.admin-box input:focus {
  outline: none;
  border-color: var(--pink2);
}

.admin-login-btn {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: opacity .2s;
}

.admin-login-btn:hover {
  opacity: .9;
}

.a-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #bbb;
}

.a-close:hover {
  color: #555;
}

.a-err {
  color: #c00;
  font-size: 13px;
  margin-bottom: 10px;
  display: none;
}

/* Dashboard */
.dashboard {
  display: none;
  position: fixed;
  inset: 0;
  background: #f8f0ff;
  z-index: 9998;
  overflow-y: auto;
}

.d-nav {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}

.d-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.d-nav span {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.d-tab {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}

.d-tab.active,
.d-tab:hover {
  background: rgba(255, 255, 255, .3);
}

.d-logout {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.d-body {
  padding: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.d-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--purple);
}

.d-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.d-panel {
  display: none;
}

.d-panel.active {
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.metric {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--border);
}

.metric .m-val {
  font-size: 30px;
  font-weight: 700;
  color: var(--purple);
  display: block;
}

.metric .m-lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.metric .m-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.d-section {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.d-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--purple);
}

.two-dash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.bar-lbl {
  font-size: 12px;
  color: var(--muted);
  width: 90px;
  text-align: right;
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  background: #f0e8ff;
  border-radius: 4px;
  height: 21px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  transition: width .8s ease;
}

.bar-fill span {
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}

.loc-list {
  list-style: none;
}

.loc-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #f0e8ff;
  font-size: 13px;
}

.loc-list li:last-child {
  border: none;
}

.loc-pct {
  font-weight: 700;
  color: var(--pink);
}

.eq-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.eq-table th {
  text-align: left;
  padding: 9px 10px;
  background: #f8f0ff;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.eq-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #f8f0ff;
  vertical-align: middle;
}

.eq-table tr:hover td {
  background: #fdf6ff;
}

.s-new {
  background: var(--pink3);
  color: var(--pink);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.s-read {
  background: #f0f0f0;
  color: #888;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
}

.update-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.u-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.u-field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.u-field input,
.u-field textarea {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}

.u-field textarea {
  height: 70px;
  resize: vertical;
}

.btn-save {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  margin-top: 13px;
}

.save-msg {
  font-size: 13px;
  color: var(--pink);
  margin-left: 12px;
  display: none;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤960px)
═══════════════════════════════════════════ */
@media(max-width:960px) {

  /* Identity row: hide contact, 2-col grid */
  .header-identity-inner {
    grid-template-columns: auto 1fr;
  }

  .header-contact-info {
    display: none;
  }

  /* Carousel */
  .carousel-slide img {
    height: 380px;
  }

  .carousel-arrow {
    display: none;
  }

  /* Layouts */
  .two-col,
  .three-col,
  .vm-grid,
  .chairman-wrap {
    grid-template-columns: 1fr;
  }

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

  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .two-dash,
  .update-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Tab sidebar becomes horizontal chips */
  .tab-page-wrap {
    grid-template-columns: 1fr;
  }

  .tab-sidebar {
    position: static;
    max-height: none;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 4%;
    gap: 8px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    top: auto;
  }

  .tab-sidebar-group {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
  }

  .tab-sidebar-group-title {
    display: none;
  }

  .tab-link {
    border-left: none;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 16px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .tab-link.active {
    border-left: none;
    background: var(--pink2);
    color: #fff;
  }

  /* ── MOBILE NAV ── */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(160deg, var(--purple) 0%, #4a0070 100%);
    z-index: 600;
    padding: 8px 0;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links>li>a {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    width: 100%;
  }

  /* Mobile submenus: toggle on tap, not hover */
  .has-sub>.sub-menu {
    display: none;
    position: static;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    border-left: 3px solid var(--pink2);
    background: rgba(0, 0, 0, .18);
    min-width: 0;
    max-height: none;
    columns: 1;
  }

  .has-sub.sub-open>.sub-menu {
    display: block;
  }

  .sub-menu li a {
    color: rgba(255, 255, 255, .88) !important;
    padding-left: 36px;
    border-bottom-color: rgba(255, 255, 255, .06);
  }

  .sub-menu li a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
  }

  .sub-divider {
    background: rgba(0, 0, 0, .3);
    color: var(--pink4);
    padding-left: 36px;
  }

  /* Academics: reset 2-col on mobile */
  /* Wide dropdowns: reset to single column on mobile */
  .sub-menu-wide {
    columns: 1;
    min-width: 0;
    max-width: none;
  }

  /* Arrow points right when closed on mobile */
  .has-sub .sub-arrow {
    margin-left: auto;
    font-size: 12px;
  }

  .has-sub.sub-open .sub-arrow {
    transform: rotate(180deg);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤600px)
═══════════════════════════════════════════ */
@media(max-width:600px) {
  .header-logo-img {
    height: 70px;
  }

  .header-sss {
    font-size: clamp(18px, 6vw, 28px);
  }

  .header-arni {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .carousel-slide img {
    height: 240px;
  }

  .hero-title-bar {
    padding: 18px 4% 16px;
  }

  .hero-sss {
    font-size: clamp(44px, 14vw, 72px);
  }

  .hero-college-name {
    gap: 8px;
  }

  .hero-cta-strip {
    padding: 14px 4%;
  }

  .section {
    padding: 40px 4%;
  }

  .page-hero {
    padding: 26px 4%;
  }

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

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

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

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

  .apply-cta {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .d-nav {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
  }

  .d-nav-left {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
═══════════════════════════════════════════ */
@media(max-width:480px) {
  .header-identity {
    padding: 8px 4%;
  }

  .header-logo-img {
    height: 54px;
  }

  .header-affil {
    display: none;
  }

  .header-nav-inner {
    padding: 0 4%;
  }

  .notice-bar {
    padding: 6px 4%;
  }

  .notice-bar marquee {
    font-size: 12px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-outline-pink,
  .hero-btns .btn-wa {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metric {
    padding: 14px 12px;
  }

  .metric .m-val {
    font-size: 24px;
  }

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

  .f-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

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

  .chairman-wrap {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .contact-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-wa {
    width: 100%;
    justify-content: center;
  }

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

  .two-dash {
    grid-template-columns: 1fr;
  }

  .d-body {
    padding: 12px;
  }

  .admin-box {
    padding: 24px 18px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TINY (≤360px)
═══════════════════════════════════════════ */
@media(max-width:360px) {
  .header-arni {
    display: none;
  }

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

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

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

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

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

/* ═══════════════════════════════════════════
   GLOBAL FLOATING ENQUIRY BUTTONS
   (WhatsApp + Call — present on every page)
═══════════════════════════════════════════ */
.float-cta-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 15px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.float-btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.float-btn-wa {
  background: #25d366;
}

.float-btn-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: #25d366;
  opacity: .55;
  animation: floatPulse 2.2s ease-out infinite;
  z-index: -1;
}

.float-btn-call {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
}

@keyframes floatPulse {
  0% {
    opacity: .45;
    transform: scale(1);
  }

  70% {
    opacity: 0;
    transform: scale(1.25);
  }

  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-btn-wa::before {
    animation: none;
    display: none;
  }
}

@media (max-width: 600px) {
  .float-cta-stack {
    right: 14px;
    bottom: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }

  .float-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .float-btn-label {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   ENQUIRY SUCCESS WELCOME MODAL
═══════════════════════════════════════════ */
.welcome-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 40, .6);
  backdrop-filter: blur(3px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.welcome-modal-overlay.show {
  display: flex;
  animation: wmFadeIn .25s ease;
}

.welcome-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 440px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  animation: wmPopIn .35s cubic-bezier(.34, 1.56, .64, 1);
  border-top: 6px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(90deg, var(--purple), var(--pink), var(--gold));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.welcome-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}

.welcome-modal-badge {
  font-size: 52px;
  margin-bottom: 6px;
  animation: wmBounce 1s ease .3s;
}

.welcome-modal-title {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.welcome-modal-text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.welcome-modal-text strong {
  color: var(--text);
}

.welcome-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.welcome-modal-wa {
  background: #25d366;
  color: #fff;
  justify-content: center;
  border-radius: 10px;
  padding: 13px 20px;
}

.welcome-modal-continue {
  background: none;
  border: none;
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  cursor: pointer;
}

@keyframes wmFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes wmPopIn {
  from {
    opacity: 0;
    transform: scale(.85) translateY(10px);
  }

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

@keyframes wmBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px) scale(1.05);
  }

  50% {
    transform: translateY(0);
  }

  70% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .welcome-modal,
  .welcome-modal-overlay.show,
  .welcome-modal-badge {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   ATTRACT & ENGAGE — scroll reveals + micro-interactions
   (Colours untouched — every rule below reuses the
   existing --pink / --purple / --gold variables)
═══════════════════════════════════════════ */

/* Scroll-reveal: elements fade & rise into place as the visitor scrolls */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Card / tile hover-lift across the site */
.card,
.facility-card,
.rank-card,
.about-item,
.gallery-strip img {
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.card:hover,
.facility-card:hover,
.rank-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(106, 27, 154, .18);
}

.about-item:hover {
  transform: translateX(4px);
}

.gallery-strip img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(106, 27, 154, .25);
}

.card:hover .card-icon {
  animation: iconPop .5s ease;
}

@keyframes iconPop {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }

  40% {
    transform: scale(1.25) rotate(-6deg);
  }

  70% {
    transform: scale(.95) rotate(3deg);
  }
}

/* Button shine sweep on primary CTAs */
.btn-primary,
.btn-outline-pink,
.btn-wa,
.header-apply-btn,
.nav-apply-btn,
.btn-submit {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-primary::before,
.header-apply-btn::before,
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}

.btn-primary:hover::before,
.header-apply-btn:hover::before,
.btn-submit:hover::before {
  left: 130%;
}

.btn-primary:hover,
.btn-outline-pink:hover,
.btn-wa:hover,
.header-apply-btn:hover,
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(194, 24, 91, .32);
}

/* Gentle breathing glow on "Apply Now" buttons to draw the eye */
.header-apply-btn,
.nav-apply-btn {
  animation: applyGlow 2.6s ease-in-out infinite;
}

@keyframes applyGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 140, .45);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(233, 30, 140, 0);
  }
}

/* Achievement numbers pop in once counted */
.a-num {
  display: inline-block;
}

.ach-item.counted .a-num {
  animation: numPop .5s ease;
}

@keyframes numPop {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  70% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

/* Hero college-name shimmer */
.header-sss {
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .header-apply-btn,
  .nav-apply-btn,
  .header-sss,
  .admission-ribbon {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════
   ADMISSIONS RIBBON — floating "Apply Now" nudge
   injected site-wide by main.js (bottom-left)
═══════════════════════════════════════════ */
.admission-ribbon {
  position: fixed;
  left: 20px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--purple), var(--pink2));
  color: #fff;
  padding: 12px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(106, 27, 154, .35);
  cursor: pointer;
  text-decoration: none;
  animation: ribbonFloat 3.2s ease-in-out infinite;
}

.admission-ribbon:hover {
  box-shadow: 0 12px 32px rgba(106, 27, 154, .5);
}

.admission-ribbon .r-close {
  background: rgba(255, 255, 255, .25);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

@keyframes ribbonFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 600px) {
  .admission-ribbon {
    left: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 11.5px;
  }

  .admission-ribbon .r-label {
    max-width: 120px;
  }
}