 

        h1 {
            color: #006837;
        }

        /* --- Notice Board Popup Styles --- */

        /* The main overlay that covers the page */
        #admissions-popup-overlay {
            display: none; /* Hidden by default, shown with JS */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.75);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
            padding: 20px;
        }

        /* The notice board container itself */
        #admissions-popup {
            position: relative;
            background-image:url('../../assets/slides/corkboard.jpg'); /* Corkboard texture */
             background-size: cover;
            background-position: center;
            background-color: #c5a98b;
            padding: 25px;
            border-radius: 10px;
            width: 100%;
            max-width: 800px; /* Wider for two panels */
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 0 10px #3a2e24; /* Frame effect */
            border: 2px solid #5a4a3a;
            display: flex;
            gap: 25px; /* Space between the two panels */
            animation: fadeInScale 0.5s ease-out forwards;
        }

        /* Animation for the popup appearing */
        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* The close button (X) */
        #close-popup-btn {
            position: absolute;
            top: -15px;
            right: -15px;
            width: 40px;
            height: 40px;
            background: #e74c3c;
            color: #ffffff;
            font-size: 24px;
            font-weight: bold;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.3s ease, background-color 0.3s ease;
            z-index: 3;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid white;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }

        #close-popup-btn:hover {
            background-color: #c0392b;
            transform: rotate(180deg) scale(1.1);
        }

        /* --- Left Panel: Admissions Announcement --- */
        .popup-panel.left {
            flex: 1.2; /* Takes up slightly more space */
            background-image: url('../../assets/slides/1.jpg');
            background-size: cover;
            background-position: center;
            padding: 30px;
            border-radius: 6px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2) inset;
        }

        /* Darkening overlay for the left panel's background image */
        .popup-panel.left::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 30, 60, 0.7);
            z-index: 1;
        }

        /* All content in the left panel must be on top of the overlay */
        .popup-panel.left > * {
            position: relative;
            z-index: 2;
        }

        .popup-panel.left h2 {
            font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive font size */
            font-weight: 700;
            color: #ffffff;
            margin: 0 0 15px 0;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
        }

        .popup-panel.left p {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            line-height: 1.6;
            margin-bottom: 25px;
            color: #f0f0f0;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        }

        /* "Apply Now" button using the university's green color */
        .popup-apply-btn {
            display: inline-block;
            padding: 14px 35px;
            background-color: #006837; /* University Green */
            color: #fff;
            text-decoration: none;
            font-size: 1.1em;
            font-weight: 600;
            border-radius: 5px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }

        .popup-apply-btn:hover {
            background-color: #004a27; /* Darker green on hover */
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        /* --- Right Panel: Other Notices --- */
      .popup-panel.right {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            align-content: center;
        }

          .notice-note {
            padding: 20px 15px;
            border-radius: 4px;
            box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
            text-decoration: none;
            color: #333;
            font-weight: 600;
            font-size: 0.9em;
            text-align: center;
            position: relative;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .notice-note:hover {
            transform: scale(1.08) rotate(0deg) !important; /* Straighten on hover */
            box-shadow: 8px 8px 15px rgba(0,0,0,0.3);
            z-index: 5;
        }

        /* "Pin" effect for each note */
        .notice-note::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 16px;
            height: 16px;
            background: #e74c3c;
            border-radius: 50%;
            box-shadow: 0 0 0 3px white, 0 2px 5px rgba(0,0,0,0.4);
        }
        
        /* NEW RULE: If a note is the only one, make it span the full width */
        .notice-note:only-child {
            grid-column: 1 / -1; /* This makes the item span from the first to the last column line */
            transform: rotate(0deg); /* Keep it straight if it's the only one */
        }


        /* Different colors and rotations for the notes */
        .notice-note:nth-child(1) { background-color: #fffbe6; transform: rotate(-3deg); }
        .notice-note:nth-child(2) { background-color: #e6f7ff; transform: rotate(2deg); }
        .notice-note:nth-child(3) { background-color: #e6ffed; transform: rotate(4deg); }
        .notice-note:nth-child(4) { background-color: #f9e6ff; transform: rotate(-2deg); }
        
        /* Responsive design for smaller screens */
        @media (max-width: 768px) {
            #admissions-popup {
                flex-direction: column;
                max-width: 400px;
            }
            .popup-panel.right {
                grid-template-columns: 1fr 1fr; /* Keep two columns but they will be smaller */
            }
        }