/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  /* Color Palette */
  --primary-color: #512888;
  --primary-light: #8e6fc0;
  --primary-dark: #311852;
  --secondary-color: #fa8833;
  --secondary-light: #ffb070;
  --secondary-dark: #ce4200;
  --accent-color: #ce4200;
  --accent-light: #fcebdc;

  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --bg-white: #ffffff;
  --bg-light: #f3f6fa;
  --bg-slate: #e5edf5;
  --bg-overlay: rgba(81, 40, 136, 0.85);

  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout & Spacing */
  --container-width: 1400px;
  --header-height: 80px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 10px 15px -3px rgba(81, 40, 136, 0.1),
    0 4px 6px -2px rgba(81, 40, 136, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(81, 40, 136, 0.15),
    0 10px 10px -5px rgba(81, 40, 136, 0.04);
  --shadow-glow: 0 0 15px rgba(250, 136, 51, 0.4);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASIC STYLES --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  text-transform: capitalize;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-sm);
}

.section-dark .section-title h2 {
  color: var(--bg-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-wrap: nowrap;
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-outline-white {
  border-color: var(--bg-white);
  color: var(--bg-white);
  background: transparent;
}

.btn-outline-white:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

.badge-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.badge-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

/* --- HEADER & NAVIGATION --- */
body {
  padding-top: 80px;
  /* Default height of fixed header (80px) */
}

body.has-top-bar {
  padding-top: 118px;
  /* Combined height of fixed header (80px) and fixed top bar (38px) */
}

.top-bar {
  position: fixed;
  top: 80px;
  /* Positioned below the default 80px header */
  left: 0;
  width: 100%;
  height: 38px;
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--secondary-color);
  display: flex;
  align-items: stretch;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: top var(--transition-normal);
}

header.scrolled+.top-bar {
  top: 70px;
  /* Positioned below the scrolled 70px header */
}

.flash-news-label {
  background: linear-gradient(90deg,
      var(--secondary-dark),
      var(--secondary-color));
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0 2rem 0 1.5rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--bg-white);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.ticker-wrap {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  min-width: 0;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 30s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 3rem;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
}

.ticker-icon {
  width: 14px;
  height: 14px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition-normal);
  border-bottom: 3px solid var(--secondary-color);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
  background-color: var(--primary-dark);
  top: 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-white, #fff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  border-radius: 0%;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--secondary-color);
}

.logo-text h1 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-light);
}

.logo-text span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary-light);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.85);
  position: relative;
  padding: 0.5rem 0;
  text-wrap: nowrap;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--secondary-color);
}

.nav-link:hover {
  color: var(--text-light);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  z-index: 10;
  border-top: 3px solid var(--secondary-color);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.85);
  font-weight: 500;
  transition: var(--transition-normal);
}

.dropdown-menu a:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding-left: 1.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* --- FOOTER --- */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem 0;
  border-top: 4px solid var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo h2 {
  color: var(--bg-white);
  font-size: 1.35rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact li svg {
  width: 20px;
  height: 20px;
  fill: var(--secondary-color);
  flex-shrink: 0;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
}

.social-icon:hover {
  background-color: var(--secondary-color);
  color: var(--primary-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.social-icon:hover svg {
  fill: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #64748b;
}

/* --- MODERN HOME PAGE HERO --- */
.modern-hero {
  position: relative;
  height: calc(100vh - 120px);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.modern-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  cursor: pointer;
  display: block;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg,
      rgba(49, 24, 82, 0.95) 0%,
      rgba(81, 40, 136, 0.8) 50%,
      rgba(250, 136, 51, 0.2) 100%);
  pointer-events: none;
  z-index: 3;
}

.slider-controls {
  position: absolute;
  bottom: 120px;
  right: 50px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  padding: 0;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  background-color: transparent;
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
}

.hero-content-box {
  max-width: 650px;
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(90deg,
      var(--secondary-light),
      var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-action-btns {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.btn-modern-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg,
      var(--secondary-color),
      var(--secondary-dark));
  color: var(--bg-white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(250, 136, 51, 0.3);
  transition: all 0.3s ease;
}

.btn-modern-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(250, 136, 51, 0.4);
}

.btn-modern-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  text-wrap: nowrap;
}

.btn-modern-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
}


/* --- ACCREDITATIONS HERO BADGES (MODERN MICRO-BADGES) --- */
.hero-badges-placeholder {
  display: flex;
  margin-bottom: 1.25rem;
  width: 100%;
}

.hero-badges-container {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  pointer-events: auto;
  z-index: 5;
  width: auto;
  margin-left: 0;
  /* Reset previous margin */
}

.hm-hero__float-card {
  flex-shrink: 0;
  height: 52px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  border: 1.5px solid rgba(250, 136, 51, 0.45);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  overflow: hidden;
}

.hm-hero__float-card:first-child {
  border-radius: 12px !important;
}

.hm-hero__float-card:last-child {
  border-radius: 12px !important;
}

.hm-hero__float-card:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--secondary-light);
  box-shadow: 0 12px 24px rgba(250, 136, 51, 0.25);
}

.hm-badge-svg {
  display: block;
  height: 100% !important;
  width: auto !important;
}

/* Sizing for desktop SVGs - force auto width so aspect ratio handles it */
.hm-hero__float-card:first-child .hm-badge-svg {
  width: auto !important;
}

.hm-hero__float-card:last-child .hm-badge-svg {
  width: auto !important;
}

/* Popover for desktop hover */
.hero-badge-popover {
  position: absolute;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92) translateY(-12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 45px rgba(250, 136, 51, 0.2);
  border-radius: 26px;
  border: 2.5px solid rgba(250, 136, 51, 0.5);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  background: rgba(13, 20, 42, 0.92);
  padding: 8px;
  width: max-content;
}

.hero-badge-popover.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Custom modal styling for hero badge popup */
#heroBadgeModal .notice-modal-content {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  max-width: 480px;
  width: 90%;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#heroBadgeModal.active .notice-modal-content {
  transform: scale(1) translateY(0);
}

#heroBadgeModal .hero-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s, transform 0.3s;
}

#heroBadgeModal .hero-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Floating Elements */
.hero-floating-elements {
  position: relative;
  width: 400px;
  height: 400px;
  display: none;
}

@media (min-width: 992px) {
  .hero-floating-elements {
    display: block;
  }
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--bg-white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 20%;
  left: 0;
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.card-icon {
  width: 45px;
  height: 45px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-text h4 {
  font-size: 1.2rem;
  margin-bottom: 2px;
  font-weight: 800;
}

.card-text span {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Shape Divider */
.hero-shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.hero-shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.hero-shape-divider .shape-fill {
  fill: var(--bg-light);
}

.reveal-fade {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--transition-slow),
    transform 0.8s var(--transition-slow);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s var(--transition-slow),
    transform 0.8s var(--transition-slow);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s var(--transition-slow),
    transform 0.8s var(--transition-slow);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* --- CORE PILLARS SECTION --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background-color: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(81, 40, 136, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border: 1px solid rgba(81, 40, 136, 0.05);
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg,
      var(--secondary-color),
      var(--primary-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pillar-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(81, 40, 136, 0.12);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      rgba(81, 40, 136, 0.05),
      rgba(81, 40, 136, 0.15));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition-normal);
  transform: rotate(-5deg);
}

.pillar-card:hover .pillar-icon {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-light));
  transform: rotate(0deg);
}

.pillar-icon svg {
  width: 38px;
  height: 38px;
  fill: var(--primary-color);
  transition: var(--transition-normal);
}

.pillar-card:hover .pillar-icon svg {
  fill: var(--bg-white);
}

.pillar-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.pillar-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- STATS COUNTER SECTION --- */
.stats-bar {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--primary-dark) 100%);
  color: var(--bg-white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- PRINCIPAL WELCOME SECTION --- */
.welcome-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
  align-items: center;
}

.visionary-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-dark);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visionary-badge .years {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
  position: relative;
  padding-bottom: 0.75rem;
}

.visionary-badge .years::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.visionary-badge .text {
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.8;
}

.welcome-text h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.welcome-subtitle {
  color: var(--secondary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.welcome-text blockquote {
  font-style: italic;
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--primary-color);
  font-weight: 500;
}

/* --- HOME NEWS & EVENTS PREVIEW --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-card-img img {
  transform: scale(1.08);
}

.news-date-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.news-date-badge span {
  display: block;
  font-size: 1.1rem;
}

.news-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.news-card:hover .news-card-content h3 {
  color: var(--secondary-dark);
}

.news-card-content p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.read-more-link svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-color);
  transition: var(--transition-fast);
}

.read-more-link:hover svg {
  transform: translateX(4px);
  fill: var(--secondary-color);
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1rem 1rem 3rem 1rem;
}

.testimonials-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 1rem;
}

/* Premium Testimonial Card */
.testimonial-card-premium {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 3.5rem 3.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.testimonial-card-premium:hover {
  transform: translateY(-5px);
}

.testimonial-card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom,
      var(--primary-color),
      var(--secondary-color));
}

.quote-mark {
  font-size: 8rem;
  font-family: "Georgia", serif;
  color: var(--secondary-color);
  opacity: 0.15;
  line-height: 0;
  position: absolute;
  top: 5rem;
  right: 2rem;
  user-select: none;
}

.t-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 1;
  max-width: 85%;
}

.t-author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.t-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.t-avatar svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-color);
}

.t-details h4 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.t-details span {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.testimonial-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* --- PAGE HERO BANNER --- */
.page-banner {
  background:
    linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    url("../images/hero_banner_1.jpeg") center/cover no-repeat;
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
}

.page-banner-content h1 {
  color: var(--bg-white);
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--secondary-light);
}

.breadcrumbs a:hover {
  color: var(--bg-white);
}

.breadcrumbs span {
  color: #94a3b8;
}

/* --- ABOUT US PAGE STYLES --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-info-img {
  position: relative;
}

.about-info-img::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--secondary-color);
  border-radius: var(--border-radius-md);
  z-index: 1;
}

.about-info-img img {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.value-card {
  background-color: var(--bg-light);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  border-top: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.value-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary-color);
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-color);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Management grid styling */
.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.mgmt-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: center;
}

.mgmt-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mgmt-card-img {
  height: 250px;
  overflow: hidden;
}

.mgmt-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mgmt-card-info {
  padding: 1.5rem;
  border-top: 3px solid var(--primary-color);
}

.mgmt-card:hover .mgmt-card-info {
  border-top-color: var(--secondary-color);
}

.mgmt-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.mgmt-card-info p {
  font-size: 0.85rem;
  color: var(--secondary-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* --- ACADEMICS PAGE STYLES --- */
.academics-intro {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.stages-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stage-tab-btn {
  background-color: var(--bg-slate);
  color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
}

.stage-tab-btn.active,
.stage-tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.stage-content {
  display: none;
}

.stage-content.active {
  display: block;
}

.stage-detail {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
  align-items: center;
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.stage-img img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.stage-img-carousel {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: var(--bg-light);
}

.stage-img-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  box-shadow: none;
  transition: opacity 0.8s ease-in-out;
}

.stage-img-carousel .carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.stage-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stage-subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.subject-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.subject-item svg {
  width: 18px;
  height: 18px;
  fill: var(--success);
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stream-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--secondary-color);
}

.stream-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.stream-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stream-card li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stream-card li::before {
  content: "✓";
  color: var(--secondary-dark);
  font-weight: bold;
}

/* --- FACILITIES PAGE STYLES --- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.facility-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  top: 0;
}

.facility-card:hover {
  top: -8px;
  box-shadow: var(--shadow-lg);
}

.facility-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.facility-card:hover .facility-img img {
  transform: scale(1.08);
}

.facility-info {
  padding: 1.5rem;
}

.facility-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.facility-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- ADMISSIONS PAGE STYLES --- */
.admission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

.admission-grid>div {
  min-width: 0;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition-normal);
}

.step-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary-color);
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-card:hover .step-number {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.step-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.step-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Table styling */
.age-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.age-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-white);
}

.age-table th {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.age-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--bg-slate);
  color: var(--text-dark);
}

.age-table tr:hover {
  background-color: var(--bg-light);
}

/* Checklist cards */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.checklist-card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-slate);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.checklist-card:hover {
  border-color: var(--secondary-color);
  background-color: var(--bg-light);
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.checklist-card.checked .checkbox-custom {
  background-color: var(--success);
  border-color: var(--success);
}

.checkbox-custom svg {
  width: 14px;
  height: 14px;
  fill: transparent;
  transition: var(--transition-fast);
}

.checklist-card.checked .checkbox-custom svg {
  fill: var(--bg-white);
}

.checklist-card.checked span {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Multi-step Form styling */
.form-box {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-slate);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 1.75rem;
}

.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.form-progress::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--bg-slate);
  z-index: 1;
}

.form-progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 3px;
  background-color: var(--primary-color);
  z-index: 2;
  transition: width var(--transition-normal);
  width: 0%;
}

.progress-step {
  width: 32px;
  height: 32px;
  background-color: var(--bg-slate);
  border: 3px solid var(--bg-slate);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  z-index: 3;
  transition: var(--transition-normal);
  color: var(--text-muted);
}

.progress-step.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
}

.progress-step.completed {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--bg-white);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 34, 71, 0.15);
}

.form-control.error {
  border-color: var(--danger);
}

.error-message {
  color: var(--danger);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  position: absolute;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.form-success-message {
  text-align: center;
  padding: 2rem 0;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background-color: var(--accent-light);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.success-icon-wrap svg {
  width: 48px;
  height: 48px;
  fill: var(--success);
}

/* --- ACHIEVEMENTS PAGE STYLES --- */
.filter-tabs {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 2px solid rgba(15, 34, 71, 0.12);
  width: 100%;
  padding: 0;
}

.filter-btn {
  background-color: transparent;
  color: rgba(15, 34, 71, 0.65);
  border: none;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
  border-radius: 8px 8px 0 0;
}

.filter-btn:hover {
  color: var(--primary-color);
  background-color: rgba(15, 34, 71, 0.04);
}

.filter-btn.active {
  background-color: rgba(41, 87, 164, 0.08);
  color: var(--primary-color);
  border-bottom: 3px solid var(--secondary-color);
  font-weight: 800;
}

@media (max-width: 768px) {
  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.achievement-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border-top: 4px solid var(--primary-color);
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--secondary-color);
}

.achievement-img {
  height: 200px;
  overflow: hidden;
}

.achievement-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.achievement-card:hover .achievement-img img {
  transform: scale(1.08);
}

.achievement-info {
  padding: 1.5rem;
}

.achievement-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-dark);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.achievement-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.achievement-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- GALLERY PAGE STYLES --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 34, 71, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-normal);
  color: var(--text-light);
  padding: 1.5rem;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transform: translateY(15px);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: translateY(0);
}

.gallery-overlay-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-color);
}

.gallery-overlay h3 {
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  transform: translateY(15px);
  transition: var(--transition-normal);
  transition-delay: 50ms;
}

.gallery-overlay p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0;
  transform: translateY(15px);
  transition: var(--transition-normal);
  transition-delay: 100ms;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 18, 40, 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 4px solid var(--bg-white);
}

.lightbox-caption {
  color: var(--bg-white);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--bg-white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2001;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border: none;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.lightbox-nav:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-nav svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* --- CONTACT PAGE STYLES --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

/* Contact Form Styles */
.contact-form-wrap {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  justify-content: flex-start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  /* gap: 1.5rem; */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-color);
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.error-msg {
  color: #ef4444;
  font-size: 0.8rem;
  /* min-height: 1.2rem; */
  display: block;
}

.form-control.input-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-control.input-error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-color);
}

.custom-select-trigger span {
  color: #94a3b8;
}

.custom-options {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1.2rem;
  width: calc(100% + 2.4rem);
  background-color: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-option {
  padding: 0.8rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s;
  color: var(--text-color);
}

.custom-option:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary-dark);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23512888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem;
  padding-right: 3rem;
}

.contact-card {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border-bottom: 6px solid var(--secondary-color);
}

.contact-card h2 {
  color: var(--bg-white);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  fill: var(--secondary-color);
}

.contact-item-info {
  min-width: 0;
  flex: 1;
}

.contact-item-info h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-item-info p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-all;
}

.contact-socials h3 {
  color: var(--bg-white);
  font-size: 1.2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.contact-form-box {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-slate);
}

.contact-form-box h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* Contact Media Card */
.contact-media-card {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-avatar-box {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-slate);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: var(--transition-normal);
}

.contact-avatar-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-light);
}

.contact-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-avatar-info h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.contact-avatar-info .designation {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ecfdf5;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 0.8rem;
  color: #065f46;
  font-weight: 600;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.contact-campus-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  transition: var(--transition-normal);
}

.contact-campus-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-campus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.contact-campus-image:hover img {
  transform: scale(1.08);
}

.image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top,
      rgba(15, 34, 71, 0.9) 0%,
      rgba(15, 34, 71, 0.4) 70%,
      transparent 100%);
  padding: 2.5rem 2rem 2rem 2rem;
  color: var(--text-light);
}

.image-overlay-text h3 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.image-overlay-text p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Map styling */
.map-wrap {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  border: 4px solid var(--bg-slate);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      var(--primary-dark) 0%,
      var(--primary-color) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
}

.map-placeholder svg {
  width: 64px;
  height: 64px;
  fill: var(--secondary-color);
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.map-placeholder h3 {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.map-placeholder p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 400px;
}

/* --- EVENTS PAGE STYLES --- */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 0;
}

/* Center timeline vertical line */
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

/* Timeline Item base */
.timeline-item {
  position: relative;
  width: 50%;
  margin-bottom: 3.5rem;
}

/* Dots on center line */
.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--bg-white);
  border: 4px solid var(--secondary-color);
  border-radius: 50%;
  z-index: 2;
  top: 28px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--secondary-color);
  box-shadow: var(--shadow-glow);
  transform: scale(1.15);
}

/* Horizontal connector line from card to timeline */
.timeline-item::before {
  content: "";
  position: absolute;
  height: 2px;
  background-color: var(--primary-light);
  top: 37px;
  z-index: 1;
  width: 50px;
  transition: var(--transition-normal);
}

.timeline-item:hover::before {
  background-color: var(--secondary-color);
  height: 3px;
}

/* Left-sided items (odd) */
.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 50px;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(odd)::before {
  right: 0;
}

/* Right-sided items (even) */
.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 50px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-item:nth-child(even)::before {
  left: 0;
}

/* Timeline card content style */
.timeline-content {
  padding: 2.25rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
  border-left: 4px solid var(--primary-light);
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: 4px solid var(--secondary-color);
}

.timeline-item:hover .timeline-content {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.timeline-item:nth-child(odd):hover .timeline-content {
  border-left-color: var(--secondary-color);
}

.timeline-item:nth-child(even):hover .timeline-content {
  border-left-color: var(--primary-color);
}

/* Date box inside the card */
.timeline-date {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-date {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.timeline-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Floating Admission Enquiry FAB */
.fab-admission {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulse-glow 2s infinite;
  border: 2px solid var(--primary-color);
}

.fab-admission:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.fab-admission svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 1200px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-top: 70px;
  }

  body.has-top-bar {
    padding-top: 108px;
    /* Combined height of mobile header (70px) and fixed top bar (38px) */
  }

  .top-bar {
    top: 70px;
    /* Positioned below mobile header (always 70px) */
  }

  .top-bar-info {
    display: none;
  }

  .ticker-wrap {
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 108px;
    /* Below the header and top-bar combined height */
    left: -100%;
    width: 80%;
    height: calc(100vh - 108px);
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    top: 72px;
    left: 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding: 0.5rem 0 0 1rem;
    background-color: var(--primary-color);
    width: 100%;
  }

  .dropdown-menu a {
    padding: 0.5rem 1rem;
    color: rgba(248, 250, 252, 0.8);
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .welcome-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .academics-detail,
  .stage-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .stage-img-carousel {
    height: 260px;
  }

  .mgmt-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admission-grid,
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .timeline::after {
    left: 30px;
    margin-left: 0;
  }

  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    padding-left: 60px !important;
    padding-right: 0 !important;
    margin-bottom: 2.5rem;
  }

  .timeline-item::before {
    left: 30px !important;
    width: 30px !important;
  }

  .timeline-dot {
    left: 20px !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stage-subjects {
    grid-template-columns: 1fr;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-box,
  .contact-form-box {
    padding: 2rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .logo-text h1 {
    font-size: 1.15rem;
  }

  .logo-text span {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .mgmt-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
  }

  .contact-avatar-box {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

/* --- NEW HOME PAGE STYLES --- */
.welcome-overview {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.welcome-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pillars-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* --- BENTO BOX HIGHLIGHTS --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 1.5rem;
}

.bento-item {
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(81, 40, 136, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1;
}

.bento-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  background: conic-gradient(transparent,
      transparent,
      transparent,
      var(--secondary-color));
  transform: translate(-50%, -50%);
  animation: border-spin 4s linear infinite;
  z-index: -3;
}

.bento-item:hover::before {
  background: conic-gradient(transparent,
      transparent,
      transparent,
      var(--primary-color));
}

.bento-inner-bg {
  position: absolute;
  inset: 2px;
  border-radius: 22px;
  background:
    linear-gradient(135deg,
      rgba(81, 40, 136, 0.04) 0%,
      rgba(250, 136, 51, 0.04) 100%),
    var(--bg-white);
  z-index: -2;
}

.bento-bg-icon,
.bento-content {
  position: relative;
  z-index: 1;
}

.bento-item::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle,
      rgba(250, 136, 51, 0.15) 0%,
      transparent 70%);
  border-radius: 50%;
  z-index: -1;
  transition: all 0.6s ease;
}

.bento-item:nth-child(even)::after {
  background: radial-gradient(circle,
      rgba(81, 40, 136, 0.15) 0%,
      transparent 70%);
  left: -20px;
  right: auto;
  bottom: -50px;
  top: auto;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(81, 40, 136, 0.18);
  border-color: rgba(250, 136, 51, 0.4);
}

.bento-item:hover::after {
  transform: scale(1.5);
  opacity: 0.8;
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-full {
  grid-column: span 4;
}

.bento-bg-icon {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 180px;
  height: 180px;
  opacity: 0.12;
  transition: all 0.6s ease;
  z-index: -1;
  pointer-events: none;
}

.bento-bg-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--primary-color);
}

.bento-item:hover .bento-bg-icon {
  transform: scale(1.15) rotate(-10deg);
  opacity: 0.25;
  fill: var(--secondary-color);
}

.bento-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.bento-content p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.6;
}

.commitments-grid {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #475569;
  text-align: left;
  line-height: 1.6;
}

.flex-column-gap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.flex-column-gap>* {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-tall {
    grid-row: span 1;
  }

  .bento-full {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-wide,
  .bento-tall,
  .bento-full {
    grid-column: span 1;
  }

  .bento-item {
    padding: 2rem;
  }

  .commitments-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
  }
}

@media (max-width: 1024px) {
  .pillars-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pillars-grid-3 {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* --- ABOUT US GALLERY GRID --- */
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.about-gallery-item {
  height: 250px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.about-gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- WELCOME SPLIT SECTION --- */
.welcome-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.welcome-content {
  text-align: left;
}

.welcome-content h2 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.welcome-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.welcome-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.welcome-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature-icon-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.welcome-media {
  position: relative;
}

.welcome-img-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.welcome-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.welcome-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 34, 71, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
  max-width: 220px;
  animation: welcomeFloat 6s ease-in-out infinite;
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes welcomeFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 992px) {
  .welcome-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .welcome-img {
    height: 380px;
  }
}

/* --- EVENTS CAROUSEL STYLES --- */
.events-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
}

.events-header-text {
  max-width: 700px;
}

.events-header-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.events-header-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.events-header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.events-view-more {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 2px;
  transition: var(--transition-normal);
}

.events-view-more:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--primary-color);
}

/* --- ACCORDION GALLERY --- */
.accordion-gallery {
  display: flex;
  height: 500px;
  gap: 1rem;
  width: 100%;
}

.accordion-item {
  flex: 1;
  position: relative;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accordion-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(15, 34, 71, 0.8) 0%,
      transparent 60%);
  opacity: 0.7;
  transition: opacity 0.4s;
}

.accordion-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  color: white;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.1s;
  width: 100%;
  box-sizing: border-box;
}

.accordion-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  color: #ffffff;
}

.accordion-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 0;
  white-space: nowrap;
  color: #f1f5f9;
}

.accordion-item:hover {
  flex: 4;
  box-shadow: 0 20px 40px rgba(81, 40, 136, 0.3);
}

.accordion-item:hover::after {
  opacity: 0.9;
}

.accordion-item:hover .accordion-content {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .accordion-gallery {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .accordion-gallery {
    flex-direction: column;
    height: 600px;
  }

  .accordion-item:hover {
    flex: 3;
  }

  .events-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .events-header-actions {
    width: 100%;
    margin-bottom: 0;
  }
}

/* --- EVENTS TABS STYLES --- */
.events-tab-content {
  display: none;
}

.events-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- GALLERY VIDEO STYLES --- */
.video-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(15, 34, 71, 0.95);
  color: var(--secondary-color);
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.lightbox-video {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  background-color: #000;
}

/* --- MODERN WELCOME SECTION --- */
.modern-heading {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.modern-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.welcome-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.welcome-feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg,
      var(--secondary-light),
      var(--secondary-color));
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-box svg {
  width: 20px;
  height: 20px;
}

.welcome-feature-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.welcome-feature-item span {
  font-size: 0.9rem;
  color: #64748b;
  display: block;
}

.modern-image-wrapper {
  position: relative;
  padding: 20px 20px 0 0;
}

.image-offset-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 90%;
  background: var(--primary-color);
  border-radius: 20px;
  z-index: 1;
}

.modern-welcome-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  margin-top: 30px;
}

.modern-stat-badge {
  position: absolute;
  bottom: 20px;
  right: 10%;
  z-index: 3;
  background: white;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--secondary-color);
  max-width: 250px;
  animation: float 5s ease-in-out infinite;
}

.modern-stat-badge .stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(81, 40, 136, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modern-stat-badge .stat-icon svg {
  width: 28px;
  height: 28px;
}

.modern-stat-badge .stat-info {
  display: flex;
  flex-direction: column;
}

.modern-stat-badge .badge-number {
  font-size: 1.8rem;
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1;
}

.modern-stat-badge .badge-text {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

/* --- GLASS PROFILE CARDS --- */
.glass-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.glass-profile-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(81, 40, 136, 0.05);
  border: 1px solid rgba(81, 40, 136, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.glass-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,
      var(--primary-color),
      var(--secondary-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-profile-img-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg,
      rgba(81, 40, 136, 0.1),
      rgba(250, 136, 51, 0.1));
  position: relative;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-profile-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.glass-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-profile-info h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.glass-profile-info p {
  font-size: 0.95rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0;
}

.glass-profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(81, 40, 136, 0.12);
  border-color: rgba(250, 136, 51, 0.2);
}

.glass-profile-card:hover::before {
  opacity: 1;
}

.glass-profile-card:hover .glass-profile-img-wrap {
  transform: scale(1.08);
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
}

.glass-profile-card:hover .glass-overlay {
  opacity: 1;
}

/* --- EDITORIAL CARD (Principal's Desk) --- */
.editorial-card {
  display: flex;
  background: var(--bg-white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(81, 40, 136, 0.08);
  border: 1px solid rgba(81, 40, 136, 0.05);
}

.editorial-image {
  flex: 0 0 35%;
  position: relative;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-light));
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.editorial-image-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.editorial-image-carousel .carousel-slide.active {
  opacity: 0.85;
  z-index: 1;
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      var(--bg-white) 100%);
}

.editorial-content {
  flex: 1;
  padding: 4rem;
}

.editorial-content p {
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.editorial-signature {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
  margin-top: 2rem;
}

/* Responsive Styles for New Components */
@media (max-width: 1024px) {
  .glass-profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-card {
    flex-direction: column;
  }

  .editorial-image {
    height: 300px;
  }

  .editorial-overlay {
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        var(--bg-white) 100%);
  }
}

@media (max-width: 768px) {
  .glass-profile-grid {
    grid-template-columns: 1fr;
  }

  .editorial-content {
    padding: 2.5rem 1.5rem;
  }
}

/* --- MODERN ADMISSION TIMELINE --- */
.modern-timeline {
  position: relative;
  padding-left: 4.5rem;
  margin-top: 1rem;
}

.modern-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(1.5rem - 1px);
  width: 2px;
  background: linear-gradient(to bottom,
      var(--primary-color),
      var(--secondary-color),
      transparent);
  border-radius: 3px;
}

.timeline-step {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-node {
  position: absolute;
  left: -4.5rem;
  top: 0;
  width: 3rem;
  height: 3rem;
  background: var(--bg-white);
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(250, 136, 51, 0.3);
  z-index: 2;
  transition: all 0.4s ease;
}

.timeline-step:hover .timeline-node {
  background: var(--secondary-color);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: 0 5px 25px rgba(250, 136, 51, 0.5);
}

.timeline-content {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(81, 40, 136, 0.05);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-content {
  box-shadow: 0 15px 40px rgba(81, 40, 136, 0.1);
  border-left-color: var(--secondary-color);
  transform: translateX(10px);
}

.timeline-content h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- GLASSMORPHIC DATA TABLE --- */
.glass-table-container {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(81, 40, 136, 0.05);
  overflow-x: auto;
}

.glass-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.glass-table th {
  background: linear-gradient(135deg,
      rgba(81, 40, 136, 0.05),
      rgba(81, 40, 136, 0.1));
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 1.25rem 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(81, 40, 136, 0.1);
}

.glass-table th:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.glass-table th:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.glass-table td {
  padding: 1.25rem 1rem;
  color: #475569;
  border-bottom: 1px solid rgba(81, 40, 136, 0.05);
  transition: all 0.3s ease;
  font-weight: 500;
}

.glass-table tbody tr {
  transition: all 0.3s ease;
}

.glass-table tbody tr:hover {
  background: rgba(250, 136, 51, 0.05);
}

.glass-table tbody tr:hover td {
  color: var(--primary-dark);
}

.glass-table tbody tr:last-child td {
  border-bottom: none;
}

/* --- MASONRY BENTO GRID (Facilities) --- */
.masonry-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(81, 40, 136, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.masonry-wide {
  grid-column: span 2;
}

.masonry-tall {
  grid-row: span 2;
}

.masonry-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(81, 40, 136, 0.15);
  z-index: 10;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.glass-slide-card {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .glass-slide-card {
  bottom: 0;
}

.gallery-item-info span {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.gallery-item-info h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0;
  line-height: 1.3;
}

/* --- GLASS PILL NAV --- */
.glass-pill-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(81, 40, 136, 0.05);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.glass-pill-nav .filter-btn {
  background: transparent;
  color: var(--text-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glass-pill-nav .filter-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary-color);
}

.glass-pill-nav .filter-btn.active {
  background: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(81, 40, 136, 0.2);
}

@media (max-width: 992px) {
  .masonry-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .masonry-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .masonry-wide,
  .masonry-tall,
  .masonry-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item img {
    height: 250px;
  }

  .glass-pill-nav {
    border-radius: 20px;
  }
}

/* --- HORIZONTAL ACHIEVEMENTS SHOWCASE --- */
.showcase-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

.showcase-row {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(81, 40, 136, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease;
}

.showcase-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(81, 40, 136, 0.15);
}

.showcase-row.showcase-reverse {
  /* Kept for HTML compatibility, no layout change needed for grid */
}

.showcase-img {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.showcase-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-row:hover .showcase-img img {
  transform: scale(1.05);
}

.showcase-img-carousel {
  position: relative;
  width: 100%;
  height: 250px;
}

.showcase-img-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 1s ease-in-out,
    transform 0.5s ease;
}

.showcase-img-carousel .carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.showcase-row:hover .showcase-img-carousel .carousel-slide.active {
  transform: scale(1.05);
}

.showcase-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(250, 136, 51, 0.9);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(250, 136, 51, 0.4);
  backdrop-filter: blur(5px);
}

.showcase-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-content h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.showcase-content p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 0;
  width: 90%;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .showcase-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .showcase-list {
    grid-template-columns: 1fr;
  }
}

/* --- WATERFALL POLAROID GALLERY --- */
.waterfall-grid {
  column-count: 3;
  column-gap: 2rem;
  padding: 1rem;
}

.waterfall-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  background: var(--bg-white);
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease;
}

.waterfall-item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
  z-index: 5;
}

.waterfall-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  transition: transform 0.5s ease;
}

.waterfall-item:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.waterfall-item:nth-child(even):hover {
  transform: scale(1.03) rotate(1deg);
}

.waterfall-item:hover img {
  transform: scale(1.02);
}

.polaroid-overlay {
  position: absolute;
  bottom: -100%;
  left: 15px;
  right: 15px;
  padding: 1.5rem;
  background: linear-gradient(to top,
      rgba(81, 40, 136, 0.95),
      rgba(81, 40, 136, 0.7));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.waterfall-item:hover .polaroid-overlay {
  bottom: 15px;
}

.polaroid-overlay h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.4s ease 0.1s,
    opacity 0.4s ease 0.1s;
}

.polaroid-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-bottom: 0;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.4s ease 0.2s,
    opacity 0.4s ease 0.2s;
}

.waterfall-item:hover .polaroid-overlay h3,
.waterfall-item:hover .polaroid-overlay p,
.zigzag-img-wrapper:hover .polaroid-overlay h3,
.zigzag-img-wrapper:hover .polaroid-overlay p {
  transform: translateY(0);
  opacity: 1;
}

.zigzag-img-wrapper:hover .polaroid-overlay {
  bottom: 0;
}

.gallery-overlay-icon {
  display: none;
  /* Hidden in polaroid style */
}

@media (max-width: 992px) {
  .waterfall-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .waterfall-grid {
    column-count: 1;
  }
}

/* --- ZIG-ZAG SPINE TIMELINE --- */
.zigzag-timeline {
  position: relative;
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem 0;
}

.zigzag-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(to bottom,
      rgba(81, 40, 136, 0.1),
      var(--primary-color),
      rgba(81, 40, 136, 0.1));
  border-radius: 4px;
}

.zigzag-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 4rem;
  position: relative;
}

.zigzag-item:nth-child(even) {
  flex-direction: row-reverse;
}

.zigzag-content {
  width: 45%;
  position: relative;
  z-index: 2;
}

.glass-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(81, 40, 136, 0.05);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.zigzag-item:hover .glass-card {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(81, 40, 136, 0.12);
}

.zigzag-content.glass-card {
  overflow: hidden;
  isolation: isolate;
  border: none;
}

.zigzag-content.glass-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent,
      transparent,
      var(--primary-color),
      var(--secondary-color));
  animation: border-spin 3s linear infinite;
  z-index: -2;
}

.zigzag-content.glass-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: inherit;
  z-index: -1;
}

.zigzag-dot {
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border: 4px solid var(--bg-white);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(81, 40, 136, 0.2);
  transition: all 0.4s ease;
}

.zigzag-item:hover .zigzag-dot {
  background: var(--accent-color);
  box-shadow: 0 0 0 8px rgba(250, 136, 51, 0.3);
  transform: translate(-50%, 0) scale(1.2);
}

.zigzag-date {
  width: 45%;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  padding: 0 2rem;
  opacity: 0.8;
}

.zigzag-item:nth-child(even) .zigzag-date {
  text-align: left;
}

.zigzag-img-wrapper img {
  transition: transform 0.5s ease;
}

.zigzag-item:hover .zigzag-img-wrapper img {
  transform: scale(1.05);
}

.zigzag-img-wrapper .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 1s ease-in-out,
    transform 0.5s ease;
}

.zigzag-img-wrapper .carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

@media (max-width: 768px) {
  .zigzag-timeline::before {
    left: 20px;
  }

  .zigzag-item,
  .zigzag-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
    margin-bottom: 3rem;
  }

  .zigzag-content {
    width: 100%;
    margin-top: 1rem;
  }

  .zigzag-date {
    width: 100%;
    text-align: left !important;
    padding: 0;
    font-size: 1.2rem;
  }

  .zigzag-dot {
    left: 20px;
  }
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg,
      var(--secondary-color),
      var(--secondary-dark));
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(250, 136, 51, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-dark));
  box-shadow: 0 15px 25px rgba(81, 40, 136, 0.4);
  transform: translateY(-5px) scale(1.05);
}

/* --- EVENTS CAROUSEL --- */
.events-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.events-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.events-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 320px;
  height: 400px;
  position: relative;
  scroll-snap-align: center;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.carousel-item-overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: white;
}

.carousel-item-overlay p {
  font-size: 0.9rem;
  color: #e2e8f0;
  margin: 0;
}

.carousel-btn {
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  transition: all 0.3s ease;
  z-index: 2;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 280px;
    height: 350px;
  }

  .carousel-btn {
    display: none;
  }
}

/* --- ANIMATED BENTO GRID --- */
.dark-bento-section {
  padding: 5rem 0;
}

.dark-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 1.5rem;
}

.dark-bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  z-index: 1;
  background-color: #f1f5f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dark-bento-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  background: conic-gradient(transparent,
      transparent,
      transparent,
      var(--secondary-color));
  transform: translate(-50%, -50%);
  animation: border-spin 4s linear infinite;
  z-index: -1;
}

.dark-bento-card:hover::before {
  background: conic-gradient(transparent,
      transparent,
      transparent,
      var(--primary-color));
}

.dark-bento-content {
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.dark-bento-content h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.dark-bento-content p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.dark-bento-icon {
  margin-bottom: 1.25rem;
  width: 50px;
  height: 50px;
  background: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-bento-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--secondary-color);
}

.dark-bento-wide {
  grid-column: span 2;
}

.split-img-wrap {
  position: relative;
}

.split-img-wrap img {
  width: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
  position: relative;
  z-index: 2;
  transition: var(--transition-normal);
}

.split-img-wrap:hover img {
  transform: scale(1.02);
}

.img-deco {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius-md);
  z-index: 1;
}

@keyframes border-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .dark-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dark-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .dark-bento-wide {
    grid-column: span 1;
  }

  .dark-bento-content {
    padding: 2rem;
  }
}

/* --- INSTITUTES SHOWCASE SECTION --- */
.sec-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.sec-tag {
  display: inline-block;
  padding: 0.35rem 1.25rem;
  background-color: rgba(250, 136, 51, 0.1);
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.sec-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.sec-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.sec-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg,
      var(--secondary-color),
      var(--secondary-light));
  margin: 0 auto;
  border-radius: 2px;
}

.institutes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.institute-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  z-index: 1;
  background-color: var(--bg-slate);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.institute-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  background: conic-gradient(transparent,
      transparent,
      transparent,
      var(--secondary-color));
  transform: translate(-50%, -50%);
  animation: border-spin 4s linear infinite;
  z-index: -1;
}

.institute-card:hover::before {
  background: conic-gradient(transparent,
      transparent,
      transparent,
      var(--primary-color));
}

.institute-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.institute-inner {
  background-color: var(--bg-white);
  width: 100%;
  height: 100%;
  border-radius: calc(var(--border-radius-lg) - 2px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.inst-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.inst-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.inst-img-top-view img {
  height: 190%;
}


.institute-card:hover .inst-img img {
  transform: scale(1.08);
}

.inst-body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.inst-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.inst-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.inst-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.inst-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  margin-top: auto;
}

.inst-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.inst-link:hover {
  color: var(--secondary-color);
}

.inst-link:hover svg {
  transform: translateX(5px);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .fade-up:not(.active) {
    animation: fadeUpAnim 0.8s ease forwards;
  }
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-grid>*:nth-child(1) {
  animation-delay: 0.1s;
  transition-delay: 0.1s;
}

.stagger-grid>*:nth-child(2) {
  animation-delay: 0.2s;
  transition-delay: 0.2s;
}

.stagger-grid>*:nth-child(3) {
  animation-delay: 0.3s;
  transition-delay: 0.3s;
}

.institute-card[style*="grid-column: span 2"] {
  max-height: 320px;
}

.institute-card[style*="grid-column: span 2"] .inst-link {
  margin-top: 0.5rem;
}

@media (max-width: 992px) {
  .institutes-grid {
    grid-template-columns: 1fr;
  }

  .institute-card[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
    max-height: none;
  }

  .institute-card[style*="grid-column: span 2"]>div {
    grid-template-columns: 1fr !important;
  }

  .institute-card[style*="grid-column: span 2"] .inst-img {
    height: 220px !important;
  }
}

@media (max-width: 768px) {
  .sec-header h2 {
    font-size: 2rem;
  }

  .inst-body {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .visionary-badge {
    bottom: -10px;
    right: 0px;
    padding: 1rem 1.5rem;
  }

  .visionary-badge .years {
    font-size: 1.8rem;
  }

  .visionary-badge .text {
    font-size: 0.75rem;
  }
}

/* --- HERO SECTION MOBILE FIX --- */
@media (max-width: 992px) {
  .modern-hero {
    height: auto;
    min-height: 700px;
    padding: 120px 0 60px 0;
  }

  .hero-container {
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    height: auto;
  }

  .hero-badges-container {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }

  .hero-badges-placeholder {
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .hero-content-box {
    padding: 0 1.5rem;
    text-align: center;
  }

  .hero-action-btns {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-badges-container {
    gap: 12px;
    justify-content: center;
  }

  .hm-hero__float-card {
    height: 44px;
    /* Sized down for mobile */
    padding: 2px 8px;
    border-width: 1.5px;
  }

  .hm-hero__float-card:first-child .hm-badge-svg {
    width: auto !important;
  }

  .hm-hero__float-card:last-child .hm-badge-svg {
    width: auto !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-content-box {
    padding: 0 1rem;
  }
}

/* --- RESPONSIVE CONTACT CARD --- */
@media (max-width: 768px) {
  .contact-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 1.5rem 1.25rem;
  }
}

/* --- ULTRA SMALL SCREENS FIX --- */
@media (max-width: 380px) {
  .logo-text h1 {
    font-size: 1rem;
  }

  .logo-text span {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo {
    gap: 0.5rem;
  }
}

/* --- MOBILE IMAGE FIX FOR INSTITUTE CARDS --- */
@media (max-width: 768px) {

  .inst-img,
  .institute-card[style*="grid-column: span 2"] .inst-img {
    height: auto !important;
  }

  .inst-img img {
    height: auto;
    object-fit: contain;
  }
}

/* --- MILESTONE TIMELINE --- */
.timeline-section {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.timeline-section .section-title h2 {
  color: var(--primary-dark);
  font-size: 2.5rem;
}

.timeline-section .section-title p {
  color: #4b5563;
  font-size: 1.1rem;
}

.timeline-section .section-title {
  margin-bottom: 5rem;
}

.timeline-section .section-title::before {
  content: "OUR HISTORY";
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* The central line */
.timeline-container::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: #d1d5db;
  /* Light gray line */
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  padding: 10px 45px;
  position: relative;
  background-color: inherit;
  width: 50%;
  margin-bottom: 2rem;
  z-index: 1;
}

/* The year circle on the line */
.timeline-year {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #dfae62;
  /* Matching the image gold tone */
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 30px;
  /* Align with card top/center */
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: 0 0 0 6px #f6e6cd;
}

.timeline-left .timeline-year {
  right: -25px;
  /* Center on line */
}

.timeline-right .timeline-year {
  left: -25px;
  /* Center on line */
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-content {
  padding: 2.25rem;
  background: var(--bg-white);
  border-radius: 12px;
  color: var(--text-dark);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.timeline-content:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.timeline-content h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.timeline-content p {
  color: #4b5563;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Media queries for timeline */
@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 40px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 90px;
    padding-right: 25px;
  }

  .timeline-left .timeline-year,
  .timeline-right .timeline-year {
    left: 15px;
    /* 40px line - 25px radius = 15px */
    right: auto;
  }

  .timeline-right {
    left: 0%;
  }
}

/* --- HORIZONTAL ADMISSION TIMELINE --- */
.modern-timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 2rem;
}

.modern-timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right,
      rgba(81, 40, 136, 0.1) 0%,
      rgba(81, 40, 136, 0.1) 35%,
      var(--primary-color) 45%,
      var(--secondary-color) 55%,
      rgba(250, 136, 51, 1) 58%,
      rgba(81, 40, 136, 0.1) 58.1%,
      rgba(81, 40, 136, 0.1) 100%);
  background-size: 300% 100%;
  animation: line-running-light 3.5s linear infinite;
  border-radius: 3px;
  z-index: 0;
}

@keyframes line-running-light {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0% 0;
  }
}

.timeline-step-horiz {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.timeline-node-horiz {
  width: 3rem;
  height: 3rem;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1.2rem;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(250, 136, 51, 0.2);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.timeline-node-horiz::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent,
      transparent,
      var(--primary-color),
      var(--secondary-color));
  animation: border-spin 3s linear infinite;
  z-index: -2;
}

.timeline-node-horiz::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--bg-white);
  border-radius: 50%;
  z-index: -1;
  transition: var(--transition-normal);
}

.timeline-content-horiz {
  background: rgba(81, 40, 136, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(81, 40, 136, 0.05);
  transition: var(--transition-normal);
  width: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.timeline-content-horiz::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent,
      transparent,
      var(--primary-color),
      var(--secondary-color));
  animation: border-spin 3s linear infinite;
  z-index: -2;
}

.timeline-content-horiz::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-white);
  border-radius: 11px;
  z-index: -1;
  transition: var(--transition-normal);
}

.timeline-content-horiz h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-content-horiz p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 0;
}

@keyframes card-glow {
  0% {
    box-shadow:
      0 8px 25px rgba(81, 40, 136, 0.1),
      0 0 10px rgba(250, 136, 51, 0.2);
  }

  50% {
    box-shadow:
      0 8px 30px rgba(81, 40, 136, 0.2),
      0 0 25px rgba(250, 136, 51, 0.6);
  }

  100% {
    box-shadow:
      0 8px 25px rgba(81, 40, 136, 0.1),
      0 0 10px rgba(250, 136, 51, 0.2);
  }
}

.timeline-content-horiz:hover {
  transform: translateY(-5px);
  animation: card-glow 2s infinite ease-in-out;
}

.timeline-step-horiz:hover .timeline-node-horiz {
  color: var(--bg-white);
}

.timeline-step-horiz:hover .timeline-node-horiz::after {
  background: var(--primary-color);
}

@media (max-width: 992px) {
  .modern-timeline-horizontal {
    grid-template-columns: 1fr;
    padding-left: 4.5rem;
  }

  .modern-timeline-horizontal::before {
    top: 0;
    bottom: 0;
    left: calc(1.5rem - 1px);
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom,
        rgba(81, 40, 136, 0.1) 0%,
        rgba(81, 40, 136, 0.1) 35%,
        var(--primary-color) 45%,
        var(--secondary-color) 55%,
        rgba(250, 136, 51, 1) 58%,
        rgba(81, 40, 136, 0.1) 58.1%,
        rgba(81, 40, 136, 0.1) 100%);
    background-size: 100% 300%;
    animation: line-running-light-vertical 3.5s linear infinite;
  }

  .timeline-step-horiz {
    flex-direction: row;
    margin-bottom: 2.5rem;
  }

  .timeline-node-horiz {
    position: absolute;
    left: -4.5rem;
    top: 0;
    margin-bottom: 0;
  }

  .timeline-content-horiz {
    width: 100%;
  }
}

@keyframes line-running-light-vertical {
  0% {
    background-position: 0 100%;
  }

  100% {
    background-position: 0 0%;
  }
}

/* --- EVENT REGISTRATION MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--bg-white);
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--text-light);
  margin: 0;
  font-size: 1.25rem;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.modal-body {
  padding: 2rem 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background-color: var(--bg-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(142, 111, 192, 0.2);
  background-color: var(--bg-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- IMPORTANT NOTICE MODAL --- */
.notice-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.notice-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.notice-modal-content {
  background: var(--bg-white, #ffffff);
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}

.notice-modal-overlay.active .notice-modal-content {
  transform: translateY(0) scale(1);
}

.notice-modal-title {
  color: #b91c1c;
  /* Red text for important notice */
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.notice-modal-body {
  color: #334155;
  font-size: 1rem;
}

/* --- Academic Details Modal --- */
/* Image floats top-left; the heading + paragraphs are plain flow content
   (no flex/BFC on them) so they wrap beside the image and widen back to
   full width once they pass below it - like a magazine text wrap. */
.academic-modal-content {
  max-width: 1080px !important;
  width: 94%;
  padding: 0 !important;
  overflow: hidden;
}

.academic-modal-inner {
  padding: 3.25rem 2.5rem 2rem;
}

.academic-modal-inner::after {
  content: "";
  display: table;
  clear: both;
}

.academic-modal-image {
  position: relative;
  float: left;
  width: 500px;
  height: 300px;
  margin: 0 1.75rem 1rem 0;
  border-radius: var(--border-radius-md);
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* Show the photos clearly in the modal - no blend/fade effects, full photo always visible */
.academic-modal-image .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  mix-blend-mode: normal;
  transition: opacity 1s ease-in-out;
}

.academic-modal-image .carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.academic-modal-body p {
  margin-bottom: 0.85rem;
}

.academic-modal-body p:last-child {
  margin-bottom: 0;
}

.academic-modal-close-btn {
  box-shadow: var(--shadow-md);
}

/* Wider variant for the longer messages (Senior Principal / Principal desks)
   - extra width means longer text lines, so the popup needs less height for
   the same amount of message. */
.academic-modal-content-wide {
  max-width: 1300px !important;
}

/* These two messages are long enough that, even at the extra width above,
   the popup can still be taller than the viewport. Instead of scrolling the
   whole overlay (which produced a second, confusing scrollbar alongside the
   page's own), the scroll is contained to the popup's own content area - the
   close button stays outside it (pinned to the popup box) so it's always
   visible regardless of scroll position. */
#senior-principal-modal .academic-modal-inner,
#principal-modal .academic-modal-inner {
  max-height: 82vh;
  overflow-y: auto;
}

@media (max-width: 700px) {

  #senior-principal-modal .academic-modal-inner,
  #principal-modal .academic-modal-inner {
    max-height: 85vh;
  }
}

/* Name/role caption directly under the photo (used on the Administrative
   Board Read More popups) - floats in the same left column as the image so
   it sits right below it, with the body text still wrapping to the right. */
.academic-modal-caption {
  float: left;
  clear: left;
  width: 500px;
  margin: 0 1.75rem 1.25rem 0;
  text-align: center;
}

@media (max-width: 600px) {
  .academic-modal-image {
    float: none;
    width: 100%;
    height: 220px;
    margin: 0 0 1rem;
  }

  .academic-modal-caption {
    float: none;
    width: 100%;
    margin: 0 0 1.25rem;
  }
}

/* Blinking Indicator Animation */
@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Running Light Card */
.running-light-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: none !important;
}

.running-light-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  background: conic-gradient(transparent,
      transparent,
      transparent,
      var(--primary-color),
      var(--secondary-color));
  animation: border-spin 4s linear infinite;
  z-index: -2;
}

.running-light-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: inherit;
  border-radius: inherit;
  z-index: -1;
}

/* Alumni Grid Responsive Override */
.alumni-grid {
  grid-template-columns: 1fr 1fr;
  /* grid-template-columns: 1fr; */
}

@media (max-width: 992px) {
  .alumni-grid {
    grid-template-columns: 1fr;
  }
}

/* --- PREMIUM NAV EVENT BUTTON --- */
.nav-event-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #f97316 100%);
  background-size: 200% auto;
  color: #fff !important;
  font-weight: 700;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation:
    pulseGlowBtn 2s infinite alternate,
    gradientMoveBtn 3s linear infinite;
}

.nav-event-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

.nav-event-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: shineBtn 3s infinite;
}

/* Updated pulse icon styles instead of hardcoded tailwind spans */
.pulse-icon {
  position: relative;
  display: flex;
  width: 10px;
  height: 10px;
}

.pulse-ring {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  animation: pingIcon 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-core {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  height: 10px;
  width: 10px;
  background-color: #fff;
}

@keyframes gradientMoveBtn {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes pulseGlowBtn {
  0% {
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.4);
  }

  100% {
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.8);
  }
}

@keyframes shineBtn {
  0% {
    left: -100%;
    top: -100%;
  }

  20% {
    left: 100%;
    top: 100%;
  }

  100% {
    left: 100%;
    top: 100%;
  }
}

@keyframes pingIcon {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}