body , html {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;}




.alfa-slab-one-regular {
  font-family: "Alfa Slab One", serif;
  font-weight: 400;
  font-style: normal;
}
.bungee-regular {
  font-family: "Bungee", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.lilita-one-regular {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;
}





.navbar {
      width: 100%;
      height: 60px;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 300px;
  padding: 0 0px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: #011318;
   font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
 

   @media (max-width: 480px) {
    height: 40px;
    width: 100%;
   

    background-image: linear-gradient(to right, whitesmoke, bisque, rgb(216, 163, 17));


}

@media (max-width:1000px){
     background-image: linear-gradient(to right, whitesmoke, bisque, rgb(216, 163, 17));
width: 100%;
}



}

.navbar img{
    width: 40px;
    @media(max-width: 420px){
        width: 30px;
    }
}
.scroll-head {
    width: 50px;
}
.scroll {
    display: flex;
    align-items: left;
    justify-content: left;
    padding: 0 0px;
}




nav {
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);

}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    height: 50px;

}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    
}


.tet {
    margin-left: -200px;
    margin-right: 500px;

    @media (max-width: 480px) {
        margin-left: -50px;
        margin-right: 10px;
    }
 @media (max-width: 768px) {
        margin-left: -50px;
        margin-right: 10px;
    }
}



.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 45vh;
    width: 250px;
    z-index: 1000;
       color: #3d3c3c;
    background-color: rgba(255, 255, 255, 0.205);
    backdrop-filter: blur(10px);
    box-shadow: -10px rgba(0, 0, 0, 0.1,);
    display: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;

    @media (max-width: 480px){
        align-items: right;
        text-align: right;
    }
}
.sidebar a{
    width: 100%;
}
.menu-btn {
    display: none;
  
}

@media (max-width: 1295px) {
    .hideOnMobile {
        display: none;
    }
    .menu-btn {
        display: block;
    }
}
@media (max-width: 480px) {
    .sidebar {
        width: 100%;
    }
    }




a {
    transition: color 0.3s;
}
a:hover {
    color: rgb(48, 91, 146);
}

a:active {
    cursor: progress;
}

body {
    background-color: rgb(232, 241, 245);
    overflow-x: hidden;
}
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
     min-height: 900px;
     width: 100%;

     @media (max-width: 768px) {
        align-items: center;

  
    width: 100%;
    height: 100%;
  }

  @media (max-width: 480px) {
    width: 100%;
    height: 100%;
  }
}
  .nav-links.active {
    display: flex; /* Show when toggled */
  }

  .menu-toggle {
    display: block; /* Show hamburger on mobile */
  }

    


.div-log {
    max-width: 150px;
}

.logo {
    width: 100%;
    height: auto;
}

.news {
      display: flex;
      flex-wrap: wrap;
      flex: 1 1 200px;
      overflow-x: auto;
      overflow-y: auto;
      
      
      align-items: center;
      width: 100%;
    
    }

  
.hero-title {
    font-size: 100px;
    font-weight: 1000;
    color: #09014e;
    text-wrap: wrap;
   -webkit-text-stroke: 1px;
    -webkit-text-stroke-color: #be0b0b;;
    text-align: center;
    margin: 0px;
   font-family: Georgia, 'Times New Roman', Times, serif;


   @media (max-width: 480px) {
    font-size: 50px;
   }
 
    @media (max-width: 768px) {
        text-align: center;
        letter-spacing: 6px;
    }
    @media(min-width: 481px) and (max-width: 550px){
        font-size: 60px;
    }


}

.hero-subtitle {
    font-size: 22px;
    font-weight: semi-bold;
    color: #000;
    margin: 20px;
    text-align: center;
    font-family: "Bungee", sans-serif;
    -webkit-text-stroke: 1px;
    -webkit-text-stroke-color: #be0b0b;;

    @media (max-width: 768px) {
        font-size: 20px;
        text-align: center;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-weight: bold;
        color: black;
    }
}

.address {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 20px;
    text-align: center;
    font-family: cursive;
    -webkit-text-stroke: 1px;
    -webkit-text-stroke-color: #be0b0b;;

    @media (max-width: 768px) {
        font-size: 18px;
        text-align: center;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-weight: normal;
        color: black;
   

    }


}

.hero-buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    gap: 0px;
    margin: 20px;
    padding: 40px;
}

.hero-btn {
     background-color: rgb(62, 100, 151);
 color: #ffffffec;
  border: none;
  border-radius: 8px;
  padding: 14px 25px;
  font-size: 17px;
  cursor: pointer;
  margin-bottom: 10px;
  text-decoration: none;
  box-shadow: 2px 2px 8px #686666;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, font-size 0.3s; 
}
.hero-btn:hover {
  background-color:#fcf5fcec;
  color: #010a0cec;
  box-shadow: 4px 4px 12px #3d3c3c;
}
.hero-btn:active {
    background-color: #dfd09f;
    cursor: progress;
}

.hero-btn2 {
 background-color: #fcf6fcec;
   color: #010a0cec;
  border: none;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 17px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 2px 2px 8px #686666;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, font-size 0.3s;


}
.hero-btn2:hover {
 background-color: rgb(62, 100, 151);
  color: #ffffffec;
  box-shadow: 4px 4px 12px #3d3c3c;
}
.hero-btn2:active {
    background-color: #dfd09f;
    cursor: progress;
}

.news {
    margin-top: 70px;
    margin-bottom: 50px;
}

.intro {
  
    max-height: 1100px;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    gap: 0px; /* Space between text and image */
    background-color: whitesmoke;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 0px;


            @media (min-width: 768px) {
              display: grid;
              grid-template-columns: 1fr 1fr;
              gap: 20px;
              justify-content: center;
              justify-items: center;
              align-items: center;
              vertical-align: center;
            }
            
}

.intro-text {
     
     
    
    margin: 20px;
    min-width: none;
    max-width: 100%;
    text-align: justify;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    height: 100%;
    line-height: 1.6;
    color: #3d3c3c;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
   


            @media (width >= 40em){
                margin-left: 60px;
                max-width: 100%;
            

            }
            @media (width >= 60em){
                margin-left: 30px;
                margin-top: 80px;
              

            }

}


.intro-img {
    width: 100%;
    min-height: 200px;
    
}
.intro-img{
    background: url(tetotim6c.png) no-repeat top;
    background-size: contain;
    height: 350px;
    background-attachment: scroll;
@media(min-width: 768px){
  background: url('tetotim6c.png') no-repeat right center;
  background-size: contain; /* make it taller than the section */
  background-attachment: fixed; /* this makes it "reveal" as user scrolls */
  min-height: 500px;
}
}


.enroll {
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: bold;
    color: rgb(3, 59, 97);
    width: 100%;
}
.enrol {
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: bold;
    color: white;
    width: 100%;
    padding-top: 40px;

}

.why-enroll  {
  display: flex;
  flex-flow: column;
  
  gap: 60px;
  grid-auto-rows: 1fr;
  text-align: center;
  align-items: center;
  justify-content: center;
    max-width: 1300px; /* Set a max width for the grid */
  margin: 0 auto; /* Center the grid horizontally */
  margin-bottom: 100px;


                @media (width >= 40em){
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    align-items: center;
                    gap: 30px;
                }
                @media (width >= 60em){
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                }

}

.yenrol {
    background-color: rgb(0, 0, 31);
    
}

.enroll-item {
    max-width: 250px;
    min-height: 270px;
    max-height: 280px;
    background-color: rgb(217, 243, 243);
    border-radius: 18px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: rgb(6, 60, 92);
    font-size: 15px;
     z-index: 2;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding: 20px;
   
    overflow: hidden;
    box-sizing: border-box;
  transition: background-color 0.3s, border-radius 0.3s, transform 0.3s, color 0.3s;

@media (max-width: 480px) {
}


}

.enroll-item:hover {
    transform: scale(1.05);
    z-index: 2; 
}

.icon {
    width: 50px;
    height: 50px;
    margin: 0px;
  /*  background-color: black;
    border-radius: 100%; */

     
}


.p-img {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 60px;

    


}

.prac {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
     height: 320px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 50px;
    display: block; /* ensures margin auto works */

     @media (width >= 40em){
        width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
     height: 320px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 50px;
    display: block; /* ensures margin auto works */

                    
                }
                @media (width >= 60em){
                    width: 40%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
     height: 320px;
    object-fit: cover;
    object-position: center;
    margin-bottom: 50px;
    display: block; /* ensures margin auto works */

                }


}

.about {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 50px;
    padding: 10px;
    margin-left: 20px;

    max-width: 100%;
    margin-bottom: 100px;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    line-height: 1.6;

    font-size: 18px;
}

.abt-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-school {
    @media (min-width: 768px) {
        margin-left: 50px;
        margin-right: 50px;
        text-align: justify;
    }
}

.propri {
    display: flex;
    flex-direction: column;

    @media (width >= 40em){ 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

     @media (width >= 60em){ 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
}
}
.notes {
    color: #3d3c3c;
    line-height: 2;
}

.propri-img {
    width: 60px;
    border-radius: 100%;
    height: auto;   
}
.propri-foot {
    display: grid;
    grid-template-columns: 1fr 3fr;
    font-size: 18px;
    align-items: left;
    text-align: left;
    color: #3d3c3c;
    margin-top: -10px;
}

.about-h {
    color: rgb(3, 59, 97);
}



.pracu{
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-items: center;
    align-items: top;
    gap: 10px;
    width: 100%;
    margin: 0;

    @media(max-width: 767px){
        display: flex;
        flex-direction: column;
        margin-left: -11px;
    }
}

.pracu img{
    width: 100%;
    border-radius: 15px;
}
.footer-content {
display: grid;
grid-template-columns: 1fr 0.5fr 1fr 1fr;
background-color: rgb(0, 0, 31);
    color: rgb(255, 255, 255);
    padding: 20px;
    font-size: 15px;
    font-weight: lighter;
    text-align: center;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";


   @media (max-width: 480px) {
         
                    display: flex;
                    flex-direction: column;
        justify-content: center;
        align-items: left;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 100%;
        
    }


       @media (max-width: 768px) {
         
                    display: flex;
                    flex-direction: column;
        justify-content: center;
        align-items: left;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 100%;
        }
    }

   

/*
.foot1 {
    width: auto;
    height: auto;
    align-items: left;
    margin-left: 0px;
    display: grid;
    grid-template-columns: 1fr 4fr;
    column-gap: 0px;
    padding: 0px;
    justify-content: left;


   @media (max-width: 480px) {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }  
    

    @media (max-width: 768px) {
     display: grid;
     grid-template-columns: 1fr;
        gap: 20px;
    }
}
/*.footer-logo-container {
 min-width: 60px;
min-height: 65px;
  margin: 0 auto;

}
.footer-logo {
  max-width: 100%;
 
  margin: 0 auto;
}*/

.foot1-2, .foot1-3 {
  
    
    text-align: left;
    padding-left: 0px;
    margin-left: 0px;
    

   
}



    .foot2 {

    text-align: right;
    margin-left: -50px;
    margin-top: 21px;

    @media (max-width: 480px) {
        display: flex;
        flex-direction: column;
    text-align: left;
    padding-left: 0px;
    margin-left: 0px;
    
    }

     @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
    text-align: left;
    padding-left: 0px;
    margin-left: 0px;
    
    }
    }

    .contact-info {
        margin-top: 20px;
        text-align: right;

         @media (max-width: 480px) {
        display: flex;
        flex-direction: column;
    text-align: left;
    padding-left: 0px;
    margin-left: -160px;
    
    }


       @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
    text-align: left;
    padding-left: 0px;
    margin-left: -160px;
    
}
    }
/*.mail, .phone, .whatsapp, .location {
    
    display: flex;
    gap: 10px;
    margin-top: 30px;
    align-items: right;

    

}*/

.f-icon {
     width: 23px;
    height: 23px;
    margin: 0px;
  
}

.footnote {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 30px;
    text-align: center;
    


     @media (max-width: 480px) {
        display: flex;
    }
}
 a {
      text-decoration: none;   /* removes underline */
      color: inherit;          /* takes the color of surrounding text */
    }

    .footlast {
        display: flex;
        justify-content: center;
        align-items: center;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 100%;

       @media (max-width: 480px) {
         
                    display: flex;
        justify-content: center;
        align-items: center;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 100%;
        }

         @media (max-width: 768px) {
         
                    display: flex;
        justify-content: center;
        align-items: center;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 100%;
        }
}
.foot4 {
    letter-spacing: 1.9px;
    font-weight: normal;
}




















/*CSS style for Tests and Exams*/

.t-nav {
 width: 100%;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 300px;
  padding: 0 0px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: #011318;
   font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
}
   
.t-hero-title {
    font-size: 90px;
    font-weight: bolder;
    color: #ffffff;
    -webkit-text-stroke: 1px;
    -webkit-text-stroke-color:  rgb(0, 0, 0);
    text-align: left;
    line-height: 1.4;
    margin: 10px;
   font-family: Georgia, 'Times New Roman', Times, serif;
  /* text-shadow: #faf7f7 1.5px 1.5px 3px;*/

 @media (max-width: 480px) {
    font-size: 50px;
   }
 
    @media (max-width: 768px) {
        text-align: center;
        letter-spacing: 6px;
    }
}

.t-address {
    font-size: 22px;
    font-weight: bolder;
    color: #000;
    margin: 20px;
    text-align: left;
    font-family: cursive;
    padding-bottom: 80px;
    margin-top: 50px;
    line-height: 1.8;
     -webkit-text-stroke: 0.2px;
    -webkit-text-stroke-color:  rgb(255, 255, 255);

    @media (max-width: 480px) {
        font-size: 22px;
        font-family: monospace;
        font-weight: bolder;
        color: yellowgreen;
        -webkit-text-stroke: 0.2px;
    -webkit-text-stroke-color:  rgb(0, 0, 0);

    }

}

.scroll-head {
    width: 50px;
}
.scroll {
    display: flex;
    align-items: left;
    justify-content: left;
    padding: 0 0px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    color: #3d3c3c;
}
a {
    transition: color 0.3s;
}
a:hover {
    color: #00c3ff;
}

a:active {
    cursor: progress;
}

body {
    background-image: linear-gradient(skyblue, whitesmoke);
}
.hero section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
     min-height: 900px;
    

}

.div-log {
    width: 150px;
}

.logo {
    width: 100%;
    height: auto;
}


.term {
    text-align: center;
    font-size: 22px;
    font-family: Roboto-thick;
    padding: 30px;
    font-weight: bold;

}


.examsjss {
    display: flex;
    margin: 0 auto;
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    gap: 180px;
   /* background-image: linear-gradient(to bottom, skyblue, whitesmoke, skyblue);*/
    background-color: rgb(0, 0, 31);
    margin-bottom: 50px;
    width: 100%;

    @media (max-width: 480px){
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100vh;
        gap: 140px;
    }
   
    @media (max-width: 768px){
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto
    }
   
   
}

.exam-img {
    width: 100%;
    border-radius: 12px;
    margin-top: 60px;
    

    @media (min-width: 769px) {
        display: flex;
        justify-content: center;
        width: 60%;
        height: 500px;
        object-fit: cover;
        object-position: center;
        margin: 0 auto;
        border-radius: 30%;
        
    }
}

.j {
    padding: 10px;
    font-size: 18px;
    font-weight: bold;


}

.j1, .j2, .j3 {
   
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
    /* background-color: rgb(239, 241, 241);*/
     border-radius: 20px;
     transition: transform 0.3s, background-color 0.3s, color 0.2s;
 
    @media (max-width: 768px) {
      margin-top: 7px;
        margin-bottom: 7px;
    }
}

/*.j1:hover, .j2:hover, .j3:hover {

    transform: scale(1.02);
    z-index: 2;
    background-color: rgb(226, 193, 193);
    color: red;
}*/
.cond, .write-up {
    flex: 1;
    line-height: 1.9;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 55px;
    font-size: 18px;


    
    @media (width <= 768px) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: justify;
        width: 100%;
        height: auto;
        margin: auto;
        padding: 5px;
    }

}

.randc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    @media (width <= 768px) {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
        height: auto;
    }
}



.t-footer-content {
display: grid;
grid-template-columns: 1fr 0.5fr 1fr 1fr;
background-color: rgb(0, 0, 31);
    color: rgb(255, 255, 255);
    padding: 20px;
    font-size: 15px;
    font-weight: lighter;
    text-align: center;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    @media (max-width: 480px) {
         
                    display: flex;
                    flex-direction: column;
        justify-content: center;
        align-items: left;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 100%;
        
    }


       @media (max-width: 768px) {
         
                    display: flex;
                    flex-direction: column;
        justify-content: center;
        align-items: left;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.5px;
    max-width: 100%;
        }
    }




.foot1 {
    width: auto;
    height: auto;
    align-items: left;
    margin-left: 0px;
    display: grid;
    grid-template-columns: 1fr 4fr 2fr;
    column-gap: 0px;
    padding: 0px;
    justify-content: left;

}
.footer-logo-container {
  width: 60px;
  height: 65px;
  margin: 0 auto;

}
.footer-logo {
  width: 60px;
 
  margin: 0 auto;
}

.foot1-2, .foot1-3 {
  
    text-align: left;
    padding-left: 0px;
    margin-left: 0px;
}



    .foot2 {
    text-align: right;


}
.mail, .phone, .whatsapp, .location {
    margin-left: 160px;
    display: flex;
    gap: 10px;
    margin-top: -17px;
    align-items: center;

}

.f-icon {
     width: 23px;
    height: 23px;
    margin: 0px;
  
}

.footnote {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    text-align: center;
    margin-right: 80px;
}
 a {
      text-decoration: none;   /* removes underline */
      color: inherit;          /* takes the color of surrounding text */
    }

    .footlast {
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.3px;
    margin: 0 auto;
    max-width: 100%;
    padding: 10px 8px;
    word-break: break-word;
}

@media (max-width: 480px) {
    .footlast {
        text-align: center;
        margin: 0 auto;
        padding: 10px 4px;
        font-size: 15px;
        letter-spacing: 0.2px;
        max-width: 100vw;
    }
}

.class-list {
     display: flex;
  flex-flow: column;
  gap: 60px;
  grid-auto-rows: 1fr;
  text-align: center;
  align-items: center;
  justify-content: center;
    max-width: 1300px; /* Set a max width for the grid */
  margin: 0 auto; /* Center the grid horizontally */
  margin-bottom: 100px;
  margin-top: 50px;


                @media (min-width: 524px) and (max-width: 959px){
                    display: grid;
                    align-items: center;
                    gap: 30px;
                    grid-template-columns: repeat(2, 1fr);
                }
                @media (min-width: 1026px ){
                    display: grid;
                    align-items: center;
                    gap: 30px;
                    grid-template-columns: repeat(6, 1fr);
                }
                  @media (min-width: 960px) and (max-width: 1025px) {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    align-items: center;
    
  }
}

.class-box {
   max-width: 300px;
   
    max-height: 320px;
    background-color: rgb(217, 243, 243);
    border-radius: 18px;
    text-align: center;
    margin-bottom: 120px;
    justify-content: center;
    align-items: center;
    color: rgb(6, 60, 92);
    font-size: 18px;
    font-weight: bolder;
     z-index: 2;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding: 20px;
   
    overflow: hidden;
    box-sizing: border-box;
  transition: background-color 0.3s, border-radius 0.3s, transform 0.3s, color 0.3s;

  @media (max-width: 958px){
    margin-bottom: 30px;
  }


}

.class-box:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(3,59,97,0.18);
}

.class-img {
width: 70%;
}



@media (min-width: 786px) and (max-width: 1220px) {
    .footer-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        flex: calc(1fr + 1fr + 1fr + 1fr);
        align-items: center;
    }

   
}





