/* 
====================================================================
   GSSN PUBLIC SCHOOL - VIBRANT & CREATIVE UI (v3.0)
   Senior UI/UX Design & Architecture
   Revised: 2025 (Colorful Edition)
==================================================================== 
*/

:root {
  /* --- Premium Color Palette (Vibrant & Education Friendly) --- */

  /* Primary Brand Colors */
  --primary-hue: 215;
  --primary-sat: 90%;
  --primary-light: 45%;

  --primary-blue: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
  /* Deep Education Blue */
  --primary-blue-dark: hsl(var(--primary-hue), 85%, 30%);
  /* Navy Blue for Depth */
  --primary-blue-soft: hsl(var(--primary-hue), 80%, 96%);
  /* Very light blue tint */

  /* Secondary Accent - Energy (Saffron/Orange) */
  --accent-hue: 35;
  --accent-sat: 95%;
  --accent-light: 55%;

  --saffron: hsl(var(--accent-hue), var(--accent-sat), var(--accent-light));
  /* Energetic Orange */
  --saffron-dark: hsl(var(--accent-hue), 100%, 40%);
  --saffron-light: hsl(var(--accent-hue), 90%, 96%);
  /* Soft cream */

  /* Supporting Colors (Greens/Teals/Purples for variety) */
  --teal-light: #e0f2f1;
  --teal-dark: #00695c;
  --purple-light: #f3e5f5;
  --purple-dark: #6a1b9a;

  /* Background system (AVOIDING PLAIN WHITE) */
  --white: #ffffff;
  --bg-body: #f8fafc;
  /* Cool light gray-blue, NOT plain white */
  --bg-soft-blue: #eff6ff;
  --bg-soft-teal: #f0fdfa;
  --bg-soft-yellow: #fffbeb;

  /* Text Colors */
  --text-main: #1e293b;
  /* Slate 800 */
  --text-muted: #64748b;
  /* Slate 500 */
  --text-heading: #0f172a;
  /* Slate 900 */

  /* Footer Specifics (Light Mode) */
  --footer-bg-light: linear-gradient(135deg, #e0f7fa 0%, #e1f5fe 100%);
  /* Soft Teal-Blue Gradient */
  --footer-text-light: #0f4c75;
  --footer-heading-light: #0f172a;

  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-height: 75px;
}

/* --- Dark Mode Theme (Rich Depth) --- */
[data-theme="dark"] {
  --primary-blue: #60a5fa;
  --primary-blue-dark: #3b82f6;

  --bg-body: #0f172a;
  /* Slate 900 */
  --bg-soft-blue: #1e293b;
  /* Slate 800 */
  --bg-soft-teal: #134e4a;
  /* Teal 800 */
  --bg-soft-yellow: #451a03;
  /* Amber 900 */

  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;

  --footer-bg-light: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  /* Deep Indigo */
  --footer-text-light: #e0e7ff;
  --footer-heading-light: #ffffff;

  --bg-surface: #1e293b;
  --border-color: #334155;
  --card-bg: #1e293b;
}

/* ====================================================================
   BASE RESET & TYPOGRAPHY
==================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: var(--transition);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* Decorative Section Titles */
.section-title {
  position: relative;
  display: inline-block;
  color: var(--primary-blue-dark);
  margin-bottom: 2.5rem;
  z-index: 1;
}

[data-theme="dark"] .section-title {
  color: var(--white);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 4px;
  background: var(--saffron);
  border-radius: 10px;
  opacity: 0.8;
}

.text-start .section-title::after {
  left: 0;
  transform: none;
}

/* ====================================================================
   LAYOUT & SECTIONS
==================================================================== */
.section-padding {
  padding: 5rem 0;
}

/* Alternating Section Backgrounds (To Avoid all-white look) */
section:nth-child(even) {
  background-color: var(--bg-soft-blue);
}

section:nth-child(odd) {
  background-color: var(--white);
}

/* Specific Overrides for vibrancy */
.bg-light {
  background-color: var(--bg-soft-blue) !important;
}

[data-theme="dark"] section:nth-child(odd) {
  background-color: var(--bg-body);
}

[data-theme="dark"] section:nth-child(even) {
  background-color: #1e293b;
}

[data-theme="dark"] .bg-light {
  background-color: #1e293b !important;
}

/* ====================================================================
   COMPONENTS: PREMIUM FOOTER (HERO OF THE BOTTOM)
==================================================================== */
.main-footer {
  position: relative;
  background-image: url('../img/gsssn.jpg');
  /* School Image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Subtle Parallax */
  padding-top: 5rem;
  padding-bottom: 0;
  overflow: hidden;
  border-top: 5px solid var(--saffron);
  z-index: 1;
}

/* LIGHT MODE OVERLAY (High Opacity White/Cream for Black Text) */
.main-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 249, 255, 0.92) 100%);
  z-index: -1;
  backdrop-filter: blur(3px);
}

/* DARK MODE OVERLAY (Deep Navy/Purple for White Text) */
[data-theme="dark"] .main-footer::before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 27, 75, 0.95) 100%);
}

/* CTA Bar Styles (Adapted for Colorful Footer) */
.footer-cta-bar {
  background: linear-gradient(135deg, var(--saffron) 0%, #fbbf24 100%);
  color: #000;
  border: none;
}

.footer-cta-bar h2,
.footer-cta-bar p {
  color: #000 !important;
}

.footer-cta-bar .btn {
  background: #000;
  color: #fff;
}

.footer-cta-bar .btn:hover {
  background: #333;
  color: #fff;
}

/* Dark Mode CTA Overrides */
[data-theme="dark"] .footer-cta-bar {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
}

[data-theme="dark"] .footer-cta-bar h2,
[data-theme="dark"] .footer-cta-bar p {
  color: #fff !important;
}

[data-theme="dark"] .footer-cta-bar .btn {
  background: #fff;
  color: var(--primary-blue);
}


/* CONTENT TEXT COLORS */
/* Light Mode: STRONG BLACK/DARK BLUE */
.main-footer,
.main-footer p,
.main-footer a,
.main-footer h2,
.main-footer h4,
.main-footer h6,
.main-footer span,
.main-footer strong,
.main-footer li {
  color: #0f172a;
  /* Slate 900 */
}

.main-footer small {
  color: #475569 !important;
}

/* Dark Mode: WHITE/LIGHT GRAY */
[data-theme="dark"] .main-footer,
[data-theme="dark"] .main-footer p,
[data-theme="dark"] .main-footer li,
[data-theme="dark"] .main-footer span,
[data-theme="dark"] .main-footer a,
[data-theme="dark"] .main-footer h2,
[data-theme="dark"] .main-footer h4,
[data-theme="dark"] .main-footer h6 {
  color: #f8fafc !important;
}

[data-theme="dark"] .main-footer small {
  color: #cbd5e1 !important;
}


/* Link Hover Effects */
.footer-links-new a:hover {
  color: var(--primary-blue) !important;
  transform: translateX(5px);
}

[data-theme="dark"] .footer-links-new a:hover {
  color: var(--saffron) !important;
}

/* Contact List */
.footer-contact-new .hover-white:hover {
  color: var(--primary-blue) !important;
}

[data-theme="dark"] .footer-contact-new .hover-white:hover {
  color: var(--saffron) !important;
}

/* Social Circles (Dark Icon on Light) */
.social-circle {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary-blue);
}

.social-circle:hover {
  background: var(--primary-blue);
  color: #fff;
}

[data-theme="dark"] .social-circle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

[data-theme="dark"] .social-circle:hover {
  background: var(--saffron);
  color: #000;
}

/* Bottom Bar */
.footer-bottom {
  margin-top: 5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  /* ALWAYS DARK STRIP */
  color: #fff !important;
}

.footer-bottom p {
  color: #cbd5e1 !important;
}

.footer-bottom a {
  color: #fff !important;
}

.developer-credit {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 30px;
  transition: all 0.3s;
}

.developer-credit:hover {
  background: var(--saffron);
  border-color: var(--saffron);
}

.developer-credit:hover span,
.developer-credit:hover a {
  color: #000 !important;
}


.carousel-item {
  height: 85vh;
  /* Tall Premium look */
  min-height: 600px;
  background-color: #000;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  /* Subtle zoom effect */
}

.carousel-item.active img {
  transform: scale(1.05);
}

/* Gradient Overlay - Cinematic */
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  text-align: left;
  /* Modern Left Aligned */
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  left: 10%;
  right: 10%;
  padding-bottom: 0;
}

/* Typography */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  background: rgba(0, 0, 0, 0.3);
  /* Subtle backing for readability */
  padding: 10px 20px;
  border-left: 5px solid var(--saffron);
  backdrop-filter: blur(5px);
}

/* Creative Buttons */
.btn-hero-primary {
  background: var(--saffron);
  color: #000;
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--saffron);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(245, 158, 11, 0.4);
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 12px 35px;
  border-radius: 50px;
  border: 2px solid #fff;
  margin-left: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: #fff;
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Nav Arrows */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
}

.carousel-control-icon-bg {
  width: 50px;

  /* Carousel Indicators */
  .carousel-indicators {
    bottom: 40px;
    gap: 15px;
  }

  .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.4s ease;
    margin: 0;
    opacity: 1;
  }

  .carousel-indicators .active {
    width: 40px;
    /* Expands to a pill shape */
    border-radius: 20px;
    background-color: var(--saffron);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 8%;
    opacity: 1;
    z-index: 5;
    /* Ensure above overlay */
  }

  .carousel-control-icon-bg {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    /* very subtle */
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
  }



  /* ====================================================================
   HERO CAROUSEL (CINEMATIC PREMIUM 2025 - REFINED)
==================================================================== */
  .hero-carousel {
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    /* Deeper shadow */
    margin-top: -1px;
  }

  .carousel-item {
    height: 95vh;
    /* Almost full screen but leaving a hint of content below */
    min-height: 700px;
    background-color: #020617;
    /* Very dark slate, better than pure black */
  }

  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 9s ease-out;
    /* Longer, smoother cinematic pan */
  }

  .carousel-item.active img {
    transform: scale(1.12);
  }

  /* Gradient Overlay - Dual Stage */
  .carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Complex gradient: Dark left side for text readability, fading to clear right, with a dark bottom fade */
    background: radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%),
      linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.7) 45%, rgba(15, 23, 42, 0.1) 100%),
      linear-gradient(to top, rgba(2, 6, 23, 0.8) 0%, transparent 30%);
  }

  .carousel-caption {
    z-index: 2;
    text-align: left;
    bottom: auto;
    top: 48%;
    /* Slightly higher for visual balance */
    transform: translateY(-50%);
    left: 8%;
    right: 10%;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  /* Typography Enhancements - Clear Hierarchy */
  .hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    /* Even bolder */
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    display: block;
    letter-spacing: -2px;
    /* Tight, modern tracking */
    position: relative;
  }

  /* Decorative Line above Title */
  .hero-title::before {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    background: var(--saffron);
    margin-bottom: 20px;
    border-radius: 4px;
  }

  .hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: #cadbed;
    /* Softer blue-white */
    margin-bottom: 3.5rem;
    /* More breathing room */
    max-width: 650px;
    line-height: 1.6;
    border-left: none;
    /* Removed side border for cleaner look */
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    text-align: left;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    font-weight: 400;
  }

  /* Creative Buttons */

  @keyframes pulse-glow {
    0% {
      box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
      box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
  }

  .btn-hero-primary {
    background: linear-gradient(135deg, var(--saffron), #f59e0b);
    color: #000;
    font-weight: 800;
    padding: 18px 50px;
    /* Slightly larger */
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    /* transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); -- removing to avoid conflict with animation */
    transition: transform 0.3s ease, background 0.3s ease;
    display: inline-block;
    margin-right: 25px;
    /* More spacing */
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
  }

  .btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    /* Brighter shimmer */
    transform: translateX(-100%);
    transition: transform 0.5s;
  }

  .btn-hero-primary:hover {
    transform: translateY(-5px) scale(1.05);
    /* Slight grow on hover */
    box-shadow: 0 25px 50px rgba(245, 158, 11, 0.6);
    color: #000;
    animation: none;
    /* Stop pulsing on hover */
  }

  .btn-hero-primary:hover::after {
    transform: translateX(0);
  }

  .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    /* Glassy */
    color: #fff;
    font-weight: 600;
    padding: 16px 45px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
  }

  .btn-hero-secondary:hover {
    background: #fff;
    color: var(--primary-blue);
    transform: translateY(-5px);
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
  }

  /* Carousel Indicators (Premium Pill Style) */
  .carousel-indicators {
    bottom: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 12px;
  }

  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 0;
    opacity: 1;
  }

  .carousel-indicators .active {
    width: 35px;
    /* Pill expansion */
    border-radius: 20px;
    background-color: var(--saffron);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
  }


  /* Nav Arrows */
  .carousel-control-prev,
  .carousel-control-next {
    width: 8%;
    /* Wider touch area */
    opacity: 1;
    z-index: 5;
  }

  .carousel-control-icon-bg {
    width: 65px;
    height: 65px;
    background: rgba(15, 23, 42, 0.6);
    /* Darker backdrop for better contrast */
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.4rem;
  }

  .carousel-control-prev:hover .carousel-control-icon-bg,
  .carousel-control-next:hover .carousel-control-icon-bg {
    background: var(--saffron);
    border-color: var(--saffron);
    color: #000;
    transform: scale(1.15) rotate(360deg);
    /* Playful rotation */
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
  }

  /* Mobile Adjustments */
  @media (max-width: 768px) {
    .carousel-item {
      height: 65vh;
      min-height: auto;
    }

    .carousel-caption {
      align-items: center;
      text-align: center;
      padding-bottom: 3rem;
    }

    .hero-subtitle {
      display: none;
      /* Hide subtitle on small mobile */
    }

    .hero-title {
      font-size: 2.2rem;
      margin-bottom: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
      padding: 10px 25px;
      font-size: 0.9rem;
    }
  }

  /* ====================================================================
   CARDS (PREMIUM & COLORFUL)
==================================================================== */
  .card {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
  }

  [data-theme="dark"] .card {
    background: var(--card-bg);
  }

  .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
  }

  /* Activity Cards - Colorful Icons */
  .activity-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
    border: 1px solid rgba(0, 0, 0, 0.03);
  }

  [data-theme="dark"] .activity-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .activity-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  }

  /* ====================================================================
   BUTTONS (MODERN)
==================================================================== */
  .btn {
    border-radius: var(--radius-full);
    /* Fully rounded */
    padding: 0.6rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: capitalize;
    letter-spacing: 0.3px;
  }

  .btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  }

  .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    color: #fff;
  }

  .btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
  }

  .btn-outline-custom:hover {
    background: var(--primary-blue);
    color: #fff;
  }

  /* ====================================================================
   NAVBAR (GLASSMORPHISM)
==================================================================== */
  .main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    height: var(--navbar-height);
  }

  [data-theme="dark"] .main-navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu {
    border: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
  }

  /* ====================================================================
   MISC
==================================================================== */
  .whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .hover-lift:hover {
    transform: translateY(-5px);
  }

  /* Timeline for Admissions */
  .timeline-item {
    position: relative;
    padding-left: 2.5rem;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
  }

  /* Forms */
  .form-control {
    border-radius: var(--radius-md);
    border: 2px solid #e2e8f0;
    padding: 0.8rem 1rem;
    background-color: #f8fafc;
  }

  .form-control:focus {
    background-color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px var(--primary-blue-soft);
  }

  /* ====================================================================
   STAR RATING COMPONENT
==================================================================== */
  .star-rating-wrapper {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.2rem;
  }

  .star-rating-wrapper input {
    display: none;
  }

  .star-rating-wrapper label {
    font-size: 1.5rem;
    color: #cbd5e1;
    /* Gray-300 */
    cursor: pointer;
    transition: color 0.2s ease;
  }

  /* Hover & Checked States */
  .star-rating-wrapper input:checked~label,
  .star-rating-wrapper label:hover,

  .star-rating-wrapper label:hover~label {
    color: #fbbf24;
    /* Amber-400 */
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
  }
}

/* ====================================================================
   CREATIVE SCHOOL UI REFLECTIONS
==================================================================== */

/* Animated Floating Elements */
@keyframes float-y {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes float-x {
  0% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(-15px);
  }

  100% {
    transform: translateX(0px);
  }
}

.animate-float {
  animation: float-y 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-y 4s ease-in-out 2s infinite;
}

/* Notebook/Paper Texture Cards */
.card-paper {
  background: #fff;
  background-image: linear-gradient(#e1e1e1 1px, transparent 1px);
  background-size: 100% 2rem;
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e1e1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-paper:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 8px 8px 0px var(--saffron), 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Student Says Section */
.student-says-section {
  background: radial-gradient(circle at top right, #fdfbf7 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.student-says-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59e0b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.student-quote-box {
  background: white;
  padding: 3rem;
  border-radius: 2rem;
  border-bottom-right-radius: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.quote-icon {
  position: absolute;
  top: -20px;
  right: 40px;
  font-size: 4rem;
  color: var(--saffron);
  opacity: 0.3;
}

.student-cutout {
  max-height: 500px;
  filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.2));
  transition: transform 0.5s ease;
}

.student-cutout:hover {
  transform: scale(1.02);
}

/* Creative Section Title */
.title-creative {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.title-creative::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--saffron);
  opacity: 0.3;
  z-index: -1;
  transform: skewX(-15deg);
}

/* Rotation Utilities */
.transform-rotate-12 {
  transform: rotate(12deg);
}

.transform-rotate-2 {
  transform: rotate(2deg);
}

.transform-rotate-3 {
  transform: rotate(3deg);
}

.transform-rotate-n1 {
  transform: rotate(-1deg);
}

.transform-rotate-n2 {
  transform: rotate(-3deg);
}

.rotate-n1 {
  transform: rotate(-1deg);
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-zoom {
  transition: transform 0.5s ease;
}

.card:hover .hover-zoom {
  transform: scale(1.1);
}

.hover-bg-light:hover {
  background-color: #f8f9fa !important;
  color: #000 !important;
}

.hover-text-dark:hover {
  color: #000 !important;
}

.font-handwritten {
  font-family: 'Poppins', cursive;
  /* Fallback if specific font not loaded, using Poppins as primary */
}

/* Teacher Card Hover Overlay */
.group-hover-opacity-10 {
  opacity: 0;
}

.group:hover .group-hover-opacity-10 {
  opacity: 0.1;
}

.text-justify {
  text-align: justify;
}

/* Student Says Responsive Adjustments */
@media (max-width: 991.98px) {
  .student-cutout {
    max-height: 350px;
    margin-bottom: 2rem;
  }

  .student-quote-box {
    padding: 2rem;
    text-align: center;
  }

  .quote-icon {
    right: 20px;
    top: -15px;
  }
}

.title-creative {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.title-creative::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--saffron);
  opacity: 0.3;
  z-index: -1;
  transform: skewX(-15deg);
}

/* Skew Utilities for Header */
.skew-x-12 {
  transform: skewX(-12deg);
}

.skew-xn-12 {
  transform: skewX(12deg);
}

/* Animations for Footer (Neon & Glitch) */
@keyframes heart-beat {

  0%,
  100% {
    transform: scale(1);
  }

  10%,
  30% {
    transform: scale(0.9);
  }

  20%,
  40%,
  60%,
  80% {
    transform: scale(1.1);
  }

  50%,
  70% {
    transform: scale(1.1);
  }
}

.animate-beat {
  animation: heart-beat 1.5s infinite;
  display: inline-block;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 10s linear infinite;
}

.developer-badge-neon {
  border: 1px solid rgba(6, 182, 212, 0.5);
  /* Cyan border */
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
}

.developer-badge-neon:hover {
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), 0 0 40px rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
  border-color: #06b6d4;
  /* Full Cyan */
}

/* Glitch Text Effect Placeholder */
.developer-text-glitch {
  position: relative;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}

.developer-text-glitch::before,
.developer-text-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.developer-text-glitch:hover::before {
  left: 2px;
  text-shadow: -1px 0 #ff00c1;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.developer-text-glitch:hover::after {
  left: -2px;
  text-shadow: -1px 0 #00fff9;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(30px, 9999px, 10px, 0);
  }

  5% {
    clip: rect(68px, 9999px, 81px, 0);
  }

  10% {
    clip: rect(3px, 9999px, 96px, 0);
  }

  15% {
    clip: rect(98px, 9999px, 3px, 0);
  }

  20% {
    clip: rect(13px, 9999px, 91px, 0);
  }

  100% {
    clip: rect(81px, 9999px, 20px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(65px, 9999px, 90px, 0);
  }

  5% {
    clip: rect(10px, 9999px, 2px, 0);
  }

  10% {
    clip: rect(97px, 9999px, 49px, 0);
  }

  15% {
    clip: rect(10px, 9999px, 5px, 0);
  }

  20% {
    clip: rect(82px, 9999px, 46px, 0);
  }

  100% {
    clip: rect(27px, 9999px, 7px, 0);
  }
}

.text-cyan {
  color: #06b6d4;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--bs-gradient-stops));
}

.from-transparent {
  --bs-gradient-from: transparent;
  --bs-gradient-stops: var(--bs-gradient-from), var(--bs-gradient-to, rgba(255, 255, 255, 0));
}

.via-cyan {
  --bs-gradient-stops: var(--bs-gradient-from), #06b6d4, var(--bs-gradient-to, rgba(255, 255, 255, 0));
}

.to-transparent {
  --bs-gradient-to: transparent;
}

/* Dark mode adjustment */
[data-theme='dark'] .star-rating-wrapper label {
  color: #475569;
}

/* ====================================================================
   ADVANCED ANIMATIONS & UTILITIES (FOOTER AURORA & MARQUEE)
==================================================================== */

/* Marquee Logic - Always Moving */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  /* Duration adjusted for readability but continuous flow */
  animation: marquee-scroll 25s linear infinite;
  padding-left: 100%;
  /* Start from off-screen right */
}

/* Ensure it never pauses even on hover if requested 'always moving' */
.marquee-container:hover .marquee-content {
  animation-play-state: running;
}

@keyframes marquee-scroll {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* Footer Aurora Animation */
@keyframes aurora-shine {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }

  50% {
    background-position: 100% 50%;
    filter: hue-rotate(90deg);
  }

  100% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg);
  }
}

/* Developer Badge Shine Sweep */
.developer-badge-shine {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.developer-badge-shine:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.shine-sweep {
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6) 50%, transparent);
  transform: skewX(-25deg);
  animation: shine-sweep-anim 4s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes shine-sweep-anim {
  0% {
    left: -150%;
  }

  30% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

/* Text Gradients */
.text-gradient-silver {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* ====================================================================
   CREATIVE MOBILE SIDEBAR (OFFCANVAS) - ANIMATED & COLORFUL
==================================================================== */
#creativeMobileMenu {
  backdrop-filter: blur(15px);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Nav Link Cards */
.creative-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.creative-link:hover,
.creative-link:active {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px) scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.creative-link .icon-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-right: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.creative-link:hover .icon-box {
  background: var(--primary-blue);
  color: #fff;
  transform: rotate(10deg);
}

.link-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Staggered Animation on Open */
.offcanvas.show .creative-nav-list .nav-item,
.offcanvas.show .sidebar-actions {
  animation: slideInFromLeft 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: translateX(-50px);
  animation-delay: var(--delay);
}

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Action Button Gradient */
.btn-gradient-primary {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  transition: transform 0.2s;
}

.btn-gradient-primary:active {
  transform: scale(0.98);
}

/* Social Buttons (Circle Neumorphism) */
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

.social-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-insta:hover {
  background: #e1306c;
  border-color: #e1306c;
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.social-wa:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Hamburger Icon Animation */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -5px);
}

.hamburger-icon {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Background Blobs Blur */
.filter-blur-xl {
  filter: blur(60px);
}

body.offcanvas-open {
  overflow: hidden;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-10 {
  opacity: 0.1;
}

.backdrop-blur-md {
  backdrop-filter: blur(8px);
}

.fw-black {
  font-weight: 900;
}

.text-white-60 {
  color: rgba(255, 255, 255, 0.6);
}

/* Shine Effect for Copy Pill */
.shine-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s ease;
}

.hover-glow-border:hover {
  border-color: rgba(255, 255, 255, 0.5) !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.hover-glow-border:hover .shine-effect {
  opacity: 1;
  transform: scale(1);
}