/* Modern navbar styling */
    * {
        font-size: 14px;
        font-family: 'Poppins', sans-serif;
        margin:0;
    }

 :root {
  /* Primary Colors */
  --primary-color: #1d3557;    /* Deep navy - main brand color */
  --primary-dark: #14213d;     /* Darker navy - for important elements */
  --primary-light: #f8f9fa;    /* Light background */
  --primary-semi: #457b9d;     /* Semi-dark for secondary elements */

  /* Accent Colors */
  --accent-color: #e63946;     /* Vibrant red - main call-to-action */
  --accent-primary: var(--accent-color);
  --accent-secondary: #ff9e3f; /* Warm orange - secondary actions */
  --accent-orange-light: #ffb347; /* Lighter orange */
  --accent-orange-lite: #ffc87c; /* Even lighter orange */
  --accent-tertiary: #4caf50;  /* Green - success states */
  --gold-accent: #ffd700;      /* Bright gold */
  --gold-muted-accent: #ffc107;/* Mustard gold */
  
  /* Brown Shades */
  --brown: #5d4037;           /* Base brown */
  --brown-light: #8d6e63;     /* Light brown */
  --brown-lite: #bcaaa4;      /* Extra light brown */

  /* Extended Palette */
  --blue-light: #a8dadc;      /* Light blue - backgrounds/accents */
  --blue-bright: #2d8cf0;     /* Bright blue - interactive elements */
  --purple-accent: #9c27b0;   /* Purple - special accents */

  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;      /* Very light tinted background */
  --gray-200: #e9ecef;
  --gray-500: #6c757d;        /* Muted text */
  --gray-800: #343a40;
  --black: #212529;
  
  /* Semantic Colors */
  --success: var(--accent-tertiary);
  --warning: var(--gold-muted-accent);
  --danger: var(--accent-color);
  --info: var(--blue-bright);
  
  /* Backgrounds */
  --bg-light: var(--light-gray);
  --bg-dark: var(--primary-dark);
  --bg-warning: #fff3cd;
  --bg-success: #d4edda;
  --bg-brown: var(--brown-lite); /* Light brown background */
  
  /* Text Colors */
  --text-primary: var(--black);
  --text-secondary: var(--gray-500);
  --text-muted: var(--gray-500);
  --text-light: var(--white);
  
  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Additional School-Specific Colors */
  --accent-red: #e63946;       /* For exams/important notices */
  --accent-green: #4caf50;     /* For holidays/success */
  --accent-purple: #9c27b0;    /* For special events */
  --secondary-blue: #2196f3;    /* For meetings */
  
  /* Background Variants */
  --bg-light-warning: rgba(255, 193, 7, 0.1);
  --bg-light-danger: rgba(230, 57, 70, 0.1);
  --bg-light-success: rgba(76, 175, 80, 0.1);
  --bg-light-info: rgba(33, 150, 243, 0.1);
  --bg-additional: rgba(248, 249, 250, 0.7);
}

h1 {
    color: var(--accent-color);
    /* Updated to match provided inline style */
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px var(--cloud-shadow);
    position: relative;
}

 /*********************************************
 *                Main Navbar Styling         *
 *********************************************/

 /* Utility Bar */
    .top-utility-bar .badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .top-utility-bar .badge {
        transition: all 0.3s ease;
    }

    /* Navbar Styling */
    .navbar {
        padding: 0.5rem 0;
        transition: all 0.3s ease;
    }

    .navbar.scrolled {
        padding: 0.3rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
        padding: 0;
    }

    .nav-link {
        font-weight: 500;
        color: #333 !important;
        transition: all 0.2s ease;
        position: relative;
    }

    .nav-link:hover,
    .nav-link:focus,
    .nav-link.active {
        color: #e63946 !important;
    }

    /* Dropdown Toggle Animation */
    .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.2s ease;
    }

    .dropdown-toggle.show::after {
        transform: rotate(-180deg);
    }

    /* Dropdown Menu Styling */
    .dropdown-menu {
        border: none;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        margin-top: 0;
        opacity: 0;
        display: block;
        visibility: hidden;
        transition: all 0.3s ease, visibility 0.3s;
        transform: translateY(10px);
    }

    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(13, 110, 253, 0.1);
        color: #0d6efd !important;
        padding-left: 1.25rem;
    }

    /* Mega Menu Styling */
    .dropdown-mega .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
    }

    .mega-menu {
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
    }

    .mega-menu .container {
        padding: 0;
    }

    .mega-menu h3 {
        font-weight: 600;
    }

    .mega-menu .nav-link {
        padding: 0.25rem 0 !important;
        color: #1a3a6e !important;
    }

    .mega-menu .nav-link:hover {
        color: #e63946 !important;
        padding-left: 0.5rem !important;
    }

    /* Improved Off-Canvas Styles */
    .offcanvas {
        max-width: 85%;
        width: 350px !important;
    }
    
    .offcanvas-body .nav-link {
        padding: 0.75rem 1.5rem;
        transition: all 0.2s ease;
    }
    
    .offcanvas-body .nav-link:hover {
        background-color: rgba(230, 57, 70, 0.05);
        padding-left: 1.75rem;
        color: #e63946 !important;
    }
    
    .offcanvas-body .collapse .nav-link {
        padding-left: 2.5rem;
        font-size: 0.925rem;
    }
    
    .offcanvas-body .collapse .nav-link:hover {
        padding-left: 2.75rem;
    }
    
    /* Improved Chevron Rotation */
    .transition-rotate {
        transition: transform 0.3s ease;
    }
    
    .nav-link[aria-expanded="true"] .transition-rotate {
        transform: rotate(180deg);
    }
    
    /* Better Scroll Behavior */
    .offcanvas-body .flex-grow-1 {
        scrollbar-width: thin;
        scrollbar-color: rgba(0,0,0,0.1) transparent;
    }
    
    .offcanvas-body .flex-grow-1::-webkit-scrollbar {
        width: 5px;
    }
    
    .offcanvas-body .flex-grow-1::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.1);
        border-radius: 10px;
    }

    /* Active state for mobile menu */
    .offcanvas-body .nav-link.active {
        color: #e63946 !important;
        background-color: rgba(230, 57, 70, 0.05);
    }

    /* Collapse menu item styling */
    .offcanvas-body .nav-link[data-bs-toggle="collapse"] {
        background-color: transparent;
    }

    .offcanvas-body .nav-link[data-bs-toggle="collapse"][aria-expanded="true"] {
        color: #e63946 !important;
        background-color: rgba(230, 57, 70, 0.05);
    }

    /* Desktop Adjustments */
    @media (min-width: 992px) {
        .dropdown-mega .dropdown-menu {
            width: 65% !important;
            left: 50% !important;
            transform: translate(-50%, 10px) !important;
            padding: 1rem !important;
        }

        .dropdown-mega:hover .dropdown-menu {
            display: block !important;
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, 0) !important;
        }

        .mega-menu .container {
            padding: 0.5rem !important;
        }

        .navbar-nav {
            gap: 0.5rem;
        }
    }

    /* Mobile Adjustments */
    @media (max-width: 991.98px) {
        #mainNavbar {
            display: none !important;
        }
        
        .offcanvas-body .btn {
            text-align: left;
        }
        
        .offcanvas-body .btn i {
            width: 20px;
            text-align: center;
        }
    }

 /*********************************************
 *                Main Banners         *
 *********************************************/

        /* Hero Section */
        .banner-hero {
            position: relative;
            min-height: 40vh;
            display: flex;
            align-items: center;
            background-color: var(--primary-color);
            overflow: hidden;
        }

        .parallax-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            z-index: 0;
        }

        .overlay-gradient {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.7) 100%);
            z-index: 0;
        }

        .banner-hero h1 {
            font-family: 'Playfair Display', serif;
            line-height: 1.2;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            color: var(--gold-muted-accent)
        }


        .hero-shape-divider {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            transform: rotate(180deg);
        }

        .hero-shape-divider svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 100px;
        }

        .hero-shape-divider .shape-fill {
            fill: #FFFFFF;
        }


         /* Breadcrumb */
        .breadcrumb {
            background: transparent;
            padding: 0;
        }

        .breadcrumb-item a {
            color: var(--accent-secondary);
            transition: var(--transition);
        }

        .breadcrumb-item a:hover {
            color: #fff;
            text-decoration: underline;
        }

        .breadcrumb-item.active {
            color: rgba(255, 255, 255, 0.7);
        }

        .breadcrumb-item+.breadcrumb-item::before {
            color: rgba(255, 255, 255, 0.7);
        }






 /*********************************************
 *     About Us  (History tree root )  *
 *********************************************/
     

        .container {
            max-width: 1200px !important;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        /* Decorative Background Elements */
        .decorative-circle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.6;
            animation: float 6s ease-in-out infinite;
        }

        .decorative-circle:nth-child(1) {
            animation-delay: -2s;
        }

        .decorative-circle:nth-child(2) {
            animation-delay: -4s;
        }

        .decorative-circle:nth-child(3) {
            animation-delay: -1s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        /* Header Styles */
        .header-content {
            text-align: center;
            margin-bottom: 60px;
        }

        .badge {
            display: inline-block;
            padding: 8px 20px;
            background: rgba(255, 193, 7, 0.2);
            color: #f39c12;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            /* margin-bottom: 20px; */
            border: 2px solid rgba(255, 193, 7, 0.3);
        }

        /* h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            color: #2c3e50;
            margin-bottom: 20px;
            line-height: 1.2;
        } */

        /* .lead {
            font-size: 1.2rem;
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        } */

        /* Enhanced Tree Timeline Styles */
        .tree-timeline-container {
            position: relative;
            min-height: 800px;
            margin: 0 auto;
            perspective: 1000px;
        }

        .educational-tree {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            height: 700px;
            z-index: 2;
        }

        .tree-trunk {
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 70px;
            height: 0;
            background: linear-gradient(45deg, #8b4513, #a0522d, #8b4513);
            transform: translateX(-50%);
            border-radius: 60px 60px 0 0;
            transition: height 2s ease 0.5s;
            box-shadow: inset -10px 0 20px rgba(0,0,0,0.3), inset 10px 0 20px rgba(255,255,255,0.1);
        }

        .tree-rings {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
            border-radius: 60px 60px 0 0;
        }

        .ring {
            position: absolute;
            width: 100%;
            height: 25%;
            border-bottom: 4px solid rgba(139, 69, 19, 0.4);
            box-sizing: border-box;
            transition: border-color 1s ease;
        }

        .ring[data-year="1977"] { bottom: 0; }
        .ring[data-year="2002"] { bottom: 25%; }
        .ring[data-year="2010"] { bottom: 50%; }
        .ring[data-year="2023"] { bottom: 75%; }

        .tree-branches {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }

        .branch {
            position: absolute;
            background: linear-gradient(45deg, #8b4513, #a0522d);
            width: 8px;
            height: 180px;
            border-radius: 4px;
            transform-origin: bottom center;
            transform: rotate(var(--branch-angle)) translateY(60px);
            top: var(--branch-top);
            left: 50%;
            transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
        }

        .branch:before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, #a0522d, #8b4513);
            border-radius: 4px;
            box-shadow: inset 1px 1px 3px rgba(255,255,255,0.2);
        }

        /* Enhanced Leaf Cluster Design */
        .leaf-cluster {
            position: absolute;
            width: 380px;
            padding: 0;
            background: none;
            border-radius: 20px;
            transform: translate(-50%, -120%) rotate(calc(-1 * var(--branch-angle)));
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 4;
            cursor: pointer;
        }

        .leaf-shape {
    position: relative;
    background: linear-gradient(135deg, #3a7d33 0%, #5ba04e 25%, #6fb160 50%, #5ba04e 75%, #3a7d33 100%);
    border-radius: 50% 20% 50% 20%;
    padding: 25px;
    box-shadow: 
        0 10px 30px rgba(58, 125, 51, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

        .leaf-shape:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
            border-radius: inherit;
            pointer-events: none;
        }

        .leaf-shape:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 10%;
            right: 10%;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transform: translateY(-50%);
        }

        .leaf-cluster:hover .leaf-shape {
            transform: rotate(0deg) scale(1.05);
            box-shadow: 
                0 15px 40px rgba(45, 90, 39, 0.5),
                inset 0 1px 0 rgba(255,255,255,0.3),
                inset 0 -1px 0 rgba(0,0,0,0.1);
        }

        .leaf-veins {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.3;
            pointer-events: none;
        }

        .leaf-veins:before,
        .leaf-veins:after {
            content: '';
            position: absolute;
            background: rgba(255,255,255,0.2);
            border-radius: 1px;
        }

        .leaf-veins:before {
            top: 20%;
            left: 20%;
            right: 20%;
            height: 1px;
            transform: rotate(-15deg);
        }

        .leaf-veins:after {
            top: 30%;
            left: 25%;
            right: 25%;
            height: 1px;
            transform: rotate(15deg);
        }

        .timeline-card {
            position: relative;
            color: #ffffff;
            text-align: center;
        }

        .timeline-card h3 {
            font-family: 'Playfair Display', serif;
            margin-bottom: 15px;
            font-size: 1.4rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .timeline-card p {
            font-size: 1rem;
            line-height: 1.5;
            opacity: 0.95;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        .card-icon {
            position: absolute;
            top: -25px;
            right: -25px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #2d5a27;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
            animation: iconGlow 2s ease-in-out infinite alternate;
        }

        @keyframes iconGlow {
            0% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
            100% { box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6); }
        }

        .fruit-badge {
            position: absolute;
            bottom: -20px;
            right: -20px;
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            color: #2d5a27;
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        /* Enhanced Tree Ground and Water Sprays */
        .tree-ground {
            position: absolute;
            bottom: -120px;
            left: 0;
            width: 100%;
            height: 140px;
            background: linear-gradient(to bottom, #5d4037, #6d4c41, #8b4513);
            border-radius: 70% 70% 0 0 / 50px;
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
        }

        .ground-label {
            position: relative;
            color: white;
            font-weight: bold;
            padding: 12px 30px;
            background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
            border-radius: 30px;
            z-index: 2;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            border: 2px solid rgba(255,255,255,0.1);
        }

        .roots {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 80px;
        }

        .root {
            position: absolute;
            bottom: 0;
            width: 6px;
            height: 0;
            background: linear-gradient(to bottom, #5d4037, #4a2c2a);
            transform-origin: bottom center;
            transform: rotate(var(--root-angle));
            transition: height 2s ease;
            border-radius: 3px;
        }

        .root:nth-child(1) { left: 25%; }
        .root:nth-child(2) { left: 50%; transform: translateX(-50%); }
        .root:nth-child(3) { left: 75%; }

        /* Enhanced Water Spray Animation */
        .water-spray {
            position: absolute;
            bottom: 20px;
            left: 50%;
            width: 4px;
            height: 60px;
            transform: translateX(calc(-50% + var(--spray-offset)));
            opacity: 0;
            animation: waterSpray 3s ease-in-out infinite;
        }

        .water-spray:nth-child(4) { animation-delay: 0s; }
        .water-spray:nth-child(5) { animation-delay: 0.5s; }
        .water-spray:nth-child(6) { animation-delay: 1s; }

        .water-spray:before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, 
                rgba(64, 164, 223, 0.9) 0%,
                rgba(64, 164, 223, 0.7) 30%,
                rgba(64, 164, 223, 0.5) 60%,
                rgba(64, 164, 223, 0.2) 80%,
                transparent 100%);
            border-radius: 2px;
            transform-origin: bottom center;
            animation: sprayStream 3s ease-in-out infinite;
        }

        .water-spray:after {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            width: 24px;
            height: 24px;
            background: radial-gradient(circle, rgba(64, 164, 223, 0.6), transparent 70%);
            border-radius: 50%;
            animation: sprayDroplets 3s ease-in-out infinite;
        }

        @keyframes waterSpray {
            0%, 20% { 
                opacity: 0;
                transform: translateX(calc(-50% + var(--spray-offset))) scaleY(0);
            }
            30%, 70% { 
                opacity: 1;
                transform: translateX(calc(-50% + var(--spray-offset))) scaleY(1);
            }
            80%, 100% { 
                opacity: 0;
                transform: translateX(calc(-50% + var(--spray-offset))) scaleY(0);
            }
        }

        @keyframes sprayStream {
            0%, 20% { transform: scaleY(0) scaleX(1); }
            30% { transform: scaleY(1) scaleX(1.2); }
            70% { transform: scaleY(1) scaleX(0.8); }
            80%, 100% { transform: scaleY(0) scaleX(1); }
        }

        @keyframes sprayDroplets {
            0%, 20% { 
                opacity: 0;
                transform: scale(0);
            }
            30% { 
                opacity: 0.8;
                transform: scale(1) translateY(-5px);
            }
            70% { 
                opacity: 0.6;
                transform: scale(1.5) translateY(-15px);
            }
            80%, 100% { 
                opacity: 0;
                transform: scale(0.5) translateY(-25px);
            }
        }

        /* Additional water particles */
        .water-particles {
            position: absolute;
            bottom: 80px;
            left: 45%;
            width: 10%;
            height: 40px;
            pointer-events: none;
        }

        .water-particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: rgba(64, 164, 223, 0.7);
            border-radius: 50%;
            animation: particleFloat 4s ease-in-out infinite;
        }

        .water-particle:nth-child(1) { 
            left: 10%; 
            animation-delay: 0s;
        }
        .water-particle:nth-child(2) { 
            left: 30%; 
            animation-delay: 0.7s;
        }
        .water-particle:nth-child(3) { 
            left: 50%; 
            animation-delay: 1.4s;
        }
        .water-particle:nth-child(4) { 
            left: 70%; 
            animation-delay: 2.1s;
        }
        .water-particle:nth-child(5) { 
            left: 90%; 
            animation-delay: 2.8s;
        }

        @keyframes particleFloat {
            0%, 20% { 
                opacity: 0;
                transform: translateY(0px) scale(0);
            }
            30% { 
                opacity: 1;
                transform: translateY(-10px) scale(1);
            }
            70% { 
                opacity: 0.7;
                transform: translateY(-30px) scale(1.2);
            }
            100% { 
                opacity: 0;
                transform: translateY(-50px) scale(0.5);
            }
        }

        .timeline-sun {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 120px;
            height: 120px;
            background: radial-gradient(circle, #ffd700, #ffa500);
            border-radius: 50%;
            box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
            z-index: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: orbit-sun 20s linear infinite, sunPulse 4s infinite alternate;
        }

        .sun-rays {
            position: absolute;
            width: 160px;
            height: 160px;
            background: radial-gradient(circle, rgba(255, 215, 0, 0.4), transparent 70%);
            border-radius: 50%;
            animation: rotate-rays 25s linear infinite;
        }

        .sun-core {
            color: white;
            font-weight: bold;
            font-size: 1.6rem;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

        @keyframes orbit-sun {
            0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
            100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
        }

        @keyframes sunPulse {
            0% { transform: scale(1); }
            100% { transform: scale(1.1); }
        }

        @keyframes rotate-rays {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Modal Styles */
        .timeline-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: linear-gradient(135deg, #ffffff, #f8f9fa);
            padding: 40px;
            border-radius: 20px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: modal-pop 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 25px;
            font-size: 2rem;
            color: #2d5a27;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(45, 90, 39, 0.1);
        }

        .modal-close:hover {
            color: #4a7c59;
            background: rgba(45, 90, 39, 0.2);
            transform: rotate(90deg);
        }

        .modal-title {
            font-family: 'Playfair Display', serif;
            color: #2d5a27;
            font-size: 2.2rem;
            margin-bottom: 25px;
            text-align: center;
        }

        .modal-text {
            color: #555;
            font-size: 1.1rem;
            line-height: 1.7;
            text-align: justify;
        }

        @keyframes modal-pop {
            0% {
                transform: scale(0.8) rotate(-5deg);
                opacity: 0;
            }
            100% {
                transform: scale(1) rotate(0deg);
                opacity: 1;
            }
        }

        .tree-legend {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            margin-top:100px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1rem;
            color: #2c3e50;
            font-weight: 500;
        }

        .legend-icon {
            display: inline-block;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .legend-icon.seed { background: linear-gradient(135deg, #8b4513, #a0522d); }
        .legend-icon.sapling { background: linear-gradient(135deg, #2d5a27, #4a7c59); }
        .legend-icon.tree { background: linear-gradient(135deg, #228b22, #32cd32); }
        .legend-icon.fruit { background: linear-gradient(135deg, #ffd700, #ffed4e); }

        /* Responsive Design */
        @media (max-width: 992px) {
            .educational-tree {
                transform: translateX(-50%) scale(0.85);
            }
            .leaf-cluster {
                width: 300px;
            }
            .timeline-sun {
                width: 100px;
                height: 100px;
            }
            h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .educational-tree {
                transform: translateX(-50%) scale(0.7);
                bottom: 30px;
            }
            .tree-trunk {
                width: 50px;
            }
            .leaf-cluster {
                width: 250px;
            }
            .timeline-card h3 {
                font-size: 1.2rem;
            }
            .timeline-card p {
                font-size: 0.95rem;
            }
            .tree-legend {
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }
            .modal-content {
                width: 95%;
                padding: 30px;
            }
            h1 {
                font-size: 2rem;
            }
            .lead {
                font-size: 1.1rem;
            }
        }

 /*********************************************
 *     Our Teachers *
 *********************************************/
 .bg-light-gradient {
        background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    }

    .teacher-card {
        transition: all 0.3s ease;
        border-radius: 0.75rem !important;
        background: #fff;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .teacher-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    }

    .teacher-img-wrapper {
        position: relative;
        overflow: hidden;
    }

    .teacher-img-wrapper img {
        transition: all 0.3s ease;
        object-fit: cover;
    }

  

    .teacher-card:hover .teacher-overlay {
        opacity: 1;
    }

    .teacher-card:hover .teacher-img-wrapper img {
        transform: scale(1.05);
    }

   
    .object-cover {
        object-fit: cover;
    }

    /* Responsive adjustments */
    @media (max-width: 767.98px) {
        .teacher-img-wrapper {
            height: 180px !important;
        }

        .teacher-badge {
            font-size: 0.6rem;
            padding: 0.25rem 0.6rem;
        }

        .card-body {
            padding: 1rem !important;
        }

        .teacher-card {
            max-width: 100%;
        }
    }

    @media (min-width: 768px) {
        .teacher-img-wrapper {
            height: 200px !important;
        }
    }

    
 /*********************************************
 *  Infrastructure *
 *********************************************/
 .facilities-gallery {
            background-color: var(--bg-light);
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
        }

        .card {
            transition: var(--transition);
            cursor: pointer;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            border: 2px solid transparent;
        }

        .card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent-orange);
        }

        .card img {
            transition: transform 0.6s ease;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .card:hover img {
            transform: scale(1.05);
        }

        .card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
            color: white;
            opacity: 0.9;
            transition: opacity 0.3s ease;
        }

        .card:hover .card-overlay {
            opacity: 1;
        }

        #more-img {
            transition: max-height 1s ease, opacity 0.6s ease;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            border-radius: 12px;
        }

        #more-img.show {
            max-height: 6000px;
            opacity: 1;
        }

        .view-more-trigger {
            transition: var(--transition);
            background: linear-gradient(135deg, var(--accent-orange), #f6ad55);
            color: white !important;
            border: none !important;
            border-radius: 12px;
            padding: 1.5rem;
        }

        .view-more-trigger:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            background: linear-gradient(135deg, #f6ad55, var(--accent-orange));
        }

        .view-more-trigger i {
            transition: transform 0.4s ease;
        }

        .view-more-trigger.show i {
            transform: rotate(180deg);
        }

        .card:focus {
            outline: 3px solid var(--accent-orange);
            outline-offset: 4px;
        }

        .section-header h1 {
            font-family: 'Playfair Display', serif;
            color: var(--accent-color);
            position: relative;
            padding-bottom: 1rem;
        }


        .badge {
            font-size: 0.9rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        @media (max-width: 768px) {
            .facilities-gallery {
                padding: 3rem 0;
            }

            .card-overlay {
                padding: 1rem;
            }

            .section-header h1 {
                font-size: 2.5rem;
            }
        }

        /* Customize GLightbox caption description */
        .gslide-description .gdesc-inner p {
            font-family: 'Poppins', sans-serif !important;
            font-weight: 400;
            font-size: 1rem;
            color: #e0e0e0;
            margin-top: 0.5rem;
        }

        @media (max-width: 768px) {
            .facilities-gallery {
                padding: 3rem 0;
            }

            .card-overlay {
                padding: 1rem;
            }

            .section-header h1 {
                font-size: 2.5rem;
            }

            .gslide-description .gdesc-inner p {
                font-size: 0.9rem;
            }
        }


 /*********************************************
 *  Our Curriculum *
 *********************************************/








 /*********************************************
 *  School Rules and Regulations *
 *********************************************/
  .notebook {
            max-width: 900px;
            margin: 40px auto;
            padding: 50px 40px;
            background: #fffef7;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: relative;
            border-left: 2px solid #d0d0d0;
            border-right: 2px solid #d0d0d0;
            background-image:
                linear-gradient(to bottom, #fffef7 29px, #e0f7fa 1px),
                linear-gradient(to right, #fffef7 30px, #f7f7f7 30px, #fffef7 30px);
            background-size: 100% 30px, 100% 100%;
            background-position: 0 30px, 0 0;
            background-attachment: local;
            border-radius: 8px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            overflow: hidden;
        }

        /* Background Icons */
        .notebook::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image:
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ff5252' fill-opacity='0.05' d='M50 30c11 0 20-9 20-20s-9-20-20-20-20 9-20 20 9 20 20 20zm0 10c-11 0-20 9-20 20s9 20 20 20 20-9 20-20-9-20-20-20z'/%3E%3C/svg%3E"),
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='%2364b5f6' fill-opacity='0.05' d='M60 10c27.6 0 50 22.4 50 50s-22.4 50-50 50S10 87.6 10 60 32.4 10 60 10zm0 10c-22.1 0-40 17.9-40 40s17.9 40 40 40 40-17.9 40-40-17.9-40-40-40z'/%3E%3C/svg%3E");
            background-position: 20% 80%, 80% 20%;
            background-repeat: no-repeat;
            background-size: 150px, 200px;
            pointer-events: none;
            z-index: 0;
        }

        .notebook>* {
            position: relative;
            z-index: 1;
        }

        .notebook:before {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            width: 2px;
            background: linear-gradient(to bottom, #ff5252, #ff8a80);
            z-index: 1;
        }

        .notebook .title-decoration {
            content: "School Rules";
            position: absolute;
            top: 10px;
            left: -15px;
            background: #ff5252;
            color: white;
            padding: 8px 15px;
            font-family: 'Gochi Hand', cursive;
            font-size: 1.2rem;
            transform: rotate(-5deg);
            box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            z-index: 2;
        }

        .notebook h1 {
            font-family: 'Gochi Hand', cursive;
            font-size: 2.5rem;
            color: #2d3436;
            text-align: center;
            margin-bottom: 2rem;
            width: 100%;
            position: relative;
            padding-bottom: 0.8rem;
        }

        .notebook h1:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 25%;
            width: 50%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #ff5252, transparent);
        }

        .column {
            width: 48%;
            padding: 0 10px;
        }

        .notebook h2 {
            font-family: 'Gochi Hand', cursive;
            font-size: 1.4rem;
            color: #2d3436;
            margin: 1.8rem 0 1.2rem 0;
            position: relative;
            display: inline-block;
            padding-left: 40px;
        }

        .notebook h2:before {
            content: "";
            position: absolute;
            bottom: -4px;
            left: 40px;
            width: calc(100% - 40px);
            height: 3px;
            background: #64b5f6;
        }

        .notebook h2 i {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.8rem;
            color: #ff5252;
            animation: float 3s ease-in-out infinite;
        }

        .notebook ul {
            list-style: none;
            padding-left: 0;
            margin-left: 10px;
        }

        .notebook ul li {
            position: relative;
            padding-left: 2.2rem;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            line-height: 1.4;
            transition: all 0.3s ease;
        }

        .notebook ul li:hover {
            transform: translateX(5px);
        }

        .notebook ul li:before {
            content: "✦";
            position: absolute;
            left: 0;
            color: #ff5252;
            font-size: 1.5rem;
            line-height: 1;
            transition: all 0.3s ease;
        }

        .notebook ul li:hover:before {
            content: "✓";
            color: #4CAF50;
            transform: scale(1.3);
            animation: bounce 0.5s;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: scale(1.3);
            }

            50% {
                transform: scale(1.5);
            }
        }

        .notebook .note-box {
            background: rgba(255, 245, 157, 0.3);
            padding: 1.2rem;
            margin: 1.8rem 0;
            border-left: 4px solid #ffd54f;
            font-size: 0.9rem;
            border-radius: 0 6px 6px 0;
            position: relative;
            overflow: hidden;
        }

        .notebook .note-box:before {
            content: "\f24a";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            right: 15px;
            top: 15px;
            font-size: 3rem;
            opacity: 0.1;
            color: #ffd54f;
        }

        .notebook .warning {
            background: rgba(255, 82, 82, 0.1);
            padding: 1rem;
            border-left: 4px solid #ff5252;
            margin: 1.8rem 0;
            font-size: 1rem;
            font-family: 'Gochi Hand', cursive;
            text-align: center;
            width: 100%;
            position: relative;
            animation: pulse 2s infinite;
        }

        .notebook .warning:before {
            content: "\f071";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-right: 10px;
        }

        .notebook .ender {
            text-align: center;
            margin-top: 2.5rem;
            color: #636e72;
            font-size: 0.9rem;
            border-top: 1px dashed #b2bec3;
            padding-top: 1.5rem;
            font-family: 'Gochi Hand', cursive;
            width: 100%;
        }

        /* Corner decorations */
        .corner-decoration {
            position: absolute;
            width: 50px;
            height: 50px;
            opacity: 0.1;
            z-index: 0;
        }

        .corner-tl {
            top: 0;
            left: 0;
            border-top: 2px solid #ff5252;
            border-left: 2px solid #ff5252;
        }

        .corner-tr {
            top: 0;
            right: 0;
            border-top: 2px solid #64b5f6;
            border-right: 2px solid #64b5f6;
        }

        .corner-bl {
            bottom: 0;
            left: 0;
            border-bottom: 2px solid #ffd54f;
            border-left: 2px solid #ffd54f;
        }

        .corner-br {
            bottom: 0;
            right: 0;
            border-bottom: 2px solid #81c784;
            border-right: 2px solid #81c784;
        }

        /* Animations */
        @keyframes float {
            0% {
                transform: translateY(-50%) translateY(0px);
            }

            50% {
                transform: translateY(-50%) translateY(-5px);
            }

            100% {
                transform: translateY(-50%) translateY(0px);
            }
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
            }
        }

        @keyframes shake {
            0% {
                transform: rotate(0deg);
            }

            25% {
                transform: rotate(5deg);
            }

            50% {
                transform: rotate(-5deg);
            }

            75% {
                transform: rotate(5deg);
            }

            100% {
                transform: rotate(0deg);
            }
        }

        .shake-animation {
            display: inline-block;
            animation: shake 0.5s;
        }

        @media (max-width: 768px) {
            .notebook {
                padding: 40px 20px;
                flex-direction: column;
            }

            .column {
                width: 100%;
            }

            .notebook:before {
                display: none;
            }

            .notebook h1 {
                font-size: 2rem;
            }

            .notebook h2 {
                font-size: 1.2rem;
                padding-left: 35px;
            }

            .notebook h2 i {
                font-size: 1.5rem;
            }

            .notebook ul li {
                font-size: 0.85rem;
                padding-left: 1.8rem;
            }

            .notebook::after {
                background-size: 100px, 150px;
                background-position: 10% 90%, 90% 10%;
            }
        }




        
 /*********************************************
 *    Careers Styling  *
 *********************************************/


   /* Buttons */
        .btn-accent {
            background-color: var(--accent-orange);
            color: white;
            border: none;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: var(--transition);
            border-radius: 30px;
            padding: 12px 30px;
        }

        .btn-accent:hover {
            background-color: var(--accent-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .btn-outline-accent {
            border: 2px solid var(--accent-color);
            color: var(--accent-color);
            background: transparent;
            font-weight: 600;
            transition: var(--transition);
            border-radius: 30px;
            padding: 10px 28px;
        }

        .btn-outline-accent:hover {
            background-color: var(--accent-color);
            color: white;
        }

      

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            color: var(--accent-color);
            position: relative;
            margin-bottom: 3rem;
            text-align: center;
        }


        /* Stats */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin: 60px 0;
        }

        .stat-item {
            text-align: center;
            padding: 40px 20px;
            background: white;
            border-radius: 10px;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            border-bottom: 4px solid var(--secondary-color);
        }

        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .stat-item .count {
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent-color);
            margin-bottom: 5px;
            font-family: 'Merriweather', serif;
        }

        .stat-item span {
            font-size: 1.1rem;
            color: var(--primary-color);
            font-weight: 500;
        }

        /* Testimonials */
        .testimonial-section {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
            background-color: var(--bg-light-warning)
        }

        .testimonial-section .section-title {
            color: var(--accent-color);
        }

        .testimonial-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 40px;
            box-shadow: var(--shadow-sm);
            margin: 15px;
            transition: var(--transition);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            height: calc(100% - 30px);
        }

        .testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-md);
            background: rgba(255, 255, 255, 0.15);
        }

        .testimonial-card img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 25px;
            border: 3px solid var(--gold-accent);
            box-shadow: var(--shadow-sm);
        }

        .testimonial-card p {
            font-style: italic;
            color: var(--dark);
            margin-bottom: 25px;
            line-height: 1.8;
            position: relative;
        }

        .testimonial-card p:before,
        .testimonial-card p:after {
            content: '"';
            font-size: 2rem;
            color: var(--gold-accent);
            opacity: 0.5;
            font-family: serif;
        }

        .testimonial-card p:before {
            position: absolute;
            top: -15px;
            left: -15px;
        }

        .testimonial-card p:after {
            position: absolute;
            bottom: -30px;
            right: -10px;
        }

        .testimonial-card h5 {
            font-family: 'Merriweather', serif;
            color: var(--dark);
            margin-bottom: 5px;
        }

        .testimonial-card span {
            color: var(--gold-accent);
            font-weight: 500;
            font-size: 0.9rem;
        }

        /* Application Form */
        .form-section {
            padding: 100px 0;
            background-color: white;
            background-image: url('/assets/img/images/home/concrete-wall.png');
        }

        .form-card {
            background: white;
            border-radius: 15px;
            padding: 50px;
            box-shadow: var(--shadow-md);
            height: 100%;
        }

        .form-image {
            height: 100%;
            min-height: 500px;
            background-size: cover;
            background-position: center;
            border-radius: 15px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

    .form-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.2) 100%
    );
}

        .form-image-content {
            position: relative;
            z-index: 2;
            color: white;
            padding: 50px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .form-image-content h3 {
            font-family: 'Merriweather', serif;
            margin-bottom: 25px;
            font-size: 2rem;
            position: relative;
            padding-bottom: 15px;
        }

        .form-image-content h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--gold-accent);
        }

        .form-image-content p {
            margin-bottom: 15px;
            line-height: 1.8;
            opacity: 0.9;
        }

        .form-group {
            margin-bottom: 30px;
            position: relative;
        }

        .form-control {
            height: 55px;
            border-radius: 8px;
            border: 2px solid #e9ecef;
            padding: 10px 20px;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        label {
            position: absolute;
            top: -12px;
            left: 20px;
            background: white;
            padding: 0 10px;
            font-size: 0.9rem;
            color: var(--primary-color);
            font-weight: 600;
            z-index: 1;
        }

        select.form-control {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e63946' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 16px 12px;
        }

        /* Floating Elements */
        .floating-shape {
            position: absolute;
            opacity: 0.1;
            z-index: 0;
        }

        .shape-1 {
            top: 10%;
            left: 5%;
            width: 100px;
            height: 100px;
            background: var(--gold-accent);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            animation: float 8s ease-in-out infinite;
        }

        .shape-2 {
            bottom: 15%;
            right: 8%;
            width: 150px;
            height: 150px;
            background: var(--accent-color);
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            animation: float 10s ease-in-out infinite;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(5deg);
            }

            100% {
                transform: translateY(0) rotate(0deg);
            }
        }

        /* Responsive Adjustments */
        @media (max-width: 1200px) {
            .form-image-content {
                padding: 40px;
            }
        }

        @media (max-width: 992px) {
           

            .intro-card-img {
                height: 220px;
            }

            .form-image {
                min-height: 400px;
                margin-bottom: 40px;
            }

            .form-card {
                padding: 40px 30px;
            }

            .testimonial-card {
                padding: 30px;
            }
        }

        @media (max-width: 768px) {
            .careers-hero {
                min-height: 70vh;
            }

            .careers-hero h1 {
                font-size: 2.5rem;
            }

            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }

            .form-card {
                padding: 30px 20px;
            }

            .form-image-content {
                padding: 30px;
            }

            .cta-section h2 {
                font-size: 2rem;
            }

            .cta-section p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 576px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .intro-card-img {
                height: 200px;
            }

            .form-image-content h3 {
                font-size: 1.5rem;
            }

            .cta-section {
                padding: 80px 0;
            }
        }




        
 /*********************************************
 *                Calender Styling         *
 *********************************************/

  .calendar-container {
            display: flex;
            max-width: 1440px;
            margin: 1rem auto;
            gap: 1rem;
            padding: 0.5rem;
        }

        /* Sidebar Styles */
        .calendar-sidebar {
            width: 280px;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            background: var(--white);
            padding: 1rem;
            border-radius: 10px;
            box-shadow: var(--shadow-md);
        }

        .current-date-card {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            border-radius: 8px;
            color: var(--gold-accent);
        }

        .date-number {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
        }

        .date-info {
            display: flex;
            flex-direction: column;
        }

        .date-month {
            font-size: 1.1rem;
            font-weight: 500;
        }

        .date-day {
            font-size: 0.9rem;
            font-weight: 400;
            opacity: 0.9;
        }

        .events-card {
            padding: 0.75rem;
            border-radius: 8px;
            background: var(--primary-light);
        }

        .events-card h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .events-card h3 .icon {
            font-size: 1.1rem;
        }

        .events-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .event-card {
            background: var(--white);
            border-radius: 6px;
            padding: 0.5rem;
            border-left: 3px solid var(--accent-color);
            cursor: pointer;
            transition: var(--transition);
        }

        .event-card:hover {
            background: var(--bg-light-warning);
            box-shadow: var(--shadow-sm);
        }

        .event-card .event-time {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .event-card .event-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary-dark);
        }

        .event-card .event-location {
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .no-events {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-align: center;
            padding: 0.5rem;
        }

        /* Main Calendar Styles */
        .calendar-main {
            flex: 1;
            background: var(--white);
            border-radius: 10px;
            padding: 1rem;
            box-shadow: var(--shadow-md);
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .month-navigation {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .month-navigation h1 {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary-dark);
        }

        .nav-btn {
            background: var(--primary-light);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }

        .today-btn {
            background: var(--gold-accent);
            color: var(--dark);
            border: none;
            border-radius: 6px;
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }

        .today-btn:hover {
            background: var(--accent-orange);
            transform: translateY(-2px);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .day-header {
            text-align: center;
            padding: 0.5rem 0;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-muted);
            background: var(--bg-additional);
            border-radius: 6px;
        }

        .day {
            min-height: 80px;
            background: var(--bg-light);
            border-radius: 6px;
            padding: 0.5rem;
            transition: var(--transition);
        }

        .day:hover {
            background: var(--bg-light-warning);
            box-shadow: var(--shadow-sm);
        }

        .day.today {
            position: relative;
        }

        .day.today .date-number {
            background: var(--accent-red);
            color: var(--white);
        }

        .day.other-month {
            background: var(--bg-additional);
            opacity: 0.6;
        }

        .date-number {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            background: var(--white);
        }

        .day-events {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .day-event {
            font-size: 0.7rem;
            padding: 0.2rem 0.4rem;
            border-radius: 4px;
            color: var(--white);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            cursor: pointer;
            transition: var(--transition);
        }

        .day-event:hover {
            opacity: 0.9;
        }

        /* School-specific event types */
        .day-event.exam {
            background: var(--accent-red);
        }

        .day-event.class {
            background: var(--primary-color);
        }

        .day-event.assignment {
            background: var(--accent-orange);
        }

        .day-event.holiday {
            background: var(--accent-green);
        }

        .day-event.event {
            background: var(--accent-purple);
        }

        .day-event.meeting {
            background: var(--secondary-blue);
        }

        .more-events {
            font-size: 0.7rem;
            color: var(--secondary-blue);
            margin-top: 0.25rem;
            cursor: pointer;
            font-weight: 500;
        }

        .more-events:hover {
            text-decoration: underline;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            background: var(--white);
            border-radius: 12px;
            width: 90%;
            max-width: 680px;
            max-height: 90vh;
            overflow-y: auto;
            transform: translateY(20px);
            transition: all 0.3s ease;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0);
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .modal-close:hover {
            background: var(--accent-red);
            color: var(--white);
            transform: rotate(90deg);
        }

        .modal-header {
            padding: 30px 40px 20px;
            text-align: center;
            border-radius: 12px 12px 0 0;
            position: relative;
            overflow: hidden;
            color: white;
        }

        /* Gradient backgrounds based on school event type */
        .modal-header.exam {
            background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
        }

        .modal-header.class {
            background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
        }

        .modal-header.assignment {
            background: linear-gradient(135deg, #FF7E5F 0%, #FEB47B 100%);
        }

        .modal-header.holiday {
            background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
        }

        .modal-header.event {
            background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
        }

        .modal-header.meeting {
            background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
        }

        .modal-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.1);
            z-index: 0;
        }

        .modal-header>* {
            position: relative;
            z-index: 1;
        }

        .modal-category {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 15px;
            backdrop-filter: blur(5px);
        }

        .modal-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
            /* color: white; */
        }

        .modal-meta {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .modal-body {
            padding: 30px 40px;
        }

        .modal-image-container {
            margin: -20px -40px 20px -40px;
            overflow: hidden;
            max-height: 250px;
        }

        .modal-image {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .modal-description {
            color: var(--text-muted);
            margin-bottom: 20px;
            line-height: 1.7;
            font-size: 1rem;
        }

        .modal-details {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .detail-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .detail-item svg {
            flex-shrink: 0;
            margin-top: 2px;
        }

        .detail-item h4 {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 4px;
            font-weight: 600;
        }

        .detail-item p {
            font-size: 0.95rem;
            color: var(--primary-dark);
            margin: 0;
        }

        /* Responsive styles */
        @media (max-width: 768px) {
            .calendar-container {
                flex-direction: column;
                gap: 0.5rem;
                padding: 0.25rem;
            }

            .calendar-sidebar {
                width: 100%;
                padding: 0.75rem;
                order: 2;
                margin-top: 1rem;
            }

            .calendar-main {
                padding: 0.5rem;
                order: 1;
            }

            .calendar-header {
                flex-wrap: wrap;
                gap: 0.5rem;
                justify-content: center;
            }

            .month-navigation {
                order: 2;
                width: 100%;
                justify-content: center;
                margin: 0.5rem 0;
            }

            .month-navigation h1 {
                font-size: 1.2rem;
                margin: 0 0.5rem;
            }

            .today-btn {
                order: 3;
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }

            .nav-btn {
                width: 32px;
                height: 32px;
            }

            .mobile-only {
                display: flex !important;
            }

            .desktop-only {
                display: none !important;
            }

            .calendar-grid {
                gap: 2px;
            }

            .day-header {
                font-size: 0.7rem;
                padding: 0.3rem 0;
            }

            .day {
                min-height: 50px;
                padding: 0.25rem;
            }

            .date-number {
                width: 22px;
                height: 22px;
                font-size: 0.75rem;
                margin-bottom: 0.25rem;
            }

            .day-event {
                font-size: 0.6rem;
                padding: 0.1rem 0.2rem;
                margin-bottom: 0.1rem;
            }

            .more-events {
                font-size: 0.6rem;
            }

            /* Sidebar adjustments */
            .current-date-card {
                flex-direction: row;
                justify-content: center;
                padding: 0.5rem;
            }

            .date-number {
                font-size: 1.5rem;
                margin-right: 0.5rem;
            }

            .date-month {
                font-size: 1rem;
            }

            .date-day {
                font-size: 0.8rem;
            }

            .events-card h3 {
                font-size: 0.9rem;
            }

            .event-card .event-title {
                font-size: 0.8rem;
            }

            .event-card .event-time,
            .event-card .event-location {
                font-size: 0.7rem;
            }

            /* Modal adjustments for mobile */
            .modal-container {
                width: 95%;
                max-height: 85vh;
            }

            .modal-header {
                padding: 20px 15px 10px;
            }

            .modal-title {
                font-size: 1.3rem;
            }

            .modal-category {
                font-size: 0.7rem;
                padding: 0.25rem 0.75rem;
            }

            .modal-body {
                padding: 15px;
            }

            .modal-details {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .detail-item {
                gap: 8px;
            }

            .detail-item svg {
                width: 16px;
                height: 16px;
            }
        }

        @media (min-width: 769px) {
            .mobile-only {
                display: none !important;
            }

            .desktop-only {
                display: flex !important;
            }
        }

        /* Very small devices (phones, 480px and down) */
        @media (max-width: 480px) {
            .day {
                min-height: 40px;
            }

            .date-number {
                width: 18px;
                height: 18px;
                font-size: 0.65rem;
            }

            .day-event {
                display: none;
            }

            .more-events {
                display: none;
            }

            .day.today .date-number {
                width: 20px;
                height: 20px;
                line-height: 20px;
            }

            .month-navigation h1 {
                font-size: 1rem;
            }

            .today-btn {
                font-size: 0.7rem;
                padding: 0.3rem 0.6rem;
            }
        }

        /* Add this to your media queries */
        @media (max-width: 480px) {
            .day {
                min-height: 60px;
                /* Increased from 40px */
                padding: 0.25rem;
            }

            .day-event {
                display: block !important;
                /* Force show events */
                font-size: 0.60rem !important;
                padding: 0.1rem 0.2rem !important;
                margin-bottom: 0.1rem !important;
                white-space: normal !important;
                /* Allow text wrapping */
                line-height: 1.2;
            }

            .date-number {
                width: 18px;
                height: 18px;
                font-size: 0.65rem;
                margin-bottom: 0.1rem;
                /* Reduced space */
            }

            .more-events {
                display: none;
                /* Still hide "more" on smallest screens */
            }
        }

        /* Better touch targets for mobile */
        @media (max-width: 768px) {
            .event-card {
                padding: 0.6rem !important;
            }

            .nav-btn,
            .today-btn {
                min-width: 44px !important;
                /* Better touch target */
                min-height: 44px !important;
            }

            .modal-close {
                width: 44px !important;
                height: 44px !important;
            }
        }

        /* Prevent zooming on input for iOS */
        @media (max-width: 480px) {

            select,
            textarea,
            input {
                font-size: 16px !important;
            }
        }

        @media (max-width: 768px) {
            .modal-container {
                width: 95% !important;
                max-height: 85vh !important;
                margin: 1rem auto !important;
            }

            .modal-header {
                padding: 15px 10px 10px !important;
            }

            .modal-title {
                font-size: 1.2rem !important;
                margin-bottom: 5px !important;
            }

            .modal-category {
                font-size: 0.7rem !important;
                padding: 0.25rem 0.75rem !important;
                margin-bottom: 8px !important;
            }

            .modal-body {
                padding: 15px !important;
            }

            .modal-description {
                font-size: 0.85rem !important;
                line-height: 1.5 !important;
            }

            .detail-item h4 {
                font-size: 0.75rem !important;
            }

            .detail-item p {
                font-size: 0.8rem !important;
            }

            .modal-image-container {
                margin: -15px -15px 15px -15px !important;
                max-height: 150px !important;
            }
        }