 :root{
      --bg:rgb(240,240,240) ;
      --text: #1f2937;
      --muted: #6b7280;
      --primary: #2563eb;
      --border: #e5e7eb;
      --card: #f9fafb;
    }

    /* Reset-ish for a clean start */
    *, *::before, *::after { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; height: 100%; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }






        /* THE SECOND TESTING MENU */
                        * {
                        margin: 0;
                        padding: 0;
                        box-sizing: border-box;
                        font-family: Arial, sans-serif;
                        }

                        /* TOP HEADER */
                        .top-header {
                        width: 100%;
                        background: rgb(60,100,228);
                        color: white;
                        text-align: center;
                        padding: 18px 10px;
                        font-size: 22px;
                        font-weight: bold;
                        letter-spacing: 1px;
                        position: absolute;
                        top: 0;
                        z-index: 1000;
                        margin-left:-17px;
                        }

                        /* SECOND BAR */
                        .nav-bar {
                        position: absolute;
                        top: 60px;
                        width: 100%;
                        height: 55px;
                        background: #111827;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        z-index: 999;
                        margin-left:-17px;
                       
                        }
                        

                        /* CENTER TITLE */
                        .nav-title {
                        color: white;
                        font-size: 18px;
                        font-weight: 600;
                        }

                        /* MENU ICON */
                        .menu-icon {
                        position: absolute;
                        left: 20px;
                        width: 30px;
                        height: 22px;
                        cursor: pointer;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        }

                        .menu-icon span {
                        height: 3px;
                        background: white;
                        border-radius: 5px;
                        transition: 0.3s;
                        }

                        /* ANIMATION TO X */
                        .menu-icon.active span:nth-child(1) {
                        transform: rotate(45deg) translate(5px, 5px);
                        }
                        .menu-icon.active span:nth-child(2) {
                        opacity: 0;
                        }
                        .menu-icon.active span:nth-child(3) {
                        transform: rotate(-45deg) translate(6px, -6px);
                        }

                        /* MENU OVERLAY */
                        .menu {
                        position: absolute;
                        top: 115px; /* below header + nav bar */
                        left: 0;
                        width: 100%;
                        height: calc(100vh - 115px);
                        background: linear-gradient(135deg, #0f172a, #1e293b);
                        transform: translateY(-100%);
                        transition: 0.6s ease;
                        z-index: 998;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        padding-top: 40px;
                        }

                        /* OPEN MENU */
                        .menu.open {
                        transform: translateY(0);
                        }

                        /* BUTTONS */
                        .menu button {
                        width: 80%;
                        max-width: 320px;
                        padding: 14px;
                        margin: 10px 0;
                        border: none;
                        border-radius: 12px;
                        font-size: 16px;
                        cursor: pointer;
                        transition: 0.3s;
                        color: white;
                        background: #334155;
                        }

                        .menu button:hover {
                        background: #475569;
                        transform: scale(1.03);
                        }

                        /* LOGIN BUTTON SPECIAL 
                        .menu .login {
                        margin-top: 30px;
                        margin-bottom: 40px;
                        background: linear-gradient(90deg, #f97316, #ef4444);
                        font-weight: bold;
                        }

                        .menu .login:hover {
                        background: linear-gradient(90deg, #fb923c, #f87171);
                        }
                        */




                          /* drop down button for policy pages */
                            .dropdown-btn {
                                background: #333;
                                color: white;
                                padding: 12px 20px;
                                border: none;
                                cursor: pointer;
                                font-size: 16px;
                                width: 100px;
                            }
                            .dropdown-btn span {
                                margin-left: 8px;
                            }
                            .dropdown-content {
                                display: none;
                                position: relative;
                                
                                left: 0;

                                min-width: 180px;
                                background: white;
                                border: none;
                               

                               
                            }
                            .dropdown-content a {
                                display: block;
                                padding: 12px 15px;
                                text-align: center;
                                color: white;
                                text-decoration: none;
                                background: linear-gradient(135deg, #0f172a, #1e293b);
                            }
                            .dropdown-content a:hover {
                                background: #585656;
                            }

                            /* Show dropdown when hovering 
                            .dropdown:hover .dropdown-content {
                                display: block;
                            } */















    /* THIS IS THE MAIN WWHICH CONTAINS ALL IN THE HEADERS */
.main_for_headers {
      
              margin: 0 auto;
              padding: 16px;
              padding-bottom:0px;
              background-color:rgb(150,150,150);
            }

            /* Dashboard heading atop the navigation (as requested) 
            header.page-header {
              padding: 8px 0 12px;
              text-align: center;
              background-color:rgb(138,146,226);
              margin-left:-16px;
              margin-right:-16px;
              margin-top:-20px;
              padding-top:25px;
              
            }
            header.page-header h1 {
              font-size: 1.25rem;
              margin: 0;
              font-weight: 700;
            }
              */

            /* Top navigation bar with minimizable menu 
            nav.main-nav {
              background: var(--card);
              border: 1px solid var(--border);
              border-radius: 12px;
              padding: 2px;
              position: relative;
              overflow: hidden;
              margin-left:-16px;
              margin-right:-16px;
            }
            */
            /* The toggle BLUE button that acts as "main menu" 
            .menu-toggle {
              background: var(--primary);
              color: white;
              border: none;
              border-radius: 8px;
              padding: 10px 12px;
              padding-bottom: 5px;
              padding-top: 5px;
              
              padding-right: 14px;
              font-size: 1rem;
              display: inline-flex;
              align-items: center;
              gap: 8px;
              cursor: pointer;
              width: 15%;
              text-align: left;
              position: relative;
            }
            .menu-toggle:focus-visible {
              outline: 3px solid #93c5fd;
              outline-offset: 2px;
            }
              */

            /* Hamburger indicator (three bars) on the menu bar
            .hamburger {
              width: 1.25em; height: 1em;
              display: inline-block; position: relative;
            }
            .hamburger span {
              position: absolute; left: 0; right: 0; height: 3px; background: white;
              border-radius: 2px;
            }
            .hamburger span:nth-child(1) { top: 0; }
            .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
            .hamburger span:nth-child(3) { bottom: 0; }

            .picspanclass{
            width:35px;
            position: absolute;
            top:3px;
            bottom: 3px;
            left: 3px;
            display:none;
            
            padding-right: 0px;
            padding-left:0px;
            padding-top:0px;
            padding-bottom:3px;
            margin: 0px;
            height: 26px;
            border: solid black;
            color:rgb(11,8,146);
            background-image: url("allicons/thincrossclose.PNG");
            border:none;
            background-size: 40px 40px;
            background-repeat: no-repeat;
            background-position:50% center;
            
            
            }
            */
            /* Collapsible menu panel 
            .menu-panel {
              display: none;
              margin-top: 8px;
              border-top: 1px solid var(--border);
              padding-top: 8px;
              /* simple slide-like feel 
              animation: fadeIn .65s ease-out;
            }
            
            @keyframes fadeIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: translateY(0); } }

            .menu-panel .row {
              display: flex;
              flex-direction: column;
              gap: 8px;
            }

            .panel-btn {
              display: inline-flex;
              align-items: left;
              justify-content: left;
              padding: 12px;
              border-radius: 8px;
              border: 1px solid var(--border);
              background: #fff;
              color: var(--text);
              text-decoration: none;
              font-size: 1rem;
              cursor: pointer;
              width: 100%;
              transition: background .2s ease;
            }
            .logindiv{
              border-top:solid thin black;
              margin-top:20px;
              padding-top:20px;
            }
            .loginbtn{
              display: inline-flex;
              align-items: center;
              justify-content: center;
              padding: 8px;
              border-radius: 23px;
              border: 1px solid var(--border);
              background: #fff;
              color: var(--text);
              text-decoration: none;
              font-size: 1rem;
              cursor: pointer;
              width: 100%;
              transition: background .2s ease;
            }
            .loginbtn:hover { background: #f3f4f6; }
            .panel-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
            .panel-btn:hover { background: #f3f4f6; }
            */
          


/* THIS IS THE MAIN FOR THE MATHS SECTOR WHICH CONATIN S THE FOLDERS FOR THE PDF*/
.main_for_allsubsmain{ 
                position:relative;
                top:100px;
                background-color: white;
                margin-top:10px;
                margin-left: 5px;
                margin-right:5px;
                padding: 16px;
                
                }
                
                .yearbuttons{
                  display: flex;
                  flex-wrap: wrap;

                  gap: 10px;
                  }

                .year-btn{
                  padding: 4px 7px;
                  margin:-2px;

                  border: none;
                  border-radius: 4px;

                  background: lightblue;
                  cursor: pointer;

                  font-size: 10px;
                  }
                  .year-btn:hover{
                  background: gray;
                  color: white;
                }


                .button-allfilessamedesigndiv{
                  
                  border: 1px solid gray;
                  margin-left:-16px;
                  margin-right:-16px;
                  
                  margin-top:10px;
                  border-left:none;
                  border-right:none;
                   
                }

                /* Buttons */
                .allfiles-btn{
                  width: 100%;
                  
                  display: flex;
                  align-items: center;

                  padding: 12px;

                  border: none;
                  
                  border-bottom: 1px solid gray;

                  background: white;
                  cursor: pointer;

                  font-size: 16px;
                  text-align: left;
                }
                .allfiles-btn:hover{
                  background-color: rgb(236,236,236);
                }

                /* Remove last border */
                .allfiles-btn:last-child{
                  border-bottom: none;
                }

                /* Icon image */
                .foldericonclass{
                  width: 24px;
                  height: 24px;

                  object-fit: contain;

                  margin-right: 10px;
                }




/*COPYRIGHT SECTION*/
.copyrightsection-btn{
                  width: 100%;
                  
                  display: flex;
                  align-items: center;
                  
                  padding: 12px;
                  padding-bottom:3px;
                  padding-top:3px;
                  border: none;
                  
                  

                 background-color: rgb(240,240,240);
                  cursor: pointer;

                  font-size: 12px;
                  text-align: left;
                 
                }
               .copyrightlast{
                font-size:11px;
                padding-left:10px;
               }
               .copyrightZimAtOne{
                display:block;
                font-size:25px;
                text-align: left;
                font-family: 'Lucida Bright','Arial Narrow', Arial, sans-serif;
                color:white;
                margin-top: 20px;
                margin-bottom:20px;
                padding-left:5px;
                
                
               
               }
               #copyrightsection{
                background-color:black;
                color: white;
                margin-left:-5px;
                
               }

                    .theDownloadtext{
                      font-size:20px;
                      color:rgb(0,62,104);
                      font-family:'Yu Gothic UI Semibold', 'Lucida Sans Regular', Geneva, Verdana, sans-serif;
                    }

            .containerofmainincopy{
              display: flex;
              gap: 40px;
              border-bottom: 1px solid gray;
              padding-bottom:10px;
              
              
            }
            .containeroftermsincopy{
              display: flex;
              gap: 38px;
              border-bottom: 1px solid gray;
              padding-bottom:10px;
              
            }

            /* Columns */
            .mainbtnsincopy{
              display: flex;
              flex-direction: column;
              gap: 10px;
              width:300px;
            }

            /* Buttons */
            .btnincopy{
               display: flex;
                  align-items: center;
                  
                  padding: 5px;
                  padding-bottom:0px;
                  padding-top:0px;
                  
                  border: none;
                  color:white;
                  

                  background-color:black;
                  cursor: pointer;

                  font-size: 12px;
                  text-align: left;
            }




/*THIS FEEDBACK CSS IS NO LONGER IN USE, BUT KEPT FOR REFERENCE */

            /* Feedback box 
            .feedback-box{          
              padding: 20px;
              margin: 40px auto;

              background: white;
              border-radius: 10px;
              border: 1px solid #ccc;
            }*/
           
            /* Inputs 
            .feedback-box input,
            .feedback-box textarea{
              width: 100%;

              padding: 10px;
              margin-bottom: 15px;

              border: 1px solid #ccc;
              border-radius: 5px;

              box-sizing: border-box;
            }*/
            

            /* Textarea size 
            .feedback-box textarea{
              height: 120px;
              resize: none;
            }*/

            /* Button 
            .feedback-box button{
              width: 100%;

              padding: 12px;

              border: none;
              border-radius: 5px;

              background: lightblue;
              cursor: pointer;

              font-size: 16px;
            }*/





    /* Visually hidden helper for SR-only text if needed later */
    .sr-only {
      position: absolute; width: 1px; height: 1px;
      padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
    }