 :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);
        }

        a {
            text-decoration: none;
            color: inherit;
        }

         /* TOP WHITE BAR */
.topbar {
    background: var(--white);
    color: var(--black);
    padding: 0px 8%; 
    display: flex;
    justify-content: space-between; /* logo left, buttons right */
    align-items: center; /* vertical centering */
    border-bottom: 1px solid #ddd;
}

.topbar-logo {
    display: flex;
    align-items: center;
     margin-left: 100px;
   
}



.topbar-logo-img {
    height: 180px;      /* adjust size as needed */
    width: auto;       /* keeps proportions correct */
    object-fit: contain;
 
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}


        .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);
        }
        .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: 25px;
            font-weight: bold;
            color: var(--white);
            text-decoration: none;
            font-size: 15px;
            transition: 0.3s;
        }

        header nav a:hover {
            color: var(--red);
        }

        /* HERO */
        .hero {
            background: linear-gradient(120deg, var(--red), var(--brown));
            color: var(--white);
            padding: 60px 8% 40px;
        }

        .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;
        }

        .hero-subtitle {
            max-width: 600px;
            font-size: 15px;
            line-height: 1.6;
        }

        /* MAIN LAYOUT */
        .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; }
        }

        /* LEFT COLUMN */
        .content-block {
            background: var(--white);
            border-radius: 10px;
            padding: 25px 25px 30px;
            box-shadow: 0 0 12px rgba(0,0,0,0.08);
            margin-bottom: 25px;
        }

        .content-block h2 {
            margin-top: 0;
            color: var(--red);
        }

        .content-block p {
            line-height: 1.7;
            font-size: 15px;
        }

        .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 */
        .subjects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .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;
        }

        .subject-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 0 14px rgba(0,0,0,0.15);
        }

        .subject-card h3 {
            margin-top: 0;
            color: var(--brown);
            font-size: 16px;
        }

        .subject-card p {
            font-size: 14px;
            line-height: 1.6;
        }

        /* RIGHT COLUMN (SIDEBAR) */
        .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);
            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);
        }

        .badge {
            display: inline-block;
            background: var(--red);
            color: var(--white);
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            margin-left: 6px;
        }

   footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 8%;
    margin-top: 40px;
    border-top: 3px solid var(--brown); /* thin top border */
}

/* CENTER ALL FOOTER COLUMNS */
.footer-columns {
    display: flex;
    justify-content: center;   /* center horizontally */
    text-align: center;        /* center text inside each column */
    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); /* underline in theme colour */
    display: inline-block; /* keeps underline tight to text */
}

/* 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: 500px;
    height: 500px;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(1.1); /* clearer + brighter */
    opacity: 1; /* fully visible */
}
