* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }
        body {
            background: #f8fafc;
        }
        :root {
            --primary: #035abf;
            --yellow: #fedd19;
            --dark: #0a2540;
            --red: #d81f26;
            --red-dark: #b2141a;
            --light: #ffffff;
            --gray-bg: #f1f5f9;
        }
        /* top bar */
        .top-bar {
            background-color: var(--red);
            color: white;
            padding: 10px 5%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
        }
        .contact-info span {
            margin-right: 25px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .social-icons a {
            color: white;
            margin-left: 18px;
            font-size: 1.2rem;
            transition: all 0.2s;
        }
        .social-icons a:hover {
            color: var(--yellow);
            transform: translateY(-2px);
        }
        /* logo row */
        .logo-row {
            background: white;
            padding: 15px 5%;
            text-align: left;
        }
        .logo-row img {
            max-height: 85px;
            width: auto;
            max-width: 100%;
            height: auto;
        }
        /* menu */
        .menu-container {
            background-color: var(--yellow);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        }
        .menu-bar {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .menu-toggle {
            display: none;
            font-size: 1.8rem;
            color: var(--dark);
            cursor: pointer;
            padding: 12px 0;
        }
        .nav-menu {
            display: flex;
            flex-wrap: nowrap;
            list-style: none;
            overflow-x: auto;
            scrollbar-width: none;
        }
        .nav-menu::-webkit-scrollbar {
            display: none;
        }
        .nav-menu > li {
            position: relative;
            flex-shrink: 0;
        }
        .nav-menu > li > a {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 14px 8px;
            font-weight: 600;
            color: #1e2a3a;
            text-decoration: none;
            transition: 0.2s;
            font-size: 0.8rem;
            white-space: nowrap;
        }
        .nav-menu > li > a i:first-child {
            font-size: 0.85rem;
        }
        .nav-menu > li:hover > a {
            background-color: #e6c417;
            color: var(--primary);
        }
        /* dropdown - left aligned with icons */
        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 260px;
            box-shadow: 0 12px 24px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            transition: 0.25s;
            z-index: 999;
            border-radius: 0 0 12px 12px;
            border-top: 4px solid var(--primary);
            padding: 8px 0;
        }
        .nav-menu li:hover > .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .dropdown li {
            position: relative;
            list-style: none;
        }
        .dropdown li a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            color: #2d3748;
            text-decoration: none;
            border-bottom: 1px solid #edf2f7;
            transition: 0.15s;
            font-size: 0.9rem;
        }
        .dropdown li a i {
            width: 20px;
            color: var(--primary);
            font-size: 0.9rem;
        }
        .dropdown li a:hover {
            background: #eef2ff;
            color: var(--primary);
            padding-left: 26px;
        }
        .dropdown li:last-child a {
            border-bottom: none;
        }
        /* second level */
        .dropdown .dropdown {
            left: 100%;
            top: 0;
            border-top: none;
            border-left: 4px solid var(--yellow);
            border-radius: 0 12px 12px 0;
        }
        /* mobile menu override */
        @media (max-width: 900px) {
            .menu-toggle {
                display: block;
            }
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--yellow);
                flex-direction: column;
                padding: 10px 0;
                border-top: 2px solid var(--primary);
                max-height: 80vh;
                overflow-y: auto;
                z-index: 999;
            }
            .nav-menu.active {
                display: flex;
            }
            .nav-menu > li {
                width: 100%;
            }
            .nav-menu > li > a {
                justify-content: space-between;
                padding: 14px 20px;
                white-space: normal;
                font-size: 0.95rem;
            }
            .nav-menu li:hover > .dropdown {
                opacity: 1;
                visibility: visible;
                transform: none;
            }
            .dropdown {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                border: none;
                background: #fff8e7;
                display: none;
                padding: 0;
                margin-top: 0;
                transition: none;
            }
            .dropdown.open {
                display: block;
            }
            .dropdown .dropdown {
                border-left: none;
                padding-left: 20px;
                background: #fff2d7;
                display: none;
            }
            .dropdown .dropdown.open {
                display: block;
            }
        }

        /* banner slider */
        .banner-slider {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
        }
        .slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }
        .slide {
            min-width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .slide::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(90deg, rgba(3,90,191,0.4) 0%, rgba(0,0,0,0.2) 100%);
        }
        .slide-content {
            position: absolute;
            top: 50%;
            left: 10%;
            transform: translateY(-50%);
            color: white;
            z-index: 5;
            max-width: 600px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
        }
        .slide-content h2 {
            font-size: 3rem;
            margin-bottom: 10px;
        }
        .slide-content p {
            font-size: 1.2rem;
        }
        .slider-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
        }
        .slider-dot {
            width: 14px;
            height: 14px;
            background: rgba(255,255,255,0.6);
            border-radius: 50%;
            cursor: pointer;
            transition: 0.2s;
        }
        .slider-dot.active {
            background: var(--yellow);
            transform: scale(1.3);
        }
        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.3);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            cursor: pointer;
            z-index: 10;
            transition: 0.2s;
            backdrop-filter: blur(4px);
        }
        .slider-arrow:hover {
            background: var(--yellow);
            color: var(--dark);
        }
        .prev { left: 20px; }
        .next { right: 20px; }

        /* container */
        .container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 50px 20px;
        }

        /* welcome section */
        .welcome {
            display: flex;
            gap: 50px;
            align-items: center;
            background: white;
            border-radius: 30px;
            padding: 40px;
            box-shadow: 0 15px 30px rgba(3,90,191,0.08);
            margin-bottom: 40px;
        }
        .welcome-content {
            flex: 1.2;
        }
        .welcome-content h2 {
            color: var(--primary);
            font-size: 2.2rem;
            margin-bottom: 20px;
            border-left: 8px solid var(--yellow);
            padding-left: 20px;
        }
        .welcome-content p {
            color: #334155;
            line-height: 1.8;
            margin-bottom: 25px;
        }
        .mission-boxes {
            display: flex;
            gap: 20px;
            margin-top: 10px;
        }
        .mission-item {
            background: var(--gray-bg);
            padding: 15px 25px;
            border-radius: 50px;
            font-weight: 600;
            color: var(--primary);
            border-left: 5px solid var(--yellow);
            box-shadow: 0 5px 10px rgba(0,0,0,0.05);
            flex: 1;
            text-align: center;
            text-decoration: none;
            transition: 0.2s;
        }
        .mission-item:hover {
            background: #e2e8f0;
            transform: translateY(-2px);
        }
        .welcome-img {
            flex: 1;
            text-align: center;
        }
        .welcome-img img {
            max-width: 100%;
            border-radius: 20px;
            box-shadow: 0 20px 30px rgba(0,0,0,0.1);
        }

        /* row5 three colorful cards */
        .card-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin: 50px 0;
        }
        .color-card {
            background: white;
            border-radius: 24px;
            padding: 35px 25px;
            text-align: center;
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
            transition: all 0.3s;
            border-bottom: 6px solid transparent;
            position: relative;
            overflow: hidden;
        }
        .color-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.5s;
        }
        .color-card:hover::before {
            opacity: 1;
        }
        .color-card:nth-child(1) { border-color: #035abf; background: linear-gradient(145deg, #f0f7ff, white); }
        .color-card:nth-child(2) { border-color: #fedd19; background: linear-gradient(145deg, #fff9e0, white); }
        .color-card:nth-child(3) { border-color: #035abf; background: linear-gradient(145deg, #f0f7ff, white); }
        .color-card:hover { transform: translateY(-12px); box-shadow: 0 25px 40px rgba(3,90,191,0.2); }
        .color-card i { font-size: 3.2rem; color: var(--primary); margin-bottom: 20px; }
        .color-card h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--dark); }
        .color-card p { color: #475569; line-height: 1.6; }

        /* course tables */
        .section-title {
            font-size: 2.4rem;
            color: var(--primary);
            margin-bottom: 40px;
            text-align: center;
            font-weight: 700;
            position: relative;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 5px;
            background: linear-gradient(90deg, var(--red) 0 50%, var(--yellow) 50% 100%);
            margin: 10px auto 0;
            border-radius: 10px;
        }
        .course-category {
            margin-bottom: 50px;
        }
        .course-category h3 {
            font-size: 1.8rem;
            color: var(--dark);
            margin-bottom: 20px;
            border-left: 6px solid var(--yellow);
            padding-left: 15px;
        }
        .table-wrapper {
            overflow-x: auto;
            border-radius: 20px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }
        .course-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            min-width: 600px; /* ensures horizontal scroll on small screens if needed */
        }
        .course-table th {
            background: var(--primary);
            color: white;
            padding: 15px;
            font-weight: 600;
            text-align: left;
        }
        .course-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #e2e8f0;
        }
        .course-table tr:last-child td {
            border-bottom: none;
        }
        .course-table tbody tr:hover {
            background: #f1f5f9;
        }
        .enquiry-btn {
            background: var(--yellow);
            color: var(--dark);
            border: none;
            padding: 8px 20px;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
        }
        .enquiry-btn:hover {
            background: #e6c417;
            transform: scale(1.05);
        }
        /* modal for enquiry */
        .modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        .modal.active {
            display: flex;
        }
        .modal-content {
            background: white;
            padding: 40px;
            border-radius: 30px;
            max-width: 450px;
            width: 90%;
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
            position: relative;
        }
        .modal-content h3 {
            color: var(--primary);
            margin-bottom: 25px;
            font-size: 1.8rem;
        }
        .modal-content input, .modal-content select {
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #d1d5db;
            border-radius: 12px;
            font-size: 1rem;
        }
        .modal-content button[type="submit"] {
            background: var(--primary);
            color: white;
            border: none;
            padding: 15px;
            width: 100%;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
        }
        .modal-content button[type="submit"]:hover {
            background: #024a9e;
        }
        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 2rem;
            cursor: pointer;
            color: #888;
        }
        .close-modal:hover {
            color: var(--primary);
        }

        /* Lightbox for gallery */
        .lightbox {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.9);
            z-index: 3000;
            justify-content: center;
            align-items: center;
        }
        .lightbox.active {
            display: flex;
        }
        .lightbox-content {
            max-width: 90%;
            max-height: 80%;
            border-radius: 10px;
            box-shadow: 0 0 30px rgba(0,0,0,0.5);
        }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 3rem;
            color: white;
            cursor: pointer;
            z-index: 3001;
        }
        .lightbox-prev, .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 3rem;
            color: white;
            background: rgba(0,0,0,0.3);
            padding: 10px 15px;
            cursor: pointer;
            border-radius: 5px;
            user-select: none;
            z-index: 3001;
        }
        .lightbox-prev:hover, .lightbox-next:hover {
            background: rgba(0,0,0,0.6);
        }
        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }

        /* row7 three columns */
        .row7 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin: 70px 0 50px;
        }
        .principal-card {
            background: white;
            border-radius: 24px;
            padding: 30px 20px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: 0.3s;
        }
        .principal-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 30px rgba(3,90,191,0.1);
        }
        .principal-card img {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--yellow);
            margin-bottom: 20px;
        }
        .download-card, .news-card {
            background: white;
            border-radius: 24px;
            padding: 30px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
            transition: 0.3s;
        }
        .download-card:hover, .news-card:hover {
            box-shadow: 0 20px 30px rgba(3,90,191,0.1);
        }
        .download-card h3, .news-card h3, .principal-card h3 {
            color: var(--primary);
            font-size: 1.6rem;
            border-left: 6px solid var(--yellow);
            padding-left: 16px;
            margin-bottom: 25px;
        }
        .download-list a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 0;
            border-bottom: 1px dashed #d1d5db;
            color: #1e293b;
            text-decoration: none;
            transition: 0.2s;
        }
        .download-list a i {
            color: var(--primary);
            font-size: 1.3rem;
            width: 28px;
        }
        .download-list a:hover {
            color: var(--primary);
            padding-left: 8px;
            background: #f8fafc;
            border-radius: 12px;
        }
        .news-scroll {
            max-height: 260px;
            overflow-y: auto;
            padding-right: 8px;
        }
        .news-scroll p {
            background: #f1f5f9;
            padding: 16px;
            border-radius: 14px;
            margin-bottom: 12px;
            border-left: 5px solid var(--yellow);
            font-weight: 500;
        }

        /* row8 two columns */
        .row8 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 60px 0;
        }
        .chairman {
            background: white;
            border-radius: 30px;
            padding: 30px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        .chairman:hover {
            box-shadow: 0 25px 40px rgba(3,90,191,0.1);
        }
        .chairman img {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 6px solid var(--yellow);
            margin-bottom: 20px;
        }
        .chairman-content h3 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 15px;
        }
        .chairman-content p {
            color: #334155;
            line-height: 1.7;
        }
        .admission-accordion {
            background: white;
            border-radius: 30px;
            padding: 30px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        }
        .admission-accordion h3 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 25px;
            border-left: 8px solid var(--yellow);
            padding-left: 20px;
        }
        .accordion-item {
            margin-bottom: 15px;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            overflow: hidden;
            transition: 0.2s;
        }
        .accordion-btn {
            background: #f8fafc;
            border: none;
            width: 100%;
            text-align: left;
            padding: 18px 20px;
            font-size: 1rem;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: 0.2s;
        }
        .accordion-btn:hover {
            background: #e6edf8;
        }
        .accordion-content {
            display: none;
            padding: 18px 20px;
            border-top: 1px solid #d1d5db;
            background: #ffffff;
            color: #2d3a4f;
            line-height: 1.6;
        }
        .accordion-item.active .accordion-content {
            display: block;
        }
        .accordion-item.active .accordion-btn i {
            transform: rotate(180deg);
        }

        /* gallery */
        .gallery-cats {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
            justify-content: center;
        }
        .cat-btn {
            background: #eef2ff;
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            transition: 0.2s;
            border: 1px solid transparent;
        }
        .cat-btn.active, .cat-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--yellow);
        }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }
        .gallery-grid img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 8px 15px rgba(0,0,0,0.1);
            transition: 0.4s;
            cursor: pointer;
        }
        .gallery-grid img:hover {
            transform: scale(1.05) rotate(1deg);
            box-shadow: 0 20px 30px rgba(3,90,191,0.3);
        }

        /* footer */
        footer {
            background: var(--primary);
            color: rgba(255,255,255,0.9);
            padding: 60px 5% 30px;
            position: relative;
            overflow: hidden;
        }
        footer::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        footer::after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: -100px;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(254,221,25,0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            max-width: 1300px;
            margin: 0 auto;
            position: relative;
            z-index: 5;
        }
        .footer-col h4 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 25px;
            border-left: 5px solid var(--yellow);
            padding-left: 15px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .footer-col p, .footer-col ul {
            color: #f0f4fa;
            line-height: 1.8;
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col ul li {
            margin-bottom: 12px;
        }
        .footer-col ul li a {
            color: #f0f4fa;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: 0.2s;
        }
        .footer-col ul li a i {
            width: 22px;
            color: var(--yellow);
        }
        .footer-col ul li a:hover {
            color: var(--yellow);
            transform: translateX(5px);
        }
        .copyright {
            text-align: center;
            margin-top: 50px;
            border-top: 1px solid rgba(255,255,255,0.2);
            padding-top: 25px;
            font-size: 0.95rem;
            position: relative;
            z-index: 5;
            color: rgba(255,255,255,0.8);
        }
        .developer {
            text-align: center;
            margin-top: 15px;
            font-size: 0.9rem;
        }
        .developer a {
            color: var(--yellow);
            text-decoration: none;
            font-weight: 600;
        }
        .developer a:hover {
            text-decoration: underline;
        }

        /* mobile fixes */
        @media (max-width: 768px) {
            .top-bar {
                flex-direction: column;
                gap: 8px;
                padding: 10px 4%;
            }
            .contact-info span {
                margin-right: 15px;
                font-size: 0.85rem;
            }
            .contact-info span:nth-child(3) {
                display: none;
            }
            .logo-row {
                padding: 10px 4%;
                text-align: center;
            }
            .logo-row img {
                max-height: 70px;
            }
            .container {
                padding: 30px 15px;
            }
            .welcome {
                flex-direction: column;
                gap: 25px;
                padding: 25px 20px;
            }
            .welcome-content h2 {
                font-size: 1.8rem;
                padding-left: 15px;
            }
            .mission-boxes {
                flex-direction: column;
                gap: 10px;
            }
            .course-table {
                min-width: 600px; /* forces scroll on small screens */
            }
            .row7 {
                grid-template-columns: 1fr;
                gap: 30px;
                margin: 50px 0 40px;
            }
            .card-row {
                grid-template-columns: 1fr;
            }
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            .gallery-grid img {
                height: 160px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 25px;
            }
            .admission-accordion {
                padding: 20px;
            }
            .admission-accordion h3 {
                font-size: 1.5rem;
                padding-left: 15px;
            }
            .accordion-btn {
                padding: 14px 15px;
                font-size: 0.95rem;
            }
            .accordion-content {
                padding: 15px;
            }
            .row8 {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            .chairman {
                padding: 25px 20px;
            }
            .chairman img {
                width: 140px;
                height: 140px;
                margin-bottom: 15px;
            }
            .chairman-content h3 {
                font-size: 1.6rem;
            }
        }
        @media (max-width: 480px) {
            .contact-info {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }
            .contact-info span {
                margin-right: 0;
            }
            .social-icons a {
                margin: 0 8px;
            }
            .logo-row img {
                max-height: 60px;
            }
            .banner-slider {
                height: 250px;
            }
            .slide-content h2 {
                font-size: 1.8rem;
            }
            .slide-content p {
                font-size: 1rem;
            }
            .slider-arrow {
                width: 35px;
                height: 35px;
                font-size: 1.3rem;
            }
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
            .welcome {
                padding: 20px 15px;
            }
        }

/* ---- base styles for CMS content pages (same values the original pages used) ---- */
.page-banner{
    height:220px;
    background:linear-gradient(rgba(3,90,191,0.85), rgba(3,90,191,0.85));
    display:flex; align-items:center; justify-content:center; text-align:center;
    color:#fff; font-size:2.2rem; font-weight:700; padding:0 20px;
    text-shadow:2px 2px 8px rgba(0,0,0,0.2); position:relative;
}
.page-banner::after{ content:''; position:absolute; bottom:0; left:0; width:100%; height:6px; background:var(--yellow); }
.page-body{ max-width:1200px; margin:50px auto; padding:0 20px; }
.page-body .content-card{ background:#fff; border-radius:16px; padding:34px; box-shadow:0 15px 30px rgba(0,0,0,0.05); }
.page-body img{ max-width:100%; height:auto; }
.page-body h1,.page-body h2,.page-body h3,.page-body h4{ color:var(--dark); margin:18px 0 12px; line-height:1.3; }
.page-body p{ margin-bottom:14px; line-height:1.8; color:#33475b; }
.page-body ul,.page-body ol{ margin:0 0 16px 22px; }
.page-body li{ margin-bottom:8px; line-height:1.75; color:#33475b; }
.page-body table{ width:100%; border-collapse:collapse; margin:18px 0; }
.page-body table th,.page-body table td{ border:1px solid #e2e8f0; padding:10px 12px; text-align:left; }
.page-body table th{ background:var(--primary); color:#fff; }
.page-body a{ color:var(--primary); }
.page-empty{ text-align:center; color:#64748b; padding:26px 0; }

/* simple listing blocks reused by the CMS sections */
.card-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:22px; }
.info-card{ background:#fff; border-radius:14px; padding:22px; box-shadow:0 10px 24px rgba(0,0,0,0.05); }
.info-card h3{ color:var(--primary); font-size:1.08rem; margin-bottom:8px; }
.info-card p{ color:#475569; font-size:0.94rem; line-height:1.7; }
.info-card img{ width:100%; height:190px; object-fit:cover; border-radius:10px; margin-bottom:12px; }
.badge-new{ color:#2f855a; font-size:0.73rem; font-weight:700; }
.flash-ok{ position:fixed; top:16px; left:50%; transform:translateX(-50%); background:#166534; color:#fff;
    padding:12px 22px; border-radius:8px; font-weight:600; z-index:4000; box-shadow:0 10px 26px rgba(0,0,0,.25); }
@media (max-width:768px){ .page-banner{ height:160px; font-size:1.5rem; } .page-body{ margin:30px auto; } }

/* keep the right-hand menu groups' dropdowns inside the viewport */
@media (min-width: 901px) {
    .nav-menu > li:nth-last-child(-n+4) > .dropdown { left: auto; right: 0; }
}