    :root {
            --red: #8B0000;
            --brown: #5C4033;
            --black: #000000;
            --white: #ffffff;
            --light: #f7f4f2;
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: var(--light);
            color: var(--black);
        }

        #myDiv:empty {
    display: none;
}

    /* TOP WHITE BAR — TWICE BIGGER + FLAG BUTTONS */
.topbar {
    background: var(--white);
    color: var(--black);
    padding: 18px 8%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
}

/* TOP WHITE BAR — LOGO + FLAGS (primary/secondary/high) */
.topbar:has(.topbar-logo) {
    padding: 0px 8%;
    justify-content: space-between;
    gap: 0;
    min-height: 60px;
}

.topbar-logo {
    display: flex;
    align-items: center;
    margin-left: 100px;
}

body:has(.subject-grid) .topbar-logo {
    margin-left: 50px;
}

.topbar-logo-img {
    height: 180px;
    width: auto;
    object-fit: contain;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* LANGUAGE BUTTONS WITH FLAGS */
.lang-btn {
    background: var(--white);
    border: 2px solid var(--brown);
    color: var(--black);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.lang-btn img {
    width: 22px;
    height: 16px;
    border-radius: 2px;
}

.lang-btn:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}


        /* MAIN NAVIGATION BAR (BLACK) */
        header {
            padding: 15px 8%;
            background: var(--black);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid var(--brown);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: box-shadow 0.3s;
        }

        header.scrolled {
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        header h1 {
            margin: 0;
            font-size: 26px;
            color: var(--white);
            font-weight: bold;
        }

        header nav a {
            margin-left: 20px;
            font-weight: bold;
            color: var(--white);
            text-decoration: none;
            font-size: 15px;
            transition: 0.3s;
        }

        header nav a:hover {
            color: var(--red);
        }

        body:has(.main-wrapper) header nav a {
            margin-left: 25px;
            color: var(--white);
        }

        /* HERO (primary/secondary/high) */
        .hero {
            width: auto;
            max-width: none;
            margin: 0;
            background: linear-gradient(120deg, var(--red), var(--brown));
            color: var(--white);
            padding: 60px 8% 40px;
            border-radius: 0;
            box-shadow: none;
        }

        .hero-breadcrumb {
            font-size: 13px;
            opacity: 0.9;
            margin-bottom: 10px;
        }

        .hero-breadcrumb a {
            color: var(--white);
            text-decoration: underline;
        }

        .hero-title {
            font-size: 32px;
            margin: 0 0 10px;
            font-weight: bold;
            color: var(--white);
        }

        .hero-subtitle {
            max-width: 1200px;
            font-size: 15px;
            line-height: 1.6;
        }

        body:has(.subjects-grid) .hero-subtitle,
        body:has(.subject-grid) .hero-subtitle {
            max-width: 600px;
        }

        /* MAIN LAYOUT (primary/secondary/high) */
        .main-wrapper {
            display: grid;
            grid-template-columns: 2.2fr 1fr;
            gap: 40px;
            padding: 40px 8%;
        }

        @media (max-width: 900px) {
            .main-wrapper { grid-template-columns: 1fr; }
        }

        /* CONTENT BLOCK (primary/secondary/high) */
        .content-block {
            background: var(--white);
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 0 12px rgba(0,0,0,0.08);
            margin-bottom: 25px;
        }

        body:has(.subjects-grid) .content-block {
            padding: 25px 25px 30px;
        }

        .content-block h2 {
            margin-top: 0;
            color: var(--red);
        }

        .content-block p {
            line-height: 1.7;
            font-size: 15px;
        }

        /* CLASS CARDS (primary/high) */
        .class-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .class-card {
            background: var(--white);
            border-radius: 10px;
            border: 2px solid var(--brown);
            padding: 20px;
            text-align: center;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            transition: 0.3s;
        }

        .class-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 18px rgba(0,0,0,0.2);
        }

        .class-card h3 {
            margin-top: 0;
            color: var(--red);
        }

        .class-card p {
            font-size: 14px;
            line-height: 1.6;
        }

        /* STATS ROW (secondary) */
        .stats-row {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
        }

        .stat-card {
            flex: 1 1 120px;
            background: var(--light);
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            border: 1px solid #e0d6cf;
        }

        .stat-number {
            font-size: 22px;
            font-weight: bold;
            color: var(--red);
        }

        .stat-label {
            font-size: 13px;
            opacity: 0.9;
        }

        /* SUBJECT CARDS (secondary) */
        .subjects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        body:has(.subjects-grid) .subject-card {
            background: var(--white);
            border-radius: 8px;
            border: 1px solid #e0d6cf;
            padding: 15px;
            box-shadow: 0 0 8px rgba(0,0,0,0.05);
            transition: 0.3s;
        }

        body:has(.subjects-grid) .subject-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 0 14px rgba(0,0,0,0.15);
        }

        body:has(.subjects-grid) .subject-card h3 {
            margin-top: 0;
            color: var(--brown);
            font-size: 16px;
        }

        body:has(.subjects-grid) .subject-card p {
            font-size: 14px;
            line-height: 1.6;
        }

        /* SUBJECT GRID (high) */
        .subject-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        body:has(.subject-grid) .subject-card {
            background: var(--white);
            border-radius: 10px;
            border: 1px solid #d8ccc5;
            padding: 18px;
            box-shadow: 0 0 8px rgba(0,0,0,0.08);
            transition: 0.3s;
        }

        body:has(.subject-grid) .subject-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 0 14px rgba(0,0,0,0.15);
        }

        body:has(.subject-grid) .subject-card h3 {
            margin-top: 0;
            color: var(--brown);
            font-size: 16px;
        }

        .badge {
            display: inline-block;
            background: var(--red);
            color: var(--white);
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            margin-left: 6px;
        }

        /* SIDEBAR (primary/secondary/high) */
        .sidebar-block {
            background: var(--white);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 0 12px rgba(0,0,0,0.08);
            margin-bottom: 20px;
        }

        .sidebar-block h3 {
            margin-top: 0;
            color: var(--red);
        }

        body:has(.subjects-grid) .sidebar-block h3 {
            font-size: 17px;
        }

        .sidebar-list {
            list-style: none;
            padding: 0;
            margin: 10px 0 0;
            font-size: 14px;
        }

        .sidebar-list li { margin-bottom: 8px; }

        .sidebar-list a {
            color: var(--brown);
        }

        .sidebar-list a:hover {
            color: var(--red);
        }

        /* UNIVERSAL SECTION STYLE */
        section:not(.hero) {
            width: 90%;
            max-width: 1100px;
            margin: 40px auto;
            background: var(--white);
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 0 12px rgba(0,0,0,0.1);
        }

        section:not(.hero) h2 {
            color: var(--red);
            margin-bottom: 10px;
        }

        /* ICON STYLE */
        .section-icon {
            font-size: 28px;
            margin-right: 10px;
            vertical-align: middle;
        }

        /* TWO-COLUMN LAYOUT (about) */
        .two-col {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }

        .two-col div {
            flex: 1;
            min-width: 260px;
        }

        /* VALUES GRID (about) */
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
        }

        .value-box {
            background: var(--white);
            border: 2px solid var(--brown);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 0 10px rgba(0,0,0,0.08);
        }

        .value-box h3 {
            color: var(--brown);
        }

        /* CONTACT GRID (contact) */
        .contact-grid {
            display: flex;
            gap: 40px;
            flex-wrap: wrap;
        }

        .contact-info {
            flex: 1;
            min-width: 260px;
        }

        .contact-info h3 {
            color: var(--brown);
        }

        .contact-info p {
            margin: 8px 0;
        }

        /* SCROLL-IN ANIMATIONS */
        .scroll-in {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s ease-out;
        }

        .scroll-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* CARD GRID */
        .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
        }

        .card {
            background: var(--white);
            border: 2px solid var(--brown);
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            transition: 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 15px rgba(0,0,0,0.2);
        }

        /* GALLERY */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 15px;
        }

        .gallery-grid img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 12px;
            border: 3px solid var(--brown);
            transition: 0.3s;
        }

        .gallery-grid img:hover {
            transform: scale(1.05);
            border-color: var(--red);
        }

        /* SECTION 7: TERM HIGHLIGHTS */
        .highlights-section {
            background: #fff8e6;
            padding: 50px 20px;
            border-radius: 12px;
            box-shadow: 0 0 12px rgba(0,0,0,0.1);
        }

        .highlight-subtitle {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 40px;
            font-size: 15px;
            color: var(--black);
        }

        .highlight-row {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .highlight-item {
            flex: 1;
            min-width: 250px;
            background: var(--white);
            border: 2px solid var(--brown);
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 0 8px rgba(0,0,0,0.08);
            transition: 0.3s;
        }

        .highlight-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 15px rgba(0,0,0,0.15);
        }

        .highlight-number {
            width: 50px;
            height: 50px;
            background: var(--red);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            font-size: 20px;
            margin: 0 auto 15px;
        }

        .highlight-btn-wrapper {
            text-align: center;
            margin-top: 35px;
        }

        .highlight-btn {
            background: var(--red);
            color: var(--white);
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            cursor: pointer;
            font-weight: bold;
            transition: 0.3s;
        }

        .highlight-btn:hover {
            background: var(--brown);
        }

        /* ADMINISTRATORS */
        .admin-container {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        .admin-card {
            background: var(--white);
            border: 2px solid var(--brown);
            border-radius: 12px;
            padding: 20px;
            width: 260px;
            text-align: center;
            box-shadow: 0 0 12px rgba(0,0,0,0.15);
        }

        .admin-card img {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--red);
            margin-bottom: 10px;
        }

        /* CONTACT FORM */
        .contact-form {
            flex: 1;
            min-width: 260px;
            display: grid;
            gap: 15px;
        }

        .contact-form input,
        .contact-form textarea {
            padding: 12px;
            border: 2px solid var(--brown);
            border-radius: 8px;
            font-size: 15px;
            width: 100%;
        }

        .contact-form button {
            background: var(--red);
            color: var(--white);
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            font-weight: bold;
        }

        .contact-form button:hover {
            background: var(--brown);
        }

        /* MAP */
        iframe {
            width: 100%;
            height: 350px;
            border-radius: 12px;
            border: none;
        }

        /* BACK TO TOP BUTTON */
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--red);
            color: var(--white);
            padding: 12px 16px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            display: none;
            box-shadow: 0 0 12px rgba(0,0,0,0.3);
            z-index: 999;
        }

        #backToTop:hover {
            background: var(--brown);
        }

        /* FOOTER WITH COLUMNS */
     footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 8%;
    margin-top: 40px;
    border-top: 3px solid var(--brown);
}

/* CENTER ALL FOOTER COLUMNS */
.footer-columns {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* EACH COLUMN */
.footer-col {
    flex: 1;
    min-width: 200px;
}

/* UNDERLINED HEADINGS */
.footer-col h3 {
    color: var(--red);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--brown);
    display: inline-block;
}

/* LISTS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

/* LINKS */
.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

/* COPYRIGHT LINE */
.footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

        .section-one, 
.section-two, 
.section-three, 
.section-four, 
.section-five {
    background-color: #fff8e6 !important;

    #bg-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-img {
    position: absolute;
    width: 300px;
    height: 300px;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    opacity: 0.5;
}

}

#bg-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-img {
    position: absolute;
    width: 500px;
    height: 500px;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(1.1);
    opacity: 1;
}

#gallery {
    position: relative;
    width: 100%;
    height: 500px;
    padding: 0;
    overflow: hidden;
    background-color: #fff8e6 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

  .social-icons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }

    .social-icons .icon svg {
        transition: transform 0.2s ease;
    }

    .social-icons .icon:hover svg {
        transform: scale(1.15);
    }
