html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

:root {
  /* Restored Green Brand Theme (Kidearn layout compatible) */
  --theme-green: #1b4d3e;
  /* Primary Brand Forest Green */
  --theme-green-light: #2d7a5f;
  --theme-lime: #a8d14f;
  /* Vibrant Lime accent from logo */
  --theme-orange: #F25334;
  /* Kept for High-Visibility CTAs */
  --theme-yellow: #FFAA23;
  --theme-navy: #1b4d3e;
  /* Re-mapped to theme-green for consistency */
  --theme-light-green: #F1F9F6;
  /* Replacement for Light Blue background */

  /* Mapping to Standard Variables */
  --primary-green: var(--theme-green);
  --primary-green-light: var(--theme-green-light);
  --primary-green-dark: #0f3329;
  --theme-green-dark: var(--primary-green-dark);

  /* Accent Colors */
  --accent-yellow: var(--theme-yellow);
  --accent-red: var(--theme-orange);
  --accent-lime: var(--theme-lime);
  --accent-blue: #4a9eff;
  --accent-orange: #ff8c42;
  --accent-navy: var(--theme-navy);

  /* Text & Background */
  --text-dark: #111827;
  /* Near black for maximum readability */
  --text-muted: #4b5563;
  --bg-light: #f9f9f9;
  --bg-cream: #faf8f3;

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Shadows */
  --shadow-soft: 0 10px 40px rgba(27, 77, 62, 0.05);
  /* Green-tinted shadow */
  --shadow-strong: 0 20px 50px rgba(27, 77, 62, 0.1);
  --shadow-green: 0 10px 30px rgba(242, 83, 52, 0.2);

  /* Premium Gradients - RE-ALIGNED TO GREEN */
  --premium-gradient: linear-gradient(135deg, var(--theme-green) 0%, var(--theme-green-light) 100%);
  --hero-gradient: linear-gradient(135deg, var(--theme-lime) 0%, var(--theme-green) 100%);
  --accent-gradient: linear-gradient(135deg, var(--theme-lime) 0%, var(--theme-yellow) 100%);
  --edit-gradient: linear-gradient(135deg, var(--theme-green) 0%, var(--theme-green-light) 100%);
  --navy-gradient: var(--premium-gradient);
}

html {
  font-size: 15px;
  /* Slightly smaller base for better desktop scaling */
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  background-color: #fff;
  line-height: 1.6;
  /* Tidier line height */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--theme-green);
  text-transform: capitalize;
}

/* Ensure headings are white when inside a text-white container or dark sections */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section h5,
.contact-section h6,
.bg-green h1,
.bg-green h2,
.bg-green h3,
.bg-green h4,
.bg-green h5,
.bg-green h6,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-success h1,
.bg-success h2,
.bg-success h3,
.bg-success h4,
.bg-success h5,
.bg-success h6,
[style*="premium-gradient"] h1,
[style*="premium-gradient"] h2,
[style*="premium-gradient"] h3,
[style*="premium-gradient"] h4,
[style*="premium-gradient"] h5,
[style*="premium-gradient"] h6 {
  color: white !important;
}

/* Global Theme Overrides for Bootstrap */
.text-primary {
  color: var(--theme-green) !important;
}

.bg-primary {
  background-color: var(--theme-green) !important;
}

.btn-primary {
  background-color: var(--theme-green) !important;
  border-color: var(--theme-green) !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--theme-green-light) !important;
  border-color: var(--theme-green-light) !important;
}

.btn-outline-primary {
  color: var(--theme-green) !important;
  border-color: var(--theme-green) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary.active,
.btn-outline-primary:active {
  background-color: var(--theme-green) !important;
  border-color: var(--theme-green) !important;
  color: white !important;
}

/* Soft Background Utilities */
.bg-primary-soft {
  background-color: rgba(45, 122, 95, 0.1) !important;
}

.bg-success-soft {
  background-color: rgba(40, 199, 111, 0.1) !important;
}

.bg-danger-soft {
  background-color: rgba(234, 84, 85, 0.1) !important;
}

.bg-warning-soft {
  background-color: rgba(255, 159, 67, 0.1) !important;
}

.bg-info-soft {
  background-color: rgba(0, 207, 232, 0.1) !important;
}

.bg-edit-premium {
  background: var(--edit-gradient) !important;
  color: white !important;
}

.btn-edit-premium {
  background: var(--edit-gradient) !important;
  border: none !important;
  color: white !important;
  transition: all 0.3s ease !important;
}

.btn-edit-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 115, 223, 0.4);
  filter: brightness(1.1);
  color: white !important;
}

.top-bar {
  background-color: var(--theme-green);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
}

.top-bar-link {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.top-bar-link:hover {
  opacity: 1;
  color: var(--theme-yellow);
}

/* Navbar Enhancements */
.custom-navbar {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-light);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--theme-green) !important;
  background: rgba(45, 122, 95, 0.05);
  /* Green tint */
}

.dropdown-item:hover {
  background-color: var(--theme-light-green);
  color: var(--theme-green) !important;
}

/* Announcement Modal Polish */
.announcement-modal .modal-content {
  border-radius: 40px;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.announcement-modal .modal-header {
  background: linear-gradient(135deg, var(--theme-green) 0%, var(--theme-green-light) 100%);
  color: white !important;
  border-bottom: none;
  padding: 1.5rem 2rem;
}

.announcement-modal .modal-title {
  font-family: 'Fredoka', sans-serif;
  color: white !important;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.announcement-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.announcement-modal .btn-close:hover {
  opacity: 1;
}

.announcement-modal .modal-body {
  padding: 2.5rem;
  background: white;
}

.announcement-icon {
  font-size: 4rem;
  color: var(--theme-lime);
  margin-bottom: 1rem;
  text-align: center;
}

.announcement-content {
  font-size: 1.1rem;
  line-height: 1.7;
}

.announcement-modal .modal-footer {
  border: none;
  padding: 1.5rem 2.5rem 2.5rem;
  background: white;
}

.hover-warning:hover {
  color: var(--theme-yellow) !important;
}

header.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: white;
  width: 100%;
}

.navbar-brand span {
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(45deg, var(--primary-green), var(--accent-lime));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin: 0 2px;
}

.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.loaded {
  opacity: 1;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-green) !important;
  background: rgba(45, 122, 95, 0.05);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary-green) !important;
  border-bottom: 1px solid var(--primary-green) !important;
  border-radius: 8px 8px 0 0;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 0.5rem;
  z-index: 9999 !important;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--theme-light-green);
  color: var(--primary-green);
  transform: translateX(5px);
}

/* Mobile Navbar Styling */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-link {
    padding: 0.8rem 1rem !important;
    margin: 2px 0;
  }

  .dropdown-menu {
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem !important;
    padding-left: 1rem;
  }
}

.bg-blue {
  background: var(--premium-gradient);
}

.bg-yellow {
  background: linear-gradient(45deg, var(--theme-yellow), #e69500);
}

.bg-green {
  background: linear-gradient(45deg, var(--primary-green), var(--theme-lime));
}

.bg-pink {
  background: linear-gradient(45deg, var(--theme-green-light), var(--theme-lime));
}

/* Enhanced Grid Styles */
.custom-table-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  position: relative;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.custom-table-header th {
  border-bottom: none;
  vertical-align: middle;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-table-header th:last-child {
  border-right: none;
}

.custom-table-header a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.custom-table-header a:hover {
  color: #3498db;
  transform: translateY(-2px);
}

.custom-table-header a i {
  font-size: 0.9rem;
}

/* Enhanced Filter Row */
.filter-row td {
  background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
  padding: 0.75rem;
  border-bottom: 3px solid #3498db;
}

.filter-input {
  border-radius: 30px;
  border: 1px solid #e0e0e0;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-input:focus {
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
  border-color: #3498db;
  outline: none;
  transform: translateY(-1px);
  background: #f8fbff;
}

.filter-input::placeholder {
  color: #95a5a6;
  font-style: normal;
}

/* Enhanced Table Card */
.table-card {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: visible;
  transition: all 0.3s ease;
}

.table-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Table Rows */
.table-hover tbody tr {
  transition: all 0.2s ease;
}

.table-hover tbody tr:hover {
  background: linear-gradient(to right, #f8f9fa 0%, #e3f2fd 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Enhanced Pagination Styles */
.pagination {
  margin-top: 0;
  margin-bottom: 0;
  gap: 0.3rem;
}

.pagination .page-link {
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  color: #2c3e50;
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0 2px;
  background: white;
}

.pagination .page-link:hover {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  border-color: var(--primary-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(27, 77, 62, 0.3);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-color: #2c3e50;
  color: white;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.pagination .page-item.disabled .page-link {
  background: #f8f9fa;
  border-color: #e0e0e0;
  color: #95a5a6;
}

/* Page Size Selector Enhancement */
.form-select-sm {
  border-radius: 20px;
  border: 2px solid #e0e0e0;
  padding: 0.4rem 2rem 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-select-sm:hover {
  border-color: #3498db;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.2);
}

.form-select-sm:focus {
  border-color: #2980b9;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.25);
  outline: none;
}

/* Badge Enhancements */
.badge {
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  border-radius: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* Button Enhancements */
.btn-sm {
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== HOME PAGE ENHANCEMENTS ===== */

/* Hero Section Enhancements */
.hero-section {
  min-height: 90vh;
  background: var(--hero-gradient);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,&lt;svg width=&quot;100&quot; height=&quot;100&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;circle cx=&quot;50&quot; cy=&quot;50&quot; r=&quot;2&quot; fill=&quot;white&quot; opacity=&quot;0.1&quot;/&gt;&lt;/svg&gt;');
  background-size: 50px 50px;
  animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(50px) translateY(50px);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(27, 77, 62, 0.4) 0%, rgba(27, 77, 62, 0.7) 100%);
  /* Full green overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: 2.8rem;
  /* Scaled down from 3.5rem */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.15rem;
  /* Scaled down from 1.25rem */
  line-height: 1.6;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}

@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Kidearn Specific Utilities */
.blob-mask {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  transition: all 0.5s ease;
}

.blob-mask:hover {
  border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
}

.floating-icon {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.wavy-divider {
  position: absolute;
  width: 100%;
  left: 0;
  line-height: 0;
  z-index: 2;
}
.wavy-divider svg path {
    fill: #f1f9f6 !important;
}


.wavy-divider-top {
  top: -1px;
}

.wavy-divider-bottom {
  bottom: -1px;
}

.section-tint-green {
  background-color: var(--theme-light-green);
}

.section-tint-yellow {
  background-color: rgba(247, 181, 0, 0.03);
}

.curvy-card {
  border-radius: 30px !important;
  border: none !important;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  background-color: #fff;
}

.curvy-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.btn-theme {
  border-radius: 15px;
  padding: 12px 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: 'Fredoka', sans-serif;
  border: none;
}

.btn-theme-orange {
  background-color: var(--theme-orange);
  color: white;
  box-shadow: var(--shadow-orange);
}

.btn-theme-orange:hover {
  background-color: var(--primary-green-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 51, 41, 0.2);
}

.btn-theme-green {
  background-color: var(--primary-green);
  color: white;
  box-shadow: 0 10px 25px rgba(27, 77, 62, 0.2);
}

.btn-theme-green:hover {
  background-color: var(--theme-lime);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(27, 77, 62, 0.3);
}

/* Theme Background Utilities */
.bg-theme-green {
  background-color: var(--theme-green) !important;
}

.bg-theme-green-light {
  background-color: var(--theme-green-light) !important;
}

.bg-theme-lime {
  background-color: var(--theme-lime) !important;
}

.bg-theme-orange {
  background-color: var(--theme-orange) !important;
}

.bg-theme-yellow {
  background-color: var(--theme-yellow) !important;
}

.bg-theme-navy {
  background-color: var(--theme-navy) !important;
}

/* Hover Lift Utility */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styling */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-lime));
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Feature Cards */
.feature-card {
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

/* Ensure content stays visible on hover */
.feature-card:hover .icon-box {
  opacity: 1 !important;
  visibility: visible !important;
}

.feature-card:hover .icon-box i {
  color: white !important;
  opacity: 1 !important;
}

.feature-card:hover h4,
.feature-card:hover p {
  opacity: 1 !important;
  color: inherit !important;
}

.icon-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.icon-box i {
  color: white;
}

/* Vision Section */
.vision-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 140, 251, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.vision-card {
  background: white;
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.vision-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-green), var(--accent-lime));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-feature-card {
  background-color: white;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.vision-feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(27, 77, 62, 0.15);
  border-color: var(--primary-green);
}

.vision-feature-card i {
  transition: transform 0.4s ease;
}

.vision-feature-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Dark Sections Readability */
.hero-section,
.contact-section {
  color: white;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section h5,
.contact-section h6,
.bg-green h1,
.bg-green h2,
.bg-green h3,
.bg-green h4,
.bg-green h5,
.bg-green h6 {
  color: white !important;
}

.hero-section p,
.contact-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact-section {
  background: var(--premium-gradient);
  padding: 6rem 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.contact-form .form-label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--theme-green);
  box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.contact-info-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--primary-yellow);
}
.contact-message-card{
    border-radius: 20px;
}
/* Admissions Open Banner */
.admissions-banner {
    background: linear-gradient(135deg, #a8d14f 0%, #1b4d3e 100%);
    padding: 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.admissions-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.admissions-banner-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
}

.admissions-banner h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.admissions-banner p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Popup styles moved to consolidated block above */

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-section {
    min-height: 70vh;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .contact-form,
  .vision-card {
    padding: 2rem;
  }

  .admissions-banner h3 {
    font-size: 1.5rem;
  }
}

/* User Profile Dropdown */
.user-profile-toggle {
  padding: 0.25rem 0.5rem !important;
  border-radius: 50px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.user-profile-toggle:hover,
.user-profile-toggle[aria-expanded="true"] {
  background-color: rgba(37, 140, 251, 0.1);
  border-color: rgba(37, 140, 251, 0.2);
}

.user-profile-toggle::after {
  display: none;
}

.user-profile-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-profile-img-lg {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-avatar-placeholder {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-lime));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-avatar-placeholder-lg {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-lime));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-dropdown-header {
  background-color: #f8f9fa;
  border-radius: 16px 16px 0 0;
}

/* Dashboard Styles */
.bg-blue-light {
  background-color: rgba(37, 140, 251, 0.1) !important;
}

.bg-green-light {
  background-color: rgba(40, 199, 111, 0.1) !important;
}

.bg-yellow-light {
  background-color: rgba(255, 159, 67, 0.1) !important;
}

.bg-pink-light {
  background-color: rgba(234, 84, 85, 0.1) !important;
}

.bg-success-light {
  background-color: rgba(40, 199, 111, 0.1) !important;
}

.bg-warning-light {
  background-color: rgba(255, 159, 67, 0.1) !important;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
}

.action-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background-color: white !important;
  border-color: currentColor !important;
}

.date-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

/* --- New Premium Design Tokens --- */
:root {
  --curvy-radius: 40px;
  --blob-gradient: linear-gradient(135deg, rgba(37, 140, 251, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
}

/* --- New Animations --- */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 140, 251, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(37, 140, 251, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 140, 251, 0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.blob-shape {
  position: absolute;
  z-index: -1;
  filter: blur(40px);
  border-radius: 50%;
  background: var(--blob-gradient);
  animation: blob-float 15s ease-in-out infinite;
}

/* --- Curvy Designs --- */
.curvy-card {
  border-radius: var(--curvy-radius) !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.curvy-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.curvy-img {
  border-radius: var(--curvy-radius) 10px var(--curvy-radius) 10px !important;
}

.wavy-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

    .wavy-divider svg {
        position: relative;
        display: block;
        width: calc(100vw + 1.3px);
/*        height: 60px;*/
         transform: scale(1.1);
    }

.wavy-divider .shape-fill {
  fill: #FFFFFF;
}

/* --- Enhanced Feature Cards --- */
.feature-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 30px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--premium-gradient);
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease;
  transform: scale(0.8);
  border-radius: 30px;
}

.feature-card:hover {
  color: #fff;
  transform: translateY(-10px);
}

.feature-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.feature-card:hover .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.feature-card:hover .icon-box {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

/* --- Active Menu Highlighting --- */
.custom-navbar .nav-link.active {
  color: var(--primary-green) !important;
  font-weight: 600 !important;
  position: relative;
  background: transparent !important;
}


.dropdown-item.active {
  background-color: var(--primary-green) !important;
  color: #fff !important;
  font-weight: 600;
}

.dropdown-item.active:hover {
  background-color: var(--primary-green-dark) !important;
}

/* Dropdown/Select Field Icons */
.form-select,
.form-control[type="select"],
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px 12px;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-select:focus,
select.form-control:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23258cfb' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Small select fields */
.form-select-sm {
  background-position: right 0.5rem center;
  background-size: 10px 10px;
  padding-right: 2rem;
}

/* ==========================================================================
   MODULE SPECIFIC STYLES
   ========================================================================== */

/* --- Account & Authentication --- */
.auth-standalone-body {
  background: var(--hero-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/*
.auth-standalone-body::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
}*/

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 450px;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: authSlideUp 0.6s ease-out;
}

@keyframes authSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card {
  border-radius: 30px !important;
}

.auth-logo-container {
  text-align: center;
  margin-bottom: 10px;
}

.auth-logo-container img {
  max-width: 120px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: authFloat 3s ease-in-out infinite;
}

@keyframes authFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.footer-text {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.auth-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Fredoka', sans-serif;
  color: var(--theme-green);
}

.auth-subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.auth-input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

.auth-password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  z-index: 10;
  transition: color 0.3s ease;
}

.auth-password-toggle:hover {
  color: var(--primary-blue);
}

.password-toggle-eye {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.password-toggle-eye:hover {
  color: var(--theme-green);
}

.cursor-pointer {
  cursor: pointer !important;
}

.input-with-icon {
  position: relative;
}

.input-with-icon-icon {
  position: absolute;
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-right: 45px;
}

.btn-auth {
  width: 100%;
  padding: 14px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 77, 62, 0.3);
  font-family: 'Fredoka', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 77, 62, 0.5);
  color: white;
  filter: brightness(1.1);
}

.btn-auth:active {
  transform: translateY(0);
}

.auth-logo-circle {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--theme-lime) 0%, var(--primary-green) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 20px rgba(27, 77, 62, 0.2);
}

.auth-back-link {
  color: var(--theme-green-light);
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.auth-back-link:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

/* Change Password Specific */
.change-password-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  margin: -20px -15px 0 -15px;
}

.password-card {
  width: 100%;
  max-width: 550px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  animation: authSlideUp 0.6s ease-out;
}

.password-header {
  text-align: center;
  margin-bottom: 35px;
}

.password-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--theme-lime) 0%, var(--primary-green) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(27, 77, 62, 0.2);
  animation: authPulse 2s infinite;
}

@keyframes authPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.password-icon i {
  font-size: 2.5rem;
  color: white;
}

.password-strength {
  margin-top: -15px;
  margin-bottom: 20px;
}

.strength-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}

.strength-fill {
  height: 100%;
  width: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.strength-weak {
  width: 33% !important;
  background: #f56565 !important;
}

.strength-medium {
  width: 66% !important;
  background: #ed8936 !important;
}

.strength-strong {
  width: 100% !important;
  background: #48bb78 !important;
}

.password-requirements {
  background: #f7fafc;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.password-requirements h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 10px;
}

.password-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.password-requirements li {
  font-size: 0.8rem;
  color: #718096;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.password-requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #48bb78;
  font-weight: bold;
}

.btn-auth-cancel {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  background: #e2e8f0;
  border: none;
  color: #4a5568;
  transition: all 0.3s ease;
}

.btn-auth-cancel:hover {
  background: #cbd5e0;
  color: #2d3748;
}

/* --- Notices & Announcements --- */
.notice-hero {
  background: linear-gradient(135deg, #258cfb 0%, #28a745 100%);
  position: relative;
  overflow: hidden;
}

.hero-icon-wrapper i {
  font-size: 8rem;
  transform: rotate(-15deg);
  display: inline-block;
}

.bg-primary-soft {
  background-color: rgba(37, 140, 251, 0.1);
}

.notice-title {
  font-size: 1.25rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.6;
}

.transition-icon {
  transition: transform 0.2s ease;
}

.premium-card:hover .transition-icon {
  transform: translateX(5px);
}

.empty-state-icon i {
  font-size: 5rem;
  opacity: 0.5;
}

.group-hover-btn {
  display: flex;
  align-items: center;
}

.animate-up {
  animation: authSlideUp 0.8s ease forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

/* --- Admin / Dashboard Cards --- */
.border-left-info {
  border-left: .25rem solid #36b9cc !important;
}

.x-small {
  font-size: 0.75rem;
}

/* --- Utility Classes --- */
.hover-shadow {
  transition: all 0.3s ease;
}

.hover-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.last-border-0:last-child {
  border-bottom: 0 !important;
}

/* --- Parent Portal & Tabs --- */
.nav-pills-custom .nav-link.active {
  background-color: var(--primary-blue) !important;
  box-shadow: 0 0.5rem 1rem rgba(37, 140, 251, 0.15);
}

/* --- Premium Buttons --- */
.premium-btn-primary {
  background: linear-gradient(135deg, #258cfb 0%, #28a745 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
}

.premium-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 140, 251, 0.4);
  color: white;
}

/* --- Common Components --- */
.badge {
  padding: 0.5em 0.75em;
  border-radius: 0.25rem;
  font-size: 85%;
  font-weight: 600;
}

.badge-success {
  background-color: #28a745;
  color: white;
}

.badge-danger {
  background-color: #dc3545;
  color: white;
}

.badge-warning {
  background-color: #ffc107;
  color: black;
}

.badge-info {
  background-color: #17a2b8;
  color: white;
}

.badge-secondary {
  background-color: #6c757d;
  color: white;
}

.badge-primary {
  background-color: #007bff;
  color: white;
}

/* --- Events & Calendar --- */
.border-left-danger {
  border-left: 5px solid #dc3545 !important;
}

.border-left-info {
  border-left: 5px solid #17a2b8 !important;
}

.border-left-warning {
  border-left: 5px solid #ffc107 !important;
}

.border-left-primary {
  border-left: 5px solid #007bff !important;
}

.gallery-item-mini:hover {
  transform: scale(1.02);
  transition: transform 0.2s;
}

/* --- Dashboard Styles --- */
.bg-blue-light {
  background-color: rgba(37, 140, 251, 0.1);
}

.bg-green-light {
  background-color: rgba(40, 199, 111, 0.1);
}

.bg-yellow-light {
  background-color: rgba(255, 159, 67, 0.1);
}

.bg-pink-light {
  background-color: rgba(234, 84, 85, 0.1);
}

.bg-success-light {
  background-color: rgba(40, 199, 111, 0.1);
}

.bg-warning-light {
  background-color: rgba(255, 159, 67, 0.1);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
}

.action-card {
  transition: all 0.3s ease;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background-color: white !important;
  border-color: currentColor !important;
}

/* --- Contact Page Styles --- */
.contact-link {
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--primary-blue) !important;
}

.contact-link-light {
  transition: all 0.2s ease;
}

.contact-link-light:hover {
  color: #fff !important;
  padding-left: 5px;
}

.hover-underline:hover {
  text-decoration: underline !important;
}

/* --- Gallery Styles --- */
.search-form .input-group {
  background: white;
  border: 1px solid #eee;
}

.search-form .form-control:focus {
  box-shadow: none;
}

.gallery-filter .btn {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  margin: 0 0.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gallery-filter .btn.active {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 140, 251, 0.3);
}

.gallery-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  background: white;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-info {
  transform: translateY(0);
}

.view-image {
  cursor: pointer;
}

.zoom-icon {
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.gallery-card:hover .zoom-icon {
  transform: scale(1.2);
}

#modalImage {
  max-height: 90vh;
  width: auto;
  margin: 0 auto;
}

.nav-btn {
  opacity: 0.5;
  transition: all 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
  color: white !important;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: white;
  opacity: 0.8;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 2;
  transition: all 0.3s ease;
}

.gallery-card:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-btn {
    font-size: 2rem !important;
  }
}

/* --- Footer Styles --- */
.footer-links a {
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-blue) !important;
  padding-left: 5px;
}

.hover-primary:hover {
  color: var(--primary-blue) !important;
}

footer {
  font-family: 'Inter', sans-serif;
}

/* --- Document Viewer --- */
.document-viewer-body {
  background-color: #f8f9fa;
}

.document-card {
  border-radius: 12px;
  overflow: hidden;
}

.bg-soft-primary {
  background-color: rgba(13, 110, 253, 0.1);
}

.bg-soft-info {
  background-color: rgba(13, 202, 240, 0.1);
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.avatar-sm {
  font-weight: 600;
  font-size: 0.875rem;
}

.table thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-top: 0;
}

.table thead th a {
  color: inherit;
}

.table thead th a:hover {
  color: var(--bs-primary);
}

/* --- Error Page Styles --- */
.error-page-container {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.error-content {
  animation: fadeInUp 0.6s ease-out;
}

.error-icon {
  animation: bounce 2s infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }
}

.error-code {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.btn-lg {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}


.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.validation-summary-valid {
  display: none;
}

/* --- Profile Page Styles --- */
.profile-header-banner {
  height: 150px;
  background: var(--premium-gradient);
  border-radius: 15px 15px 0 0;
}

.profile-img-container {
  margin-top: -75px;
  position: relative;
  display: inline-block;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border: 5px solid white;
  object-fit: cover;
  background-color: white;
}

/* --- Timeline Styles --- */
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid #e9ecef;
  margin-top: 1rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -38px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #e9ecef;
  background: var(--text-muted);
  top: 5px;
  transition: all 0.3s ease;
}

.timeline-item.current .timeline-marker {
  background: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.timeline-content {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
}

/* --- Premium Card Tweaks --- */
.premium-card {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  overflow: visible;
  /* Ensure banner isn't clipped wrong if card has radius */
  transition: all 0.3s ease;
  background: white;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.premium-card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  color: var(--text-dark);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #e9ecef;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-muted);
  font-weight: 500;
}

.info-value {
  font-weight: 600;
  color: var(--text-dark);
}

.parent-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Clean Form Design - Floating Labels with Icons */
.form-floating-icon {
  position: relative;
  margin-bottom: 1rem;
}

.form-floating-icon .form-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1.2rem;
  z-index: 4;
  color: #95a5a6;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  pointer-events: none;
  /* Prevent icon from blocking input clicks */
}

.form-floating-icon .form-control,
.form-floating-icon .form-select {
  padding-left: 3.5rem;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
}

.form-floating-icon .form-control:focus,
.form-floating-icon .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.25rem rgba(37, 140, 251, 0.1);
}

.form-floating-icon .form-control:focus~.form-icon,
.form-floating-icon .form-select:focus~.form-icon {
  color: var(--primary-blue);
}

/* --- Refined Student Form Styles (Label Outside) --- */
.photo-upload-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.photo-upload-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  color: var(--text-dark);
  border: 3px solid white;
  z-index: 5;
}

.photo-upload-btn:hover {
  background: var(--primary-blue);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 140, 251, 0.3);
}

.input-with-icon {
  position: relative;
}

/* Icon placed absolutely */
.input-with-icon-icon {
  position: absolute;
  top: 50%;
  left: 1.2rem;
  transform: translateY(-50%);
  color: #aeb6bf;
  font-size: 1.1rem;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

/* Input Styles */
.input-with-icon-control {
  padding-left: 3.5rem !important;
  padding-right: 1rem;
  height: 52px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background-color: #ffffff;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s ease;
  font-size: 0.95rem;
  width: 100%;
}

.input-with-icon-control:focus {
  background-color: #fff;
  border-color: var(--theme-green);
  box-shadow: 0 0 0 4px rgba(27, 77, 62, 0.1) !important;
}

.input-with-icon-control.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important;
  /* Hide bootstrap default exclamation */
}

.input-with-icon-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

/* Change icon color when input is invalid or focused */
.input-with-icon-control.is-invalid~.input-with-icon-icon {
  color: #dc3545;
}

.input-with-icon-control:focus~.input-with-icon-icon {
  color: var(--theme-green);
}

/* Support for Contact Info Cards icon boxes */
.contact-info-card .icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  overflow: hidden;
}

.contact-info-card .icon-box i {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Premium Label */
.form-label-premium {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #8898aa;
  margin-bottom: 0.6rem;
  margin-left: 0.2rem;
  display: block;
}

.form-floating-icon label {
  padding-left: 3.5rem;
}

/* Fix for bold text in selects */
.form-select,
.form-select-lg {
  font-weight: 400 !important;
}

/* ===== TESTIMONIAL SECTION STYLES ===== */
.organic-testimonial-card {
  border-radius: 40px;
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.organic-testimonial-card.tint-green {
  background: #f2f9f5;
}

.organic-testimonial-card.tint-blue {
  background: #f0f7ff;
}

.organic-testimonial-card.tint-yellow {
  background: #fffdf2;
}

.organic-testimonial-card.tint-orange {
  background: #fff8f2;
}

.testimonial-slider-track {
  scroll-behavior: smooth;
  padding: 30px 10px;
}

.organic-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.organic-testimonial-card:hover .blob-image-container {
  border-radius: 50%;
}

.organic-testimonial-card:hover .blob-image-container img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .testimonial-slide {
    width: 320px !important;
  }
}

/* Premium Form Control */
.premium-form-control {
  border: 1px solid #e2e8f0;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.premium-form-control:focus {
  border-color: var(--theme-green);
  box-shadow: 0 0 0 3px rgba(15, 51, 41, 0.1);
}

/* Event Card Enhancements */
.event-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  background: white;
  border-radius: 20px;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(27, 77, 62, 0.12) !important;
}

.event-date-badge {
  position: absolute;
  top: -15px;
  left: 25px;
  background: var(--premium-gradient);
  color: white;
  width: 65px;
  height: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  z-index: 2;
  line-height: 1;
}

.event-date-badge .day {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
}

.event-date-badge .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.event-holiday {
  border-top: 5px solid #ea5455 !important;
}

.event-meeting {
  border-top: 5px solid #00cfe8 !important;
}

.event-celebration {
  border-top: 5px solid #ff9f43 !important;
}

.event-general {
  border-top: 5px solid var(--theme-green) !important;
}

.group-hover-btn .transition-icon {
  transition: transform 0.3s ease;
}

.event-card:hover .group-hover-btn .transition-icon {
  transform: translateX(5px);
}

/* ========================================================================
   Admission Details Page Styles
   ======================================================================== */

.custom-gradient {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.bg-gradient-success-soft {
  background: linear-gradient(180deg, #eefdf3 0%, #ffffff 100%);
}

.avatar-circle-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Monthly Calendar & FullCalendar Customization */
.view-toggle button.active {
  background: var(--theme-green) !important;
  color: white !important;
  box-shadow: 0 4px 10px rgba(27, 77, 62, 0.2);
}

.view-toggle button:not(.active) {
  color: var(--text-muted);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-dot.bg-danger {
  background-color: #ef4444 !important;
}

.legend-dot.bg-info {
  background-color: #0ea5e9 !important;
}

.legend-dot.bg-warning {
  background-color: #eab308 !important;
}

.legend-dot.bg-primary {
  background-color: #22c55e !important;
}

/* FullCalendar Button Styling */
.fc-button-primary {
  background-color: var(--theme-green) !important;
  border-color: var(--theme-green) !important;
  border-radius: 30px !important;
  text-transform: capitalize !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-family: 'Fredoka', sans-serif !important;
  box-shadow: 0 4px 6px rgba(27, 77, 62, 0.15) !important;
}

.fc-button-primary:hover {
  background-color: var(--theme-green-light) !important;
  border-color: var(--theme-green-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(27, 77, 62, 0.2) !important;
}

.fc-button-primary:disabled {
  background-color: #ccc !important;
  border-color: #ccc !important;
  opacity: 0.6;
}

.fc-button-active {
  background-color: var(--theme-green-dark) !important;
  border-color: var(--theme-green-dark) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.fc-toolbar {
  margin-bottom: 2rem !important;
}

.fc-toolbar-title {
  font-family: 'Fredoka', sans-serif !important;
}

#calendar {
  min-height: 700px;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#calendar.transitioning {
  opacity: 0.7;
  transform: scale(0.98);
}

.fc {
  --fc-button-bg-color: var(--theme-green);
  --fc-button-border-color: var(--theme-green);
  --fc-button-hover-bg-color: var(--theme-green-light);
  --fc-button-hover-border-color: var(--theme-green-light);
  --fc-button-active-bg-color: var(--theme-green-dark);
  --fc-button-active-border-color: var(--theme-green-dark);
  --fc-event-border-color: transparent;
  --fc-today-bg-color: rgba(168, 209, 79, 0.1);
}

.fc .fc-toolbar-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--theme-green);
  font-size: 1.5rem;
}

.fc .fc-col-header-cell {
  background: var(--theme-green);
  padding: 15px 0;
  font-weight: 700;
  color: white;
  border: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
}

.fc .fc-col-header-cell-cushion {
  color: white !important;
  text-decoration: none !important;
}

.fc .fc-daygrid-day-number {
  font-weight: 800;
  padding: 10px 15px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1;
}

.bs-date {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--theme-orange);
  background: rgba(242, 83, 52, 0.08);
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(242, 83, 52, 0.1);
}

.ad-date {
  color: var(--theme-green);
  font-family: 'Fredoka', sans-serif;
}

.fc .fc-daygrid-day-top {
  flex-direction: row;
}

.fc-daygrid-day-number-container {
  width: 100%;
}

/* Premium Event Styling */
.fc .fc-event {
  border-radius: 20px !important;
  /* Premium Pill style */
  padding: 0;
  font-weight: 600;
  font-size: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none !important;
  margin: 2px 4px !important;
  overflow: hidden;
}

.fc-event-main {
  padding: 4px 10px !important;
  display: flex !important;
  align-items: center;
  width: 100%;
}

.fc-event-time {
  font-weight: 800;
  margin-right: 8px;
  font-size: 0.7rem;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  flex-shrink: 0;
}

.fc-event-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.fc .fc-event:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  filter: brightness(0.98);
  z-index: 10;
}

/* Event Types Color Palette */
.fc-event.holiday {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border-left: 3px solid #ef4444 !important;
}

.fc-event.meeting {
  background: #e0f2fe !important;
  color: #075985 !important;
  border-left: 3px solid #0ea5e9 !important;
}

.fc-event.celebration {
  background: #fefce8 !important;
  color: #854d0e !important;
  border-left: 3px solid #eab308 !important;
}

.fc-event.other {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border-left: 3px solid #22c55e !important;
}

@media (max-width: 576px) {
  .fc .fc-daygrid-day-top {
    padding: 0 !important;
  }

  .fc-daygrid-day-number-container {
    padding: 3px !important;
    gap: 1px;
    align-items: center !important;
  }

  .ad-date {
    font-size: 0.8rem;
  }

  .bs-date {
    font-size: 0.6rem !important;
    padding: 1px 4px !important;
    border-radius: 4px !important;
  }

  .fc .fc-event {
    font-size: 0.65rem;
    margin: 1px 1px !important;
  }

  .fc-event-time {
    display: none;
    /* Hide time on very small screens to save space */
  }
}

.fc-theme-standard td,
.fc-theme-standard th {
  border: 1px solid #f0f0f0 !important;
}

/* Event Badges and Colors */
.event-badge-holiday {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.event-badge-meeting {
  background: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
}

.event-badge-celebration {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.event-card.holiday {
  border-top: 5px solid #dc3545 !important;
}

.event-card.meeting {
  border-top: 5px solid #0dcaf0 !important;
}

.event-card.celebration {
  border-top: 5px solid #ffc107 !important;
}

/* Calendar Header Actions & Jump Controls */
.calendar-header-actions .form-select {
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent !important;
}

.calendar-header-actions .form-select:hover {
  background-color: #e9ecef !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-1px);
}

.calendar-header-actions .form-select:focus {
  background-color: #fff !important;
  border-color: var(--theme-green) !important;
  box-shadow: 0 0 0 0.25rem rgba(168, 209, 79, 0.25) !important;
}

/* Integrated Title Navigation */
.fc-toolbar-title {
  font-size: 0 !important;
  /* Hide original text node */
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-title-selectors {
  background: var(--theme-light-green);
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(27, 77, 62, 0.1);
  font-size: 1rem;
  /* Restore font size for selector container */
}

/* Mobile Responsiveness for Calendar Header */
@media (max-width: 768px) {
  .fc .fc-toolbar {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .fc-toolbar-chunk {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .calendar-title-selectors {
    padding: 2px 8px;
    transform: scale(0.9);
  }

  .title-jump-select {
    font-size: 1.1rem;
    padding: 2px 8px;
  }

  #jumpMonth {
    min-width: 100px;
  }

  #jumpYear {
    min-width: 70px;
  }

  .select-icon {
    right: 8px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .calendar-title-selectors {
    transform: scale(0.85);
    margin: -5px 0;
  }

  .title-jump-select {
    font-size: 1rem;
  }

  #jumpMonth {
    min-width: 90px;
  }
}

.title-jump-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--theme-green);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  position: relative;
}

.title-jump-select:hover {
  color: var(--theme-green-light);
  transform: scale(1.05);
}

.title-jump-select:focus {
  outline: none;
  color: var(--theme-green-light);
}

#jumpMonth {
  min-width: 120px;
}

#jumpYear {
  min-width: 80px;
}

.select-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8rem;
  color: var(--theme-green);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.title-jump-select:hover+.select-icon {
  color: var(--theme-green-light);
  transform: translateY(-50%) scale(1.2);
}

/* Hide standard arrow but add a small dot or something subtle if needed */
.title-jump-select::-ms-expand {
  display: none;
}

/* ========================================= */
/*      FULLCALENDAR LIST VIEW BEAUTIFICATION    */
/* ========================================= */

.fc-list-view .fc-list-table {
  border-collapse: separate !important;
  border-spacing: 20px 15px !important;
  /* Added 20px horizontal spacing */
  background: transparent !important;
  margin-top: 10px;
}

/* Clear borders */
.fc-list-view .fc-list-table td,
.fc-list-view .fc-list-table th,
.fc-theme-standard .fc-list-day-cushion {
  border: none !important;
}

/* Date Header Styling */
.fc-list-day-cushion {
  background: transparent !important;
  padding: 15px 0 5px 5px !important;
}

.fc-list-day-text,
.fc-list-day-side-text,
.fc-list-day-text a,
.fc-list-day-side-text a {
  font-family: 'Fredoka', sans-serif;
  color: var(--theme-green) !important;
  /* Force green override for links */
  font-size: 1.25rem !important;
  font-weight: 800;
  text-decoration: none !important;
  text-transform: capitalize;
}

.fc-list-day-side-text,
.fc-list-day-side-text a {
  font-family: 'DM Sans', sans-serif;
  color: var(--theme-green-light) !important;
  font-weight: 600;
  font-size: 1rem;
}

/* Event Row as Card */
.fc-list-event {
  background: white !important;
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.fc-list-event td:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  padding-left: 30px !important;
}

.fc-list-event td:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  padding-right: 30px !important;
}

.fc-list-event:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 15px 30px rgba(27, 77, 62, 0.12);
  background: white !important;
  z-index: 5;
}

/* Time Column */
.fc-list-event-time {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--theme-green-dark);
  white-space: nowrap;
  width: 150px;
  min-width: 150px;
  padding: 25px 15px !important;
  vertical-align: middle;
  font-size: 0.95rem;
}

/* Event Dot */
.fc-list-event-dot {
  border-width: 7px !important;
  margin-right: 15px;
  box-shadow: 0 0 15px rgba(27, 77, 62, 0.2);
}

/* Event Title */
.fc-list-event-title {
  padding: 25px 15px !important;
  vertical-align: middle;
}

.fc-list-event-title a {
  color: var(--text-dark) !important;
  /* Remove blue link */
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none !important;
  font-family: 'Fredoka', sans-serif;
  display: block;
  margin-bottom: 4px;
}

.fc-list-event-title a:hover {
  color: var(--theme-green) !important;
}

.fc-list-empty {
  background-color: white;
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
  margin-top: 20px;
}

/* Password Toggle Eye */
.password-toggle-eye {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.2rem;
  z-index: 10;
  transition: color 0.2s ease;
}

.password-toggle-eye:hover {
  color: var(--theme-green);
}