/* ==========================================================
   MUMBAI COLLEGE — MASTER STYLESHEET
   ========================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Serif:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blue: #003580;
  --blue-dark: #002560;
  --blue-light: #0055cc;
  --red: #c0272d;
  --red-light: #FF6B6B;
  --gold: #F0A500;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-100: #F1F3F6;
  --gray-200: #E2E6EF;
  --gray-400: #9BA5B5;
  --gray-600: #5A6478;
  --gray-800: #2C3344;
  --text: #1E2535;
  --text-light: #5A6478;
  --border: #D8DDE8;
  --shadow-sm: 0 2px 8px rgba(0, 53, 128, .08);
  --shadow-md: 0 6px 24px rgba(0, 53, 128, .12);
  --shadow-lg: 0 16px 48px rgba(0, 53, 128, .18);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --transition: .3s ease;
  --font: 'Outfit', sans-serif;
  --font-serif: 'Noto Serif', serif;
  --header-h: 110px;
}

/* Is code ko apni CSS file mein dalein */
ul.custom-list {
    list-style-type: disc !important; /* Forcefully bullet dikhane ke liye */
    padding-left: 25px;               /* Bullets ke liye thodi jagah chhodne ke liye */
    margin-top: 10px;
    margin-bottom: 10px;
   
}

ul.custom-list li {
    display: list-item;              /* Ye ensures karta hai ki bullet show ho */
    margin-bottom: 5px;
     --font: 'Outfit', sans-serif;
  --font-serif: 'Noto Serif', serif;
  color: var(--text-light);
}

/* Dark Mode */
[data-theme="dark"] {
  --white: #1A1F2E;
  --off-white: #131720;
  --gray-100: #1E2435;
  --gray-200: #252D42;
  --gray-400: #6B7894;
  --gray-600: #9BA5B5;
  --gray-800: #D4DBE9;
  --text: #E8EDF6;
  --text-light: #9BA5B5;
  --border: #2A3350;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .5);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 8vw, 3.5rem);
}

h2 {
  font-size: clamp(1.45rem, 6vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 4vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-light);
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: .75rem;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
}

.section-title .line {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  margin: .75rem auto 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-1 {
  gap: .5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #fff !important;
}

.mt-1 {
  margin-top: .5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.bg-blue {
  background: var(--blue);
}

.bg-off {
  background: var(--off-white);
}

/* Table Responsive Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.table-responsive table {
  margin-bottom: 0 !important;
  min-width: 600px;
  /* Force scroll on mobile for large data */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 102, 0, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, .45);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 53, 128, .3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 53, 128, .4);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .85rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 1.5rem;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.badge-blue {
  background: rgba(0, 53, 128, .1);
  color: var(--blue);
}

.badge-saffron {
  background: rgba(255, 102, 0, .1);
  color: var(--red);
}

.badge-gold {
  background: rgba(240, 165, 0, .1);
  color: var(--gold);
}

/* ========================================================
   NAVIGATION / HEADER
   ======================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Fix #2: Top-bar – institutional blue, dark mode aware */
.top-bar {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: rgba(255, 255, 255, .9);
  font-size: .78rem;
  padding: .38rem 0;
}

[data-theme="dark"] .top-bar {
  background: linear-gradient(135deg, #0d1b3e, #002d6e);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

/* Social icons in top-bar left */
.top-bar-left {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.top-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  transition: background var(--transition);
}

.top-social:hover {
  background: rgba(255, 255, 255, .3);
}

/* Quick links in top-bar right */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.top-bar-right a {
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  padding: .15rem .65rem;
  border-right: 1px solid rgba(255, 255, 255, .25);
  white-space: nowrap;
  transition: color var(--transition);
}

.top-bar-right a:first-child {
  border-left: 1px solid rgba(255, 255, 255, .25);
}

.top-bar-right a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Main nav */
.nav-main {
  padding: .65rem 0;
}

.nav-main .container {
  max-width: 1450px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Scrolled header gets a frosted look */
#site-header.scrolled .nav-main {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="dark"] #site-header.scrolled .nav-main {
  background: rgba(19, 23, 32, .9);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none !important;
}

.logo-round-img {
  height: 85px;
  width: 85px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition);
  /* Key out white background on white header */
  mix-blend-mode: multiply;
}

.nav-logo:hover .logo-round-img {
  transform: scale(1.08);
}

.nav-title-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.nav-title-main {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-title-sub {
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

[data-theme="dark"] .logo-round-img {
  mix-blend-mode: normal;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

[data-theme="dark"] .nav-title-main {
  color: #fff;
}

[data-theme="dark"] .nav-title-sub {
  color: #ccc;
}

@media (max-width: 1300px) and (min-width: 992px) {
  .nav-main .nav-title-wrap {
    display: none; /* Hide long text firmly early to prevent menu cutoff, except on mobile screens */
  }
}

@media (max-width: 1200px) {
  .nav-title-main { font-size: 1rem; }
  .nav-title-sub { font-size: 0.7rem; }
}

@media (max-width: 991px) {
  .logo-round-img {
    height: 60px;
    width: 60px;
  }
  .nav-title-main { font-size: 0.95rem; white-space: normal; line-height: 1.1; }
  .nav-main .nav-title-sub { display: none; }
  .nav-apply { display: none !important; }
}

@media (max-width: 480px) {
  .logo-round-img {
    height: 50px;
    width: 50px;
  }
  .nav-title-main { font-size: 0.85rem; }
}


/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: .9rem;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: var(--gray-100);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-link .arrow {
  font-size: .7rem;
  transition: transform var(--transition);
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

[data-theme="dark"] .dropdown {
  background: var(--gray-100);
  /* Dark mode dropdown background */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: .6rem 1.25rem;
  font-size: .88rem;
  color: var(--text);
  transition: all var(--transition);
}

.dropdown a:hover {
  background: var(--gray-100);
  color: var(--red);
  padding-left: 1.5rem;
}

[data-theme="dark"] .dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  /* Softer hover in dark mode */
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

/* Dark mode toggle */
/* Fix #1: Dark mode btn matches top-social styling (circular, no border, subtle bg) */
.btn-dark-mode {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--text);
  transition: all var(--transition);
  flex-shrink: 0;
  padding: 0;
}

.btn-dark-mode:hover {
  background: rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .btn-dark-mode {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-theme="dark"] .btn-dark-mode:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Apply Now nav button — compact, no wrap */
.nav-apply {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(255, 102, 0, .35);
  transition: all var(--transition);
  flex-shrink: 0;
  letter-spacing: .02em;
}

.nav-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 102, 0, .48);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.hamburger:hover {
  background: var(--gray-100);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger span:nth-child(1) {
  width: 22px;
}

.hamburger span:nth-child(2) {
  width: 18px;
}

.hamburger span:nth-child(3) {
  width: 22px;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 22px;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 22px;
}

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  overflow-y: auto;
  padding-bottom: 2rem;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.mobile-menu.open {
  display: block;
  transform: translateX(0);
}

/* Mobile menu top bar */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(248, 249, 252, 0.5);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  flex-shrink: 0;
}

.mobile-close:hover {
  background: var(--blue);
  transform: rotate(90deg);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}

.mobile-nav-link:hover {
  background: var(--gray-100);
}

.mobile-dropdown {
  display: none;
  padding: .5rem 0 .5rem 1rem;
  background: var(--off-white);
}

.mobile-dropdown a {
  display: block;
  padding: .55rem 1.25rem;
  color: var(--text-light);
  font-size: .9rem;
  transition: color var(--transition);
}

.mobile-dropdown a:hover {
  color: var(--blue);
}

.mobile-dropdown.open {
  display: block;
}

/* ========================================================
   SEARCH OVERLAY
   ======================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8rem;
}

.search-overlay.open {
  display: flex;
}

.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 1.1rem;
  outline: none;
  color: var(--text);
  background: var(--gray-100);
  transition: border-color var(--transition);
}

.search-box input:focus {
  border-color: var(--blue);
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* ========================================================
   PAGE HERO (Inner Pages) — ANIMATED
   ======================================================== */
@keyframes heroGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatBubble {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: .12;
  }

  50% {
    transform: translateY(-40px) scale(1.1);
    opacity: .2;
  }
}

.page-hero {
  background: #001e50;
  /* Base fallback */
  padding: 8rem 0 6rem;
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  text-align: center;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

/* Animated blobs */
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  animation: floatBubble 7s ease-in-out infinite;
}

.page-hero::before {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -100px;
  animation-delay: 0s;
}

.page-hero::after {
  width: 280px;
  height: 280px;
  bottom: -80px;
  right: -60px;
  animation-delay: 3.5s;
}

/* Dot-grid overlay */
.page-hero .hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(0.85) contrast(1.2) saturate(1.1);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 30, 80, 0.92) 0%, rgba(0, 30, 80, 0.7) 40%, rgba(240, 165, 0, 0.25) 100%);
  z-index: 1;
}



.page-hero .hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--gold);
  padding: .35rem 1.1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: heroScaleIn .6s ease both;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
  animation: heroFadeUp .7s ease .15s both;
  margin-bottom: .6rem;
}

.page-hero>.container>p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.1rem;
  animation: heroFadeUp .7s ease .3s both;
  max-width: 560px;
  margin: 0 auto;
}

.page-hero .hero-pills {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.5rem;
  animation: heroFadeUp .7s ease .45s both;
  flex-wrap: wrap;
}

.hero-pill {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  backdrop-filter: blur(4px);
}

/* ========================================================
   LATEST UPDATES BAR (hero overlay bottom strip)
   ======================================================== */
@keyframes luScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.latest-updates-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: stretch;
  background: rgba(15, 23, 50, .88);
  backdrop-filter: blur(4px);
  z-index: 10;
  overflow: hidden;
  height: 44px;
}

.lu-badge {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: .4rem;
}

.lu-ticker-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Fix #3: Pause ticker on hover */
.lu-ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: luScroll 28s linear infinite;
  white-space: nowrap;
}

.lu-ticker-wrap:hover .lu-ticker-inner {
  animation-play-state: paused;
}

.lu-item {
  color: rgba(255, 255, 255, .88);
  font-size: .82rem;
  padding: 0 1rem;
}

.lu-sep {
  color: rgba(255, 255, 255, .3);
  padding: 0 .25rem;
  font-size: 1rem;
}

/* ========================================================
   ANNOUNCEMENT TICKER
   ======================================================== */
.ticker-wrap {
  background: var(--blue);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.ticker-label {
  background: var(--red);
  color: #fff;
  padding: .6rem 1.25rem;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 2rem;
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
}

.ticker-item::before {
  content: '●';
  color: var(--gold);
  font-size: .5rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================================
   HERO SLIDER
   ======================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-h) - 36px);
  min-height: 520px;
  max-height: 750px;
  margin-top: var(--header-h);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Enhance quality */
  filter: contrast(1.08) saturate(1.15) brightness(1.02);
  image-rendering: -webkit-optimize-contrast;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 30, 80, .75) 0%, rgba(0, 30, 80, .3) 60%, transparent 100%);
}

.slide-flex-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
  position: relative;
  z-index: 5;
}

.slide-content {
  position: relative;
  max-width: 680px;
}

.slide-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.slide-content h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  margin-bottom: 1rem;
}

.slide-content p {
  color: rgba(255, 255, 255, .85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.slide-side-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.btn-hero-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition);
  min-width: 260px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.btn-hero-pill.blue {
  background: var(--blue);
  color: #fff;
}

.btn-hero-pill.white {
  background: #fff;
  color: var(--blue);
}

.btn-hero-pill:hover {
  transform: translateX(-10px) translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991px) {
  .slide-flex-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .slide-side-actions {
    align-items: flex-start;
    width: 100%;
  }

  .btn-hero-pill {
    min-width: 100%;
    padding: 1rem 2rem;
  }
}

.slide-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Fix #4: Slider arrows hidden */
.slider-arrow {
  display: none !important;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--red);
  width: 28px;
  border-radius: 5px;
}

/* ========================================================
   QUICK LINKS
   ======================================================== */
.quick-links {
  padding: 3rem 0;
}

.quick-links .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  display: block;
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.quick-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.quick-icon.blue {
  background: rgba(0, 53, 128, .1);
  color: var(--blue);
}

.quick-icon.saffron {
  background: rgba(255, 102, 0, .1);
  color: var(--red);
}

.quick-icon.gold {
  background: rgba(240, 165, 0, .1);
  color: var(--gold);
}

.quick-icon.green {
  background: rgba(0, 160, 80, .1);
  color: #00a050;
}

.quick-card h4 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.quick-card p {
  font-size: .82rem;
  margin: 0;
}

/* ========================================================
   ABOUT SECTION (Home)
   ======================================================== */
.about-home .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 500px;
  /* Slightly taller for better building perspective */
  object-fit: cover;
  object-position: center 20%;
  /* Focus on the upper/main part of the building */
  border-radius: var(--radius-lg);
  display: block;
  /* Enhance quality */
  filter: contrast(1.1) saturate(1.2);
  box-shadow: var(--shadow-xl);
}

.about-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1.8rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: .5rem;
  width: max-content;
  max-width: 90%;
  animation: floatBadge 4s ease-in-out infinite;
}

[data-theme="dark"] .about-badge-float {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes floatBadge {
  0% {
    transform: translate(-50%, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  50% {
    transform: translate(-50%, -10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  }

  100% {
    transform: translate(-50%, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
}

.about-badge-float .num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--blue), #6633cc);
  /* Gradient approximating the purple-blue */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-badge-float .plus {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  /* Red/Orange accent */
  margin-top: -.5rem;
  margin-right: .5rem;
}

.about-badge-float .badge-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-badge-float .lbl-top {
  font-size: .9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: -.2rem;
}

[data-theme="dark"] .about-badge-float .lbl-top {
  color: #fff;
}

.about-badge-float .lbl-bottom {
  font-size: 1.05rem;
  font-weight: 800;
  color: #d11270;
  /* Approximating the pink/magenta text */
  letter-spacing: 0.02em;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 500;
}

.feature-item::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
}

/* ========================================================
   STATS COUNTER
   ======================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}

.stat-item .stat-suffix {
  color: var(--gold);
  font-size: 2rem;
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  margin-top: .5rem;
}

/* ========================================================
   EVENTS SECTION
   ======================================================== */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-img {
  height: 180px;
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  /* Enhance quality */
  filter: contrast(1.05) saturate(1.1);
}

.event-card:hover .event-img img {
  transform: scale(1.05);
}

.event-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  font-size: .8rem;
  margin-bottom: .5rem;
}

.event-body h4 {
  margin-bottom: .5rem;
  font-size: 1rem;
}

.event-body p {
  font-size: .85rem;
  flex: 1;
}

.event-footer {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
}

/* ========================================================
   TESTIMONIALS
   ======================================================== */
.testimonials {
  background: var(--off-white);
}

.testi-slider {
  position: relative;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform .6s ease;
}

.testi-card {
  min-width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
}

.testi-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 700px;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}

.testi-quote {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}

.testi-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.testi-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto .75rem;
  border: 3px solid var(--gold);
}

.testi-name {
  font-weight: 700;
  color: var(--text);
}

.testi-role {
  font-size: .85rem;
  color: var(--text-light);
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.testi-dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}

/* ========================================================
   MODERN FOOTER REDESIGN
   ======================================================== */
.site-footer {
  background: #0B132B;
  /* Deep sophisticated navy */
  color: rgba(255, 255, 255, .75);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--red);
}

.footer-top-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(192, 39, 45, .05) 0%, transparent 40%);
  pointer-events: none;
}

.footer-main {
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-logo-wrap {
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-desc {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 1.5rem;
  padding-right: 1rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .8rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .7);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: .5rem;
}

.footer-links a::before {
  content: '→';
  color: var(--red);
  font-size: 1rem;
  transition: transform var(--transition);
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .75);
}

.footer-contact-list .icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-top: -.25rem;
}

.footer-contact-list li:hover .icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

/* Fix #8: Footer social icons – round circles matching top-bar style */
.social-links {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .75rem;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: all var(--transition);
  flex-shrink: 0;
}

.social-btn svg {
  width: 15px;
  height: 15px;
  display: block;
}

.social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .15);
  position: relative;
  z-index: 2;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  font-size: .9rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, .6);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, .6);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: #fff;
}

/* ========================================================
   FLOATING BUTTONS
   ======================================================== */
.fab-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

/* Fix #7: WhatsApp FAB – official SVG icon */
.fab-whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: all var(--transition);
  animation: pulse 2s infinite;
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
  display: block;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .6);
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, .72);
  }
}

/* Fix #6: Back-to-top with SVG progress ring */
.fab-top {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  border: none;
  cursor: pointer;
  padding: 0;
}

.fab-top.visible {
  opacity: 1;
  visibility: visible;
}

.fab-top:hover {
  background: var(--red);
  transform: translateY(-3px);
}

/* Progress ring SVG overlay */
.fab-top-ring {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  transform: rotate(-90deg);
  pointer-events: none;
}

.fab-top-ring circle {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-dasharray: 167;
  /* 2π × (27px radius) ≈ 169 */
  stroke-dashoffset: 167;
  stroke-linecap: round;
  transition: stroke-dashoffset .15s linear;
}

.fab-top svg.arrow-icon {
  width: 16px;
  height: 16px;
  display: block;
}

/* ========================================================
   SCROLL ANIMATIONS
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================================
   ABOUT PAGE — Vision/Mission/History
   ======================================================== */
.history-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 1.5rem;
}

.vm-card {
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.vm-card.vision {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.vm-card.mission {
  background: linear-gradient(135deg, var(--red), var(--red-light));
}

.vm-card h3,
.vm-card p {
  color: #fff;
}

.vm-card ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1rem;
}

.vm-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .75rem;
  color: rgba(255, 255, 255, .95);
  line-height: 1.5;
  font-size: .95rem;
}

.vm-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, .8);
  font-weight: bold;
}

.vm-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.acc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.acc-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.acc-card .acc-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.acc-card h4 {
  font-size: .95rem;
  color: var(--blue);
}

[data-theme="dark"] .acc-card h4 {
  color: #fff;
}

.principal-section .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.principal-card {
  text-align: center;
}

.principal-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--gold);
  margin: 0 auto 1rem;
  display: block;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.why-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  display: block;
}

/* ========================================================
   ACADEMICS PAGE
   ======================================================== */
.course-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.course-tab {
  padding: .55rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid var(--border);
  color: var(--text-light);
  background: var(--white);
  transition: all var(--transition);
}

.course-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.course-panel {
  display: none;
}

.course-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.course-c {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.course-c::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--red), var(--gold));
}

.course-c:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.dept-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.dept-card {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.dept-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.dept-icon {
  font-size: 2.2rem;
  margin-bottom: .75rem;
}

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: .75rem;
}

.accordion-header {
  background: var(--gray-100);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition);
}

.accordion-header:hover {
  background: var(--gray-200);
}

.accordion-header.open {
  background: var(--blue);
  color: #fff;
}

.accordion-arrow {
  transition: transform var(--transition);
}

.accordion-header.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

.accordion-body.open {
  display: block;
}

/* ========================================================
   ADMISSIONS
   ======================================================== */
.steps-timeline {
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--red), var(--blue));
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.step-content {
  padding-top: .75rem;
}

.step-content h4 {
  margin-bottom: .25rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: .85rem 1.1rem;
  border: 1px solid var(--border);
  font-size: .9rem;
  text-align: left;
}

.data-table thead th {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.data-table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.data-table tbody tr:hover {
  background: rgba(0, 53, 128, .04);
}

/* ========================================================
   FACULTY PAGE
   ======================================================== */
.faculty-search {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.faculty-search input {
  flex: 1;
  min-width: 220px;
  padding: .7rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.faculty-search input:focus {
  border-color: var(--blue);
}

.filter-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: .45rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  border: 1.5px solid var(--border);
  color: var(--text-light);
  background: var(--white);
  transition: all var(--transition);
}

.filter-tab.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.faculty-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.faculty-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.faculty-photo {
  height: 180px;
  overflow: hidden;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.faculty-card:hover .faculty-photo img {
  transform: scale(1.05);
}

.faculty-info {
  padding: 1rem;
}

.faculty-info h4 {
  font-size: .95rem;
  margin-bottom: .15rem;
}

.faculty-info .desig {
  font-size: .8rem;
  color: var(--red);
  font-weight: 600;
}

.faculty-info .qual {
  font-size: .78rem;
  color: var(--text-light);
}

.faculty-info .dept-tag {
  display: inline-block;
  margin-top: .4rem;
  padding: .2rem .6rem;
  background: rgba(0, 53, 128, .08);
  color: var(--blue);
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
}

/* ========================================================
   GALLERY PAGE
   ======================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, .15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--red);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, .15);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--red);
}

/* ========================================================
   CONTACT PAGE
   ======================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  transition: all var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(0, 53, 128, .1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .8rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: none;
}

/* ========================================================
   DOWNLOADS PAGE
   ======================================================== */
.download-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition);
}

.download-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.dl-icon {
  font-size: 1.8rem;
  color: var(--red);
  flex-shrink: 0;
}

.dl-info {
  flex: 1;
}

.dl-info h5 {
  font-size: .95rem;
  margin-bottom: .1rem;
}

.dl-meta {
  font-size: .78rem;
  color: var(--text-light);
}

/* ========================================================
   EVENTS & NOTICES
   ======================================================== */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--red);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.notice-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.notice-date {
  font-size: .78rem;
  color: var(--blue);
  font-weight: 700;
  min-width: 70px;
}

.notice-item h5 {
  font-size: .9rem;
  margin-bottom: .2rem;
}

.notice-item p {
  font-size: .82rem;
}

/* ========================================================
   LEGAL PAGE
   ======================================================== */
.legal-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}

.legal-tab {
  padding: .65rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.legal-tab.active {
  color: var(--blue);
  border-color: var(--blue);
}

.legal-panel {
  display: none;
}

.legal-panel.active {
  display: block;
}

.legal-panel h4 {
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  color: var(--blue);
}

.legal-panel p,
.legal-panel li {
  font-size: .92rem;
  color: var(--text-light);
}

.legal-panel ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-panel ul li {
  margin-bottom: .3rem;
}

/* ========================================================
   STUDENT CORNER
   ======================================================== */
.timetable-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tt-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.tt-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tt-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.tt-card .tt-info {
  padding: 1rem;
}

.tt-card .tt-info h5 {
  font-size: .9rem;
  margin-bottom: .25rem;
}

/* ========================================================
   FOOTER NEWSLETTER
   ======================================================== */
.footer-newsletter {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* Footer Logo Badge - Fix for white background logo */
.footer-logo-badge {
  background: #fff;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  border: 4px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.footer-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.newsletter-text {
  flex: 1;
}

.newsletter-text h3 {
  color: #fff;
  margin-bottom: .5rem;
}

.newsletter-text p {
  color: rgba(255, 255, 255, .85);
}

.newsletter-form {
  display: flex;
  gap: .75rem;
  flex: 1;
}

.newsletter-form input {
  flex: 1;
  padding: .85rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: .95rem;
  outline: none;
  background: rgba(255, 255, 255, .95);
  color: var(--text);
}

.newsletter-form button {
  background: var(--blue);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ========================================================
   LAZY LOAD
   ======================================================== */
img.lazy {
  opacity: 0;
  transition: opacity .5s;
}

img.lazy.loaded {
  opacity: 1;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1199px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-links .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }

  .nav-menu,
  .nav-actions .btn,
  .nav-apply {
    display: none !important;
  }

  .nav-actions .btn-search,
  .nav-actions .btn-dark-mode {
    display: grid;
    place-items: center;
  }

  .nav-actions {
    height: 40px;
    /* Aligns with hamburger menu */
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-home .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-img-wrap img {
    height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .history-section .container {
    grid-template-columns: 1fr;
  }

  .principal-section .container {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .course-panel.active {
    grid-template-columns: 1fr 1fr;
  }

  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accreditation-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timetable-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .newsletter-form {
    width: 100%;
    /* Keep flex-direction: row (default) */
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .footer-about,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .slide-flex-wrap {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    align-items: center;
  }

  .slide-side-actions {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 1rem;
    align-items: stretch;
  }

  .slide-content {
    padding: 0;
    max-width: 100%;
  }

  .slide-content h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 1rem;
  }

  .slide-content p {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .quick-links .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-bar {
    display: none;
  }

  .course-panel.active {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accreditation-grid {
    grid-template-columns: 1fr;
  }

  .timetable-grid {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Latest Updates Bar Mobile Refinement */
  .lu-badge {
    display: none !important;
  }

  .lu-ticker-wrap {
    padding-left: 1rem;
  }
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .step-item {
    padding-left: 0;
    text-align: center;
    padding-top: 3.5rem;
  }

  .step-item::before {
    left: 50%;
    top: 3rem;
    bottom: -1rem;
    width: 2px;
    transform: translateX(-50%);
  }

  .step-num {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }

  .quick-links .container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .timetable-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .accreditation-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .dept-grid {
    grid-template-columns: 1fr;
  }

  .btn-hero-pill {
    min-width: unset;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .slide-flex-wrap {
    padding: 0 1rem;
  }
}

/* Extra Small Devices (iPhone SE / Small Android) */
@media (max-width: 360px) {
  .logo-round-img {
    height: 45px !important;
    width: 45px !important;
  }

  .nav-logo {
    gap: 0.4rem;
  }

  .logo-name {
    font-size: 0.9rem;
  }

  .logo-sub {
    font-size: 0.6rem;
  }

  .slide-content h1 {
    font-size: 1.35rem;
  }
}

/* ========================================================  
   ACADEMICS PAGE PREMIUM STYLES  
   ======================================================== */
.course-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.course-card-premium {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.course-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue);
}

.course-card-img {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  filter: contrast(1.05) saturate(1.1);
}

.course-card-premium:hover .course-card-img img {
  transform: scale(1.1);
}

.course-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-body h4 {
  margin-bottom: 1rem;
  color: var(--blue);
}

.course-card-footer {
  padding: 1rem 2rem;
  background: var(--gray-100);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--blue);
}

.calendar-card {
  background: var(--white);
  border-left: 5px solid var(--blue);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s;
}

.calendar-card:hover {
  transform: translateX(10px);
}

.calendar-date {
  color: var(--red);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: .25rem;
  display: block;
}

/* ========================================================  
   ADMISSIONS PAGE PREMIUM STYLES  
   ======================================================== */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.doc-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.doc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.doc-card h5 {
  margin-bottom: .5rem;
  font-size: 1rem;
  color: var(--blue);
}

.step-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2.5rem;
}

.step-item::before {
  content: '';
  position: absolute;
  left: 1.45rem;
  top: 3rem;
  bottom: -2rem;
  width: 2px;
  background: var(--border);
}

.step-item:last-child::before {
  display: none;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 53, 128, 0.2);
  z-index: 2;
  transition: transform .3s;
}

/* ========================================================  
   STUDENT CORNER PREMIUM STYLES  
   ======================================================== */
.timetable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tt-card-premium {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.tt-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.tt-card-premium.ba {
  border-left: 5px solid var(--blue);
}

.tt-card-premium.bsc {
  border-left: 5px solid var(--saffron);
}

.tt-card-premium.bcom {
  border-left: 5px solid var(--gold);
}

.tt-icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tt-info-premium {
  flex: 1;
}

/* ========================================================  
   FACULTY PREMIUM V2 STYLES  
   ======================================================== */
.fac-grid,
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.fac-card-premium,
.faculty-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 53, 128, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fac-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue);
}

.fac-photo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
  padding: 5px;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

.fac-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fac-photo-inner img {
  width: 100%%;
  height: 100%%;
  object-fit: cover;
  transition: transform .5s;
}

.fac-card-premium:hover .fac-photo-inner img {
  transform: scale(1.1);
}

.fac-info h4 {
  color: var(--blue);
  margin-bottom: .4rem;
  font-size: 1.15rem;
}

.fac-desig {
  color: var(--saffron);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fac-qual {
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.fac-tag {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #f0f4f8;
  color: var(--blue);
  border: 1px solid rgba(0, 53, 128, 0.1);
}

.fac-card-premium.ba {
  border-bottom: 4px solid var(--blue);
}

.fac-card-premium.bsc {
  border-bottom: 4px solid var(--saffron);
}

/* ========================================================  
  
/* ========================================================  
   PHOTO GALLERY PREMIUM STYLES  
   ======================================================== */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.gallery-item img {
  width: 100%%;
  height: 100%%;
  object-fit: cover;
  transition: transform .5s;
  filter: contrast(1.05) saturate(1.1);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 53, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  font-size: 2rem;
  color: #fff;
  backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.lightbox {
  background: rgba(19, 23, 32, 0.95) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}