/* =============================================================
   Shobha Babar Institute of Nursing - Frontend Redesign
   Static HTML / Bootstrap 5 theme
   ============================================================= */

:root {
  --primary: #075b9a;
  --primary-700: #044a7f;
  --primary-800: #063f6c;
  --primary-900: #053359;
  --sky: #16a9e0;
  --sky-soft: #dff6ff;
  --cyan: #effbff;
  --green: #2cb67d;
  --green-soft: #e8f8f1;
  --ink: #17324d;
  --text: #4e6073;
  --muted: #7f90a3;
  --line: #dfeaf3;
  --paper: #ffffff;
  --soft: #f5f9fc;
  --soft-2: #edf7fb;
  --shadow-sm: 0 8px 22px rgba(7, 91, 154, 0.08);
  --shadow-md: 0 16px 40px rgba(7, 91, 154, 0.13);
  --shadow-lg: 0 22px 60px rgba(7, 91, 154, 0.18);
  --radius: 8px;
  --radius-sm: 6px;
  --pill: 999px;
  --font-heading: "Montserrat", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

a:hover {
  color: var(--primary);
}

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

ul {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  margin-top: 0;
}

p {
  margin-top: 0;
}

::selection {
  color: #fff;
  background: var(--primary);
}

.text-primary-custom {
  color: var(--primary) !important;
}

.text-muted-custom {
  color: var(--muted) !important;
}

.bg-soft {
  background: var(--soft);
}

.bg-cyan {
  background: var(--cyan);
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-sm {
  padding: 56px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.text-start {
  margin-left: 0;
  text-align: left;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--pill);
  background: var(--sky-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.section-kicker i {
  color: var(--sky);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1rem;
}

.lead-copy {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.9;
}

.content-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.content-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.content-list i {
  color: var(--green);
  margin-top: 5px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.pill-list li,
.soft-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-800);
  border-radius: var(--pill);
  padding: 7px 13px;
  font-size: 0.86rem;
  font-weight: 700;
}

.soft-pill i {
  color: var(--sky);
}

.surface {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.surface-soft {
  background: linear-gradient(180deg, #fff 0%, var(--cyan) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--soft);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.image-frame:hover img {
  transform: scale(1.035);
}

#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--sky), var(--green));
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 350ms ease, visibility 350ms ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: grid;
  place-items: center;
  gap: 14px;
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-heading);
}

.preloader-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid var(--sky-soft);
  border-top-color: var(--primary);
  animation: spin 820ms linear infinite;
}

.topbar {
  background: linear-gradient(90deg, var(--primary-900), var(--primary));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.83rem;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-item i {
  color: #9fe9ff;
}

.topbar a:hover {
  color: #fff;
}

.admission-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

.navbar-shell {
  position: sticky;
  top: 0;
  z-index: 1500;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 234, 243, 0.8);
  box-shadow: 0 8px 24px rgba(7, 91, 154, 0.06);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.navbar-shell.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(7, 91, 154, 0.12);
}

.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 230px;
  padding: 12px 0;
}

.navbar-logo {
  width: 250px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.navbar-toggler {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--primary);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(22, 169, 224, 0.14);
}

.navbar-nav {
  gap: 2px;
}

.navbar-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  padding: 0 10px !important;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  height: 3px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--sky), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  transform: scaleX(1);
}

.navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border-top-color: currentColor;
}

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 238px;
  animation: dropdownFade 180ms ease both;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: normal;
}

.dropdown-item i {
  width: 18px;
  color: var(--sky);
  text-align: center;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  background: var(--cyan);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
}

.btn,
.btn:focus {
  box-shadow: none;
}

.btn-brand,
.btn-outline-brand,
.btn-white,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 20px;
  line-height: 1;
  min-height: 44px;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn-brand {
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(7, 91, 154, 0.22);
}

.btn-brand:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(7, 91, 154, 0.28);
}

.btn-outline-brand {
  color: var(--primary) !important;
  background: #fff;
  border-color: rgba(7, 91, 154, 0.22);
}

.btn-outline-brand:hover {
  color: #fff !important;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  color: var(--primary) !important;
  background: #fff;
  border-color: #fff;
}

.btn-white:hover {
  color: var(--primary-900) !important;
  transform: translateY(-2px);
}

.btn-soft {
  color: var(--primary) !important;
  background: var(--cyan);
  border-color: var(--line);
}

.btn-soft:hover {
  background: var(--sky-soft);
  transform: translateY(-2px);
}

.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  animation: ripple 650ms linear;
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 660px;
  padding: 88px 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--primary-900);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 51, 89, 0.88), rgba(7, 91, 154, 0.68) 54%, rgba(22, 169, 224, 0.48));
}

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

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #dff8ff;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-title {
  color: #fff;
  font-size: 3.55rem;
  margin-bottom: 18px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  max-width: 680px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  max-width: 720px;
}

.hero-metric {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-metric strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1;
}

.hero-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin-top: 6px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  max-width: 420px;
}

.hero-note i {
  color: var(--green);
  font-size: 1.35rem;
}

.hero-note small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-900);
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--page-bg);
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 51, 89, 0.88), rgba(7, 91, 154, 0.66));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 76px 0;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.75rem;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.breadcrumb {
  gap: 4px;
  margin-bottom: 16px;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  font-size: 0.9rem;
}

.breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.quick-strip {
  margin-top: -38px;
  position: relative;
  z-index: 5;
}

.quick-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 1px solid var(--line);
}

.quick-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.quick-strip-item:last-child {
  border-right: 0;
}

.quick-strip-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  flex: 0 0 auto;
}

.quick-strip-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.98rem;
}

.quick-strip-item span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card,
.feature-card,
.department-card,
.facility-card,
.notice-card,
.event-card,
.download-card,
.contact-card,
.timeline-card,
.simple-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stat-card:hover,
.feature-card:hover,
.department-card:hover,
.facility-card:hover,
.notice-card:hover,
.event-card:hover,
.download-card:hover,
.contact-card:hover,
.timeline-card:hover,
.simple-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 169, 224, 0.38);
}

.stat-card {
  padding: 26px 20px;
  text-align: center;
}

.stat-icon,
.card-icon,
.department-icon,
.facility-icon,
.download-icon,
.contact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sky-soft), #fff);
  color: var(--primary);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.stat-card .stat-icon {
  margin-left: auto;
  margin-right: auto;
}

.stat-number {
  display: block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 8px;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.split-image {
  height: 500px;
}

.image-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 15px 17px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.image-badge strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  line-height: 1;
}

.image-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 4px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
  height: 100%;
}

.feature-card h3,
.feature-card h4,
.feature-card h5 {
  font-size: 1.05rem;
  margin-bottom: 9px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.course-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 169, 224, 0.42);
}

.course-image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
}

.course-body {
  padding: 22px;
}

.course-body h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.course-body p {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: var(--primary-800);
  font-size: 0.78rem;
  font-weight: 800;
}

.department-card {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
}

.department-icon {
  flex: 0 0 auto;
  margin: 0;
}

.department-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.department-card p {
  margin-bottom: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.management-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.management-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 169, 224, 0.42);
}

.management-photo {
  height: 250px;
  background: var(--soft);
  overflow: hidden;
}

.management-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 520ms ease;
}

.management-card:hover img {
  transform: scale(1.04);
}

.management-body {
  padding: 18px;
  text-align: center;
}

.management-body h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.management-body span {
  color: var(--primary);
  font-size: 0.87rem;
  font-weight: 800;
}

.facility-card {
  height: 100%;
  padding: 24px;
}

.facility-card h3 {
  font-size: 1.08rem;
  margin-bottom: 9px;
}

.facility-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.facility-card .facility-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  border-color: transparent;
}

.image-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--soft);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 520ms ease;
}

.image-card:hover img {
  transform: scale(1.055);
}

.image-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: #fff;
  background: linear-gradient(0deg, rgba(5, 51, 89, 0.9), rgba(5, 51, 89, 0));
}

.image-card-caption h3 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.image-card-caption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  height: 100%;
}

.notice-date {
  width: 62px;
  min-width: 62px;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--line);
  background: #fff;
}

.notice-date strong {
  display: block;
  padding: 8px 0 5px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1;
}

.notice-date span {
  display: block;
  padding: 5px 0;
  color: #fff;
  background: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
}

.notice-card h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.notice-card p {
  color: var(--text);
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
}

.timeline-dot {
  width: 42px;
  display: flex;
  justify-content: center;
}

.timeline-dot span {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--sky);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--sky);
}

.timeline-card {
  padding: 20px;
}

.timeline-card small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-size: 1.02rem;
  margin-bottom: 7px;
}

.timeline-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.admission-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step-card {
  position: relative;
  padding: 24px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  font-weight: 900;
  font-family: var(--font-heading);
}

.step-card h3 {
  font-size: 0.98rem;
  margin-bottom: 7px;
}

.step-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.84rem;
}

.download-card {
  height: 100%;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.download-icon {
  flex: 0 0 auto;
  margin: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  border-color: transparent;
}

.download-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.download-card p {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.88rem;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-filter button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  border-radius: var(--pill);
  padding: 9px 15px;
  font-weight: 900;
}

.gallery-filter button.active,
.gallery-filter button:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.gallery-item {
  position: relative;
  height: 235px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(5, 51, 89, 0.62);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2800;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(5, 25, 42, 0.94);
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.lightbox-close {
  top: 22px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--sky));
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.8;
}

.contact-card {
  padding: 24px;
  height: 100%;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-icon {
  margin: 0;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  border: 0;
}

.contact-row strong {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.contact-row span,
.contact-row a {
  color: var(--text);
  font-size: 0.92rem;
}

.form-card {
  padding: 26px;
}

.form-control,
.form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 48px;
  color: var(--ink);
  font-size: 0.92rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(22, 169, 224, 0.14);
}

.form-floating > label {
  color: var(--muted);
  font-size: 0.9rem;
}

.map-frame {
  height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.newsletter-band {
  background: linear-gradient(135deg, var(--primary-800), var(--primary), var(--sky));
  color: #fff;
}

.newsletter-band h2,
.newsletter-band h3 {
  color: #fff;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--pill);
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.96);
  flex: 1;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
}

.footer-main {
  padding: 64px 0 46px;
}

.footer-logo {
  width: 280px;
  max-width: 100%;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.14));
}

.footer p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-heading {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.footer-contact i {
  color: #a9ecff;
  width: 18px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-links a:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 0.84rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-policy {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-policy a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-policy a:hover {
  color: #fff;
}

#backToTop,
#whatsappBtn {
  position: fixed;
  right: 22px;
  z-index: 1600;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

#backToTop {
  bottom: 82px;
  background: var(--primary);
  opacity: 0;
  visibility: hidden;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover,
#whatsappBtn:hover {
  color: #fff;
  transform: translateY(-3px);
}

#whatsappBtn {
  bottom: 24px;
  background: #25d366;
}

.toast-note {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2900;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  transition: opacity var(--transition), transform var(--transition);
}

.toast-note.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-note.success {
  background: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.from-left {
  transform: translateX(-26px);
}

.reveal.from-right {
  transform: translateX(26px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 150ms; }
.delay-3 { transition-delay: 220ms; }
.delay-4 { transition-delay: 290ms; }

.two-column-list {
  columns: 2;
  column-gap: 28px;
  list-style: none;
}

.two-column-list li {
  break-inside: avoid;
  margin-bottom: 9px;
}

.table-modern {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.table-modern table {
  margin: 0;
}

.table-modern thead th {
  color: #fff;
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.16);
}

.table-modern td,
.table-modern th {
  padding: 14px 16px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ripple {
  to { transform: scale(2.6); opacity: 0; }
}

@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 10px 0 20px;
  }

  .navbar-nav .nav-link {
    min-height: auto;
    padding: 11px 2px !important;
  }

  .navbar-nav .nav-link::before {
    display: none;
  }

  .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    background: var(--cyan);
  }

  .nav-actions {
    padding-left: 0;
    padding-top: 8px;
  }

  .quick-strip-grid,
  .stats-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split-image {
    height: 420px;
  }

  .admission-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 68px 0;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-group:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 62px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

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

  .quick-strip {
    margin-top: 24px;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    min-width: 0;
  }

  .navbar-logo {
    width: 205px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc,
  .section-lead,
  .lead-copy {
    font-size: 0.95rem;
  }

  .hero-metrics,
  .quick-strip-grid,
  .stats-grid,
  .feature-grid,
  .admission-steps {
    grid-template-columns: 1fr;
  }

  .quick-strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip-item:last-child {
    border-bottom: 0;
  }

  .split-image {
    height: 320px;
  }

  .management-photo {
    height: 220px;
  }

  .two-column-list {
    columns: 1;
  }

  .newsletter-form,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom-inner {
    align-items: flex-start;
  }

  .map-frame {
    height: 340px;
  }
}

@media (max-width: 420px) {
  .section {
    padding: 56px 0;
  }

  .navbar-logo {
    width: 184px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .page-hero h1 {
    font-size: 1.85rem;
  }

  .btn-brand,
  .btn-outline-brand,
  .btn-white,
  .btn-soft {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}



/* ==========================================================
   AUTOMATIC TESTIMONIAL CHANGING
========================================================== */

.voice-featured__changing,
.voice-mini__body {
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}


/* Content disappearing */

.voice-featured.is-changing
.voice-featured__changing {
    opacity: 0;

    transform: translateY(15px);
}


.voice-mini.is-changing
.voice-mini__body {
    opacity: 0;

    transform: translateY(10px);
}


/* ==========================================================
   PROGRESS BAR
========================================================== */

.voice-featured__progress {
    position: absolute;

    z-index: 10;

    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.10);
}


.voice-featured__progress span {
    display: block;

    width: 0;
    height: 100%;

    background: #4DB7E5;

    transform-origin: left center;
}


/* Restarted using JavaScript */

.voice-featured__progress span.is-running {
    animation:
        testimonialProgress
        5s
        linear
        forwards;
}


@keyframes testimonialProgress {

    from {
        width: 0;
    }

    to {
        width: 100%;
    }

}


/* ==========================================================
   ACTIVE CARD ENTRANCE
========================================================== */

.voice-featured.testimonial-enter
.voice-featured__changing {
    animation:
        testimonialFeaturedEnter
        0.55s
        ease
        both;
}


@keyframes testimonialFeaturedEnter {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* Small card animation */

.voice-mini.testimonial-enter
.voice-mini__body {
    animation:
        testimonialMiniEnter
        0.5s
        ease
        both;
}


@keyframes testimonialMiniEnter {

    from {
        opacity: 0;

        transform:
            translateX(15px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991.98px) {

    .voice-featured__progress {
        height: 3px;
    }

}


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

    .voice-featured__changing,
    .voice-mini__body {
        transition: none;
    }

    .voice-featured__progress span {
        animation: none !important;
    }

    .voice-featured.testimonial-enter
    .voice-featured__changing,

    .voice-mini.testimonial-enter
    .voice-mini__body {
        animation: none;
    }

}