/* Reset some default styles */
@import url(../Assets/marthin/Marthin/Marthin.otf);
@import url(../Assets/HelveticaFontFamily/Helvetica.ttf);
@import url(../Assets/Montserrat/Montserrat-VariableFont_wght.ttf);
@import url(../Assets/Cooperative/Hafontia\ -\ Cooperative\ Regular.otf);

@font-face {
    font-family: 'Cooperative-Regular';
    src: url('../Assets/Cooperative/Hafontia - Cooperative Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.all-text {
    font-family: Helvetica;
    color: #333; /* Improved text contrast for readability */
}

/* Homepage */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
}

#navbar{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

.navbar img{
    width: 50px !important;
    height: auto !important;
}

#navbar li{
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
}

#navbar li a:hover{
    color: #088178;
}

#navbar li a:hover,
#navbar li a.active{
    color: #088178;
}

#navbar li a.active::after, 
#navbar li a:hover::after{
    content: "";
    width: 30%;
    height: 2px;
    background: #088178;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

#close{
    display: none; /* Initially hidden */
}

.icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    display: inline-block;
    text-decoration: none;
    padding: 10px;
    color: #000;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Dropdown items */
.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content li a:hover {
    background-color: #ff914d;
}

/* Full-screen sections */
#layout-content > div {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding: 20px; /* Responsive padding for content */
}

/* Background images cover full area */
.uk-background-cover {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Welcome section */
.scnry-w-section{
    background-image:  url(../Assets/Home/ARTICLE.jpg);
    background-size: cover;
}

.scn-w-img{
    margin-bottom: 255px;
    text-align: center;
    margin-top: -15px;
}

.scn-w-img img{
    height: 435px;
    width: 435px;
}

.scn-w-img h1{
    font-size: 28px;
    color: #000;
    font-family: 'Montserrat';
    margin-top: 14px;
}

/* Project Extreme section */
.pe-section {
    background-image: url(../Assets/Home/nts-background.png);
    background-size: cover;
}

.pe-row {
    display: flex;
    flex-direction: row;
}

.nts {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.nts img {
    width: 750px;
    align-items: center;
    justify-content: center;
    margin-left: 25px;
}

.nts h2 {
    font-size: 38px;
    color: #000;
    font-weight: bold;
    padding-left: 14px;
    margin-left: 21px;
    font-family: "Montserrat", sans-serif;
}

.nts p {
    font-size: 21px;
    color: #ff914d;
    padding-left: 14px;
    margin-left: 38px;
    font-family: "Montserrat", sans-serif;
}

.pe-info {
    width: 50%;
    text-align: left;
    color: #000;
    display: flex;
    justify-content: center;
    flex-direction: row !important;
    height: 360px !important;
}

.pe-items {
    margin-top: 110px;
    margin-left: 210px;
}

.pe-information img {
    padding: 20px;
    width: 490px !important;
}

.pe-container {
    display: flex;
    flex-direction: column;
}

/* Information section */
.tab-section {
  font-family: "Montserrat", sans-serif;
  background-color: #0c2c2c;
  color: white;
  padding: 20px;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

.tab-link {
  background: none;
  border: none;
  padding: 10px 15px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

.tab-link:hover,
.tab-link.active {
  background-color: #1a4646;
  border-bottom: 3px solid yellow;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content img {
  width: 100%;
  max-width: 600px;
  margin-top: 15px;
  border-radius: 8px;
}

.vision {
    padding-bottom: 4px;
}

.vision-h {
    font-family: 'Cooperative-Regular';
    font-size: 70px;
    color: #fff;
    padding-left: 20px;
}

.vision-p {
    font-family: 'Montserrat';
    color: #fff;
    padding-left: 20px;
}

/* Skills section */
.skills-info {
    width: 100%;
    text-align: left;
    color: #000;
    display: flex;
    justify-content: center;
    flex-direction: row !important;
}

.skills-items {
    display: flex;
    flex-direction: column;
}

.skills-information {
    width: 30%;
}

.skills-information img {
    padding: 20px;
    width: 490px !important;
}

.skills-container {
    display: flex;
    flex-direction: row;
    gap: 35px;
}

.skills-info-2 {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.skills-items-2 {
    width: 12.5%;
    border-radius: 0;
}

.skills-items-2 img {
    border-radius: 0;
}

/* Additional Courses section */
.act-info{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.act-head{
    text-align: center;
    width: 100%;
}

.act-head h2{
    font-family: 'Cooperative-Regular';
    font-style: normal;
    color: #fff;
    font-size: 7.5rem;
    font-weight: 500;
}

.act-head h3 {
    font-family: 'Cooperative-Regular';
    font-style: normal;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 500;
}

.act-items{
    flex-direction: column;
    justify-content: center;
    position: relative; /* Create a positioning context */
}

.act-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    z-index: 1;
}

.act-info-box {
    border: 2.5px solid #104d6f; /* This includes width, style, and color */
    margin: 20px;
}

.act-information {
    position: relative; /* Create a positioning context for the icon */
    text-align: center; /* Ensure H2 and text are centered */
    padding-top: 50px;  /* Give space for the icon above */
}

.act-information img{
    height: 70%;
    width: 70%;
}

.act-information h2{
    padding: 17px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;
}

.act-information p {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: center;
}

.act-img {
    position: absolute;
    top: 0;
    width: 60px !important;
    height: 60px !important;
    z-index: 10;
}

/* Individual controls for each image */
.act-img-1 {
    left: 72%;  /* adjust as needed */
    top: -1px !important; /* adjust vertical placement */
}

.act-img-2 {
    left: 50%;  
    transform: translateX(215%) !important; /* keep center */
    top: -1px !important; /* adjust vertical placement */
}

/* Student Program section */
.section-sp {
    background-image: url(../Assets/Home/5.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
}

.sp-head {
    justify-content: center;
    width: 100%;
}

.sp-head img {
    width: 350px;
    height: auto;
    justify-content: center;
}

.acc-sp {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    padding: 0;
}

.sp-p {
    width: 50%;
}

.sp-items {
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative; /* Create a positioning context for the icon */
    text-align: center; /* Ensure H2 and text are centered */
}

.sp-i-img {
    position: absolute;
    width: 60px !important;
    height: 60px !important;
    z-index: 10;
}

/* Individual controls for each image */
.sp-i-img-1 {
    top: -50px !important;  /* Moves above the first H2 */
    left: 25%;   /* Slightly to the left of center */
    transform: translateX(345%) !important;
}

.sp-items h2 {
    color: #000 !important;
    font-size: 55px !important;
    text-align: right;
    margin-right: 56px;
    font-family: "Montserrat", sans-serif;
}

.sp-items h3 {
    color: #000 !important;
    font-size: 35px !important;
    text-align: right;
    margin-right: 56px;
    font-family: "Montserrat", sans-serif;
}

.sp-items p {
    color: #000 !important;
    font-size: 21px !important;
    text-align: right;
    margin-right: 56px;
    font-family: "Montserrat", sans-serif;
}

/* Xun & Khwe section */
.section-em {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    background-image: url(../Assets/Home/6.png) ;
    background-size: cover;
}

.sp-head {
    justify-content: center;
    width: 100%;
}

.sp-head img {
    width: 350px;
    height: auto;
    justify-content: center;
}

.acc-sp {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    padding: 0;
}

.sp-p {
    width: 50%;
}

.sp-items {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.sp-items h2 {
    color: #ff914d;
    font-size: 28px;
    text-align: right;
    font-family: "Montserrat", sans-serif;
}

.sp-items h3 {
    color: #ff914d;
    font-size: 25px;
    text-align: right;
    font-family: "Montserrat", sans-serif;
}

.sp-items p {
    color: #ff914d;
    font-size: 21px;
    text-align: right;
    font-family: "Montserrat", sans-serif;
}

/* About Section */
.section-ab {
    display: flex;
    flex-direction: row;
    background-image: url(../Assets/Home/Untitled\ design/3.png);
    background-size: cover;
}

.ab-1 {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-left: 55px;
}

.ab-1 img {
    width: 280px;
    justify-content: center;
    text-align: center;
    margin-bottom: 55px;
    margin-left: 155px;
}

.ab-1 h2 {
    color: #000;
    font-family: 'Cooperative-Regular';
    font-size: 63px;
    text-align: left;
}

.ab-1-p {
    margin-top: 55px;
}

.ab-1-p p {
    color: #000;
    font-family: 'Cooperative-Regular';
    font-size: 35px;
    line-height: 14px;
    text-align: left;
}

.ab-2 {
    width: 50%;
}

.ab-2 img {
    width: 850px;
}

/* Making Difference Section */
.section-md {
    background-image: url(../Assets/Home/Untitled\ design/1.png);
    background-size: cover;
    min-height: 75vh;
}

.md {
    background-color: #e3e8f0;
    padding: 21px;
    margin-top: 90px;
}

.md h2 {
    color: #005349;
    font-family: 'Cooperative-Regular';
    font-size: 49px;
}

.md-p {
    margin-top: 55px;
}

.md-p p {    
    color: #000;
    font-size: 21px;
    line-height: 14px;
    font-family: 'Montserrat';
}

/* Empowering Section */
.section-emp {
    display: flex;
    flex-direction: row;
    background-image: url(../Assets/Home/Untitled\ design/2.png);
    background-size: cover;
}

.emp-1 {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.emp-head-1 {
    color: #000;
    font-family: 'Cooperative-Regular';
    font-size: 49px;
}

.emp-2 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.emp-2 img {
    width: 70%;
}

.emp-b {
    padding: 10px 20px;
    background-color: #005349;
    color: #ff914d;
    cursor: pointer;
    font-size: 1em;
    width: 250px;
    margin-top: 35px;
}

.emp-b a {
    color: #ff914d;
}

.emp-b:hover{
    background-color: #fff;
    color: #ff914d;
}

/* General content padding */
.uk-padding {
    padding: 20px;
}

/* Container width */
.uk-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main heading */
.mainheading {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Subheadings for sections */
h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

/* Paragraph styling */
p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Button styling */
.uk-button {
    padding: 10px 20px;
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect on buttons */
.uk-button:hover {
    background-color: #fff;
    color: #000;
}

/* Flexbox centering for inner content */
.uk-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Margin for large sections */
.uk-margin-large {
    margin: 40px 0;
}

/* Footer section */
footer {
    background-color: #005349;
    padding: 20px 20px;
    color: #000;
    text-align: center;
}

footer p {
    color: #fff !important; /* Light gray text color */
    margin: 5px 0; /* Space between each paragraph */
    font-size: 1em; /* Default font size for the text */
    text-align: left; /* Center the text inside each paragraph */
    display: inline-block; /* Shrink to the width of the text */
    width: 100%; /* Ensures the text takes up the full width of the container */
    margin-left: 35px;
    font-family:  Helvetica;
}

.copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    flex-direction: row;
    padding: 38px;
    width: 100%;
}

.ft-box {
    flex: 1;
    padding: 20px;
    width: 50%;
    padding-left: 38px;
    padding-right: 38px;
}

.ft-box-2 {
    flex: 1;
    padding: 20px;
    width: 50%;
    padding-left: 38px;
    padding-right: 38px;
    justify-content: right;
    text-align: right;
    align-items: right;
}

.ft-txt{
    display: flex;
    justify-content: center;
    flex-direction: row;  
}

.ft-txt img{
    margin-top: 6.5px;
    height: 33px;
    width: 33px;
}

.ft-txt, .ft-txt2, .ft-txt3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family:  Helvetica;
}

.ft-txt i{
    padding-top: 5px;
    padding-left: 25px;
    color: #fff;
    font-family:  Helvetica;
}

.ft-img img{
    justify-content: right;
}

.ft-txt3{
    display: flex;
    justify-content: right;
    flex-direction: row; 
    color: #fff !important;
    margin-right: 155px;
    margin-top: -70px;
}

.ft-txt3 a img {
    width: 55px;
    height: 55px;
    margin: 0 10px;
}

.ft-btn {
    padding: 10px 20px;
    border: 1.5px solid #000;
    border-radius: 14px;
    cursor: pointer;    
    background-color: #fff;
    font-family:  Helvetica;
    text-decoration: none !important;
}

.ft-btn a{
    text-decoration: none !important;    
    color: #000;
    font-size: 1.4em;
}

.ft-btn:hover {
    background-color: #f8b400;
}

/* Media queries for responsiveness */
/* For screens between 1680px and 1920px */
@media only screen and (min-width: 1680px) and (max-width: 1920px){
    body {
        font-size: 20px; /* Adjust font size for better readability */
        padding: 0 !important; /* Remove padding for better layout */
        margin: 0 !important; /* Remove margin for better layout */
    }

    #header {
        padding: 15px 50px; /* Adjust padding to fit smaller screen widths */
    }

    /* Navbar */
    #navbar {
        justify-content: space-between;
        padding: 0 15px;
    }

    /* Project Extreme section */
    .pe-row{
        flex-direction: row;        
    }

    .pe-info {
        width: 50%; /* Make room info full-width */
        padding: 10px; /* Adjust padding */
        flex-direction: column !important;
    }

    .pe-info1 {
        width: 50%; /* Make room info full-width */
        height: auto;
    }

    .pe-head h2{
        margin-top: 0;
    }

    .pe-p p{
        margin-left: 75px;
    }

    .pe-container {
        padding-top: 28px;
        justify-content: space-around;
    }

    .pe-items {
        margin-top: 1515px;
    }

    .pe-information img {
        width: 470px !important;
        height: auto;
        margin-left: 0 !important;
        padding: 10px;
    }

    .pe-information-r img {
        width: 100%;
        height: auto;
        margin-left: 0 !important;
        padding: 10px;
    }

    .pe-info-box{
        margin-left: 80px;
        margin-right: 80px;
    }

    /* Activities section */
    .act-img-1 {
        left: 68%;  /* adjust as needed */
        top: 28px; /* adjust vertical placement */
    }

    .act-img-2 {
        left: 50%;  
        transform: translateX(180%); /* keep center */
        top: 28px; /* adjust vertical placement */
    }

    .act-img-3 {
        left: 71%;  /* adjust as needed */
        top: 28px;
    }

    /* Student Program section */
    .sp-i-img-1 {
        top: -10px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(275%) !important;
    }

    /* Xun & Khwe section */
    .x-i-img-1 {
        top: 56px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(175%) !important;
        position: relative;
    }

    /* Adjust footer layout */
    .ft-box {
        width: 45%; /* Adjust width for the footer boxes */
    }
}

/* For screens between 1480px and 1680px */
@media only screen and (min-width: 1480px) and (max-width: 1680px){
    body {
        font-size: 22px; /* Adjust font size for better readability */
    }

    #header {
        padding: 15px 50px; /* Adjust padding to fit smaller screen widths */
    }

    /* Navbar */
    #navbar {
        justify-content: space-between;
        padding: 0 15px;
    }

    /* Welcome section styling */
    .scn-stay h1 {
        font-size: 11rem !important;
    }

    .scn-stay p{
        font-size: 2.8rem;
    }

    /* Project Extreme section */
    .pe-row{
        flex-direction: row;        
    }

    .pe-info {
        width: 50%; /* Make room info full-width */
        height: 450px !important;
    }

    .pe-info1 {
        width: 50%; /* Make room info full-width */
        height: 450px !important;
    }

    /* Activities section */
    .act-img-1 {
        left: 68% !;  /* adjust as needed */
        top: 28px; /* adjust vertical placement */
    }

    .act-img-2 {
        left: 50%;  
        transform: translateX(180%); /* keep center */
        top: 28px; /* adjust vertical placement */
    }

    .act-img-3 {
        left: 71%;  /* adjust as needed */
        top: 28px;
    }

    /* Student Program section */
    .sp-i-img-1 {
        top: -21px;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(565%);
    }

    /* Xun & Khwe section */
    .x-i-img-1 {
        top: 56px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(-45%) !important;
        position: relative;
    }

    /* Adjust footer layout */
    .ft-box {
        width: 45%; /* Adjust width for the footer boxes */
    }
}

/* For screens between 1280px and 1480px */
@media only screen and (min-width: 1280px) and (max-width: 1480px){
    body {
        font-size: 20px; /* Adjust font size for better readability */
    }

    #header {
        padding: 15px 50px; /* Adjust padding to fit smaller screen widths */
    }

    /* Navbar */
    #navbar {
        justify-content: space-between;
        padding: 0 15px;
    }

    /* Welcome section styling */
    .scn-stay h1 {
        font-size: 10rem !important;
    }

    .scn-stay p{
        font-size: 2.5rem;
    }

    /* Project Extreme section */
    .pe-section {
       height: 255vh !important;
    }

    .pe-row{
        flex-direction: column;  
        margin-top: -355px;      
    }

    .pe-info {
        width: 100%; /* Make room info full-width */
        height: 500px !important;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
        height: 500px !important;
    }

    .nts {
        width: 100%;
    }

    .nts h2 {
        margin-left: 0;
    }

    .nts p {
        margin-left: 0;
    }

    .nts img {
        margin-left: 0;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .pe-info {
        margin-top: -85px;
    }

    .pe-items {
        margin-left: 0;
    }

    .pe-container {
        flex-direction: row;
    }

    /* Activities section */
    .act-img-1 {
        left: 77%;  /* adjust as needed */
        top: 28px; /* adjust vertical placement */
    }

    .act-img-2 {
        left: 50%;  
        transform: translateX(190%); /* keep center */
        top: 28px; /* adjust vertical placement */
    }

    .act-img-3 {
        left: 82%;  /* adjust as needed */
        top: 28px;
    }

    /* Student Program section */
    .sp-i-img-1 {
        top: -35px;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(280%);
    }

    /* Xun & Khwe section */
    .x-i-img-1 {
        top: 56px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(-75%) !important;
        position: relative;
    }

    /* Adjust footer layout */
    .ft-box {
        width: 45%; /* Adjust width for the footer boxes */
    }
}

/* Laptops/Desktops (1024px - 1280px) */
@media only screen and (min-width: 1024px) and (max-width: 1280px) {
    body {
        font-size: 20px;
    }

    /* Navbar adjustments */
    #header {
        padding: 20px 60px;
    }

    #navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    /* Welcome Section */
    .scn-w-img{
        margin-bottom: 85px;
    }

    .scn-w-img h1{
        font-size: 50px;
    }

    /* Project Extreme Section */
     .pe-row{
        flex-direction: column;        
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-container {
        padding-top: 28px;
        justify-content: space-around;
        flex-direction: row;
    }

    .pe-information img {
        width: 100%;
        height: auto;
        margin-left: 0 !important;
        padding: 10px;
    }

    .nts {
        width: 100%;
    }

    .pe-info {
        width: 100%;
        height: 580px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        flex-direction: column;
    }

    .pe-container img {
        width: 350px !important;
    }

    /* Student Program section */
    .sp-p {
        display: none;
    }

    .sp-items {
        width: 100%;
    }

    .sp-i-img {
        position: absolute;
        width: 110px !important;
        height: 110px !important;
        z-index: 10;
    }

    /* Individual controls for each image */
    .sp-i-img-1 {
        top: -80px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(275%) !important;
    }

    /* Xun & Khwe section */
    .x-i-img-1 {
        top: 56px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(215%) !important;
        position: relative;
    }
    
    /* Activities section */
    .section-ab {
        flex-direction: column;
    }

    .ab-1 {
        width: 100%;
        margin-left: 0;
        justify-content: center;
        align-items: center;
    }

    .ab-1 img {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1-p p {
        text-align: center;
    }

    .ab-2 {
        width: 100%;
    }

    /* Additional Courses section */
    .act-img {
        position: absolute;
        top: 0;
        width: 60px !important;
        height: 60px !important;
        z-index: 10;
    }

    /* Individual controls for each image */
    .act-img-1 {
        left: 72%;  /* adjust as needed */
        top: -1px !important; /* adjust vertical placement */
    }

    .act-img-2 {
        left: 50%;  
        transform: translateX(215%) !important; /* keep center */
        top: 1px !important; /* adjust vertical placement */
    }

    /* Skills section */
    .skills-items {
        flex-direction: row;
    }

    .skills-container {
        flex-direction: column;
        width: 50%;
    }

    .skills-information {
        width: 100%;
    }

    .skills-information img {
        padding: 20px;
        width: 450px !important;
    }

    /* About section */
    .section-ab {
        flex-direction: column;
    }

    .ab-1 {
        width: 100%;
    }

    .ab-2 {
        width: 100%;
    }

    /* Adjust footer layout */
    .ft-box {
        width: 45%; /* Adjust width for the footer boxes */
    }

    /* Footer adjustments */
    .copyright {
        flex-direction: row;
        gap: 40px;
    }

    .ft-box {
        width: 40%;
        padding: 25px;
    }

    .ft-txt img {
        margin-top: 8.5px;
        height: 28px;
        width: 28px;
    }
}

/* For screens up to 1024px */
@media only screen and (max-width: 1024px) {
    body {
        font-size: 16px; /* Further reduce font size */
    }

    #header {
        padding: 10px 20px; /* Reduce padding to fit smaller screens */
        flex-direction: column; /* Stack header items vertically */
    }

    /* Navbar */
    #navbar {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: center;
    }

    /* Welcome section styling */
    .scn-stay h1 {
        font-size: 7rem !important;
    }

    .scn-stay p{
        font-size: 2rem;
    }

    /* Project Extreme Section */
    .pe-row {
        flex-direction: column; /* Stack room info sections vertically */
    }
    
    .pe-info {
        width: 100%; /* Full width for room info */
        height: 745px !important;
        flex-direction: row;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

     .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        font-size: 1.6rem; /* Adjust heading size */
        width: 100%;
    }

    .pe-info p {
        font-size: 0.9rem; /* Adjust paragraph size */
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        font-size: 1.6rem; /* Adjust heading size */
        width: 100%;
    }

    .pe-info1 p {
        font-size: 0.9rem; /* Adjust paragraph size */
        width: 100%;
    }

     .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 330px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: row !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        font-size: 0.8rem; /* Adjust button text size */
        padding: 8px 16px;
    }

    /* Footer */
    .copyright {
        flex-direction: column; /* Stack footer sections vertically */
    }

    .ft-box {
        width: 100%; /* Full width for footer boxes */
    }

    footer {
        padding: 20px 10px;
        text-align: center; /* Center-align footer text */
    }
}

/* Tablets/Larger Tablets (768px - 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    body{
        font-size: 18px;
    }
    
    /* Navbar adjustments */
    #header {
        padding: 15px 40px;
    }

    #navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    /* Welcome Section */ 
    .scn-w-img{
        margin-bottom: 85px;
        text-align: center;
    }

    .scn-w-img h1{
        font-size: 40px;
    }

    /* Project Extreme Section */
     .pe-row {
        flex-direction: column; /* Stack room info vertically */
    }

    .pe-info {
        width: 100%; /* Full width for room info */
        height: 745px !important;
        flex-direction: row;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        width: 100%;
    }

    .pe-info p {
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        width: 100%;
    }

    .pe-info1 p {
        width: 100%;
    }

    .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 330px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: row !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts img {
        width: 450px;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        padding: 10px 18px;
    }

    /* Student Program section */
    .sp-p {
        display: none;
    }

    .sp-items {
        width: 100%;
    }

    .sp-i-img {
        position: absolute;
        width: 110px !important;
        height: 110px !important;
        z-index: 10;
    }

    /* Individual controls for each image */
    .sp-i-img-1 {
        top: -70px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(-45%) !important;
    }

    /* Xun & Khwe section */
    .x-i-img-1 {
        top: 76px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(45%) !important;
        position: relative;
    }

    /* Individual controls for each image */
    .act-container {
        flex-direction: column;
    }

    .act-img-1 {
        left: 68%;  /* adjust as needed */
        top: 7px !important; /* adjust vertical placement */
    }

    .act-img-2 {
        left: 50%;  
        transform: translateX(185%) !important; /* keep center */
        top: 7px !important; /* adjust vertical placement */
    }

    /* Skills section */
    .skills-items {
        flex-direction: row;
    }

    .skills-container {
        flex-direction: column;
        width: 50%;
    }

    .skills-information {
        width: 100%;
    }

    .skills-information img {
        padding: 20px;
        width: 400px !important;
    }

    /* About section */
    .section-ab {
        display: block;
        flex-direction: column;
        justify-content: center;
    }

    .ab-1 {
        display: block;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .ab-1 img {
        margin-left: 0;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1 p {
        text-align: center;
    }

    .ab-1-p p {
        line-height: 35px;
    }

    .ab-2 {
        display: block;
        width: 100%;
        justify-content: center;
    }

    /* Making Difference Section */
    .section-md {
        background-image: url(../Assets/Home/Untitled\ design/1-1.png);
        background-size: cover;
    }

    .md-p p {    
        line-height: 28px;
    }

    /* Empowering Section */
    .section-emp {
        flex-direction: column;
    }

    .emp-1 {
        width: 100%;
    }

    .emp-2 {
        width: 100%;
    }
    
    /* Footer adjustments */
    .copyright {
        flex-direction: row;
        gap: 30px;
    }

    .ft-box {
        width: 45%;
        padding: 20px;
    }

    .ft-box1{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .ft-txt img{
        margin-top: 8.5px;
        height: 28px;
        width: 28px;
    }

    .ft-box1 h1{
        margin-bottom: 0;
    }

    .ft-txt3 {
        margin-bottom: 0;
    }

    .ft-btn {
        margin-bottom: 4px;
    }
}

@media only screen and (min-width: 769px) {
    #navbar {
        display: flex; /* Ensure navbar is displayed */
    }

    .navbar-toggle {
        display: none; /* Hide toggle button on larger screens */
    }
}

/* Tablets (up to 768px) */
@media only screen and (max-width: 768px) {
    /* General adjustments */
    body {
        font-size: 16px;
        padding: 0 !important ;
        margin: 0 !important;
    }    
    
    /* Header */
    #header {
        flex-direction: column;
        padding: 10px 20px;
        width: 100%;
        background-color: #E3E6F3;
    }

    /* Make navbar items stack vertically */
    #navbar {
        display: flex; /* Initially hide navbar */
        flex-direction: column !important;
        align-items: flex-start;
        justify-content: flex-start;
        position: absolute;
        top: 60px;
        left: 0 !important; /* Ensure it aligns left */
        width: 100%;
        background-color: #E3E6F3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.01);
        padding: 10px 0; /* Adjusted padding */
        transition: all 0.3s ease; /* Smooth transition */
        opacity: 0; /* Initially hide navbar */
        transform: translateY(-100%);
    }

    #navbar:hover{
        cursor: pointer;
    }

    #navbar.show {
        display: flex; /* Show navbar when toggled */
        opacity: 1; /* Ensure it's fully visible */
        transform: translateY(0); /* Move navbar into view */
    }

    .navbar-toggle {
        display: block; /* Show toggle button */
        cursor: pointer; /* Change cursor to pointer */
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #navbar li a {
        font-size: 14px;
        color: #333;
    }

    #close {
        display: block; /* Show close button */
        font-size: 24px; /* Adjust close button size */
        color: #222;
        cursor: pointer; /* Change cursor to pointer */
        position: absolute;
        top: 10px; /* Position close button */
        right: 20px; /* Position close button */
    }

    .icon {
        display: block;
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .dropdown-content {
        position: static;
        background-color: #fff;
        display: none;
        width: 100%;
        text-align: center;
    }

    /* Show dropdown on clicking the parent */
    .dropdown.active .dropdown-content {
        display: flex; /* Show the dropdown when active */
    }
    .dropdown-content li {
        padding: 10px 0;
    }

    .dropdown-content li a {
        color: #333;
    }

    /* Show dropdown on clicking the parent */
    .dropdown.active .dropdown-content {
        display: block; /* Show the dropdown when active */
    }

    /* Welcome Section */
    .scn-w-img{
        margin-bottom: 85px;
        text-align: center;
    }

    .scn-w-img h1 {
        font-size: 31px;
    }

    /* Project Extreme Section */
     .pe-row {
        flex-direction: column; /* Stack room info vertically */
    }

    .pe-info {
        width: 100%; /* Full width for room info */
        height: auto !important;
        flex-direction: row;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        width: 100%;
    }

    .pe-info p {
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        width: 100%;
    }

    .pe-info1 p {
        width: 100%;
    }

    .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 330px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: row !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        padding: 10px 18px;
    }

    /* About section */
    .section-ab {
        display: block;
        flex-direction: column;
        justify-content: center;
    }

    .ab-1 {
        display: block;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .ab-1 img {
        margin-left: 0;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1 p {
        text-align: center;
    }

    .ab-1-p p {
        line-height: 35px;
    }

    .ab-2 {
        display: block;
        width: 100%;
        justify-content: center;
    }

    /* Empowering Section */
    .section-emp {
        flex-direction: column;
    }

    .emp-1 {
        width: 100%;
    }

    .emp-2 {
        width: 100%;
    }
   
    /* Footer */
    .copyright {
        flex-direction: column;
        gap: 20px; /* Reduce gap */
    }

    .ft-box {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    footer {
        text-align: center;
    }

    .ft-txt img {
        margin-top: 8.5px;
        height: 28px;
        width: 28px;
    }

    .ft-txt, .ft-txt3 {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .ft-txt2{
        padding-bottom: 0;
    }

    .ft-box1 h1{
        margin-top: 10px;
        margin-bottom: 25px;
    }

    .ft-box1 p{
        margin-top: 35px;
        margin-bottom: 35px;
    }
    
    .ft-btn{
        margin-bottom: 25px;
        margin-top: 14px;
    } 
}

/* Add media queries for responsive design */
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    #header {
        padding: 10px 40px;
    }

    #navbar li {
        padding: 0 10px;
    }

    #navbar li a {
        font-size: 14px;
    }

    .text-center h2 {
        font-size: 40px;
        margin-left: 20px;
    }

    .text-center p {
        font-size: 20px;
        margin-left: 20px;
    }
}

/* Extra small devices (phones, less than 575px) */
@media (max-width: 575px) {
    #header {
        padding: 5px 20px;
    }

    #navbar li {
        padding: 0 5px;
    }

    #navbar li a {
        font-size: 12px;
    }

   /* Welcome Section */
   .scn-w-img{
        margin-bottom: 285px;
        text-align: center;
    }
    
    .scn-w-img img{
        height: 235px;
        width: 235px;
    }

    /* Project Extreme Section */
     .pe-row {
        flex-direction: column; /* Stack room info vertically */
    }

    .pe-info {
        width: 100%; /* Full width for room info */
        height: auto !important;
        flex-direction: row;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        width: 100%;
    }

    .pe-info p {
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        width: 100%;
    }

    .pe-info1 p {
        width: 100%;
    }

    .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 330px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: row !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        padding: 10px 18px;
    }

    /* About section */
    .section-ab {
        display: block;
        flex-direction: column;
        justify-content: center;
    }

    .ab-1 {
        display: block;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .ab-1 img {
        margin-left: 0;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1 p {
        text-align: center;
    }

    .ab-1-p p {
        line-height: 35px;
    }

    .ab-2 {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* Empowering Section */
    .section-emp {
        flex-direction: column;
    }

    .emp-1 {
        width: 100%;
    }

    .emp-2 {
        width: 100%;
    }
}

@media only screen and (min-width: 418px) and (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 10px;
    }

    /* Header adjustments */
    #header {
        padding: 10px 20px;
        flex-direction: column; /* Stack header items */
    }

    #navbar {
        display: none; /* Hide navbar by default */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #E3E6F3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.01);
        padding: 10px 0;
    }

    #navbar.show {
        display: flex; /* Show navbar when toggled */
        opacity: 1;
    }

    .navbar-toggle {
        display: block; /* Show the toggle button */
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #navbar li a {
        font-size: 16px;
        color: #333;
    }

    #close {
        display: block;
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 20px;
    }

    /* Welcome Section */
    .scn-w-img{
        margin-bottom: 85px;
        text-align: center;
    }

    /* Project Extreme Section */
     .pe-row {
        flex-direction: column; /* Stack room info vertically */
    }

    .pe-info {
        width: 100%; /* Full width for room info */
        height: auto !important;
        flex-direction: row;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        width: 100%;
    }

    .pe-info p {
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        width: 100%;
    }

    .pe-info1 p {
        width: 100%;
    }

    .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 330px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: row !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts img {
        width: 450px;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        padding: 10px 18px;
    }

    /* Student Program section */
    .sp-head {
        display: flex;
    }

    .sp-p {
        display: none;
    }

    .sp-items {
        width: 100%;
    }

    .sp-items h2 {
        text-align: center;
    }

    .sp-items h3 {
        text-align: center;
    }

    .sp-items p {
        text-align: center;
    }

    .sp-i-img {
        position: absolute;
        width: 110px !important;
        height: 110px !important;
        z-index: 10;
    }

    /* Individual controls for each image */
    .sp-i-img-1 {
        top: -85px !important;  /* Moves above the first H2 */
        left: 25%;   /* Slightly to the left of center */
        transform: translateX(-155%) !important;
    }

    .act-container {
        flex-direction: column;
    }

    .act-img-1 {
        left: 66.5%;  /* adjust as needed */
        top: 4x !important; /* adjust vertical placement */
    }

    .act-img-2 {
        left: 50%;  
        transform: translateX(163%) !important; /* keep center */
        top: 4px !important; /* adjust vertical placement */
    }

    /* Skills section */
    .skills-items {
        display: block;
        flex-direction: row;
    }

    .skills-container {
        flex-direction: column;
        width: 50%;
    }

    .skills-information {
        width: 100%;
    }

    .skills-information img {
        padding: 20px;
        width: 350px !important;
    }

    /* About section */
    .section-ab {
        display: block;
        flex-direction: column;
        justify-content: center;
    }

    .ab-1 {
        display: block;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .ab-1 img {
        margin-left: 0;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1 p {
        text-align: center;
    }

    .ab-1-p p {
        line-height: 35px;
    }

    .ab-2 {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* Making Difference Section */
    .section-md {
        background-image: url(../Assets/Home/Untitled\ design/1-2.png);
        background-size: cover;
    }

    .md-p p {    
        line-height: 28px;
    }

    /* Empowering Section */
    .section-emp {
        flex-direction: column;
    }

    .emp-1 {
        width: 100%;
    }

    .emp-2 {
        width: 100%;
    }

    /* Footer */
    .copyright {
        flex-direction: column;
        gap: 20px;
    }

    .ft-box {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .ft-txt img {
        margin-top: 0;
        height: 21px;
        width: 21px;
    }

    .ft-txt, .ft-txt3 {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    footer p {
        font-size: 16px;
    }
}

/* Mobile Devices (up to 488px) */
@media only screen and (min-width: 418px) and (max-width: 488px) {
    /* General adjustments */
    body {
        font-size: 14px;
        padding: 10px;
    }    
    
    #header {
        flex-direction: column;
        padding: 5px 10px;
    }

    /* Navbar adjustments */
    #navbar {
        flex-direction: column !important;
        padding: 0;
        align-items: center;
    }

    #navbar li {
        padding: 5px 0;
    }

    #navbar li a {
        font-size: 12px;
    }

    /* Welcome Section */
    .scn-w-img{
        margin-bottom: 85px;
        text-align: center;
    }

    /* Project Extreme Section */
     .pe-row {
        flex-direction: column; /* Stack room info vertically */
    }

    .pe-info {
        width: 100%; /* Full width for room info */
        height: auto !important;
        flex-direction: column;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        width: 100%;
    }

    .pe-info p {
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        width: 100%;
    }

    .pe-info1 p {
        width: 100%;
    }

    .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 330px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts img {
        width: 410px;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        padding: 10px 18px;
    }

    /* Student Program section */
    .sp-head {
        display: flex;
    }

    .sp-p {
        display: none;
    }

    .sp-items {
        width: 100%;
    }

    .sp-items h2 {
        text-align: center;
    }

    .sp-items h3 {
        text-align: center;
    }

    .sp-items p {
        text-align: center;
    }

    .sp-i-img {
        display: none;
    }

    /* Additional Courses section */
    .act-container {
        flex-direction: column;
    }

    .act-head h2{
        font-size: 4.5rem;
    }

    .act-img-1 {
        display: none;
    }

    .act-img-2 {
        display: none;
    }

    /* Skills section */
    .skills-items {
        display: block;
        flex-direction: row;
    }

    .skills-container {
        flex-direction: column;
        width: 50%;
    }

    .skills-information {
        width: 100%;
    }

    .skills-information img {
        padding: 20px;
        width: 300px !important;
    }

    /* About section */
    .section-ab {
        display: block;
        flex-direction: column;
        justify-content: center;
    }

    .ab-1 {
        display: block;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .ab-1 img {
        margin-left: 0;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1 p {
        text-align: center;
    }

    .ab-1-p p {
        line-height: 35px;
    }

    .ab-2 {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* Making Difference Section */
    .section-md {
        background-image: url(../Assets/Home/Untitled\ design/1-3.png);
        background-size: cover;
    }

    .md-p p {    
        line-height: 28px;
    }

    /* Empowering Section */
    .section-emp {
        flex-direction: column;
    }

    .emp-1 {
        width: 100%;
    }

    .emp-head-1 {
        font-size: 40px;
    }

    .emp-2 {
        width: 100%;
    }

    /* Footer Section */
    .copyright {
        flex-direction: column;
    }

    .ft-box {
        width: 100%;
        margin-bottom: 10px;
        min-width: 0;
    }

    .ft-txt img {
        margin-top: 0;
        margin-right: -14px;
        height: 21px;
        width: 21px;
    }

    .ft-txt, .ft-txt3 {
        flex-direction: row;
        align-items: center;
    }

    footer p {
        font-size: 12px;
    }
}

@media only screen and (min-width: 318px) and (max-width: 418px){
    body, html {
        overflow-x: hidden;
    }

    /* Ensure all containers take full width */
    #header, #navbar, .cnt-column, .l-row, .copyright, .ft-box {
        width: 100% !important;
        padding: 0 10px; /* Add inner padding for content */
    }

    /* Images and text blocks */
    .scn-w-img img, .i-img-left img, .scn-1-img img, .scn-2-img img, .ft-txt img {
        max-width: 100%;
        height: auto;
    }
    
    body {
        font-size: 14px;
        padding: 0 !important;
    }    
    
    /* Header adjustments */
    #header {
        padding: 10px;
        flex-direction: column; /* Stack header items */
    }

    #navbar {
        display: none; /* Hide navbar by default */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #E3E6F3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.01);
        padding: 10px 0;
    }

    #navbar.show {
        display: flex; /* Show navbar when toggled */
        opacity: 1;
    }

    .navbar-toggle {
        display: block; /* Show the toggle button */
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #navbar li a {
        font-size: 16px;
        color: #333;
    }

    #close {
        display: block;
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 20px;
    }

    /* Welcome Section */
    .scn-w-img{
        margin-bottom: 85px;
        text-align: center;
    }

    .scn-w-img img{
        height: 200px;
        width: 200px;
    }

    /* Project Extreme Section */
     .pe-row {
        flex-direction: column; /* Stack room info vertically */
    }

    .pe-info {
        width: 100%; /* Full width for room info */
        height: auto !important;
        flex-direction: column;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        width: 100%;
    }

    .pe-info p {
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        width: 100%;
    }

    .pe-info1 p {
        width: 100%;
    }

    .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 330px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts img {
        width: 310px;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        padding: 10px 18px;
    }

    /* Student Program section */
    .sp-head {
        display: flex;
    }

    .sp-p {
        display: none;
    }

    .sp-items {
        width: 100%;
    }

    .sp-items h2 {
        text-align: center;
    }

    .sp-items h3 {
        text-align: center;
    }

    .sp-items p {
        text-align: center;
    }

    .sp-i-img {
        display: none;
    }

    /* Additional Courses section */
    .act-container {
        flex-direction: column;
    }

    .act-head h2{
        font-size: 4.5rem;
    }

    .act-img-1 {
        display: none;
    }

    .act-img-2 {
        display: none;
    }

    /* Skills section */
    .skills-items {
        display: block;
        flex-direction: row;
    }

    .skills-container {
        flex-direction: column;
        width: 50%;
    }

    .skills-information {
        width: 100%;
    }

    .skills-information img {
        padding: 20px;
        width: 300px !important;
    }

    /* About section */
    .section-ab {
        display: block;
        flex-direction: column;
        justify-content: center;
    }

    .ab-1 {
        display: block;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .ab-1 img {
        margin-left: 0;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1 p {
        text-align: center;
    }

    .ab-1-p p {
        line-height: 35px;
    }

    .ab-2 {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* Making Difference Section */
    .section-md {
        background-image: url(../Assets/Home/Untitled\ design/1-4.png);
        background-size: cover;
    }

    .md-p p {    
        line-height: 28px;
    }

    /* Empowering Section */
    .section-emp {
        flex-direction: column;
    }

    .emp-1 {
        width: 100%;
    }

    .emp-head-1 {
        font-size: 35px;
    }

    .emp-2 {
        width: 100%;
    }

    /* Footer Section */
    footer {
        padding: 40px 20px !important;
        width: 100%;
    }

    .copyright {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0 !important;
    }

    .ft-box {
        width: 100%;
        padding: 10px;
        text-align: center;
        margin-bottom: 10px;
        min-width: 0;
    }

    .ft-txt img {
        margin-top: 0;
        margin-right: -14px;
        height: 21px;
        width: 21px;
    }

    .ft-txt, .ft-txt3 {
        flex-direction: row;
        align-items: center;
    }

    footer p {
        font-size: 12px;
    }

    .ft-box1 h1{
        margin-top: 10px;
        margin-bottom: 25px;
    }

    .ft-box1 p{
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .ft-txt3 img{
        height: 35px;
        width: 35px;
    }

    .ft-txt3 a img {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }

    .ft-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .ft-btn:hover {
        background-color: #f8b400;
    }

    .ft-txt3 {
        margin-bottom: 0;
    }

    .ft-box1{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .ft-box1 h1{
        margin-bottom: 0;
    }

    .ft-box1 p{
        margin-bottom: 0;
    }

    .ft-box1 img{
        height: 35px;
        width: 35px;
    }

    .ft-box1 a img {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }

}

@media only screen and (min-width: 200px) and (max-width: 318px){
    body, html {
        overflow-x: hidden;
    }

    /* Ensure full-width for containers and prevent extra padding/margins */
    #header, #navbar, .cnt-column, .l-row, .copyright, .ft-box {
        width: 100% !important;
        padding: 0 5px; /* Adjust padding to fit smaller screens */
    }

    /* Images and text blocks */
    .scn-w-img img, .i-img-left img, .scn-1-img img, .scn-2-img img, .ft-txt img {
        max-width: 100%;
        height: auto;
    }
    
    body {
        font-size: 12px;
    }    
    
    /* Header adjustments */
    #header {
        padding: 5px 8px;
        flex-direction: column; /* Stack header items */
    }

    #navbar {
        display: none; /* Hide navbar by default */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #E3E6F3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.01);
        padding: 10px 0;
    }

    #navbar.show {
        display: flex; /* Show navbar when toggled */
        opacity: 1;
    }

    .navbar-toggle {
        display: block; /* Show the toggle button */
    }

    #navbar li {
        padding: 4px 0;
        margin-bottom: 25px;
    }

    #navbar li a {
        font-size: 10px;
        color: #333;
    }

    #close {
        display: block;
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 20px;
    }

    /* Welcome Section */
    .scn-w-img{
        margin-bottom: 85px;
        text-align: center;
    }

    .scn-w-img h1{
        font-size: 21px !important;
    }

    .scn-w-img img{
        width: 150px;
        height: auto;
    }

    /* Project Extreme Section */
     .pe-row {
        flex-direction: column; /* Stack room info vertically */
    }

    .pe-info {
        width: 100%; /* Full width for room info */
        height: auto !important;
        flex-direction: column;
    }

    .pe-info1 {
        width: 100%; /* Make room info full-width */
    }

    .pe-info img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info h2 {
        width: 100%;
    }

    .pe-info p {
        width: 100%;
    }

    .pe-info1 img {
        width: 100%; /* Make images responsive */
        height: auto;
        margin-left: 0;
    }

    .pe-info1 h2 {
        width: 100%;
    }

    .pe-info1 p {
        width: 100%;
    }

    .pe-container {
        padding-top: 28px;
        flex-direction: column;
    }

    .pe-container img {
        width: 300px !important;
    }

    .pe-items {
        margin-top: 0;
        margin-left: 0;
        display: flex;
        flex-direction: column !important;
    }

    .nts {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .nts img {
        width: 250px;
    }

    .nts h2 {
        padding-right: 14px;
        margin-right: 21px;
    }

    .nts p {
        padding-right: 14px;
        margin-right: 38px;
    }

    .btn-room-info {
        font-size: 0.9rem; /* Adjust button text size */
        padding: 10px 18px;
    }

    /* Student Program section */
    .sp-head {
        display: flex;
    }

    .sp-p {
        display: none;
    }

    .sp-items {
        width: 100%;
    }

    .sp-items h2 {
        text-align: center;
    }

    .sp-items h3 {
        text-align: center;
    }

    .sp-items p {
        text-align: center;
    }

    .sp-i-img {
        display: none;
    }

    /* Additional Courses section */
    .act-container {
        flex-direction: column;
    }

    .act-head h2{
        font-size: 3.5rem;
    }

    .act-img-1 {
        display: none;
    }

    .act-img-2 {
        display: none;
    }

    /* Skills section */
    .skills-items {
        display: block;
        flex-direction: row;
    }

    .skills-container {
        flex-direction: column;
        width: 50%;
    }

    .skills-information {
        width: 100%;
    }

    .skills-information img {
        padding: 20px;
        width: 350px !important;
    }

    /* About section */
    .section-ab {
        display: block;
        flex-direction: column;
        justify-content: center;
    }

    .ab-1 {
        display: block;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .ab-1 img {
        margin-left: 0;
    }

    .ab-1 h2 {
        text-align: center;
    }

    .ab-1 p {
        text-align: center;
    }

    .ab-1-p p {
        line-height: 35px;
    }

    .ab-2 {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* Making Difference Section */
    .section-md {
        background-image: url(../Assets/Home/Untitled\ design/1-5.png);
        background-size: cover;
    }

    .md-p p {    
        line-height: 28px;
    }

    /* Empowering Section */
    .section-emp {
        flex-direction: column;
    }

    .emp-1 {
        width: 100%;
    }

    .emp-head-1 {
        font-size: 28px;
    }

    .emp-2 {
        width: 100%;
    }

    /* Footer Section */
    footer {
        padding: 40px 20 !important;
        width: 100%;
    }

    .copyright {
        flex-direction: column;
    }

    .ft-box {
        width: 100%;
        margin-bottom: 10px;
        padding: 8px;
        min-width: 0;
    }

    .ft-txt img {
        margin-top: 0;
        margin-right: -14px;
        height: 18px;
        width: 18px;
    }

    .ft-txt, .ft-txt3 {
        flex-direction: row;
        align-items: center;
    }

    footer p {
        font-size: 10px;
    }

    .ft-box1 h1{
        margin-top: 10px;
        margin-bottom: 25px;
    }

    .ft-box1 p{
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .ft-btn{
        margin-bottom: 25px;
        margin-top: 14px;
    }

    .ft-txt3 img{
        height: 35px;
        width: 35px;
    }

    .ft-txt3 a img {
        width: 28px;
        height: 28px;
        margin: 0 10px;
    }

}

/* Contact Page */
.section-contact{
    background-color: #4e7586;
    min-height: 45vh;
}

.cnt-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cnt-right-section {
    width: 100%;
    background-color: #4e7586;
    padding: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 20px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.cnt-btn {
    padding: 10px 20px;
    background-color: #5BDDC7;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.cnt-btn:hover {
    background-color: #48BCA5;
}

/* For screens between 1024px and 1280px */
@media only screen and (min-width: 1024px) and (max-width: 1280px) {
    body {
        font-size: 18px;
    }

    /* Header */
    #header {
        padding: 15px 50px;
    }

    #navbar {
        justify-content: space-between;
        padding: 0 15px;
    }

    #navbar li a {
        font-size: 14px;
    }

    /* Contact Section */
    .cnt-container {
        flex-direction: row;
    }

    .cnt-left-section, .cnt-right-section {
        width: 50%; /* Split the width evenly */
    }

    .cnt-right-section form {
        padding: 20px;
        margin-top: -33px;
    }

    /* Footer */
    .ft-box {
        width: 45%; /* Adjust the width of footer boxes */
        padding: 20px;
    }
}

/* For screens up to 1024px */
@media only screen and (max-width: 1024px) {
    body {
        font-size: 16px;
    }

    #header {
        padding: 10px 20px;
        flex-direction: column;
    }

    #navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 15px;
    }

    /* Contact Section */
    .cnt-container {
        flex-direction: column;
    }

    .cnt-left-section, .cnt-right-section {
        width: 100%; /* Full width for sections */
    }

    .cnt-right-section form {
        padding: 15px;
    }

    /* Footer */
    .ft-box {
        width: 100%;
        padding: 15px;
    }

    footer {
        text-align: center;
    }
}

/* For screens up to 768px */
@media only screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    /* Contact Section */
    .cnt-container {
        flex-direction: column;
    }

    .cnt-left-section {
        width: 100%;
    }

    .cnt-right-section {
        width: 100%;
        padding: 10px;
    }

    /* Footer */
    .ft-box {
        width: 100%;
        padding: 10px;
    }

    footer {
        text-align: center;
    }
}

/* For screens up to 488px */
@media only screen and (min-width: 418px) and (max-width: 488px){
    body {
        font-size: 12px;
    }

    #header {
        padding: 5px 10px;
        flex-direction: column;
    }

    #navbar {
        flex-direction: column;
        padding: 0;
    }

    #navbar li {
        padding: 5px 0;
    }

    /* Contact Section */
    .cnt-container {
        flex-direction: column;
    }

    .cnt-left-section, .cnt-right-section {
        width: 100%;
    }

    .cnt-right-section form {
        padding: 10px;
    }

    /* Footer */
    .ft-box {
        width: 100%;
        padding: 5px;
    }

    footer {
        text-align: center;
        padding: 10px;
    }
}