header {
    background-color: #F9F1E8;
    width: 100%;
    top:0;
    z-index: 1000;
    position: fixed; 
    display: flex; /* Use flexbox for layout */
    padding: 10px 50px; 
    justify-content: space-between; 
}

header nav ul {
    display: flex;
    list-style: none;
    box-sizing: border-box;
}

header nav ul li a {
    display: inline-block;
    color: grey;
    padding: 5px 0;
    margin: 0 10px;
    border: 3px solid transparent;
    text-transform: uppercase;
    transition: 0.2s;
    text-decoration: none;
}

.hamburger {
    cursor: pointer;
    display: none;
}
.hamburger div {
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background: rgb(94, 92, 92);
}

body{
    width: 100%; 
    padding-top: 80px;
    margin: 0;  
}
.logo {
    margin-left: 30px;
    font-family: "Georgia";
    display: flex;
}
/*pop-up window*/
.popup-card{
    width: 100%;
    height: 200vh; 
    background: #0008;
    position: absolute; 
    top:0;
    left:0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

#pop-up{
    text-align: center; 
    width: 400px;
    height: 200px; 
    background: #f7f2ef; 
    box-sizing: border-box; 
    padding: 20px; 
    position: absolute;
    top:30%; 
    left:50%; 
    transform: translate(-50%,-50%);  
    border-radius: 15px;
}

.content2{
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align:center; 
    justify-content: center; 
}
.content2 > h3 {
    margin-top:10px;
    font-size: 1rem;
    font-weight: 600;
    color: #404656;
    margin-bottom: 10px;
    align-items:center; 
    text-align: center; 
    margin-right: 5%; 
     
}

.content2 > p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2rem;
    color: #666b78;
    margin-top: 0.5rem;
   align-items: center;
   text-align: center; 
   margin-right: 10%;  
}

.content2 > h3 > span {
    display: block; /* Ensures each part is on a new line */  
}
.icon {
    background-color: #eee0d6; /* Brown Color */
    border-radius: 50%;
    padding: 20px; /* Adjust the padding as needed */
    width:20px;
    height:20px;
    display: flex;
    align-items:center;
    justify-content: center; 
    float: left;
}

#close-btn{
    position: absolute;
    top:20px;
    right:20px;
    cursor: pointer;
    color: #8b4513;
    border-radius: 50%;
    border:none;
    background-color: #eee0d6;
    padding: 20px;
    width:20px;
    height:20px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

#close-btn span{
    font-size: 1.5rem;
    font-weight: bold;
}
.navigation_bar {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Vertically center items */
}

.navigation_bar li {
    margin-left: 20px; /* Adjust spacing between navigation items */
}

.navigation_bar li a {
    text-decoration: none;
    color: grey;
    padding: 5px 10px; /* Adjust padding for navigation items */
}

.mobile-container{
    display: none;
}

/*language shit*/
.language_container{
    text-align: center;
    background-color: #E9E0D8;
    padding: 20px;
}
.langwrap{
    background:#e4dedc; 
}
.language_container a{
    color: grey;
    font-weight: bold;
    text-decoration: none;
    font-size: larger;
    padding: 0 13px;
}

.language_container .active{
    background:rgb(202, 189, 179);
    padding: 8px 15px;
}


h1{
    font-size: 40px;
}

h2{
    font-size: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #716B6B; 
}

h3{
    font-size: 10px;
    color: #716B6B; 
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 6px 0px;
}

h1, h2, h3{
    margin: 0; /* Remove default margins */
    font-family: 'Montserrat'; 
}
h5{
    margin-left: 15%;
    text-align: center;
    font-family: 'Montserrat'; 
    line-height: 2em;
}



.container {
    background-color: #E9E0D8;
    display: flex;
    padding: 60px; /* Adjust padding as needed */
    flex-direction: row-reverse; /* Reverse the order of flex items */
}

.laptop {
    flex: 1; /* Occupy available space */
    margin-left: 20px; /* Add some spacing between laptop and text */
    align-self: center; /* Vertically center the laptop image */
}

.text {
    flex: 1; /* Occupy available space */
    margin-top: 30px;
    display: flex; /* Add this to make it a flex container */
    flex-direction: column; /* Arrange its children vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text within the container */
}

.btn{
    border: 2px;
    background-color: #CAB6A7;
    color: black;
    width: 25%; 
    height:20%; 
    padding: 2px 2px;
    font-size: 10px;
    cursor: pointer;
    font-family: 'Montserrat';  
}

.btn.more:hover {
    background-color: #E1D0C4;
    color: white;
}

.btn.more{
    font-size: 15px;
}

.custom-heading {
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold; /* Add boldness */
    color: #555;
    font-family: "Times New Roman";
}

.custom-heading::after {
    content: '';
    background: grey;
    display: block;
    height: 2px;
    width: 50px;
    margin: 14px auto 5px;
    /* Adjust line style */
    border-radius: 3px; /* Add some radius to the line for a consistent look */
}

/* Apply consistent styling to your custom headings */


.content {
    display: flex; /* Use flexbox */
    flex-direction: row; /* Arrange children side by side */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    margin-right: 10%;
}

.imagec{
    margin-left: 10%;
    width: 100px;

}
.container2-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}
  
.container2 {
    flex: 0 0 calc(33.33% - 20px); /* Three containers per row by default */
    margin-bottom: 20px;
    align-items: center; 
}


.team {
    display: flex; 
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text horizontally */   
}


/* Style the language picker container */

.center{
    text-align:center;
}

.columns {
    float: left;
    width: 33.3%;
    padding: 8px;
    
}
.price {
    list-style-type: none;
    border: 1px solid #eee;
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  
  .price:hover {
    box-shadow: 0 8px 12px 0 rgba(116, 67, 67, 0.2)
  }
  
  .price .header {
    background-color: rgb(211, 187, 167);
    color: rgb(94, 78, 59);
    font-size: 25px;
    font-family:'Montserrat'; 
  }
  
  .price li {
    padding: 5px;
    text-align: center;
  }
  
  .price .grey {
    background-color: #eee;
    font-size: 20px;
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Space items evenly */
    padding: 10px 20px; /* Adjust padding as needed */
    font-family:'Montserrat'; 
    
}

.button {
    background-color: #F9F1E8;
    border: none;
    color: rgb(131, 116, 104);
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer; 
    display: flex; 
    font-family:'Montserrat'; 
    
}

.class-list { /* grey science, maths area*/ 
    list-style-type: none;
    margin: 0;
    padding: 0; 
    font-family:'Montserrat'; 
}

.class-list li {
     margin-left:10px;
    text-align:left;/* Add relative positioning */
    color: #716B6B; /* Adjust the underline color */
    font-family:'Montserrat'; 
}
h15{
    font-size: 20px;
    padding: 20px 30px;
    font-family:'Montserrat'; 
    color: #716B6B;
    text-align: center;
}

.columns {
    float: left;
    width: calc(33.33% - 20px); /* Adjust width and spacing */
}

.price .grey2{
    background-color: #eee;
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Space items evenly */
    padding: 10px 20px; /* Adjust padding as needed */
    height: 60px; 
}

.format{
    text-align: center;
    display: flex;
    flex-direction: row; /* Arrange children side by side */
    align-items: center; /* Center items vertically */
    justify-content: center; 
    background-color:#e4dedc;
    padding: 20px 30px;
    border-radius: 10px; 
}

.code::after {
    content: '';
    background: grey;
    display: block;
    height: 1px;
    width: 50px;
    margin: 6px auto 10px;
    /* Adjust line style */
    border-radius: 3px; /* Add some radius to the line for a consistent look */
}

.contact{
    background-color: #f3efea;
    margin-top: 350px;
    padding:6px  
}

.logocontact{
    margin-left: 15%;
    float: left;
}

.Whatsapp{
    font-family:Georgia, 'Times New Roman', Times, serif;
    text-decoration: none;
    color: grey;
    margin-left: 4%;
}
.contacts {
    margin-left: 60%;
    text-align: center; /* Center-align the contact icons and information */
}

.contact-item {
    display: flex; /* Align icon and text horizontally */
    align-items: center; /* Vertically center items within each contact item */
    margin-bottom: 10px; /* Add spacing between contact items if needed */
}

.contact-item img {
    margin-right: 10px; /* Add spacing between icon and text */
}

.contact p {
    text-align: center; /* Center-align the footer text */
    padding: 10px 0; /* Adjust padding as needed */
    font-size: small;
}

.about{
    background-color:#fdf9f6; 
    padding: 10px;
    margin-top: -1px; 
}


.team{ /*check*/
    background-color:#fdf9f6;
    margin-bottom: 100px;  
}

h9, h10,h11, h12, h13 ,h14, h16{
    font-family: Georgia; 
    line-height: 1.7em;
    color: #4e4b4b;
}
p{
    font-family: Georgia; 
    line-height: 1.7em;
    color: #4e4b4b;
    font-size: small;
    flex:1;
}

.ESF{
    align-items:center;
    flex:1;
}

/* Style the Show Details section */
summary{
    padding: 10px;
    background-color: #eee7e0;
    border: 1px solid #f5f1ef;
    color: #716B6B;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    outline: none;
    text-align: center;
    font-family: "Georgia";
}
  
summary:hover {
    background-color: #E1D0C4;
}

/* Style for the pop-up */
.in{
    font-size: small;;
}

/* Apply similar styling to your French pricing table */
.frenchcolumns table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.frenchcolumns th.header {
    font-size: 20px;
    font-family: 'Montserrat';
    text-align: center;
    padding: 10px;
    font-weight: normal; /* Remove bold style */
}

.frenchcolumns th, .frenchcolumns td {
    text-align: center;
    padding: 10px;
    font-family: 'Montserrat';
    font-size: 15px;
    font-weight: normal; /* Remove bold style */
}

.frenchcolumns tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Style the header row */
.frenchcolumns tr:first-child {
    font-weight: bold;
    color: #555;
}

/* Style the last row (Groups of 3-5) differently */
.frenchcolumns tr:last-child {
    background-color: #e6e6e6;
}

/* Style the price column */
.frenchcolumns td.price {
    background-color: #f2f2f2;
    font-family: 'Montserrat';
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* Style the "Contact" button column */
.frenchcolumns td.contact {
    background-color: #ece0d6;
    font-size: 15px;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

/* Style the table on hover */
.frenchcolumns table:hover {
    box-shadow: 0 8px 12px 0 rgba(116, 67, 67, 0.2);
}

/* Style the class list items */
.frenchcolumns ul.class-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat';
    font-size: small;
}

.frenchcolumns ul.class-list li {
    margin-left: 10px;
    text-align: left;

}

/* reviews shit */ 
.review {
    display: flex; 
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center; /* Center text horizontally */ 
}

.review_container {
    flex: 1;
    padding: 8px;
}


.review_box {
    border: 2px solid rgba(0, 0, 0, 0.5); /* Darker border */
    background-color:rgb(240, 235, 231); /* Semi-transparent filled color */
    padding: 16px;
    margin-bottom: 16px;
    float: left;
    flex: 0 0 calc(33.33% - 20px); /* Three containers per row by default */
    align-items: center; 
}

.review_header {
    font-size: 20px;
    font-weight: bold;
    font-family: 'Montserrat'; 
    text-align: center;
}

.review_type {
    font-style: italic;
    margin-bottom: 8px;
    font-family: 'Montserrat'; 
    text-align: center;
}

.review_content {
    margin-bottom: 8px;
    font-family: 'Montserrat'; 
    text-align: center;
}

/* Add additional styling as needed */

.review_image {
    width: 20%;
    align-items: center;
}
.review_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: -300px;
    align-items: center;
}


/* Add additional styling as needed */

/* Mobile styles */
/* Small screens (e.g., smartphones) */

@media (max-width: 600px) {
    .hamburger {
        display: block;
        margin-top: 15px;
        margin-left: 100px;
    }
    header nav {
        position: absolute;
        width: 100%;
        left: -150%;
        top: 70px;
        background: rgb(238, 231, 222);
        padding: 30px;
        transition: 0.3s;
    }
    header #nav_check:checked ~ nav {
        left: 0;
    }
    header nav ul {
        display: block;
    }
    header nav ul li a {
        margin: 5px 0;
        font-size: x-large;
        padding: 2px 0px;
    }
    .hamburger div {
        width: 30px;
        height: 3px;
        margin: 5px 0;
        background: rgb(94, 92, 92);  
    }

    /*popup window*/
    .popup-card {
        height: 100vh; /* Adjust height for smaller screens */
    }

    #pop-up {
        width: 90%; /* Adjust width for smaller screens */
        height: auto; /* Allow content to dictate height */
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .content2 > h3{
        font-weight: bold; 
        margin-right: 0; 
    }
    .content2 > p {
        margin-right: 2rem; /* Remove right margin for smaller screens */ 
    }

    .mobile-container{
        display: block;
    }
    .navigation_bar {
        display: none;
    }

    .columns{
        width: calc(33.33% - 20px); 
    }

    body {
        width: 100%;
      }

    .container{
        background-color: #E9E0D8;
        display: flex;
        padding: 20px; /* Adjust padding as needed */
        flex-direction: column; /* Reverse the order of flex items */
    }
    .text{
        margin-left: 40px;
        align-items: center;
    }
    .laptop{
        display:block;  
        margin-right: 15px;
        align-self: center; /* Vertically center the laptop image */
    }
    body {
        font-size: 10px; /* Adjust font size for smaller screens */
    }
    text{
        text-align: left; 
    }
    h1{
        font-size:large; 
        margin-top: -20px;
        margin-left: -50px; 
        font-weight: bold; 
    }
    h2{
        font-size: x-small;
        margin-left: -50px;
    }
    h3{
        font-size: xx-small; 
        margin-left: -50px;
    }
    .content{
        margin-left: -25px; 
    }
    h5{
        font-size: small;
        font-family: 'Montserrat';
    }

    .btn{
        border: 2px;
        background-color: #CAB6A7;
        color: black;
        width: 100%; 
        height:20px; 
        padding: 15px 2px;
        cursor: pointer;
        font-family: 'Montserrat'; 
        margin-left: -45px; 
        
    }
    
    .btn.more:hover {
        background-color: #E1D0C4;
        color: white;
    }
    
    .btn.more{
        font-size: 15px;
        text-align: center;
        line-height: 0.2; 
    }
    .custom-heading h7 {
        font-size: 20px; /* Adjust the font size for smaller screens */
    }

    .price li.header {
        font-size: 16px; /* Adjust the font size for smaller screens */
    }

    .center-text {
        font-size: 14px; /* Adjust the font size for smaller screens */
    }

    .class-list li {
        font-size: 12px; /* Adjust the font size for smaller screens */
    }
    .container2 {
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.container2-wrapper {
    display: flex;
    justify-content: center; /* Center the .container2 elements horizontally */
    width: 100%;
    margin-top: 20px; /* Add some spacing between the title and containers */
}


.center{
    text-align:center;
}

.price {
    list-style-type: none;
    border: 1px solid #eee;
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  
  .price:hover {
    box-shadow: 0 8px 12px 0 rgba(116, 67, 67, 0.2)
  }
  
  .price .header {
    background-color: rgb(211, 187, 167);
    color: rgb(94, 78, 59);
    font-size: small;
  }
 
  
  .price li {
    padding: 5px;
    text-align: center;
  }
  .class-list{
      font-size: small;
  }
  
  .price .grey {
    background-color: #eee;
    font-size: 20px;
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Space items evenly */
    padding: 10px 10px; /* Adjust padding as needed */
    
}

.button {
    background-color: #F9F1E8;
    border: none;
    color: rgb(131, 116, 104);
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    margin-left: -13px; 
}

.class-list { /* grey science, maths area*/ 
    list-style-type: none;
    margin: 0;
    padding: 0; 
}

.class-list li {
     margin-left:1px;
    text-align:left;/* Add relative positioning */
   
    color: #716B6B; /* Adjust the underline color */
}

h15{
    font-size: 20px;
    padding: 20px 30px;
    text-align: center;
}
.img-whatsapp{
    width: 10;
}

    .grey2 a.button {
        overflow: hidden;
        display: block;
        text-align: center;
        padding: 2px 10px;
        font-size: small;
        border: none; /* Remove border */
    }

    .grey2 a.button img {
        display: block;
        margin: 0px auto;
    }  

    .myp{
        width: 60%;
    }
    .igcse{
        width: 60%; 
    }
    .IB{
        width: 50%;
        margin-left: -7%; 
    }
    .STEM{
        width: 45%; 
        margin-left: -7%; 
    }
    .footerlogo{
        width: 50%;
        margin-left: -40px;
        display: flex;
    }
    .contacts {
        float: left;
        margin-left: 50%;
        margin-top: -40%;
    }

    .contact-item {
        display: flex; /* Align icon and text horizontally */
        align-items: center; /* Vertically center items within each contact item */
        margin-bottom: 10px; /* Add spacing between contact items if needed */
    }
    
    .contact-item img {
        margin-right: 2px; /* Add spacing between icon and text */
    }
    
    .contact p {
        text-align: center; /* Center-align the footer text */
        padding: 10px 20px; /* Adjust padding as needed */
        font-size: small;
    }
    .frenchcolumns th.header {
        font-size: 15px;
        font-family: 'Montserrat';
        text-align: center;
        padding: 10px;
        font-weight: normal; /* Remove bold style */
    }
    .frenchcolumns th, .frenchcolumns td {
        text-align: center;
        padding: 10px;
        font-family: 'Montserrat';
        font-size: 13px;
        font-weight: normal; /* Remove bold style */
    }

    .review_container {
        flex: 0 0 calc(100% - 20px); /* Full width on mobile */
    }
  
    /*review shit*/ 
   

}


 









