/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Mobile-friendly touch improvements */
* {
  -webkit-tap-highlight-color: transparent;
}

button, a, input, textarea, select {
  touch-action: manipulation;
}

/* Ensure minimum touch target size */
.nav-toggle, .cta-btn, .hero-cta, .nav-links a {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&family=Nunito:wght@400;700&display=swap');

html {
  /* High refresh rate optimizations (60Hz, 90Hz, 120Hz) */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  overscroll-behavior: none; /* Prevent overscroll bounce */
  overscroll-behavior-x: none; /* Prevent horizontal overscroll */
  scroll-padding-top: 80px; /* Account for fixed header */
  scroll-snap-type: none; /* Disable snap scrolling for smoother experience */
  /* GPU acceleration for high refresh rate displays */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Optimize scrolling containers for high refresh rates (60Hz, 90Hz, 120Hz) */
main, section, .programs-list, .gallery-grid {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  /* GPU acceleration for smooth scrolling at native refresh rates */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: scroll-position;
}

/* Optimize images for smooth scrolling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile image optimizations */
@media (max-width: 768px) {
  img {
    content-visibility: auto;
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Isolate sections to prevent repaints during scroll - critical for smooth scrolling */
section {
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px; /* Estimate height for better performance */
}

/* Programs list section - special handling for smooth scrolling on mobile */
@media (max-width: 768px) {
  section .programs-list {
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 3000px; /* Estimate for 6 cards */
  }
}

/* Enhanced mobile optimizations */
@media (max-width: 768px) {
  section {
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px; /* Estimate height for better performance */
  }
  
  /* Programs list section - special optimization for smooth scrolling */
  section.programs-list {
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: auto 3500px; /* Estimate for 6 cards with spacing */
    /* Smooth scrolling optimizations */
    -webkit-overflow-scrolling: touch !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  /* Optimize images for smooth scrolling */
  img {
    content-visibility: auto;
    will-change: auto;
  }
  
  /* Optimize cards and containers */
  .card,
  .program-card,
  .gallery-item,
  .programs-list > * {
    contain: layout style paint;
    content-visibility: auto;
  }
}

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  background: #f8f9fa;
  color: #263238;
  line-height: 1.7;
  /* Mobile performance optimizations */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* High refresh rate scrolling optimizations (60Hz, 90Hz, 120Hz) */
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  overscroll-behavior: none;
  /* GPU acceleration for smooth high refresh rate scrolling */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Prevent layout shifts during scroll */
  contain: layout style;
}

/* Ensure main content is always visible - prevent white screen issue */
main,
section:not(.nav-overlay),
.programs-list,
.program-card,
.card {
  opacity: 1 !important;
  visibility: visible !important;
}

body.lightbox-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Nunito', Arial, sans-serif;
  color: #1a237e;
  font-weight: 800;
  letter-spacing: 1px;
}

h1 {
  font-size: 2.5rem;
  color: #1565c0;
}

h2 {
  font-size: 2rem;
  color: #2d3e8b;
}

header {
  background: #e2ff08;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  width: 100%;
  z-index: 10;
  top: 0;
  left: 0;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}
.little-roses-banner {
  background: linear-gradient(90deg, #ffebf0 0%, #ffe0f0 50%, #fff5f9 100%);
  border-top: 1px solid rgba(255, 105, 180, 0.2);
  border-bottom: 1px solid rgba(255, 105, 180, 0.2);
  padding: 0.5rem 0;
  margin-bottom: 0;
  box-shadow: 0 2px 6px rgba(255, 105, 180, 0.08);
}
.little-roses-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}
.little-roses-logo {
  height: 64px;
  width: auto;
  border-radius: 12px;
  border: 2px solid rgba(255, 105, 180, 0.35);
  background: #fff;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.15);
  object-fit: cover;
}
.little-roses-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.little-roses-heading {
  font-size: 1.8rem;
  color: #ff0000;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
.little-roses-subheading {
  font-size: 0.9rem;
  color: #ad1457;
  font-weight: 600;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Poppins', 'Nunito', Arial, sans-serif;
}
@media (max-width: 768px) {
  .little-roses-banner {
    padding: 0.8rem 0;
  }
  .little-roses-content {
    flex-direction: column;
    padding: 0 1rem;
  }
  .little-roses-text {
    gap: 0.1rem;
  }
  .little-roses-logo {
    height: 56px;
  }
  .little-roses-heading {
    font-size: 1.1rem;
  }
  .little-roses-subheading {
    font-size: 0.7rem;
  }
}
.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
.logo {
  height: 48px;
  width: 48px;
  border-radius: 8px;
  margin-right: 0.75rem;
  border: 2px solid #e7c873;
  background: #fff;
}
.school-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.school-name {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #ff0000;
  line-height: 1.1;
}

.school-tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: #00CED1;
  letter-spacing: 0.5px;
  opacity: 0.9;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 0;
  align-items: center;
}
.nav-links li a {
  color: #1a237e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: #00b894;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  /* Mobile touch improvements */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.hamburger {
  width: 28px;
  height: 3px;
  background: #ffd600;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Scrolling Announcement Bar */
.scrolling-announcement {
  background: linear-gradient(90deg, #b8860b 0%, #3ec6c1 50%, #e7c873 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scrolling-content {
  display: flex;
  animation: scroll-left 25s linear infinite;
  white-space: nowrap;
  animation-delay: 0s;
  /* Optimize for smooth scrolling */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 30px;
  font-weight: 600;
  font-size: 1rem;
  min-width: 400px;
}

.announcement-icon {
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
}

.announcement-text {
  font-family: 'Poppins', Arial, sans-serif;
  letter-spacing: 0.5px;
}

@keyframes scroll-left {
  0% {
    transform: translate3d(100%, 0, 0); /* Hardware acceleration */
  }
  100% {
    transform: translate3d(-100%, 0, 0); /* Hardware acceleration */
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Responsive design for scrolling announcement */
@media (max-width: 768px) {
  .scrolling-announcement {
    height: 45px;
  }
  
  .announcement-item {
    font-size: 0.9rem;
    min-width: 300px;
    gap: 10px;
    padding: 0 20px;
  }
  
  .announcement-icon {
    font-size: 1rem;
  }
  
  /* Optimize scrolling performance on tablets */
  .scrolling-content {
    animation-duration: 20s; /* Slightly faster on tablets */
  }
}

/* Ensure main content is full width on mobile - critical fix */
@media (max-width: 900px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }
  
  /* Show navigation toggle button on mobile */
  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001 !important;
    position: relative !important;
  }
  
  .hamburger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 28px !important;
    height: 3px !important;
    margin: 4px 0 !important;
  }
  
  /* Nav Overlay - Background when menu is open */
  .nav-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(5px) !important;
    z-index: 999 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
  }
  
  .nav-overlay.active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Ensure nav menu is completely hidden by default and doesn't affect layout */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 280px !important;
    max-width: 80% !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 5rem 0 2rem 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    transition: right 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
  }
  
  .nav-links.open {
    right: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Navigation menu items styling */
  .nav-links li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  }
  
  .nav-links li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  }
  
  .nav-links a {
    display: block !important;
    width: 100% !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
  }
  
  .nav-links a:hover,
  .nav-links a:active {
    background-color: rgba(78, 115, 223, 0.1) !important;
    color: #4e73df !important;
  }
  
  .nav-links a.active {
    background-color: rgba(78, 115, 223, 0.15) !important;
    color: #4e73df !important;
    font-weight: 600 !important;
  }
  
  /* Ensure all sections are full width */
  section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  /* Ensure header doesn't shift */
  header {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .navbar {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0.5rem 1rem !important;
  }
  
  /* Ensure scrolling announcement doesn't cause layout shift */
  .scrolling-announcement {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    top: 0 !important;
  }
  
  /* Ensure page header box maintains position */
  .page-header-box {
    position: relative !important;
    margin: 1rem auto !important;
    transform: none !important;
    animation: none !important;
    will-change: auto !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  .page-header-box::before,
  .page-header-box::after {
    animation: none !important;
    transform: none !important;
  }
  
  /* Prevent any layout shifts on scroll */
  main {
    position: relative !important;
    transform: none !important;
    top: 0 !important;
  }
  
  /* Ensure scrolling announcement doesn't cause shifts */
  .scrolling-announcement {
    position: relative !important;
    transform: none !important;
    top: 0 !important;
    margin: 0 !important;
  }
}

/* Mobile-specific improvements for better touch experience */
@media (max-width: 480px) {
  .scrolling-announcement {
    height: 40px;
  }
  
  .announcement-item {
    font-size: 0.8rem;
    min-width: 250px;
    gap: 8px;
    padding: 0 15px;
  }
  
  .announcement-icon {
    font-size: 0.9rem;
  }
  
  /* Improve touch targets on mobile */
  .nav-links a {
    padding: 12px 16px;
    margin: 4px 0;
  }
  
  .hero-cta, .cta-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  /* Better mobile spacing */
  .hero-features {
    gap: 1rem;
  }
  
  .feature-item {
    padding: 1rem;
  }
  
  /* Reduce animation complexity on mobile for better performance */
  .hero-section::before,
  .hero-section::after {
    animation-duration: 30s; /* Slower animations on mobile */
  }
  
  .hero-container::before,
  .hero-container::after {
    animation-duration: 10s; /* Slower animations on mobile */
  }
  
  /* Disable heavy animations on mobile for smooth scrolling */
  .hero-section::before,
  .hero-section::after {
    animation: none;
  }
  
  .hero-container::before,
  .hero-container::after {
    animation: none;
  }
  
  /* Simplify scrolling announcement animation */
  .scrolling-content {
    animation-duration: 30s;
  }
  
  .announcement-icon {
    animation: none;
  }
  
  /* Disable tree section animations on mobile */
  .tree-bubble {
    animation: none !important;
    opacity: 1 !important;
    transform: scale(1) translateY(0) rotate(0deg) !important;
    transition: none !important;
  }
  
  .tree-badge {
    transition: none !important;
  }
  
  /* Remove expensive filters on mobile */
  .tree-svg-container,
  .tree-img-bg,
  .fruit,
  .fruit ellipse {
    filter: none !important;
  }
  
  /* Disable all hover effects on mobile */
  .tree-bubble:hover,
  .tree-badge:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Simplify tree sections - critical for mobile scrolling performance */
  .why-tree-section,
  .realistic-tree-section,
  .realistic-old-tree-section,
  .tree-image-section {
    overflow: visible !important;
    transform: none !important;
    will-change: auto !important;
    contain: layout style paint !important;
    isolation: isolate !important;
  }
  
  .tree-svg-container,
  .tree-image-container,
  .realistic-old-tree-container {
    transform: none !important;
    will-change: auto !important;
    contain: layout style paint !important;
  }
  
  /* Remove expensive filters from tree SVGs on mobile */
  .why-tree-svg,
  .realistic-tree-svg,
  .realistic-old-tree-svg,
  .tree-svg-container {
    filter: none !important;
  }
  
  .fruit,
  .fruit ellipse,
  .fruit circle {
    filter: none !important;
    transition: none !important;
  }
  
  /* Disable photo scroll animation */
  .photo-scroll-track {
    animation: none !important;
  }
  
  /* Optimize click interactions for high refresh rates on mobile */
  .card,
  .program-card,
  .gallery-item {
    /* Keep smooth transitions for click feedback but optimize */
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    /* GPU acceleration for smooth clicks */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  
  /* Smooth active state for touch feedback */
  .card:active,
  .program-card:active,
  .gallery-item:active,
  .card.touch-active,
  .program-card.touch-active,
  .gallery-item.touch-active {
    transform: scale(0.97) translateZ(0) !important;
    -webkit-transform: scale(0.97) translateZ(0) !important;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0.9 !important;
  }
  
  /* CRITICAL: Ensure feature items are visible on mobile - they start with opacity: 0 */
  .hero-features {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .feature-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) translateZ(0) !important;
    -webkit-transform: translateY(0) translateZ(0) !important;
    display: flex !important;
    animation: none !important;
    transition: none !important;
  }
  
  .feature-icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }
  
  .feature-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .feature-text h4,
  .feature-text p {
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
  }
  
  /* Disable other expensive transitions and animations on mobile */
  .tree-bubble,
  .tree-badge,
  .photo-item,
  .hero-title,
  .hero-title-highlight,
  .hero-subtitle {
    transition: none !important;
    animation: none !important;
  }
  
  /* Disable photo scroll animation */
  .photo-scroll-track {
    animation: none !important;
  }
  
  /* Keep only essential scrolling animation - use transform for GPU acceleration */
  .scrolling-content {
    animation: scroll-left 30s linear infinite !important;
    transform: translateZ(0); /* GPU acceleration for this animation only */
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-backface-visibility: hidden;
  }
  
  /* Force GPU acceleration off for better scrolling */
  .why-tree-section,
  .realistic-tree-section,
  .realistic-old-tree-section,
  .tree-image-section {
    transform: none !important;
    will-change: auto !important;
  }
  
  /* Additional optimizations for ultra-smooth scrolling */
  main {
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: auto 2000px;
  }
  
  /* Optimize all images - disable expensive rendering */
  img {
    image-rendering: auto;
    will-change: auto;
    transform: none !important;
  }
  
  /* Disable all box-shadows on mobile for better performance */
  .card,
  .program-card,
  .gallery-item,
  .tree-badge,
  .tree-bubble,
  .program-card::before,
  .program-card::after {
    box-shadow: none !important;
  }
  
  /* Simplify gradients on mobile - use solid colors where possible */
  .hero-section,
  .page-header-box,
  .programs-list {
    background-attachment: scroll !important; /* Prevent fixed backgrounds */
  }
  
  /* Disable backdrop filters on mobile */
  * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* Optimize text rendering during scroll */
  h1, h2, h3, h4, h5, h6, p, span {
    text-rendering: optimizeSpeed;
  }
}

/* High Refresh Rate Optimizations (60Hz, 90Hz, 120Hz) */
/* Optimized for smooth scrolling at native display refresh rates */
/* Uses GPU acceleration and requestAnimationFrame for maximum smoothness */

/* Base optimizations for all mobile devices */
@media screen and (max-width: 768px) {
  /* Enable hardware acceleration for smooth scrolling */
  html, body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    /* Force GPU acceleration for smooth 60/90/120Hz scrolling */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
  }
  
  /* Optimize main scrolling container */
  main {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* GPU acceleration for smooth scrolling */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: scroll-position;
  }
  
  /* Optimize all sections for smooth scrolling */
  section {
    -webkit-overflow-scrolling: touch;
    /* GPU acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  /* Optimize scrolling containers for smooth high refresh rate scrolling */
  .programs-list {
    -webkit-overflow-scrolling: touch !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: scroll-position !important;
    /* Ensure smooth scrolling */
    overscroll-behavior-y: contain !important;
    overscroll-behavior: none !important;
    /* Prevent content clipping */
    overflow: visible !important;
    overflow-x: hidden !important;
    /* Smooth scrolling optimizations */
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  .gallery-grid,
  .scrolling-content {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
  }
  
  /* Optimize cards and items for smooth rendering */
  .card,
  .program-card,
  .gallery-item {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  /* Optimize images for smooth scrolling */
  img {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Hero Section - Modern Split Layout */
.hero-section {
  background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Floating Graphics */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: floatBackground 20s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  animation: moveDots 30s linear infinite;
}

/* Floating Elements */
.hero-container::before {
  content: '🎓';
  position: absolute;
  top: 10%;
  left: 10%;
  font-size: 3rem;
  animation: floatElement 6s ease-in-out infinite;
  z-index: 1;
}

.hero-container::after {
  content: '🌟';
  position: absolute;
  top: 20%;
  right: 15%;
  font-size: 2.5rem;
  animation: floatElement 8s ease-in-out infinite reverse;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  position: relative;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.4);
  letter-spacing: -0.02em;
  animation: titleGlow 3s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}

.hero-title::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -20px;
  right: -20px;
  bottom: -10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  z-index: -1;
  animation: titlePulse 4s ease-in-out infinite;
}

.hero-title::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ffd600 50%, transparent 100%);
  transform: translateY(-50%);
  animation: titleLine 2.5s ease-in-out infinite;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  animation: highlightGlow 2s ease-in-out infinite alternate;
}

.hero-title-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(8px);
  opacity: 0.5;
  z-index: -1;
  animation: highlightBlur 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
  }
}

@keyframes titlePulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
}

@keyframes titleLine {
  0%, 100% {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes highlightGlow {
  0% {
    filter: drop-shadow(0 0 3px rgba(139, 0, 0, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(139, 0, 0, 0.8));
  }
}

@keyframes highlightBlur {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  opacity: 1;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hero Features */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.feature-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: featureSlideIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.feature-item:nth-child(1) {
  animation-delay: 0.2s;
}

.feature-item:nth-child(2) {
  animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.6s;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.feature-item:hover::before {
  left: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  animation: iconBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-text h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.feature-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Animations */
@keyframes floatBackground {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes moveDots {
  0% {
    transform: translateX(0px) translateY(0px);
  }
  100% {
    transform: translateX(-20px) translateY(-20px);
  }
}

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 1;
  }
}

@keyframes featureSlideIn {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Additional Floating Elements */
.hero-content::before {
  content: '📚';
  position: absolute;
  bottom: 20%;
  left: 5%;
  font-size: 2rem;
  animation: floatElement 7s ease-in-out infinite;
  z-index: 1;
}

.hero-content::after {
  content: '🎨';
  position: absolute;
  bottom: 30%;
  right: 8%;
  font-size: 2.2rem;
  animation: floatElement 9s ease-in-out infinite reverse;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-cta.primary {
  background: #ffd600;
  color: #222;
}

.hero-cta.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffd600;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

/* Hero Features */
.hero-features {
  margin-bottom: 3rem;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.feature-text p {
  font-size: 0.95rem;
  color: #ffffff;
  opacity: 1;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: slideInUp 0.8s ease-out 0.8s both;
}

.hero-cta {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.hero-cta.primary {
  background: linear-gradient(135deg, #ffd600 0%, #e7c873 100%);
  color: #2d3e8b;
  box-shadow: 0 8px 32px rgba(255, 214, 0, 0.3);
}

.hero-cta.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #2d3e8b;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-cta.primary:hover {
  box-shadow: 0 12px 40px rgba(255, 214, 0, 0.4);
}

.hero-cta.secondary:hover {
  background: rgba(255, 255, 255, 1);
  color: #2d3e8b;
  border-color: rgba(255, 255, 255, 1);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  animation: slideInUp 0.8s ease-out 1s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.3);
}

.stat-label {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Hero Photos - Left Side */
.hero-photos-left {
  position: relative;
  height: 600px;
  overflow: hidden;
  order: 1;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.photo-scroll-container {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.photo-scroll-track {
  display: flex;
  flex-direction: column;
  height: 200%;
  animation: scrollPhotos 25s linear infinite;
}

.photo-item {
  position: relative;
  height: 50%;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-item:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9) contrast(1.1);
}

.photo-item:hover .hero-img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.05);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 62, 139, 0.3) 0%, rgba(0, 184, 148, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.photo-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 1rem 1.5rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.photo-item:hover .photo-badge {
  transform: translateY(0);
}

.badge-icon {
  font-size: 1.4rem;
  animation: pulse 2s ease-in-out infinite;
}

.badge-text {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  color: #2d3e8b;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 3;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.4) 0%, rgba(231, 200, 115, 0.4) 100%);
  animation: float 8s ease-in-out infinite;
  backdrop-filter: blur(5px);
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 20%;
  background: linear-gradient(135deg, rgba(62, 198, 193, 0.4) 0%, rgba(0, 184, 148, 0.4) 100%);
  animation-delay: 2s;
}

.circle-3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 5%;
  background: linear-gradient(135deg, rgba(45, 62, 139, 0.3) 0%, rgba(106, 140, 175, 0.3) 100%);
  animation-delay: 4s;
}

.floating-star {
  position: absolute;
  font-size: 2rem;
  animation: twinkle 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.star-1 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.star-2 {
  top: 70%;
  right: 25%;
  animation-delay: 3s;
}

.star-3 {
  top: 40%;
  right: 8%;
  animation-delay: 5s;
}

/* Animations */
@keyframes scrollPhotos {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(180deg);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(180deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-container {
    padding: 1.5rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-photos-left {
    order: 1;
    height: 500px;
  }
  
  .hero-text-content {
    order: 2;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .hero-section {
    min-height: auto;
    padding: 1.5rem 0;
  }
  
  .hero-container {
    padding: 0.75rem;
  }
  
  .hero-photos-left {
    height: 400px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .hero-features {
    margin-bottom: 1rem;
    gap: 0.75rem;
  }
  
  .feature-item {
    padding: 0.7rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-cta {
    text-align: center;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .hero-container {
    padding: 0.5rem;
  }
  
  .hero-photos-left {
    height: 300px;
  }
  
  .hero-title {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.7rem;
  }
  
  .feature-icon {
    align-self: center;
    margin-bottom: 0.25rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .floating-elements {
    display: none;
  }
}

/* CTA Button Styles (for other sections) */
.cta-btn {
  background: linear-gradient(90deg, #e7c873 0%, #3ec6c1 100%);
  color: #23395d;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 4px 16px rgba(45,62,139,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  background: #6a8caf;
  color: #fff;
  box-shadow: 0 8px 32px rgba(21,101,192,0.18);
}

footer {
  background: #2d3e8b;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* Highlights Section */
.highlights {
  background: linear-gradient(180deg, #1e3c72 0%, #2a5298 20%, #4facfe 50%, #00f2fe 80%, #43e97b 100%);
  background-size: 400% 400%;
  animation: colorfulGradient2 14s ease infinite;
  padding: 2.5rem 1rem 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.highlights::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(30, 60, 114, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(74, 172, 254, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, rgba(0, 242, 254, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(67, 233, 123, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse2 11s ease-in-out infinite alternate;
}

.highlights::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(60deg, transparent, transparent 70px, rgba(255, 255, 255, 0.12) 70px, rgba(255, 255, 255, 0.12) 72px),
    repeating-linear-gradient(-60deg, transparent, transparent 70px, rgba(255, 255, 255, 0.08) 70px, rgba(255, 255, 255, 0.08) 72px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove2 25s linear infinite;
}

.highlights > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient2 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse2 {
  0% { opacity: 0.7; transform: scale(1) rotate(-3deg); }
  100% { opacity: 1; transform: scale(1.12) rotate(3deg); }
}

@keyframes patternMove2 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 70px 70px, -70px -70px; }
}
.highlights h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.highlight-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.card {
  background: #f4f8ff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(45,62,139,0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  max-width: 270px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(45,62,139,0.13);
}
.card svg {
  margin-bottom: 1rem;
}
.card h3 {
  color: #00b894;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: #333;
  font-size: 1rem;
}

/* REMOVED: Duplicate .program-card definition - using optimized version at line 5204 */

.program-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.program-features li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  /* High refresh rate optimized transitions */
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              padding-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU acceleration */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  touch-action: manipulation;
}

.program-features li::before {
  content: '✨';
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-size: 1rem;
  color: #4e73df;
  animation: sparkle 2s ease-in-out infinite;
}

.program-features li:nth-child(2)::before {
  content: '🎯';
  color: #ff6b35;
}

.program-features li:nth-child(3)::before {
  content: '🚀';
  color: #00b894;
}

.program-features li:nth-child(4)::before {
  content: '💎';
  color: #8e44ad;
}

.program-features li:hover {
  color: #0d0d0d;
  transform: translateX(5px) translateZ(0);
  -webkit-transform: translateX(5px) translateZ(0);
  padding-left: 2.5rem;
}

/* Smooth active state for mobile touch feedback */
.program-features li:active {
  transform: translateX(3px) scale(0.98) translateZ(0);
  -webkit-transform: translateX(3px) scale(0.98) translateZ(0);
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-features li:hover::before {
  animation: bounce 0.6s ease-in-out;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(10deg); }
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* REMOVED: Duplicate mobile media queries for .program-card - consolidated in main mobile queries */

/* Contact & Branches Section */
.contact-cta {
  background: linear-gradient(180deg, #00acc1 0%, #26c6da 25%, #4dd0e1 50%, #80deea 75%, #b2ebf2 100%);
  background-size: 400% 400%;
  animation: colorfulGradient11 20s ease infinite;
  padding: 2.5rem 1rem 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(0, 172, 193, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(38, 198, 218, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 75%, rgba(77, 208, 225, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 30% 85%, rgba(178, 235, 242, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse11 11s ease-in-out infinite alternate;
}

.contact-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(70deg, transparent, transparent 82px, rgba(255, 255, 255, 0.14) 82px, rgba(255, 255, 255, 0.14) 84px),
    repeating-linear-gradient(-70deg, transparent, transparent 82px, rgba(255, 255, 255, 0.1) 82px, rgba(255, 255, 255, 0.1) 84px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove11 25s linear infinite;
}

.contact-cta > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient11 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse11 {
  0% { opacity: 0.7; transform: scale(1) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1.12) rotate(1deg); }
}

@keyframes patternMove11 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 82px 82px, -82px -82px; }
}
.contact-cta h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.branches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.branch {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(45,62,139,0.07);
  padding: 1rem 1.5rem;
  min-width: 220px;
  max-width: 320px;
}
.branch h4 {
  color: #2d3e8b;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.branch p {
  color: #333;
  font-size: 0.98rem;
}
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.transport-note {
  color: #2d3e8b;
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* SVG Graphics */
.hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}
.hero {
  position: relative;
  z-index: 1;
}

/* General Section Spacing */
section {
  margin-bottom: 2.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Mobile Section Spacing Optimization */
@media (max-width: 768px) {
  section {
    margin-bottom: 1.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  section {
    margin-bottom: 1.25rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }
}

/* Animated Gradient Backgrounds */
.hero, .about-hero, .admissions-hero, .programs-hero, .gallery-hero, .contact-hero {
  background: linear-gradient(120deg, #2d3e8b 60%, #00b894 100%);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.hero-bg, .about-hero svg, .admissions-hero svg, .programs-hero svg, .gallery-hero svg, .contact-hero svg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
}
.hero h1, .about-hero h1, .admissions-hero h1, .programs-hero h1, .gallery-hero h1, .contact-hero h1 {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero p, .about-hero p, .admissions-hero p, .programs-hero p, .gallery-hero p, .contact-hero p {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Card Enhancements */
.card, .program-card, .achievement-card, .branch, .gallery-item {
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(45,62,139,0.10);
  background: #fff;
  transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.card:hover, .program-card:hover, .gallery-item:hover {
  transform: translateY(-8px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 32px rgba(0,184,148,0.18);
}

/* Timeline Styles */
.timeline {
  border-left: 4px solid #00b894;
  margin: 2rem 0 2rem 1.5rem;
  padding-left: 2rem;
  position: relative;
}
.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}
.timeline-dot {
  width: 18px;
  height: 18px;
  background: #3ec6c1;
  border-radius: 50%;
  position: absolute;
  left: -2.1rem;
  top: 0.2rem;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(45,62,139,0.10);
}
.timeline-content h4 {
  color: #2d3e8b;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* Achievements */
.achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.achievement-card {
  min-width: 90px;
  padding: 1.2rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #ffd600 60%, #00b894 100%);
  color: #2d3e8b;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 12px rgba(45,62,139,0.10);
}
.achievement-card .score {
  font-size: 2rem;
  color: #3ec6c1;
  display: block;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  background: #f4f8ff;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 1rem;
}
.gallery-item img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 12px rgba(45,62,139,0.10);
  transition: box-shadow 0.2s;
}
.gallery-item:hover img {
  box-shadow: 0 8px 32px rgba(0,184,148,0.18);
}
.gallery-item p {
  color: #2d3e8b;
  font-weight: 500;
  font-size: 1rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 2rem auto 0 auto;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(45,62,139,0.07);
}
.contact-form input, .contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid #00b894;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border: 1.5px solid #2d3e8b;
}
.contact-form button {
  background: linear-gradient(90deg, #ffd600 0%, #00b894 100%);
  color: #2d3e8b;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
}
.contact-form button:hover {
  background: #2d3e8b;
  color: #fff;
}

/* Admissions Banner */
.admissions-banner {
  margin-top: 2rem;
  text-align: center;
  position: relative;
}
.admissions-note {
  color: #00b894;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: -1.5rem;
  background: #fff;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(45,62,139,0.07);
  position: relative;
  z-index: 1;
}

/* Navbar Active Link */
.nav-links .active {
  color: #ffd600;
  border-bottom: 2px solid #ffd600;
  padding-bottom: 2px;
}

/* Smooth Transitions */
* {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s, transform 0.2s;
}

/* Responsive Tweaks */
/* REMOVED: Duplicate nav-links mobile styles - consolidated in @media (max-width: 900px) at line 402 */
@media (max-width: 600px) {
  .hero h1, .about-hero h1, .admissions-hero h1, .programs-hero h1, .gallery-hero h1, .contact-hero h1 {
    font-size: 1.5rem;
  }
  .hero, .about-hero, .admissions-hero, .programs-hero, .gallery-hero, .contact-hero {
    padding: 2rem 0.5rem 1.2rem 0.5rem;
  }
  .card, .program-card, .achievement-card, .branch, .gallery-item {
    padding: 1rem 0.5rem;
  }
  
  /* Mobile navigation enhancements */
  .nav-links {
    width: 260px;
    padding: 4rem 1.5rem 2rem 1.5rem;
  }
  
  .nav-links li a {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  .nav-toggle {
    padding: 0.4rem;
    margin-left: 0.5rem;
  }
  
  .hamburger {
    width: 24px;
    height: 2px;
    margin: 3px 0;
  }
}

/* School Hero Section */
.school-hero {
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #fffde7 60%, #ffd600 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(255, 193, 7, 0.13);
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1rem 1.5rem 1rem;
}
.hero-text {
  flex: 1 1 350px;
  z-index: 1;
  text-align: left;
}
.hero-text h1 {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #ff5252;
  margin-bottom: 1.2rem;
  letter-spacing: 1.5px;
  text-shadow: 0 6px 24px rgba(255, 82, 82, 0.13);
}
.hero-text p {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.4rem;
  color: #263238;
  margin-bottom: 2.2rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(255, 193, 7, 0.10);
}
.hero-graphic {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  animation: hero-pop 1.2s cubic-bezier(.4,2,.6,1);
}
@keyframes hero-pop {
  0% { transform: scale(0.7) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cta-btn {
  background: linear-gradient(90deg, #ff5252 0%, #ffd600 100%);
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  border: none;
  border-radius: 30px;
  padding: 1rem 2.5rem;
  box-shadow: 0 6px 24px rgba(255, 82, 82, 0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 1px;
}
.cta-btn:hover {
  background: #40c4ff;
  color: #fffde7;
  box-shadow: 0 12px 32px rgba(64, 196, 255, 0.18);
}
.hero-graphic svg {
  max-width: 100%;
  height: auto;
  min-width: 220px;
  min-height: 160px;
  filter: drop-shadow(0 6px 24px rgba(255, 193, 7, 0.10));
}
.hero-bg-waves {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column-reverse;
    gap: 1.5rem;
    text-align: center;
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }
  .hero-text {
    text-align: center;
  }
  .hero-graphic {
    margin-bottom: 0.5rem;
  }
  .hero-text h1 {
    font-size: 2.1rem;
  }
}
@media (max-width: 600px) {
  .school-hero {
    min-height: 220px;
    padding: 1rem 0.2rem;
  }
  .hero-graphic svg {
    width: 140px;
    height: 90px;
    min-width: unset;
    min-height: unset;
  }
  .hero-text h1 {
    font-size: 1.2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}

/* Hero SVG and Waves */
.hero-graphic svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(45,62,139,0.10));
}
.hero-bg-waves {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
.school-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #e3f2fd 60%, #b2ff59 100%);
  box-shadow: 0 8px 32px rgba(45,62,139,0.10);
}
.hero-content {
  position: relative;
  z-index: 1;
}

/* Update other section headings and cards for new font/colors */
.card h3, .program-card h2, .program-card h3, .branch h4, .achievement-card .score {
  font-family: 'Poppins', Arial, sans-serif;
  color: #1565c0;
  font-weight: 700;
}
.card p, .program-card p, .branch p, .achievement-card span, .gallery-item p {
  font-family: 'Nunito', Arial, sans-serif;
  color: #263238;
}

/* Responsive tweaks for new font sizes */
@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 1.2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}

/* Why Choose Us Tree Section */
.why-tree-section {
  background: #8B0000;
  padding: 2.5rem 1rem 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-tree-section > * {
  position: relative;
  z-index: 1;
}
.tree-highlights-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  min-height: 380px;
}
.tree-svg-container {
  position: relative;
  width: 420px;
  height: 340px;
  margin: 0 auto;
}
.why-tree-svg {
  width: 380px;
  height: 340px;
  display: block;
  margin: 0 auto;
  z-index: 1;
}
.tree-bubble {
  position: absolute;
  min-width: 120px;
  max-width: 160px;
  padding: 0.7rem 1.1rem;
  border-radius: 24px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 32px rgba(45,62,139,0.18), 0 2px 8px #fffde7 inset;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(135deg, #fffde7 0%, var(--bubble-color, #ff5252) 100%);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.10));
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
  opacity: 0;
  transform: scale(0.7) translateY(30px) rotate(var(--bubble-rot, 0deg));
  animation: bubble-pop 0.8s cubic-bezier(.4,2,.6,1) forwards;
}
.bubble1 { --bubble-color: #ff5252; left: 10px; top: 30px; --bubble-rot: -8deg; animation-delay: 0.1s; }
.bubble2 { --bubble-color: #ffd600; right: 10px; top: 40px; color: #263238; --bubble-rot: 7deg; animation-delay: 0.2s; }
.bubble3 { --bubble-color: #40c4ff; left: 0px; top: 180px; --bubble-rot: -5deg; animation-delay: 0.3s; }
.bubble4 { --bubble-color: #00b894; right: 0px; top: 180px; --bubble-rot: 5deg; animation-delay: 0.4s; }
.bubble5 { --bubble-color: #ff7043; left: 60px; top: 270px; --bubble-rot: -10deg; animation-delay: 0.5s; }
.bubble6 { --bubble-color: #00c853; right: 60px; top: 270px; --bubble-rot: 10deg; animation-delay: 0.6s; }
.bubble7 { --bubble-color: #8d5524; left: 120px; top: 0px; --bubble-rot: -6deg; animation-delay: 0.7s; }
.bubble8 { --bubble-color: #b2ff59; right: 120px; top: 0px; color: #263238; --bubble-rot: 6deg; animation-delay: 0.8s; }
@keyframes bubble-pop {
  0% { opacity: 0; transform: scale(0.7) translateY(30px) rotate(var(--bubble-rot, 0deg)); }
  60% { opacity: 1; transform: scale(1.08) translateY(-8px) rotate(var(--bubble-rot, 0deg)); }
  100% { opacity: 1; transform: scale(1) translateY(0) rotate(var(--bubble-rot, 0deg)); }
}
.tree-bubble:hover {
  box-shadow: 0 16px 48px rgba(45,62,139,0.22), 0 2px 8px #fffde7 inset;
  transform: scale(1.08) translateY(-8px) rotate(var(--bubble-rot, 0deg));
  z-index: 3;
}
.tree-svg-container {
  filter: drop-shadow(0 8px 32px rgba(45,62,139,0.13));
}

.realistic-tree {
  min-height: 700px;
  background: linear-gradient(120deg, #fffde7 60%, #e0f7fa 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding: 2.5rem 0 2.5rem 0;
}
.realistic-tree-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.why-tree-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 1;
}
.fruit-group {
  pointer-events: none;
}
.fruit {
  filter: drop-shadow(0 6px 24px rgba(45,62,139,0.13));
  transition: transform 0.2s, filter 0.2s;
}
.fruit ellipse {
  stroke: #fff;
  stroke-width: 2px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}
.fruit text {
  font-weight: 700;
  font-size: 0.85rem;
  dominant-baseline: middle;
  pointer-events: none;
  paint-order: stroke fill;
  stroke: #fff;
  stroke-width: 0.5px;
}
@media (max-width: 900px) {
  .realistic-tree-svg, .why-tree-svg {
    max-width: 320px !important;
    width: 100vw !important;
    height: auto !important;
  }
  .realistic-tree {
    min-height: 400px;
    padding: 1.2rem 0 1.2rem 0;
  }
} 

.realistic-old-tree-section {
  min-height: 700px;
  background: linear-gradient(120deg, #f1f8e9 60%, #e0f7fa 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0 2.5rem 0;
  overflow-x: auto;
}
.realistic-old-tree-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.realistic-old-tree-svg {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 1;
}
.fruit-group {
  pointer-events: none;
}
.fruit {
  filter: drop-shadow(0 8px 32px rgba(45,62,139,0.13));
  transition: transform 0.2s, filter 0.2s;
}
.fruit circle, .fruit ellipse {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}
.fruit text {
  font-weight: 700;
  font-size: 0.95rem;
  dominant-baseline: middle;
  pointer-events: none;
  paint-order: stroke fill;
  stroke: #fff;
  stroke-width: 0.5px;
}
@media (max-width: 1000px) {
  .realistic-old-tree-container, .realistic-old-tree-svg {
    max-width: 600px !important;
  }
}
@media (max-width: 700px) {
  .realistic-old-tree-container, .realistic-old-tree-svg {
    max-width: 350px !important;
  }
  .realistic-old-tree-section {
    min-height: 400px;
    padding: 1.2rem 0 1.2rem 0;
  }
  .fruit text {
    font-size: 0.7rem;
  }
} 

.tree-image-section {
  background: #f6f6f6; /* Adjust this to match your tree image background */
  padding: 2.5rem 0 2.5rem 0;
  text-align: center;
}
.tree-image-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tree-img-bg {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(45,62,139,0.10);
}
.tree-badge {
  position: absolute;
  min-width: 110px;
  max-width: 160px;
  padding: 0.7rem 1.1rem;
  border-radius: 24px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #40c4ff 0%, #ffd600 100%);
  box-shadow: 0 4px 16px rgba(45,62,139,0.10);
  text-align: center;
  pointer-events: none;
  opacity: 0.97;
  z-index: 2;
  border: 2px solid #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.badge1 { left: 5%; top: 10%; background: linear-gradient(135deg, #ff5252 0%, #e7c873 100%); }
.badge2 { right: 5%; top: 18%; background: linear-gradient(135deg, #3ec6c1 0%, #6a8caf 100%); }
.badge3 { left: 0%; top: 40%; background: linear-gradient(135deg, #6a8caf 0%, #3ec6c1 100%); }
.badge4 { right: 0%; top: 40%; background: linear-gradient(135deg, #8e24aa 0%, #ff5252 100%); }
.badge5 { left: 8%; top: 60%; background: linear-gradient(135deg, #e7c873 0%, #ff9800 100%); color: #263238; }
.badge6 { right: 8%; top: 60%; background: linear-gradient(135deg, #3ec6c1 0%, #e7c873 100%); color: #263238; }
.badge7 { left: 35%; top: 0%; background: linear-gradient(135deg, #ff9800 0%, #e7c873 100%); color: #263238; }
.badge8 { right: 20%; top: 8%; background: linear-gradient(135deg, #3ec6c1 0%, #e7c873 100%); color: #263238; }
.tree-badge:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(45,62,139,0.18);
}
@media (max-width: 900px) {
  .tree-badge {
    min-width: 70px;
    max-width: 100px;
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    border-radius: 14px;
  }
} 

/* Enhanced Founder Section Styles */
/* Old founder-section replaced with colorful version below */
.founder-card {
  display: flex;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 8px 40px rgba(45,62,139,0.13);
  max-width: 1100px;
  width: 100%;
  overflow: hidden;
  align-items: stretch;
  gap: 3rem;
  padding: 3rem 2.5rem;
}
.founder-photo {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e7c873 0%, #6a8caf 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(45,62,139,0.12);
  padding: 2rem 1.2rem;
  position: relative;
}
/* Update founder photo animation to gentle fade-in and upward movement */
.founder-photo img {
  width: 210px;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid #e7c873;
  box-shadow: 0 4px 24px rgba(21,101,192,0.13);
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
  animation: founder-fadein 1.2s cubic-bezier(.4,2,.6,1);
}
.founder-photo img:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(21,101,192,0.18);
  border-color: #3ec6c1;
}
@keyframes founder-fadein {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes founder-pop {
  0% { transform: scale(0.8) rotate(6deg); opacity: 0; }
  60% { transform: scale(1.08) rotate(-2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.founder-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-info h2 {
  color: #00b894;
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}
.founder-info h3 {
  color: #2d3e8b;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.founder-intro {
  font-size: 1.13rem;
  color: #263238;
  margin-bottom: 1.3rem;
  background: #f7f6f2;
  border-left: 6px solid #e7c873;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(255,214,0,0.09);
}
.founder-info h4 {
  color: #1565c0;
  margin-top: 1rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.founder-info p {
  margin-bottom: 0.8rem;
  color: #333;
}
@media (max-width: 1100px) {
  .founder-card {
    gap: 1.5rem;
    padding: 2rem 0.5rem;
  }
  .founder-photo {
    padding: 1.2rem 0.5rem;
  }
  .founder-photo img {
    width: 150px;
    height: 180px;
  }
}
@media (max-width: 700px) {
  .founder-section {
    min-height: unset;
    padding: 2rem 0.2rem 1.5rem 0.2rem;
  }
  .founder-card {
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.2rem;
    gap: 1.2rem;
  }
  .founder-photo {
    padding: 0.7rem 0.2rem;
  }
  .founder-photo img {
    width: 110px;
    height: 130px;
  }
  .founder-info h2 {
    font-size: 1.3rem;
  }
} 

/* School Divisions Section */
.school-divisions {
  background: linear-gradient(180deg, #e91e63 0%, #9c27b0 25%, #673ab7 50%, #3f51b5 75%, #2196f3 100%);
  background-size: 400% 400%;
  animation: colorfulGradient7 13s ease infinite;
  padding: 2rem 0 1.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.school-divisions::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 25% 20%, rgba(233, 30, 99, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 75% 40%, rgba(156, 39, 176, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 65%, rgba(103, 58, 183, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 30% 85%, rgba(33, 150, 243, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse7 10s ease-in-out infinite alternate;
}

.school-divisions::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(55deg, transparent, transparent 85px, rgba(255, 255, 255, 0.14) 85px, rgba(255, 255, 255, 0.14) 87px),
    repeating-linear-gradient(-55deg, transparent, transparent 85px, rgba(255, 255, 255, 0.1) 85px, rgba(255, 255, 255, 0.1) 87px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove7 24s linear infinite;
}

.school-divisions > * {
  position: relative;
  z-index: 1;
}

.school-divisions h2 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@keyframes colorfulGradient7 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse7 {
  0% { opacity: 0.7; transform: scale(1) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1.15) rotate(1deg); }
}

@keyframes patternMove7 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 85px 85px, -85px -85px; }
}
.division-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.division-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1.5rem 1.2rem;
  min-width: 220px;
  max-width: 300px;
  flex: 1 1 220px;
  border-top: 6px solid #4e73df;
  transition: transform 0.2s;
}
.division-card.roses { border-top-color: #e57373; }
.division-card.hearts { border-top-color: #fbc02d; }
.division-card.leaders { border-top-color: #64b5f6; }
.division-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #222;
}
.curriculum-badge {
  display: inline-block;
  background: #ffeb3b;
  color: #333;
  font-weight: 600;
  border-radius: 0.7em;
  padding: 0.2em 0.8em;
  font-size: 0.95em;
  margin-top: 0.5em;
}

/* Facilities & Activities Section */
.facilities-activities {
  background: linear-gradient(180deg, #00c853 0%, #00e676 25%, #43e97b 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: colorfulGradient8 14s ease infinite;
  padding: 2rem 0 1.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.facilities-activities::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 20% 25%, rgba(0, 200, 83, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 45%, rgba(67, 233, 123, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, rgba(74, 172, 254, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 85%, rgba(0, 242, 254, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse8 11s ease-in-out infinite alternate;
}

.facilities-activities::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(50deg, transparent, transparent 95px, rgba(255, 255, 255, 0.15) 95px, rgba(255, 255, 255, 0.15) 97px),
    repeating-linear-gradient(-50deg, transparent, transparent 95px, rgba(255, 255, 255, 0.11) 95px, rgba(255, 255, 255, 0.11) 97px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove8 27s linear infinite;
}

.facilities-activities > * {
  position: relative;
  z-index: 1;
}

.facilities-activities h2 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@keyframes colorfulGradient8 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse8 {
  0% { opacity: 0.7; transform: scale(1) rotate(1deg); }
  100% { opacity: 1; transform: scale(1.12) rotate(-1deg); }
}

@keyframes patternMove8 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 95px 95px, -95px -95px; }
}
.lab-badges {
  margin-bottom: 1rem;
}
.lab-badge {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  font-weight: 600;
  border-radius: 1em;
  padding: 0.3em 1em;
  margin: 0 0.5em 0.5em 0;
  font-size: 1em;
}
.lab-badge.math { background: #ffe0b2; color: #e65100; }
.lab-badge.science { background: #c8e6c9; color: #388e3c; }
.lab-badge.english { background: #f3e5f5; color: #6a1b9a; }
.activity-chips {
  margin-bottom: 1rem;
}
.activity-chip {
  display: inline-block;
  background: #fffde7;
  color: #fbc02d;
  border: 1px solid #fbc02d;
  border-radius: 1em;
  padding: 0.3em 1em;
  margin: 0 0.5em 0.5em 0;
  font-size: 1em;
  font-weight: 500;
}
.schedule-bar {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1em;
  flex-wrap: wrap;
}
.schedule-academics {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.4em 1em;
  border-radius: 1em;
  font-weight: 600;
}
.schedule-assessments {
  background: #fffde7;
  color: #fbc02d;
  padding: 0.4em 1em;
  border-radius: 1em;
  font-weight: 600;
}
.schedule-activities {
  background: #f1f8e9;
  color: #388e3c;
  padding: 0.4em 1em;
  border-radius: 1em;
  font-weight: 600;
}

/* Recent Results Section */
.recent-results {
  background: #fff3e0;
  padding: 1.2rem 0 1rem 0;
  text-align: center;
}
.results-ticker {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  font-size: 1.1em;
  font-weight: 600;
  color: #e65100;
  margin-top: 0.5em;
  flex-wrap: wrap;
}

/* Special Offers & Batch Info */
.special-offers {
  background: #e3f2fd;
  padding: 1.2rem 0 1rem 0;
  text-align: center;
}
.demo-banner {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd600 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.3em;
  border-radius: 1.2em;
  display: inline-block;
  padding: 0.8em 2em;
  margin-bottom: 1.5em;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.demo-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);
  transition: left 0.5s ease;
}

.demo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.demo-banner:hover::before {
  left: 100%;
}

.batch-info {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}
.batch-card {
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1em 1.5em;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 1em;
  border-left: 6px solid #4e73df;
}
.batch-card.tenth { border-left-color: #e57373; }
.batch-card.inter { border-left-color: #64b5f6; }
.batch-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #222;
}

/* Branches Label */
.branches-label {
  text-align: center;
  font-weight: 700;
  color: #388e3c;
  font-size: 1.1em;
  margin: 1em 0 0.5em 0;
  letter-spacing: 0.05em;
}

/* Footer Website */
.footer-website {
  margin-top: 0.5em;
}
.footer-website a {
  color: #1976d2;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.05em;
} 

/* Highlights Section Styles */
.vims-highlights {
  background: linear-gradient(180deg, #1a237e 0%, #3949ab 25%, #5c6bc0 50%, #7986cb 75%, #9fa8da 100%);
  background-size: 400% 400%;
  animation: colorfulGradient10 19s ease infinite;
  border-radius: 1.2em;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.15);
  margin: 2.5rem auto 2rem auto;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  max-width: 700px;
  position: relative;
  text-align: left;
  overflow: hidden;
}

.vims-highlights::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(26, 35, 126, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(92, 107, 192, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 65%, rgba(121, 134, 203, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 25% 85%, rgba(159, 168, 218, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse10 12s ease-in-out infinite alternate;
}

.vims-highlights::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(65deg, transparent, transparent 78px, rgba(255, 255, 255, 0.13) 78px, rgba(255, 255, 255, 0.13) 80px),
    repeating-linear-gradient(-65deg, transparent, transparent 78px, rgba(255, 255, 255, 0.09) 78px, rgba(255, 255, 255, 0.09) 80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove10 23s linear infinite;
}

.vims-highlights > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient10 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse10 {
  0% { opacity: 0.7; transform: scale(1) rotate(1deg); }
  100% { opacity: 1; transform: scale(1.13) rotate(-1deg); }
}

@keyframes patternMove10 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 78px 78px, -78px -78px; }
}
.vertical-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.1em;
  font-weight: 700;
  color: #4e73df;
  letter-spacing: 0.1em;
  position: absolute;
  left: 0.7em;
  top: 1.2em;
  background: #fff;
  border-radius: 0.5em;
  padding: 0.5em 0.2em;
  box-shadow: 0 2px 8px rgba(78, 115, 223, 0.07);
}
.highlights-list {
  list-style: none;
  margin: 0 0 0 3.5em;
  padding: 0;
}
.highlights-list li {
  background: #fff;
  border-left: 5px solid #4e73df;
  margin-bottom: 1em;
  padding: 0.9em 1.2em 0.9em 1.2em;
  border-radius: 0.7em;
  font-size: 1.05em;
  color: #222;
  box-shadow: 0 1px 6px rgba(78, 115, 223, 0.06);
  display: flex;
  align-items: center;
  gap: 0.7em;
  position: relative;
}
.highlights-list li::before {
  content: "★";
  color: #fbc02d;
  font-size: 1.1em;
  margin-right: 0.5em;
  display: inline-block;
}

/* Center Philosophy Steps Section */
.philosophy-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0 2rem 0;
  padding: 0;
}
.steps-staircase {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.3em;
}
.steps-caption {
  margin-top: 1.2em;
  font-size: 1.15em;
  font-weight: 600;
  color: #4e73df;
  background: #e3f0ff;
  border-left: 6px solid #4e73df;
  border-radius: 0.5em;
  padding: 0.7em 1.2em;
  box-shadow: 0 2px 8px rgba(78, 115, 223, 0.07);
  max-width: 420px;
  text-align: center;
  margin-right: 0;
}

.philosophy-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2em;
}
.philosophy-icon {
  font-size: 2.1em;
  color: #4e73df;
  margin-bottom: 0.1em;
}
.philosophy-title {
  font-size: 1.45em;
  font-weight: 800;
  color: #222;
  letter-spacing: 0.03em;
  margin-bottom: 0.2em;
}
.philosophy-underline {
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, #4e73df 0%, #fbc02d 100%);
  border-radius: 2px;
  margin-top: 0.2em;
}

.step {
  background: linear-gradient(90deg, #4e73df 0%, #64b5f6 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.18em;
  letter-spacing: 0.07em;
  padding: 0.7em 2.5em 0.7em 1.5em;
  border-radius: 0.7em 2em 2em 0.7em;
  box-shadow: 0 2px 10px rgba(78, 115, 223, 0.10);
  margin-right: calc(var(--step-index, 0) * 1.2em);
  position: relative;
  min-width: 200px;
  transition: transform 0.18s, box-shadow 0.18s;
  text-shadow: 0 2px 8px rgba(78, 115, 223, 0.10);
  text-transform: uppercase;
}
.step:not(:last-child) {
  opacity: 0.95;
}
.step:first-child {
  background: linear-gradient(90deg, #fbc02d 0%, #ffd600 100%);
  color: #222;
  box-shadow: 0 4px 16px rgba(251, 192, 45, 0.13);
}
.step:hover {
  transform: scale(1.04) translateX(-0.2em);
  box-shadow: 0 4px 18px rgba(78, 115, 223, 0.18);
  filter: brightness(1.08);
  cursor: pointer;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem 0;
  }
  
  .hero-container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .feature-item {
    padding: 0.8rem;
    gap: 0.6rem;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
  }
  
  .feature-icon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .feature-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .feature-text h4,
  .feature-text p {
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
  }
  
  .feature-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }
  
  .feature-text p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    justify-content: center;
  }
  
  .hero-stats {
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }
  
  .stat-number {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* Navigation Mobile Styles */
  .navbar {
    padding: 0.8rem 1rem;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
  }
  
  /* Ensure nav-toggle is visible and properly positioned */
  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001 !important;
    position: relative !important;
    margin-left: auto !important;
    order: 2 !important;
  }
  
  .hamburger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 28px !important;
    height: 3px !important;
    margin: 4px 0 !important;
    background: #fff !important;
  }
  
  .logo-container {
    flex-direction: column;
    gap: 0.3rem;
    order: 1 !important;
    flex: 1 !important;
  }
  
  .school-info {
    gap: 0.1rem;
  }
  
  .school-name {
    font-size: 1.1rem;
  }
  
  .school-tagline {
    font-size: 0.7rem;
  }
  
  /* Navigation menu items already styled in 900px breakpoint - no duplicates needed */
  
  /* Philosophy Steps Mobile */
  .philosophy-steps {
    margin: 1rem 0 1rem 0;
    padding-right: 0;
  }
  
  .philosophy-heading {
    margin-bottom: 0.75rem;
  }
  
  .philosophy-icon {
    font-size: 1.6em;
  }
  
  .philosophy-title {
    font-size: 1.1em;
  }
  
  .step {
    font-size: 0.95rem;
    padding: 0.4em 1.3em 0.4em 0.9em;
    min-width: 150px;
  }
  
  /* Highlights Mobile */
  .vims-highlights {
    margin: 1.25rem auto 1rem auto;
    padding: 1.25rem 1rem 0.75rem 1rem;
  }
  
  .vertical-label {
    font-size: 0.9em;
    left: 0.5em;
    top: 0.8em;
    padding: 0.35em 0.1em;
  }
  
  .highlights-list {
    margin: 0 0 0 2.3em;
  }
  
  .highlights-list li {
    font-size: 0.9em;
    padding: 0.6em 0.9em;
    margin-bottom: 0.6em;
    line-height: 1.4;
  }
  
  /* Why Tree Section Mobile - Optimized for smooth scrolling */
  .why-tree-section {
    padding: 1.5rem 0.75rem 1.25rem 0.75rem;
    overflow: visible !important;
    transform: none !important;
    will-change: auto !important;
  }
  
  .tree-svg-container,
  .tree-image-container,
  .realistic-old-tree-container {
    transform: none !important;
    will-change: auto !important;
  }
  
  .realistic-tree-section,
  .realistic-old-tree-section,
  .tree-image-section {
    overflow: visible !important;
    transform: none !important;
  }
  
  /* School Divisions Mobile */
  .school-divisions {
    padding: 1.25rem 0 1rem 0;
  }
  
  .division-cards {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
  }
  
  .division-card {
    min-width: auto;
    max-width: none;
    padding: 1rem;
  }
  
  /* Facilities Mobile */
  .facilities-activities {
    padding: 1.25rem 0 1rem 0;
  }
  
  /* Programs Mobile */
  .program-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Facilities Mobile */
  .lab-badges, .activity-chips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  
  .lab-badges {
    margin-bottom: 0.75rem;
  }
  
  .lab-badge, .activity-chip {
    margin: 0.15rem 0;
    padding: 0.25em 0.9em;
  }
  
  .schedule-bar {
    flex-direction: column;
    gap: 0.6em;
    margin-top: 0.75rem;
  }
  
  /* Results Mobile */
  .results-ticker {
    flex-direction: column;
    gap: 0.5em;
  }
  
  /* Batch Info Mobile */
  .batch-info {
    flex-direction: column;
    gap: 1em;
  }
  
  .batch-card {
    min-width: auto;
    max-width: none;
  }
  
  /* Contact Mobile */
  .contact-cta {
    padding: 1.5rem 0.75rem 1.25rem 0.75rem;
  }
  
  .contact-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .branches {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .branch {
    padding: 0.8rem 1rem;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
  }
  
  .cta-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .transport-note {
    font-size: 0.9rem;
    margin-top: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  
  .feature-item {
    padding: 0.65rem;
    gap: 0.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
  }
  
  .feature-icon {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .feature-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .feature-text h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
  }
  
  .feature-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
  }
  
  /* Programs Page Mobile Optimizations - Small Screens (480px) */
  .programs-list {
    padding: 1.5rem 0.75rem 2.5rem 0.75rem !important;
    gap: 1.25rem !important;
  }
  
  .program-card {
    padding: 1.25rem 1rem !important;
    border-radius: 0.875rem !important;
  }
  
  .program-card h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.875rem !important;
  }
  
  .program-features li {
    padding: 0.55rem 0 0.55rem 1.75rem !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  .program-features li::before {
    font-size: 0.9rem !important;
    top: 0.55rem !important;
  }
  
  .hero-actions {
    gap: 0.65rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-cta {
    padding: 0.7rem 1.1rem;
    font-size: 0.85rem;
  }
  
  .hero-stats {
    gap: 0.65rem;
    margin-top: 0.5rem;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .step {
    font-size: 0.9rem;
    padding: 0.4em 1.2em 0.4em 0.8em;
    min-width: 140px;
  }
  
  .philosophy-title {
    font-size: 1.1em;
  }
  
  .highlights-list li {
    font-size: 0.9em;
    padding: 0.6em 0.8em;
  }
}

/* Mobile Navigation Enhanced Colors */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #4e73df 0%, #667eea 100%);
    box-shadow: 0 2px 10px rgba(78, 115, 223, 0.2);
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-container {
    flex-direction: column;
    gap: 0.3rem;
    margin-left: 0;
    align-items: flex-start;
  }
  
  .school-info {
    gap: 0.1rem;
    align-items: flex-start;
  }
  
  .school-name {
    font-size: 1.1rem;
    color: #8B0000;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
  }
  
  .school-tagline {
    font-size: 0.7rem;
    color: #40E0D0;
    opacity: 0.9;
  }
  
  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem;
    z-index: 1001 !important;
    position: relative !important;
  }
  
  .hamburger {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 28px !important;
    height: 3px !important;
    margin: 4px 0 !important;
  }
  
  /* REMOVED: Duplicate nav-links styles - using consolidated version at line 402 */
  
  /* Ensure last navigation item doesn't have extra space */
  .nav-links li:last-child {
    margin-bottom: 0;
  }
  
  .nav-links li:last-child a {
    margin-bottom: 0;
  }
  
  /* Nav overlay already styled in 900px breakpoint - no duplicates needed */
}

/* About Page Enhanced Styles */
.about-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* Founder Section Enhanced */
.founder-section {
  background: linear-gradient(180deg, #ff9800 0%, #ff6b35 25%, #f7931e 50%, #ffd600 75%, #ffc107 100%);
  background-size: 400% 400%;
  animation: colorfulGradient9 16s ease infinite;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.2), 0 8px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: 
    radial-gradient(circle at 25% 20%, rgba(255, 152, 0, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 75% 40%, rgba(255, 107, 53, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 65%, rgba(255, 214, 0, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 30% 85%, rgba(255, 193, 7, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse9 13s ease-in-out infinite alternate;
}

.founder-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(40deg, transparent, transparent 88px, rgba(255, 255, 255, 0.16) 88px, rgba(255, 255, 255, 0.16) 90px),
    repeating-linear-gradient(-40deg, transparent, transparent 88px, rgba(255, 255, 255, 0.12) 88px, rgba(255, 255, 255, 0.12) 90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove9 29s linear infinite;
}

.founder-section > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient9 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse9 {
  0% { opacity: 0.7; transform: scale(1) rotate(0deg); }
  100% { opacity: 1; transform: scale(1.1) rotate(-3deg); }
}

@keyframes patternMove9 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 88px 88px, -88px -88px; }
}

.founder-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  background: white;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4e73df 0%, #fbc02d 100%);
}

.founder-photo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.founder-info {
  padding: 3rem;
}

.founder-info h2 {
  color: #4e73df;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.founder-info h3 {
  color: #fbc02d;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.founder-intro {
  background: linear-gradient(135deg, #e3f2fd 0%, #f1f8e9 100%);
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 5px solid #4e73df;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.founder-info h4 {
  color: #4e73df;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.founder-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #555;
}

/* About Content Enhanced */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #43e97b 100%);
  background-size: 400% 400%;
  animation: colorfulGradient3 16s ease infinite;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-content::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: 
    radial-gradient(circle at 25% 15%, rgba(240, 147, 251, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 75% 35%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 65%, rgba(67, 233, 123, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 30% 85%, rgba(74, 172, 254, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse3 13s ease-in-out infinite alternate;
}

.about-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(30deg, transparent, transparent 80px, rgba(255, 255, 255, 0.1) 80px, rgba(255, 255, 255, 0.1) 82px),
    repeating-linear-gradient(120deg, transparent, transparent 80px, rgba(255, 255, 255, 0.06) 80px, rgba(255, 255, 255, 0.06) 82px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: patternMove3 30s linear infinite;
}

.about-content > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient3 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse3 {
  0% { opacity: 0.7; transform: scale(1) rotate(0deg); }
  100% { opacity: 1; transform: scale(1.1) rotate(4deg); }
}

@keyframes patternMove3 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 80px 80px, -80px -80px; }
}

.about-content h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4e73df 0%, #fbc02d 100%);
  border-radius: 2px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.branches-list {
  background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.branches-list li {
  background: white;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #4e73df;
}

.branches-list li:last-child {
  margin-bottom: 0;
}

.branches-list strong {
  color: #4e73df;
  font-weight: 600;
}

/* Achievements Enhanced */
.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.achievement-card {
  background: linear-gradient(135deg, #4e73df 0%, #667eea 100%);
  color: white;
  padding: 2rem 1rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(78, 115, 223, 0.2);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-card:hover::before {
  left: 100%;
}

.achievement-card .score {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffd600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.achievement-card span:last-child {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Timeline Enhanced */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4e73df 0%, #fbc02d 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 4rem;
}

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 0;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #4e73df 0%, #fbc02d 100%);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(78, 115, 223, 0.3);
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #4e73df;
}

.timeline-content h4 {
  color: #4e73df;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #555;
  line-height: 1.6;
}

/* Mobile Responsive for About Page */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }
  
  .about-hero p {
    font-size: 1rem;
  }
  
  .founder-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .founder-info {
    padding: 2rem;
  }
  
  .founder-info h2 {
    font-size: 1.8rem;
  }
  
  .founder-info h3 {
    font-size: 1.1rem;
  }
  
  .about-content h2 {
    font-size: 1.8rem;
  }
  
  .achievements {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }
  
  .achievement-card .score {
    font-size: 2rem;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-dot {
    width: 20px;
    height: 20px;
    left: 5px;
  }
}

/* Admissions Page Enhanced Styles */
.admissions-hero {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd600 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.admissions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.admissions-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admissions-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* Admissions Content Enhanced */
.admissions-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #ff6b35 0%, #f7931e 20%, #ffd600 45%, #ff9800 70%, #ff7043 100%);
  background-size: 400% 400%;
  animation: colorfulGradient4 15s ease infinite;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.2), 0 8px 30px rgba(0, 0, 0, 0.15);
}

.admissions-content::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: 
    radial-gradient(circle at 20% 25%, rgba(255, 107, 53, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 45%, rgba(255, 214, 0, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, rgba(247, 147, 30, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 85%, rgba(255, 112, 67, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse4 12s ease-in-out infinite alternate;
}

.admissions-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 65px, rgba(255, 255, 255, 0.15) 65px, rgba(255, 255, 255, 0.15) 67px),
    repeating-linear-gradient(-45deg, transparent, transparent 65px, rgba(255, 255, 255, 0.1) 65px, rgba(255, 255, 255, 0.1) 67px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove4 22s linear infinite;
}

.admissions-content > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient4 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse4 {
  0% { opacity: 0.7; transform: scale(1) rotate(-2deg); }
  100% { opacity: 1; transform: scale(1.13) rotate(2deg); }
}

@keyframes patternMove4 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 65px 65px, -65px -65px; }
}

.admissions-content h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.admissions-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35 0%, #ffd600 100%);
  border-radius: 2px;
}

.admissions-content ul {
  background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.admissions-content ul li {
  background: white;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #ff6b35;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: transform 0.2s ease;
}

.admissions-content ul li:hover {
  transform: translateX(5px);
}

.admissions-content ul li:last-child {
  margin-bottom: 0;
}

.admissions-content ol {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.1);
}

.admissions-content ol li {
  background: white;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #f7931e;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  position: relative;
  counter-increment: step-counter;
}

.admissions-content ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.admissions-content ol li:last-child {
  margin-bottom: 0;
}

/* Admissions CTA Enhanced */
.admissions-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.admissions-cta .cta-btn {
  background: linear-gradient(135deg, #4e73df 0%, #667eea 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
}

.admissions-cta .cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.admissions-cta .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(78, 115, 223, 0.4);
}

.admissions-cta .cta-btn:hover::before {
  left: 100%;
}

/* Admissions Banner Enhanced */
.admissions-banner {
  background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  color: white;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 184, 148, 0.2);
  position: relative;
  overflow: hidden;
}

.admissions-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.2;
}

.admissions-note {
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive for Admissions Page */
@media (max-width: 768px) {
  .admissions-hero h1 {
    font-size: 2.5rem;
  }
  
  .admissions-hero p {
    font-size: 1.1rem;
  }
  
  .admissions-content h2 {
    font-size: 1.8rem;
  }
  
  .admissions-content ul li,
  .admissions-content ol li {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .admissions-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .admissions-cta .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .admissions-note {
    font-size: 1rem;
  }
}

/* Programs Page Enhanced Styles */
.programs-hero {
  background: linear-gradient(135deg, #2d3e8b 0%, #4e73df 50%, #667eea 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.programs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.programs-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.programs-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* Programs List - Redesigned for Smooth Mobile Experience */
.programs-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  background: linear-gradient(180deg, #2d3e8b 0%, #4e73df 25%, #667eea 50%, #f093fb 75%, #ffd600 100%);
  background-size: 400% 400%;
  animation: colorfulGradient6 17s ease infinite;
  position: relative;
  overflow: hidden; /* Desktop: hidden for rounded corners */
  border-radius: 2rem;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 8px 30px rgba(0, 0, 0, 0.15);
  /* GPU acceleration for smooth scrolling */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: scroll-position;
}

.programs-list::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: 
    radial-gradient(circle at 30% 25%, rgba(45, 62, 139, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 45%, rgba(78, 115, 223, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 70%, rgba(240, 147, 251, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 25% 85%, rgba(255, 214, 0, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse6 15s ease-in-out infinite alternate;
}

.programs-list::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(135deg, transparent, transparent 75px, rgba(255, 255, 255, 0.13) 75px, rgba(255, 255, 255, 0.13) 77px),
    repeating-linear-gradient(45deg, transparent, transparent 75px, rgba(255, 255, 255, 0.09) 75px, rgba(255, 255, 255, 0.09) 77px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: patternMove6 26s linear infinite;
}

.programs-list > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient6 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse6 {
  0% { opacity: 0.7; transform: scale(1) rotate(2deg); }
  100% { opacity: 1; transform: scale(1.11) rotate(-2deg); }
}

@keyframes patternMove6 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 75px 75px, -75px -75px; }
}

.program-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden; /* Desktop: hidden for rounded corners, mobile: visible */
  /* High refresh rate optimized transitions (60Hz, 90Hz, 120Hz) */
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(78, 115, 223, 0.1);
  /* GPU acceleration for smooth click interactions */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  /* Optimize touch interactions */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Ensure content is fully visible */
  min-height: auto;
  height: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4e73df 0%, #fbc02d 100%);
}

.program-card:nth-child(1)::before {
  background: linear-gradient(90deg, #4e73df 0%, #667eea 100%);
}

.program-card:nth-child(2)::before {
  background: linear-gradient(90deg, #fbc02d 0%, #ffd600 100%);
}

.program-card:nth-child(3)::before {
  background: linear-gradient(90deg, #e57373 0%, #ff8a80 100%);
}

.program-card:nth-child(4)::before {
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
}

.program-card:hover {
  transform: translateY(-8px) translateZ(0);
  -webkit-transform: translateY(-8px) translateZ(0);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Smooth active state for mobile touch feedback (high refresh rate optimized) */
.program-card:active {
  transform: translateY(-4px) scale(0.98) translateZ(0);
  -webkit-transform: translateY(-4px) scale(0.98) translateZ(0);
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-card h2 {
  color: #2d3e8b;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.program-card:nth-child(1) h2 {
  color: #4e73df;
}

.program-card:nth-child(2) h2 {
  color: #f7931e;
}

.program-card:nth-child(3) h2 {
  color: #e57373;
}

.program-card:nth-child(4) h2 {
  color: #00b894;
}

.program-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.program-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.program-card:hover::after {
  left: 100%;
}

/* ============================================
   MOBILE PROGRAMS PAGE - COMPLETE REBUILD
   Optimized for smooth 60/90/120Hz scrolling
   All 6 cards fully visible, no clipping
   ============================================ */
@media (max-width: 768px) {
  /* Programs Hero Section */
  .programs-hero h1 {
    font-size: 2.5rem;
  }
  
  .programs-hero p {
    font-size: 1.1rem;
  }
  
  /* ============================================
     PROGRAMS LIST - COMPLETE REBUILD
     ============================================ */
  section.programs-list,
  .programs-list {
    /* Layout - Simple Flexbox */
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.5rem !important;
    
    /* Spacing */
    padding: 2rem 1rem 3rem 1rem !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    
    /* Background - Static, No Animation */
    background: linear-gradient(180deg, #2d3e8b 0%, #4e73df 100%) !important;
    background-size: 100% 100% !important;
    background-attachment: scroll !important;
    animation: none !important;
    
    /* Smooth Scrolling - GPU Accelerated */
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: none !important;
    overscroll-behavior-y: none !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: scroll-position !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    perspective: 1000px !important;
    -webkit-perspective: 1000px !important;
    
    /* Visibility - No Clipping */
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    
    /* Performance - Remove Expensive Styles */
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  /* Disable All Pseudo-Element Animations */
  .programs-list::before,
  .programs-list::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    animation: none !important;
    pointer-events: none !important;
  }
  
  /* ============================================
     PROGRAM CARDS - COMPLETE REBUILD
     ============================================ */
  .program-card {
    /* Layout */
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 1.5rem 1.25rem !important;
    margin: 0 !important;
    
    /* Styling - Simple & Clean */
    background: #ffffff !important;
    border-radius: 0.875rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(78, 115, 223, 0.12) !important;
    
    /* Visibility - Full Content Visible */
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    
    /* GPU Acceleration for Smooth Scrolling */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    will-change: auto !important;
    
    /* Text Handling */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    text-overflow: clip !important;
    
    /* Disable All Animations & Transitions */
    transition: none !important;
    animation: none !important;
  }
  
  /* Card Top Border - Simple */
  .program-card::before {
    display: block !important;
    height: 4px !important;
    animation: none !important;
    transform: none !important;
  }
  
  /* Disable Hover Effects */
  .program-card::after {
    display: none !important;
    animation: none !important;
  }
  
  .program-card:hover {
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }
  
  .program-card:active {
    transform: translateZ(0) scale(0.99) !important;
    -webkit-transform: translateZ(0) scale(0.99) !important;
  }
  
  /* ============================================
     CARD HEADINGS - FULLY VISIBLE
     ============================================ */
  .program-card h2 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    text-overflow: clip !important;
    color: #2d3e8b !important;
    display: block !important;
    width: 100% !important;
  }
  
  /* Color-Coded Headings for Each Card */
  .program-card:nth-child(1) h2 { color: #4e73df !important; }
  .program-card:nth-child(2) h2 { color: #f7931e !important; }
  .program-card:nth-child(3) h2 { color: #e57373 !important; }
  .program-card:nth-child(4) h2 { color: #00b894 !important; }
  .program-card:nth-child(5) h2 { color: #9c27b0 !important; }
  .program-card:nth-child(6) h2 { color: #ff9800 !important; }
  
  /* ============================================
     PROGRAM FEATURES LIST - FULLY VISIBLE
     ============================================ */
  .program-features {
    list-style: none !important;
    margin: 1rem 0 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    display: block !important;
  }
  
  .program-features li {
    position: relative !important;
    padding: 0.65rem 0 0.65rem 2rem !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #1a1a1a !important;
    font-weight: 500 !important;
    
    /* Full Visibility */
    overflow: visible !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    text-overflow: clip !important;
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    
    /* Disable All Animations */
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  
  /* Feature Icons */
  .program-features li::before {
    position: absolute !important;
    left: 0 !important;
    top: 0.65rem !important;
    font-size: 1rem !important;
    display: block !important;
    animation: none !important;
    transform: none !important;
  }
  
  .program-features li:hover {
    transform: none !important;
    padding-left: 2rem !important;
  }
  
  /* Paragraphs */
  .program-card p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    text-overflow: clip !important;
    display: block !important;
  }
}

/* ============================================
   PROGRAMS PAGE - SMALL SCREENS (480px)
   Additional optimizations for smaller devices
   ============================================ */
@media (max-width: 480px) {
  .programs-list {
    padding: 1.5rem 0.75rem 2.5rem 0.75rem !important;
    gap: 1.25rem !important;
  }
  
  .program-card {
    padding: 1.25rem 1rem !important;
    border-radius: 0.75rem !important;
  }
  
  .program-card h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.875rem !important;
    line-height: 1.3 !important;
  }
  
  .program-features {
    margin-top: 0.875rem !important;
  }
  
  .program-features li {
    padding: 0.55rem 0 0.55rem 1.75rem !important;
    margin-bottom: 0.45rem !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  .program-features li::before {
    font-size: 0.9rem !important;
    top: 0.55rem !important;
  }
}

/* Gallery Page Enhanced Styles */
.gallery-hero {
  background: linear-gradient(135deg, #ffd600 0%, #fbc02d 50%, #f7931e 100%);
  color: #333;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.gallery-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* Gallery Collections */
.gallery-collections {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding: 4rem 1rem 5rem;
  background: linear-gradient(180deg, rgba(236, 248, 255, 0.7) 0%, rgba(255, 255, 255, 1) 100%);
}

.gallery-section {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.5rem 2rem 2.8rem;
  box-shadow: 0 18px 40px rgba(38, 50, 56, 0.08);
  border: 1px solid rgba(62, 198, 193, 0.18);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at center, rgba(62, 198, 193, 0.25) 0%, rgba(255, 255, 255, 0) 65%);
  z-index: 0;
}

.gallery-section-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.gallery-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a237e;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery-section-title::after {
  content: '';
  display: inline-block;
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9800 0%, #ffd600 100%);
}

.show-more-btn {
  position: relative;
  z-index: 1;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #1a237e;
  background: linear-gradient(135deg, rgba(62, 198, 193, 0.18) 0%, rgba(255, 214, 0, 0.28) 100%);
  box-shadow: 0 10px 20px rgba(26, 35, 126, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26, 35, 126, 0.16);
}

.show-more-btn[hidden] {
  display: none;
}

.gallery-section-footer {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

/* Gallery Grid Enhanced */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-section .gallery-grid {
  position: relative;
  z-index: 1;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 214, 0, 0.1);
  cursor: pointer;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ffd600 0%, #f7931e 100%);
  z-index: 2;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-item p {
  padding: 1.5rem;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #fff3e0 100%);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 0, 0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  left: 100%;
}

/* Gallery Item Variations */
.gallery-item:nth-child(1)::before {
  background: linear-gradient(90deg, #4e73df 0%, #667eea 100%);
}

.gallery-item:nth-child(2)::before {
  background: linear-gradient(90deg, #fbc02d 0%, #ffd600 100%);
}

.gallery-item:nth-child(3)::before {
  background: linear-gradient(90deg, #e57373 0%, #ff8a80 100%);
}

.gallery-item:nth-child(4)::before {
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
}

.gallery-item:nth-child(5)::before {
  background: linear-gradient(90deg, #9c27b0 0%, #ba68c8 100%);
}

/* Mobile Responsive for Gallery Page */
@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 2.5rem;
  }
  
  .gallery-hero p {
    font-size: 1.1rem;
  }
  
  .gallery-collections {
    padding: 2rem 0.5rem 3rem;
    gap: 2rem;
  }

  .gallery-section {
    padding: 1.5rem 0.75rem 1.75rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .gallery-section::before {
    display: none;
  }

  .show-more-btn {
    text-align: center;
  }
  
  .gallery-section-footer {
    justify-content: center;
  }
  
  .gallery-section .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem 0;
  }
  
  .gallery-item {
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .gallery-item::before,
  .gallery-item::after {
    display: none;
  }

  .gallery-section .gallery-item img {
    height: 200px;
    border-radius: 0;
    width: 100%;
    object-fit: cover;
  }

  .gallery-item:hover {
    transform: none;
    box-shadow: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
  
  .gallery-item p {
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
    background: #f8fafc;
  }
}

@media (max-width: 640px) {
  .gallery-collections {
    padding: 1.5rem 0.25rem 2.5rem;
    gap: 1.5rem;
  }

  .gallery-section {
    padding: 1.25rem 0.5rem 1.5rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .gallery-section::before {
    display: none;
  }

  .gallery-section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .gallery-section-title::after {
    display: none;
  }

  .show-more-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .gallery-section-footer {
    margin-top: 1rem;
  }

  .gallery-section .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.5rem 0;
  }

  .gallery-item {
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .gallery-item::before,
  .gallery-item::after {
    display: none;
  }

  .gallery-section .gallery-item img {
    height: 220px;
    border-radius: 0;
    width: 100%;
    object-fit: cover;
  }

  .gallery-item:hover {
    transform: none;
    box-shadow: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .gallery-item p {
    font-size: 0.8rem;
    padding: 0.6rem 0.4rem;
    background: #f8fafc;
  }
}

@media (max-width: 480px) {
  .gallery-collections {
    padding: 1.25rem 0.15rem 2rem;
    gap: 1.25rem;
  }

  .gallery-section {
    padding: 1rem 0.4rem 1.25rem;
  }

  .gallery-section-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .gallery-section .gallery-grid {
    gap: 0.3rem;
    padding: 0.4rem 0;
  }

  .gallery-section .gallery-item img {
    height: 240px;
  }

  .gallery-item p {
    font-size: 0.75rem;
    padding: 0.5rem 0.3rem;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9999;
  padding: 2rem 1.5rem;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.4rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: -3rem;
}

.lightbox-next {
  right: -3rem;
}

.lightbox-counter {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: -3.5rem;
    transform: none;
  }

  .lightbox-prev {
    left: 0.75rem;
    right: auto;
  }

  .lightbox-next {
    right: 0.75rem;
    left: auto;
  }

  .lightbox-counter {
    bottom: -1.5rem;
  }
}

/* Tuition Page Enhanced Styles */
.tutions-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.tutions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.tutions-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tutions-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.tuitions-image-section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tuitions-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.2em;
  object-fit: cover;
}

@media (max-width: 768px) {
  .tuitions-image-section {
    padding: 1rem;
  }
  
  .tuitions-image {
    border-radius: 1em;
  }
}

.tuition-programs {
  background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
  padding: 4rem 2rem;
}

.tuition-programs h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #4e73df;
  position: relative;
}

.tuition-programs h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4e73df 0%, #fbc02d 100%);
  border-radius: 2px;
}

.tuition-card {
  border: 2px solid #4e73df;
  background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
  position: relative;
  overflow: hidden;
}

.tuition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4e73df 0%, #fbc02d 100%);
}

.tuition-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #4e73df 0%, #667eea 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
}

.tuition-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 115, 223, 0.4);
  background: linear-gradient(135deg, #5a7cdf 0%, #7a8feb 100%);
}

/* Contact Page Enhanced Styles */
.contact-hero {
  background: linear-gradient(135deg, #00b894 0%, #00cec9 50%, #55a3ff 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* Contact Details Enhanced */
.contact-details {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #00b894 0%, #00cec9 30%, #4facfe 60%, #667eea 85%, #764ba2 100%);
  background-size: 400% 400%;
  animation: colorfulGradient5 18s ease infinite;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15), 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-details::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: 
    radial-gradient(circle at 25% 20%, rgba(0, 184, 148, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(0, 206, 201, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 75%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 30% 90%, rgba(118, 75, 162, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: colorfulPulse5 14s ease-in-out infinite alternate;
}

.contact-details::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(90deg, transparent, transparent 90px, rgba(255, 255, 255, 0.12) 90px, rgba(255, 255, 255, 0.12) 92px),
    repeating-linear-gradient(0deg, transparent, transparent 90px, rgba(255, 255, 255, 0.08) 90px, rgba(255, 255, 255, 0.08) 92px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: patternMove5 28s linear infinite;
}

.contact-details > * {
  position: relative;
  z-index: 1;
}

@keyframes colorfulGradient5 {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes colorfulPulse5 {
  0% { opacity: 0.7; transform: scale(1) rotate(0deg); }
  100% { opacity: 1; transform: scale(1.14) rotate(-4deg); }
}

@keyframes patternMove5 {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 90px 90px, -90px -90px; }
}

.contact-details h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.contact-details h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
  border-radius: 2px;
}

/* Branches Enhanced */
.branches {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.branch {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 184, 148, 0.1);
  transition: all 0.3s ease;
}

.branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
}

.branch:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.branch h4 {
  color: #00b894;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.branch p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Contact Buttons Enhanced */
.contact-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.contact-buttons .cta-btn {
  background: linear-gradient(135deg, #4e73df 0%, #667eea 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(78, 115, 223, 0.3);
  border: none;
  position: relative;
  overflow: hidden;
}

.contact-buttons .cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-buttons .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(78, 115, 223, 0.4);
}

.contact-buttons .cta-btn:hover::before {
  left: 100%;
}

.transport-note {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #00b894;
  margin-bottom: 3rem;
  padding: 1rem;
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  border-radius: 1rem;
  border: 2px solid #00b894;
}

/* Contact Form Enhanced */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
  /* Mobile-friendly form inputs */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px; /* Prevents zoom on iOS */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00b894;
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
  background: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form button {
  width: 100%;
  background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

.contact-form button:hover::before {
  left: 100%;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero p {
    font-size: 1.1rem;
  }
  
  .contact-details {
    padding: 2rem 1rem;
  }
  
  .contact-details h2 {
    font-size: 1.8rem;
  }
  
  .branches {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .branch {
    padding: 1.5rem;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-buttons .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .contact-form {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Google Maps Section Enhanced */
.maps-section {
  margin: 4rem 0;
}

.maps-section h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.maps-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
  border-radius: 2px;
}

.maps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.map-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid rgba(0, 184, 148, 0.1);
  transition: all 0.3s ease;
}

.map-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
  z-index: 2;
}

.map-card:nth-child(2)::before {
  background: linear-gradient(90deg, #4e73df 0%, #667eea 100%);
}

.map-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.map-card h3 {
  color: #00b894;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f5e8 100%);
  border-bottom: 1px solid rgba(0, 184, 148, 0.1);
}

.map-card:nth-child(2) h3 {
  color: #4e73df;
  background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
  border-bottom: 1px solid rgba(78, 115, 223, 0.1);
}

.map-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 1.5rem 1.5rem;
}

.map-wrapper iframe {
  display: block;
  transition: transform 0.3s ease;
}

.map-card:hover .map-wrapper iframe {
  transform: scale(1.02);
}

.map-info {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: #555;
  font-weight: 500;
  border-top: 1px solid rgba(0, 184, 148, 0.1);
}

.map-card:nth-child(2) .map-info {
  border-top: 1px solid rgba(78, 115, 223, 0.1);
}

.map-icon {
  font-size: 1.2rem;
  color: #00b894;
  flex-shrink: 0;
}

.map-card:nth-child(2) .map-icon {
  color: #4e73df;
}

.map-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 184, 148, 0.05), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.map-card:nth-child(2)::after {
  background: linear-gradient(90deg, transparent, rgba(78, 115, 223, 0.05), transparent);
}

.map-card:hover::after {
  left: 100%;
}

/* Mobile Responsive for Maps */
@media (max-width: 768px) {
  .maps-section h2 {
    font-size: 1.8rem;
  }
  
  .maps-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .map-card h3 {
    font-size: 1.2rem;
    padding: 1rem 1rem 0.8rem 1rem;
  }
  
  .map-info {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
  
  .map-wrapper iframe {
    height: 250px;
  }
}

/* Contact Buttons Heading Enhanced */
.contact-buttons-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #4e73df;
  margin: 2rem auto 1.5rem auto;
  position: relative;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8fafc 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 25px rgba(78, 115, 223, 0.15);
  border: 2px solid rgba(78, 115, 223, 0.2);
  display: block;
  width: fit-content;
  animation: headingPulse 3s ease-in-out infinite;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-buttons-heading::before {
  content: '📞';
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  animation: phoneBounce 2s ease-in-out infinite;
}

.contact-buttons-heading::after {
  content: '💬';
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  animation: phoneBounce 2s ease-in-out infinite reverse;
}

.contact-buttons-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(78, 115, 223, 0.1), transparent);
  border-radius: 2rem;
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes headingPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(78, 115, 223, 0.15);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(78, 115, 223, 0.25);
  }
}

@keyframes phoneBounce {
  0%, 100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.1);
  }
}

@keyframes shimmer {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.about-hero-title {
  background: linear-gradient(90deg, #ffe066 0%, #fbc02d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  font-size: 3.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(251, 192, 45, 0.15);
  animation: titleGlow 2.5s infinite alternate;
}

/* Trendy Box Designs for Non-Home Pages */
.page-header-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2rem;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
  animation: boxFloat 3s ease-in-out infinite;
}

.page-header-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.page-header-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ffd600 0%, #ff9800 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.page-header-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

.page-header-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.page-header-highlight {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(38, 50, 56, 0.9) 0%, rgba(23, 32, 42, 0.95) 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.45px;
  box-shadow: 0 6px 18px rgba(23, 32, 42, 0.25);
}

.page-header-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-header-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.page-header-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* About Page Specific */
.about-header-box {
  background: linear-gradient(135deg, #4e73df 0%, #fbc02d 100%);
}

.about-header-box::after {
  background: linear-gradient(90deg, #00b894 0%, #00cec9 100%);
}

/* Admissions Page Specific */
.admissions-header-box {
  background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%);
}

.admissions-header-box::after {
  background: linear-gradient(90deg, #4e73df 0%, #667eea 100%);
}

.section-divider {
  display: block;
  width: 80px;
  margin: 1rem 0 1.5rem 0;
  border-top: 3px solid #4e73df;
}

.section-divider.dotted-line {
  width: 120px;
  border-top: 3px dotted rgba(78,115,223,0.6);
}

.admissions-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  color: #37474f;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Programs Page Specific */
.programs-header-box {
  background: linear-gradient(135deg, #2d3e8b 0%, #667eea 100%);
}

.programs-header-box::after {
  background: linear-gradient(90deg, #ffd600 0%, #ff9800 100%);
}

/* Gallery Page Specific */
.gallery-header-box {
  background: linear-gradient(135deg, #ffd600 0%, #ff7043 100%);
}

.gallery-header-box::after {
  background: linear-gradient(90deg, #4e73df 0%, #667eea 100%);
}

/* Contact Page Specific */
.contact-header-box {
  background: linear-gradient(135deg, #1a237e 0%, #4a148c 100%);
}

.contact-header-box::after {
  background: linear-gradient(90deg, #ffd600 0%, #ff9800 100%);
}

/* Animations */
@keyframes boxFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header-box {
    margin: 1rem;
    padding: 2rem 1rem;
    position: relative !important;
    transform: none !important;
    animation: none !important;
    will-change: auto !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  .page-header-box::before,
  .page-header-box::after {
    animation: none !important;
  }
  
  .page-header-title {
    font-size: 2.5rem;
    animation: none !important;
  }
  
  .page-header-subtitle {
    font-size: 1.1rem;
  }
  
  .page-header-badges {
    gap: 0.5rem;
  }
  
  .page-header-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Ensure header maintains position */
  header {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Ensure main content doesn't shift */
  main {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .page-header-title {
    font-size: 2rem;
  }
  
  .page-header-subtitle {
    font-size: 1rem;
  }
  
  /* Disable all animations on mobile to prevent layout shifts */
  .page-header-box {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
  }
  
  .page-header-box::before,
  .page-header-box::after {
    animation: none !important;
  }
  
  .page-header-title {
    animation: none !important;
  }
  
  /* Ensure header stays in place */
  header {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
  }
}

/* Kidz Section for Play School Kids */
.kidz-section {
  background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
  border-radius: 2.5rem;
  box-shadow: 0 10px 40px rgba(246, 187, 187, 0.18);
  margin: 3rem auto 2rem auto;
  max-width: 700px;
  padding: 2.5rem 2rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  border: 3px dashed #ffd600;
  animation: boxFloat 4s ease-in-out infinite;
}
.kidz-header {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff7043;
  text-align: center;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(255, 112, 67, 0.12);
}
.kidz-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.kidz-rhyme {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255,255,255,0.7);
  border-radius: 1.5rem;
  padding: 1.2rem 2rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 18px rgba(166, 193, 238, 0.13);
  font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #7c4dff;
  position: relative;
  border-left: 6px solid #ffd600;
  border-right: 6px solid #ff7043;
  animation: rhymeBounce 2.5s infinite alternate;
}
.kidz-line {
  display: block;
  margin: 0.2rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-size: 1.18rem;
  color: #ff7043;
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: rhymeColor 4s infinite alternate;
}
.kidz-line:nth-child(1) { color: #ff7043; animation-delay: 0s; }
.kidz-line:nth-child(2) { color: #ffd600; animation-delay: 0.5s; }
.kidz-line:nth-child(3) { color: #00b894; animation-delay: 1s; }
.kidz-line:nth-child(4) { color: #7c4dff; animation-delay: 1.5s; }

.kidz-line.special-color {
  color: #e91e63 !important;
  font-weight: 600;
}
.kidz-line::before {
  content: '🎵';
  position: absolute;
  left: -1.2rem;
  top: 0;
  font-size: 1.1rem;
  animation: rhymeNote 2s infinite alternate;
}
.kidz-thanks {
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 600;
}
.kidz-footer {
  font-size: 1rem;
  color: #1976d2;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 500;
}
.kidz-highlight {
  color: #ff7043;
  font-weight: 700;
  background: #fffde7;
  border-radius: 0.5rem;
  padding: 0 0.4rem;
}
@keyframes rhymeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes rhymeColor {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.2) drop-shadow(0 0 8px #ffd600); }
}
@keyframes rhymeNote {
  0% { transform: rotate(-10deg) scale(1); }
  100% { transform: rotate(10deg) scale(1.2); }
}
@media (max-width: 600px) {
  .kidz-section {
    padding: 1.2rem 0.5rem;
    border-radius: 1.2rem;
  }
  .kidz-header { font-size: 1.1rem; }
  .kidz-rhyme { font-size: 1rem; padding: 0.7rem 1rem; }
  .kidz-line { font-size: 1rem; }
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-size: 1.3rem;
  color: #444;
  border: 2px solid #eee;
  position: relative;
}
.social-icons a:hover {
  transform: translateY(-3px) scale(1.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  background: linear-gradient(135deg, #fbc02d 0%, #4e73df 100%);
  color: #fff;
  border-color: #ffd600;
}
.social-icons .icon-facebook { color: #1877f3; }
.social-icons .icon-instagram { color: #e4405f; }
.social-icons .icon-whatsapp { color: #25d366; }
.social-icons .icon-youtube { color: #ff0000; }

/* Top right placement */
.header-social {
  position: absolute;
  top: 1.2rem;
  right: 2.2rem;
  z-index: 20;
}
@media (max-width: 900px) {
  .header-social { right: 1rem; top: 0.7rem; }
}
@media (max-width: 600px) {
  .header-social { right: 0.3rem; top: 0.3rem; }
  .social-icons a { width: 1.7rem; height: 1.7rem; font-size: 1rem; }
}
/* Footer social icons */
.footer-social {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.7rem;
  margin-bottom: 0.2rem;
}
@media (max-width: 600px) {
  .footer-social { justify-content: center; }
}

/* SSC 2025 Results Section */
.ssc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 2rem 0;
  justify-items: center;
}
.ssc-result-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #fffde7 100%);
  border-radius: 2.2rem;
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.13);
  padding: 1.5rem 1.2rem 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2.5px solid #90caf9;
  min-width: 180px;
  max-width: 240px;
  animation: boxFloat 3.5s infinite alternate;
  overflow: hidden;
}
.ssc-result-card:hover {
  transform: translateY(-10px) scale(1.05) rotate(1deg);
  box-shadow: 0 20px 48px rgba(33, 150, 243, 0.22);
  border-color: #ffd600;
  background: linear-gradient(135deg, #fffde7 0%, #e3f2fd 100%);
}
.ssc-student-photo {
  width: 120px;
  height: 140px;
  object-fit: cover;
  border-radius: 1.2rem;
  border: 4px solid #fff;
  margin-bottom: 0.7rem;
  box-shadow: 0 6px 24px rgba(33, 150, 243, 0.18), 0 1.5px 8px rgba(255, 193, 7, 0.10);
  background: linear-gradient(135deg, #e3f2fd 0%, #fffde7 100%);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ssc-result-card:hover .ssc-student-photo {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 12px 36px rgba(33, 150, 243, 0.22), 0 3px 16px rgba(255, 193, 7, 0.18);
}
.ssc-score {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ff7043;
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 8px rgba(255, 112, 67, 0.13);
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #ffd600 0%, #ff9800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ssc-label {
  font-size: 1.15rem;
  color: #1976d2;
  font-weight: 700;
  margin-top: 0.2rem;
  letter-spacing: 0.7px;
  text-align: center;
  background: linear-gradient(90deg, #90caf9 0%, #ffd600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 700px) {
  .ssc-results { gap: 1.1rem; }
  .ssc-result-card { padding: 0.7rem 0.5rem 1rem 0.5rem; min-width: 120px; max-width: 170px; }
  .ssc-student-photo { width: 70px; height: 80px; }
  .ssc-score { font-size: 1.5rem; }
  .ssc-label { font-size: 1rem; }
}

/* SSC Results Section Styles */
.ssc-results-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.results-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.results-intro p {
  font-size: 1.2rem;
  color: #2d3e8b;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.students-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  margin-bottom: 3rem;
}

.student-result-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.student-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d3e8b 0%, #3ec6c1 50%, #e7c873 100%);
}

.student-result-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.student-result-card:nth-child(1) {
  border-left: 4px solid #ffd600;
}

.student-result-card:nth-child(2) {
  border-left: 4px solid #3ec6c1;
}

.student-result-card:nth-child(3) {
  border-left: 4px solid #ff5252;
}

.student-result-card:nth-child(4) {
  border-left: 4px solid #8e24aa;
}

.student-result-card:nth-child(5) {
  border-left: 4px solid #00b894;
}

.student-result-card:nth-child(6) {
  border-left: 4px solid #ff7043;
}

.student-result-card:nth-child(7) {
  border-left: 4px solid #64b5f6;
}

.student-photo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.student-photo img {
  width: 120px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #e7c873;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.student-result-card:hover .student-photo img {
  transform: scale(1.05);
  border-color: #2d3e8b;
}

.student-info {
  text-align: center;
}

.student-info h3 {
  font-size: 1.1rem;
  color: #2d3e8b;
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.marks {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1565c0;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.percentage {
  font-size: 1.1rem;
  font-weight: 600;
  color: #00b894;
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.results-summary {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin: 0 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
}

.summary-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.summary-stats .stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.summary-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d3e8b;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.summary-stats .stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .ssc-results-section {
    padding: 1.5rem 0;
    margin: 0.5rem 0;
  }
  
  .results-intro {
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .results-intro p {
    font-size: 1rem;
  }
  
  .students-results-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .student-result-card {
    padding: 1rem;
  }
  
  .student-photo img {
    width: 80px;
    height: 100px;
  }
  
  .student-info h3 {
    font-size: 1rem;
  }
  
  .marks {
    font-size: 1.4rem;
  }
  
  .percentage {
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .ssc-results-section {
    padding: 1rem 0;
    margin: 0.3rem 0;
  }
  
  .results-intro {
    padding: 0 0.3rem;
    margin-bottom: 1rem;
  }
  
  .results-intro p {
    font-size: 0.9rem;
  }
  
  .students-results-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    padding: 0 0.3rem;
  }
  
  .student-result-card {
    padding: 0.8rem;
  }
  
  .student-photo img {
    width: 60px;
    height: 80px;
  }
  
  .student-info h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .marks {
    font-size: 1.2rem;
  }
  
  .percentage {
    font-size: 0.8rem;
    padding: 0.1rem 0.4rem;
  }
}

.footer-divider {
  margin: 0 0.5em;
  color: #bbb;
}
.footer-dev {
  font-size: 0.98em;
  color: #888;
  font-style: italic;
  letter-spacing: 0.5px;
}

.viswakavi-red {
  color: #ff0000 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #ff0000 !important;
  background-clip: initial !important;
}

.why-viswakavi-heading {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #1976d2 0%, #00b894 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 16px rgba(25,118,210,0.08), 0 1px 0 #00b894;
  letter-spacing: 1.5px;
  position: relative;
  margin-bottom: 0.7em;
}
.why-viswakavi-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  margin: 0.5em auto 0 auto;
  background: linear-gradient(90deg, #1976d2 0%, #00b894 100%);
  border-radius: 3px;
}