        body {
            font-family: "Segoe UI", Arial, Helvetica, sans-serif;
            margin: 0;
            padding: 0;
        }
        
        header {
            position: sticky;
            top: 0;
            /* 👈 This is required */
            z-index: 1000;
            /* 👈 Make sure it stays above content */
            background-color: #f8f9fa;
            padding: 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-bottom: 0;
        }
        
        .topbar {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }
        
        .school-name {
            font-size: 24px;
            font-weight: bold;
            color: purple;
        }
        
        .main-nav {
            display: flex;
            justify-content: center;
            gap: 300px;
            background-color: purple;
            padding: 2px 0;
        }
        
        .nav-links {
            list-style: none;
            display: flex;
            justify-content: center;
            font-size: 16px;
            gap: 2rem;
        }
        
        .nav-links {
            list-style: none;
            display: flex;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }
        
        .nav-links li {
            position: relative;
        }
        
        .nav-links a {
            text-decoration: none;
            color: white;
            padding: 14px 0;
            display: block;
        }
        /* navlinks2 */
        
        .nav-links2 {
            list-style: none;
            display: flex;
            justify-content: center;
            font-size: 16px;
            gap: 2rem;
        }
        
        .nav-links2 {
            list-style: none;
            display: flex;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }
        
        .nav-links2 li {
            position: relative;
        }
        
        .nav-links2 a {
            text-decoration: none;
            color: white;
            padding: 14px 0;
            display: block;
        }
        
        .nav-links2 form button {
            font-size: 16px;
            text-decoration: none;
            color: white;
            padding: 14px 15px;
            display: block;
        }
        
        .submenu {
            list-style: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 0.5rem 0;
            display: none;
            min-width: 200px;
            z-index: 100;
        }
        
        .submenu li a {
            color: #333;
            padding: 0.75rem 1rem;
            display: block;
            transition: background 0.2s ease;
        }
        
        .submenu li a:hover {
            background: #f2f2f2;
        }
        
        .has-submenu:hover .submenu {
            display: block;
            animation: fadeIn 0.25s ease-in-out;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(5px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        footer {
            background-color: purple;
            color: white;
            padding: 2rem 1rem;
            text-align: center;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .footer-details {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            /* ensures responsiveness */
            gap: 2rem;
        }
        /* Left side: Logo + contact */
        
        .contact {
            flex: 1 1 250px;
            /* flexible width */
            min-width: 250px;
            text-align: left;
        }
        
        .banner {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 1rem;
        }
        
        .banner img {
            border-radius: 50%;
            height: 45px;
            width: 45px;
        }
        /* Contact text */
        
        .contact p,
        .contact a {
            color: white;
            font-size: 16px;
            margin: 4px 0;
        }
        
        .contact a {
            text-decoration: underline;
        }
        /* Social icons */
        
        .social {
            margin-top: 1rem;
        }
        
        .social .facebook {
            font-size: 24px;
            margin: 0 10px;
            color: #6a0dad;
            /* purple */
            transition: color 0.2s ease;
        }
        
        .social .youtube {
            font-size: 24px;
            margin: 0 10px;
            color: #ff0000;
            /* red */
            transition: color 0.2s ease;
        }
        
        .social .facebook:hover {
            color: #ff0000;
            /* red on hover */
        }
        
        .social .youtube:hover {
            color: blue;
            /* blue on hover */
        }
        
        .social a img {
            width: 30px;
            height: 30px;
            margin-right: 10px;
        }
        /* Right side: Links */
        
        .footer-links-container {
            flex: 2 1 400px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            /* always 3 columns */
            gap: 2rem;
            text-align: left;
        }
        
        .footer-links-container p {
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #f3f3f3;
        }
        
        .footer-links-container ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-links-container li {
            margin: 5px 0;
        }
        
        .footer-links-container a {
            color: #f3f3f3;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .footer-links-container a:hover {
            color: #ddd;
            text-decoration: underline;
        }
        /* Footer bottom */
        
        .footer-bottom {
            background-color: #8a0373;
            text-align: center;
            font-size: 14px;
            opacity: 0.9;
            padding: 20px 0;
        }
        /* Responsive design */
        
        @media (max-width: 768px) {
            .footer-details {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            .contact {
                text-align: center;
            }
            /* ✅ don’t collapse the grid */
            .footer-links-container {
                grid-template-columns: repeat(3, 1fr);
                text-align: center;
                /* optional for alignment */
            }
        }