html,
        body {
            scroll-behavior: smooth !important;
        }

        /* --- General Utilities --- */
        .submenu {
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease-in-out;
        }

        .group:hover>.submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .sub-submenu {
            opacity: 0;
            visibility: hidden;
            transform: translateX(10px);
            transition: all 0.3s ease-in-out;
            top: 0;
            left: 100%;
        }

        .group\/sub:hover>.sub-submenu {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .mobile-sub-menu {
            transition: max-height 0.3s ease-in-out;
            max-height: 0;
            overflow: hidden;
        }

        /* Swiper Navigation */
        .swiper-button-next,
        .swiper-button-prev {
            color: white;
            background: rgba(255, 255, 255, 0.2);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            backdrop-filter: blur(5px);
            transition: background 0.3s;
        }

        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 20px;
            font-weight: bold;
        }

        /* --- COMMON SPLIDE ARROWS STYLING --- */
        .splide__arrow {
            background: rgba(255, 255, 255, 0.7);
            opacity: 1;
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 50%;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .splide__arrow:hover {
            background: rgba(255, 255, 255, 1);
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
        }

        .splide__arrow svg {
            fill: #076DC3;
            width: 1.2rem;
            height: 1.2rem;
        }

        /* Adjust arrow position on larger screens to be outside content */
        @media (min-width: 1280px) {
            .splide__arrow--prev {
                left: -3.5rem;
            }

            .splide__arrow--next {
                right: -3.5rem;
            }
        }

        .splide__pagination {
            bottom: -2rem;
        }

        .splide__pagination__page.is-active {
            background: #076DC3;
            transform: scale(1.2);
        }

        /* Animation Delays */
        .swiper-slide-active .animate-delay-100 {
            animation-delay: 0.1s;
        }

        .swiper-slide-active .animate-delay-200 {
            animation-delay: 0.3s;
        }

        .swiper-slide-active .animate-delay-300 {
            animation-delay: 0.5s;
        }

        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease-out;
        }

        .reveal-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Avatar Generator Style */
        .avatar-initial {
            background: linear-gradient(135deg, #DEF1FD 0%, #ffffff 100%);
            color: var(--color-school-heading);
            font-family: var(--font-heading);
        }

        /* Glass Card Style */
        .glass-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(222, 241, 253, 0.6);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
        }

        /* Modern Grid Lines Background */
        .bg-grid-pattern {
            background-image: linear-gradient(to right, #f0f0f0 1px, transparent 1px),
                linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
            background-size: 40px 40px;
        }

        /* Subject Card Gradient Hover */
        .subject-card {
            background: white;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .subject-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .subject-card::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, var(--color-school-primary), var(--color-school-heading));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .subject-card:hover::after {
            transform: scaleX(1);
        }

        /* Glass Card with hover lift */
        .event-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: all 0.4s ease;
            border: 1px solid rgba(229, 231, 235, 0.5);
            overflow: hidden;
        }

        .event-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Winner Badge */
        .winner-badge {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-left: 3px solid var(--color-school-heading);
            padding: 0.5rem 0.75rem;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
            border-radius: 0 0.5rem 0.5rem 0;
        }

        /* Step Card Styling */
        .step-card {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }

        .step-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px -5px rgba(43, 149, 245, 0.15);
            border-color: var(--color-school-light);
        }

        .step-number {
            font-family: var(--font-heading);
            color: rgba(43, 149, 245, 0.1);
            position: absolute;
            top: -10px;
            right: 10px;
            font-size: 5rem;
            line-height: 1;
            pointer-events: none;
        }

        /* Wardrobe Card Style */
        .uniform-card {
            background: white;
            border-radius: 2rem;
            overflow: hidden;
            box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            position: relative;
            border: 1px solid #f0f4f8;
        }

        .uniform-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px -10px rgba(43, 149, 245, 0.15);
            border-color: var(--color-school-light);
        }

        .uniform-icon {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            width: 60px;
            height: 60px;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--color-school-heading);
            margin-bottom: 1rem;
        }

        /* Time Card Styles */
        .time-card {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .time-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px -10px rgba(43, 149, 245, 0.15);
            border-color: var(--color-school-light);
        }

        .time-display {
            font-variant-numeric: tabular-nums;
            letter-spacing: -0.02em;
        }

        /* Abstract Map Background */
        .map-bg {
            background-image: radial-gradient(circle, #e0f2fe 1px, transparent 1px);
            background-size: 30px 30px;
        }

        /* Fee Card */
        .fee-card {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }

        .fee-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px -5px rgba(43, 149, 245, 0.15);
            border-color: var(--color-school-light);
        }

        /* Connecting Lines for Timeline */
        .connector-line {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #e5e7eb;
            transform: translateX(-50%);
            z-index: 0;
        }

        /* Club Card */
        .club-card {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(229, 231, 235, 0.5);
            overflow: hidden;
            position: relative;
        }

        .club-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px -10px rgba(43, 149, 245, 0.2);
            border-color: var(--color-school-primary);
        }

        .club-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--color-school-heading), var(--color-school-primary));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .club-card:hover::before {
            transform: scaleX(1);
        }

        /* Points HUD */
        .points-hud {
            background: linear-gradient(145deg, #ffffff, #f0f7ff);
            border: 1px solid #e0e7ff;
            box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 10px 20px rgba(0, 0, 0, 0.05);
        }

        /* Timeline Line */
        .timeline-container::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 24px;
            width: 3px;
            background: #e5e7eb;
            z-index: 0;
        }

        @media (min-width: 768px) {
            .timeline-container::before {
                left: 50%;
                transform: translateX(-50%);
            }
        }

        /* Date Dot */
        .timeline-dot {
            width: 20px;
            height: 20px;
            background: var(--color-school-accent);
            border: 4px solid white;
            border-radius: 50%;
            position: absolute;
            left: 15px;
            top: 24px;
            z-index: 10;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        @media (min-width: 768px) {
            .timeline-dot {
                left: 50%;
                transform: translateX(-50%);
            }
        }

        /* Exam Card Styling */
        .exam-card {
            background: white;
            border-radius: 1.5rem;
            box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(222, 241, 253, 0.6);
        }

        .exam-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px -10px rgba(43, 149, 245, 0.15);
            border-color: var(--color-school-primary);
        }

        .exam-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: var(--color-school-light);
            transition: background 0.3s ease;
        }

        .exam-card:hover::before {
            background: var(--color-school-primary);
        }

        /* Glass Card */
        .glass-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
        }

        /* Language Card */
        .lang-card {
            background: white;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .lang-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
        }

        .lang-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--color-school-heading);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.4s ease;
        }

        .lang-card:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

        /* Facility Card */
        .facility-card {
            background: white;
            border-radius: 2rem;
            position: relative;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
            margin-top: 10px;
        }

        .facility-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px -12px rgba(43, 149, 245, 0.2);
        }

        .facility-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 2rem;
            padding: 2px;
            background: linear-gradient(135deg, var(--color-school-primary), transparent, var(--color-school-accent));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .facility-card:hover::before {
            opacity: 1;
        }

        .icon-box {
            background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
            box-shadow: inset 0 2px 4px rgba(255, 255, 255, 1), 0 8px 16px rgba(0, 0, 0, 0.05);
        }

        /* Note Card */
        .note-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid #f3f4f6;
            position: relative;
            overflow: hidden;
        }

        .note-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            border-color: var(--color-school-light);
        }

        .note-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--color-school-primary);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .note-card:hover::before {
            opacity: 1;
        }

        /* Checklist Item */
        .check-item {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            color: var(--color-school-text);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .check-item i {
            color: var(--color-school-primary);
            font-size: 1.25rem;
            margin-top: 0.1rem;
            flex-shrink: 0;
        }

        /* contact us page styles */
        /* Glass Form */
        .glass-panel {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
        }

        /* Input Styling */
        .modern-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid transparent;
            border-bottom: 2px solid #e2e8f0;
            padding: 1rem 1rem 1rem 3rem;
            transition: all 0.3s ease;
            outline: none;
            border-radius: 0.75rem;
        }

        .modern-input:focus {
            background: white;
            border-color: var(--color-school-primary);
            box-shadow: 0 10px 20px -5px rgba(43, 149, 245, 0.1);
            transform: translateY(-2px);
        }

        /* Icon inside input */
        .input-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            transition: all 0.3s ease;
        }

        .modern-input:focus+.input-icon,
        .modern-input:focus~.input-icon {
            color: var(--color-school-primary);
        }

        /* Contact Card */
        .contact-card {
            background: white;
            border-radius: 1.5rem;
            transition: all 0.4s ease;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .contact-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 20px 40px -10px rgba(7, 109, 195, 0.15);
            border-color: var(--color-school-light);
        }
        label.error {
            color: #F03115;
            font-size: 0.8rem;
            font-weight: 700;
        }
