/* ============================================
   St. Soteri Primary School - Frontend Styles
   ============================================ */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  line-height: 1.6;
  padding-top: 80px;
}
a {
  color: #1e40af;
  text-decoration: none;
}
a:hover {
  color: #1e3a8a;
}

/* Typography */
.section-title {
  font-weight: 700;
  color: #1e293b;
  position: relative;
  margin-bottom: 1rem;
}
.section-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(30, 64, 175, 0.08);
  color: #1e40af;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Layout */
.section-padding {
  padding: 5rem 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

 /* Header / Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #dc2626;
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  background: #dc2626;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.35);
}
.navbar {
  padding: 0.9rem 0;
}
.navbar-brand {
  gap: 0.6rem;
}
.brand-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #b91c1c;
  color: #fff;
  border-radius: 0.6rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled .brand-logo {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.brand-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.1;
}
.site-header.scrolled .brand-name {
  color: #ffffff;
}
.brand-motto {
  color: #fecaca;
  font-size: 0.78rem;
  font-weight: 500;
}
.navbar .navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-header.scrolled .navbar .navbar-nav .nav-link {
  color: #ffffff;
}
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}
.site-header.scrolled .navbar .navbar-nav .nav-link.active,
.site-header.scrolled .navbar .navbar-nav .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

/* Buttons */
.btn-gold {
  background: #d4af37;
  color: #1f2937;
  border-color: #d4af37;
  font-weight: 600;
}
.btn-gold:hover {
  background: #c39d2f;
  border-color: #c39d2f;
  color: #1f2937;
}
.btn-enroll {
  background: #ffffff;
  color: #dc2626;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 1.1rem;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  animation: enrollShake 3.5s ease-in-out infinite;
}
.btn-enroll:hover {
  background: #dc2626;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.35);
  animation: none;
}
@keyframes enrollShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-3px); }
  30% { transform: translateX(3px); }
  45% { transform: translateX(-2px); }
  60% { transform: translateX(2px); }
  75% { transform: translateX(-1px); }
  90% { transform: translateX(1px); }
}
.btn-primary {
  background: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.18);
}
.btn-primary:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.22);
}
.btn-outline-primary {
  border-color: #1e40af;
  color: #1e40af;
}
.btn-outline-primary:hover {
  background: #1e40af;
  color: #ffffff;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  margin-top: -80px;
  height: 100vh;
  min-height: 640px;
}
.heroSwiper {
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroZoom 5s ease-in-out infinite;
}
@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #ffffff;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Swiper customizations */
.swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background: #d4af37;
  opacity: 1;
}
.swiper-button-prev,
.swiper-button-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  filter: none;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

/* Welcome */
.check-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(30, 64, 175, 0.08);
  color: #1e40af;
  border-radius: 50%;
  flex-shrink: 0;
}
.experience-badge {
  position: absolute;
  bottom: -28px;
  right: 28px;
  background: #d4af37;
  color: #1f2937;
  padding: 1.1rem 1.4rem;
  border-radius: 1.25rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Feature cards */
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s cubic-bezier(0.2, 0, 0, 1), border-color 0.35s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(220, 38, 38, 0.1), 0 10px 20px rgba(15, 23, 42, 0.06);
  border-color: rgba(220, 38, 38, 0.15);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.06);
  color: #dc2626;
  border-radius: 0.75rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), background 0.35s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: #dc2626;
  color: #fff;
}
.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.4rem;
}
.feature-text {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Stats */
.stats-card {
  background: linear-gradient(135deg, #0b1a4f 0%, #1e40af 100%);
  border-radius: 1.25rem;
  padding: 2.5rem 1.25rem;
  color: #ffffff;
}
.stat-item {
  padding: 1rem;
}
.stat-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fbbf24;
  font-size: 1.2rem;
  margin: 0 auto 0.75rem;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.stat-suffix {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fbbf24;
  margin-left: 0.1rem;
}
.stat-label {
  color: #e2e8f0;
  margin-top: 0.25rem;
}

/* News */
.news-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0.85rem;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}
.news-img {
  position: relative;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-card:hover .news-img img {
  transform: scale(1.05);
}
.news-date {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.news-body {
  padding: 0.85rem 1rem 1rem;
}
.news-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.07);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.news-body h5 {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.news-body h5 a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-body h5 a:hover {
  color: #dc2626;
}
.news-body p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.read-more i {
  transition: transform 0.2s ease;
}
.read-more:hover i {
  transform: translateX(3px);
}

/* Events */
.event-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}
.event-date-box {
  background: #1e40af;
  color: #ffffff;
  text-align: center;
  padding: 0.6rem 0.9rem;
  border-radius: 0.85rem;
  min-width: 72px;
  line-height: 1.1;
}
.event-day {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}
.event-month {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}
.event-body h5 a {
  color: #0f172a;
  font-weight: 700;
}
.event-img {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  flex: 0 0 145px;
}
.event-img img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.event-date-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.22);
}
.event-day {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}
.event-month {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.event-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: #1e40af;
  background: rgba(30, 64, 175, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.past-event .event-category,
.past-badge {
  color: #475569;
  background: rgba(100, 116, 139, 0.12);
}
.past-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.event-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  overflow: hidden;
  border: 0;
  border-radius: 1.5rem;
  background: #fff;
}
.event-detail-media {
  position: relative;
  min-height: 360px;
}
.event-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.event-detail-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 18px 34px rgba(220, 38, 38, 0.24);
}
.event-detail-badge span {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}
.event-detail-badge small {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.event-detail-content {
  padding: 2.5rem;
}
.event-detail-content h2 {
  margin: 0.75rem 0 1.25rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.event-detail-meta {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.event-detail-meta div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #475569;
}
.event-detail-meta i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  color: #fff;
  background: #1e40af;
}
.event-detail-description {
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 991.98px) {
  .event-card {
    flex-direction: column;
  }
  .event-img {
    flex: auto;
  }
  .event-detail-card {
    grid-template-columns: 1fr;
  }
  .event-detail-media {
    min-height: 280px;
  }
}

/* Gallery */
.gallery-preview {
  display: block;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}
.gallery-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-preview:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: grid;
  place-items: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-preview:hover .gallery-overlay {
  opacity: 1;
}

/* Testimonials */
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 1.4rem 1.15rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.35s cubic-bezier(0.2, 0, 0, 1), border-color 0.35s ease;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(220, 38, 38, 0.1), 0 8px 16px rgba(15, 23, 42, 0.05);
  border-color: rgba(220, 38, 38, 0.15);
}
.testimonial-card:hover::before {
  opacity: 1;
}
.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  justify-content: flex-start;
}
.testimonial-stars i {
  font-size: 0.9rem;
}
.testimonial-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
  font-style: italic;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.testimonial-author img {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.35s ease;
}
.testimonial-card:hover .testimonial-author img {
  border-color: #dc2626;
}
.author-info h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.1rem;
}
.author-info small {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* CTA */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0b1a4f 0%, #1e40af 100%);
}
.cta-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
}

/* Footer */
.modern-footer {
  background: #0b1220;
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(220, 38, 38, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 10% 20%, rgba(220, 38, 38, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 45%);
}
.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, #dc2626 0%, #f87171 50%, #dc2626 100%);
  opacity: 0.95;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.35);
}
.footer-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 260px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.footer-top {
  padding: 2rem 0 1.25rem;
}
.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.12);
  color: #fff;
  border-radius: 0.85rem;
  border: 1px solid rgba(220, 38, 38, 0.25);
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.footer-brand:hover .brand-logo {
  box-shadow: 0 0 0 12px rgba(220, 38, 38, 0.12);
  transform: translateY(-2px);
}
.footer-brand h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  letter-spacing: -0.2px;
}
.text-gold {
  color: #fff;
  opacity: 0.85;
}
.footer-brand .text-muted {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.footer-col {
  min-width: 0;
}
.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: 999px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.45rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.footer-links a i {
  font-size: 0.65rem;
  color: #f87171;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 2;
}
.footer-links a::before {
  content: '';
  position: absolute;
  left: -6px;
  width: 0;
  height: 2px;
  background: #f87171;
  transition: width 0.25s ease;
  border-radius: 999px;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-links a:hover i {
  transform: translateX(3px);
}
.footer-links a:hover::before {
  width: 16px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}
.contact-list li:hover {
  color: #fff;
}
.contact-list i {
  color: #f87171;
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.social-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
}
.social-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 0.55rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}
.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.social-btn i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}
.social-btn:hover {
  border-color: #dc2626;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.3);
}
.social-btn:hover::before {
  opacity: 1;
}
.social-btn:hover i {
  transform: scale(1.1);
}
.newsletter-form {
  margin-top: 0.25rem;
}
.input-group-modern {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
.input-group-modern:focus-within {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
  background: rgba(255, 255, 255, 0.08);
}
.form-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.65rem 0.8rem;
  color: #fff;
  font-size: 0.85rem;
  min-width: 0;
  outline: none;
}
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.btn-subscribe {
  background: #dc2626;
  border: none;
  color: #fff;
  padding: 0 0.85rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.btn-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-subscribe:hover::before {
  opacity: 1;
}
.btn-subscribe i {
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}
.btn-subscribe:hover i {
  transform: translateX(2px) translateY(-1px);
}
.footer-bottom {
  padding: 0.75rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom a:hover {
  color: #fff;
}
.text-slate {
  color: rgba(255, 255, 255, 0.4);
}
.whatsapp-modern {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  z-index: 1040;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.whatsapp-modern:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
  color: #fff;
}

@media (max-width: 991.98px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links a {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-top {
    padding: 2rem 0 1rem;
  }
  .social-btn {
    width: 34px;
    height: 34px;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-links a {
    justify-content: center;
  }
  .contact-list li {
    justify-content: center;
  }
  .footer-bottom .row > div {
    text-align: center !important;
  }
}
.footer-brand .brand-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.12);
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(220, 38, 38, 0.25);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.footer-brand:hover .brand-logo {
  box-shadow: 0 0 0 12px rgba(220, 38, 38, 0.12);
  transform: translateY(-2px);
}
.footer-brand h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.2px;
}
.text-gold {
  color: #fecaca;
}
.footer-brand .text-muted {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-col {
  min-width: 0;
}
.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: 999px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.7rem;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.footer-links a i {
  font-size: 0.7rem;
  color: #dc2626;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 2;
}
.footer-links a::before {
  content: '';
  position: absolute;
  left: -6px;
  width: 0;
  height: 2px;
  background: #dc2626;
  transition: width 0.25s ease;
  border-radius: 999px;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-links a:hover i {
  transform: translateX(3px);
}
.footer-links a:hover::before {
  width: 18px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.contact-list li:hover {
  color: #e2e8f0;
}
.contact-list i {
  color: #dc2626;
  font-size: 0.95rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
}
.social-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}
.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.social-btn i {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}
.social-btn:hover {
  border-color: #dc2626;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.25);
}
.social-btn:hover::before {
  opacity: 1;
}
.social-btn:hover i {
  transform: scale(1.1);
}
.newsletter-form {
  margin-top: 0.25rem;
}
.input-group-modern {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
.input-group-modern:focus-within {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.form-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-size: 0.9rem;
  min-width: 0;
  outline: none;
}
.form-input::placeholder {
  color: #64748b;
}
.btn-subscribe {
  background: #dc2626;
  border: none;
  color: #fff;
  padding: 0 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.btn-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-subscribe:hover::before {
  opacity: 1;
}
.btn-subscribe i {
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}
.btn-subscribe:hover i {
  transform: translateX(2px) translateY(-1px);
}
.footer-bottom {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.88rem;
  color: #fff;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer-bottom a:hover {
  color: #e2e8f0;
}
.text-slate {
  color: #475569;
}
.whatsapp-modern {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  z-index: 1040;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.whatsapp-modern:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
  color: #fff;
}

@media (max-width: 991.98px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links a {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-top {
    padding: 2.5rem 0 1.5rem;
  }
  .social-btn {
    width: 38px;
    height: 38px;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-links a {
    justify-content: center;
  }
  .contact-list li {
    justify-content: center;
  }
  .footer-bottom .row > div {
    text-align: center !important;
  }
}
.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, #dc2626 0%, #f87171 50%, #dc2626 100%);
  opacity: 0.9;
}
.footer-top {
  padding: 4rem 0 2.5rem;
}
.footer-brand .brand-logo {
  width: 58px;
  height: 58px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
}
.footer-brand h5 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.footer-brand .text-muted {
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-columns {
  gap: 2rem;
}
.footer-heading {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  letter-spacing: 0.06em;
}
.footer-heading::after {
  width: 40px;
  height: 2px;
}
.footer-links li {
  margin-bottom: 0.7rem;
}
.footer-links a {
  font-size: 0.9rem;
  gap: 0.6rem;
}
.footer-links a i {
  font-size: 0.7rem;
}
.contact-list li {
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-list i {
  font-size: 0.95rem;
}
.social-links {
  gap: 0.6rem;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 0.6rem;
}
.form-input {
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
}
.btn-subscribe {
  padding: 0 1rem;
  font-size: 1rem;
}
.footer-bottom {
  padding: 1.25rem 0 2rem;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.88rem;
  color: #fff;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.whatsapp-modern {
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
}

@media (max-width: 576px) {
  .social-btn {
    width: 38px;
    height: 38px;
  }
}

/* Admissions Page Modern Styles */
.process-list .process-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.process-list .process-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}
.process-number {
  min-width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border-radius: 0.9rem;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Contact Page */
.page-header {
  position: relative;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(30, 64, 175, 0.06) 100%);
  padding: 3rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}
.page-subtitle {
  color: #64748b;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  margin: 0;
}
.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
}
.page-header .breadcrumb-item.active {
  color: #94a3b8;
  font-size: 0.85rem;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #94a3b8;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.1rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
  height: 100%;
}
.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.35rem;
}
.contact-form-subtitle {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.alert-modern {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.alert-success-modern {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.input-group-modern-contact {
  position: relative;
  margin-bottom: 0;
}
.input-group-modern-contact .input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  z-index: 5;
  font-size: 1rem;
  pointer-events: none;
}
.input-group-modern-contact.textarea-group .input-icon {
  top: 1.1rem;
  transform: none;
}
.input-group-modern-contact .input-icon-right {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  z-index: 5;
  font-size: 0.85rem;
  pointer-events: none;
}
.form-control-modern {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.65rem;
  color: #1e293b;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  font-family: inherit;
}
.form-control-modern:focus {
  background: #fff;
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.07);
  outline: none;
}
.form-control-modern::placeholder {
  color: #94a3b8;
}
.input-group-modern-contact.textarea-group .form-control-modern {
  padding-left: 2.6rem;
  padding-top: 1rem;
  min-height: 130px;
  resize: vertical;
}
select.form-control-modern {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.2rem;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2);
  text-decoration: none;
  font-family: inherit;
}
.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
  color: #fff;
}
.btn-modern:active {
  transform: translateY(0);
}
.btn-modern i {
  transition: transform 0.25s ease;
}
.btn-modern:hover i {
  transform: translateX(3px);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0.85rem;
  padding: 1.1rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}
.contact-info-item:hover {
  transform: translateX(4px);
  border-color: rgba(220, 38, 38, 0.2);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.08);
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-radius: 0.65rem;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.contact-info-item:hover .contact-info-icon {
  background: #dc2626;
  color: #fff;
}
.contact-info-content {
  flex: 1;
  min-width: 0;
}
.contact-info-label {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.contact-info-text {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}
.contact-info-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.04);
  color: #64748b;
  border-radius: 50%;
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.25s ease;
  font-size: 0.85rem;
}
.contact-info-item:hover .contact-info-link {
  background: #dc2626;
  color: #fff;
}

.hours-card-modern {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0.85rem;
  padding: 1.25rem;
  margin-top: 0.5rem;
}
.hours-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(220, 38, 38, 0.15);
}
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.hour-row:last-child {
  border-bottom: none;
}
.hour-day {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.hour-time {
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 600;
}
.hour-closed {
  color: #dc2626;
  font-weight: 600;
}

/* Responsive - Contact */
@media (max-width: 991.98px) {
  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-sidebar {
    margin-top: 0.5rem;
  }
}
@media (max-width: 575.98px) {
  .page-header {
    padding: 2rem 0 1.5rem;
  }
  .page-title {
    font-size: 1.6rem;
  }
  .contact-form-card {
    padding: 1.25rem 1rem;
  }
}

/* Staff Page */
.staff-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 1.25rem 1rem 1rem;
  height: 100%;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  overflow: hidden;
}
.staff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.12);
}
.staff-card:hover::before {
  opacity: 1;
}
.staff-avatar {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 0.85rem;
}
.staff-avatar img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  position: relative;
  z-index: 2;
}
.staff-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #dc2626, #f87171, #dc2626);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  animation: rotateRing 4s linear infinite;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.staff-card:hover .staff-avatar img {
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(220, 38, 38, 0.22);
}
.staff-card:hover .staff-avatar-ring {
  opacity: 1;
}
.staff-info {
  position: relative;
  z-index: 2;
}
.staff-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.2rem;
}
.staff-position {
  font-size: 0.82rem;
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.staff-department {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  background: rgba(15, 23, 42, 0.04);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.staff-bio {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.search-modern {
  position: relative;
}
.input-group-modern-contact {
  position: relative;
}
.input-group-modern-contact .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  z-index: 5;
  font-size: 1rem;
  pointer-events: none;
}
.input-group-modern-contact .form-control-modern {
  width: 100%;
  padding: 0.75rem 2.8rem 0.75rem 2.6rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.65rem;
  color: #1e293b;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  font-family: inherit;
}
.input-group-modern-contact .form-control-modern:focus {
  background: #fff;
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.07);
  outline: none;
}
.input-group-modern-contact .form-control-modern::placeholder {
  color: #94a3b8;
}
.clear-search {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  text-decoration: none;
  font-size: 1rem;
  z-index: 5;
  transition: color 0.2s ease;
}
.clear-search:hover {
  color: #dc2626;
}

.empty-state {
  text-align: center;
  padding: 2rem;
}
.empty-state i {
  font-size: 3.5rem;
  color: #cbd5e1;
}
.empty-state h4 {
  color: #1e293b;
  font-weight: 700;
}
.empty-state p {
  color: #64748b;
}

@media (max-width: 575.98px) {
  .staff-avatar {
    width: 76px;
    height: 76px;
  }
  .staff-avatar img {
    width: 76px;
    height: 76px;
  }
}

/* About Page */
.page-header {
  position: relative;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.06) 0%, rgba(30, 64, 175, 0.05) 100%);
  padding: 3rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}
.page-subtitle {
  color: #64748b;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  margin: 0;
}
.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
}
.page-header .breadcrumb-item.active {
  color: #94a3b8;
  font-size: 0.85rem;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #94a3b8;
}

.history-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.history-image-wrapper img {
  transition: transform 0.4s ease;
}
.history-image-wrapper:hover img {
  transform: scale(1.03);
}
.history-badge-modern {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(220, 38, 38, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 0.85rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}
.history-badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.history-badge-text {
  font-size: 0.75rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.history-stat {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0.85rem;
  padding: 1.1rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.history-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.15);
}
.stat-number-modern {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #dc2626;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.stat-label-modern {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.mvv-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.15);
}
.mvv-card:hover::before {
  opacity: 1;
}
.mvv-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-radius: 1rem;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: all 0.3s ease;
}
.mvv-card:hover .mvv-icon {
  background: #dc2626;
  color: #fff;
  transform: scale(1.1);
}
.mvv-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.mvv-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.value-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.15);
}
.value-card:hover::before {
  opacity: 1;
}
.value-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-radius: 50%;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}
.value-card:hover .value-icon {
  background: #dc2626;
  color: #fff;
  transform: scale(1.1);
}
.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}
.value-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.leader-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.15);
}
.leader-card:hover::before {
  opacity: 1;
}
.leader-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
}
.leader-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  position: relative;
  z-index: 2;
}
.leader-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #dc2626, #f87171, #dc2626);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  animation: rotateRing 4s linear infinite;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.leader-card:hover .leader-img {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.2);
}
.leader-card:hover .leader-avatar-ring {
  opacity: 1;
}
.leader-info {
  position: relative;
  z-index: 2;
}
.leader-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}
.leader-position {
  font-size: 0.88rem;
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.leader-bio {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* About Page Responsive */
@media (max-width: 991.98px) {
  .history-stat {
    margin-bottom: 0.75rem;
  }
}
@media (max-width: 575.98px) {
  .history-badge-modern {
    bottom: 1rem;
    left: 1rem;
    padding: 0.7rem 1rem;
  }
  .history-badge-number {
    font-size: 1.5rem;
  }
  .leader-avatar {
    width: 100px;
    height: 100px;
  }
  .leader-img {
    width: 100px;
    height: 100px;
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  body {
    padding-top: 60px;
  }
  .hero-slider {
    height: 100vh;
    min-height: 540px;
  }
}
@media (max-width: 575.98px) {
  .hero-slider {
    min-height: 520px;
  }
  .event-card {
    flex-direction: row;
  }
}
