

    
      @media screen and (max-width: 768px) {

/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgba(237, 234, 230);
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Header - Even Smaller (1/3 of previous size) */
#header {
    background-color: rgba(237, 234, 230, 0.99);
    color: #006980;
    padding: 0.15em 0.3em; /* Further reduced padding */
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 0.4em; /* Significantly reduced height */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
}
.image-background {
    
    margin-top: 30%;
    max-width: 100%;
    
}

.image-background h1{
    
    font-size: 2em;
    
}

.image-background h1{
    
    font-size: 2em;
    
}

.image-background h2 {
    font-size: 0.00001em;

    opacity: 0; /* Makes text invisible but still takes up space */
}

.cta-button {
    margin-top: 11em;
    opacity: 75%;
}

#header.hidden {
    transform: translateY(-1.25em);
}

#header img {
    height: 1em; /* Smaller logo */
    max-height: 1em;
    height: auto;
}

/* Header navigation adjustments */
.header-nav {
    display: flex;
    text-align: right;
    gap: 0.4em;
    padding-right: 1em;
    font-size: 0.8em; /* Smaller text */
}

.header-nav a {
    color: black;
    text-decoration: none;
    padding: 0.15em 0.3em;
    border-radius: 0.25em;
}

/* Hero text - Smaller so it fits on all screens */
.hero-text {
    font-size: 1em; /* Reduced from previous larger size */
 
    
    max-width: 90%;
    margin: auto;
    
}

/* Section styling */
.section {
    padding: 1.2em;
    max-width: 35em;
    margin: auto;
    background: white;
    border-radius: 0.625em;
    box-shadow: 0px 0px 0.625em rgba(0, 0, 0, 0.1);
    margin-top: 3em;
}

/* Ensure section images are 50% smaller but still rectangular */
.section2, .section3 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
   
    width: 100%; /* Full width */
    max-width: 25em; /* 50% smaller */
   
    border-radius: 1em;
    box-shadow: 0px 0px 0.625em rgba(0, 0, 0, 0.1);
    margin: 2em auto;
}

/* About Us sections - Adjust for smaller screens */
.about-section, .about-section2 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 1em;
    text-align: center;
}

.about-text, .about-text2 {
    flex: 1;
    max-width: 35em;
    padding: 1em;
}

/* Footer */
#footer {
    background-color: #00bcd477;
    color: white;
    text-align: center;
    padding: 0.4em 0;
    width: 100%;
    position: fixed;
    bottom: 0;
}

/* Mobile responsiveness */

    
    /* Ensure text takes up 90% of the viewport */
    .about-text, .about-text2 {
        max-width: 90%;  /* Text will take up 90% of the viewport */
        padding: 0;
        display: flex;
        flex-direction: column; /* Stack text and image vertically */
        align-items: center;
        margin: 0 auto;
    }

    .about-text p, .about-text2 p {
        width: 100%; /* Ensure the text blocks stretch across */
    }

    .section2, .section3 {
        width: 100%; /* Make sure the images take up full width */
        max-width: 100%; /* Images are responsive */
        margin-top: 1em; /* Add space between text and image */
       
    }

    .about-text, .about-text2 {
        order: 1; /* Text comes before images */
        margin-bottom: 2em; /* Add space below text */
    }

    /* Optional: Adjust padding and spacing */
    .about-text, .about-text2 {
        padding-bottom: 2em; /* Add spacing between text and image */
    }

    .section2, .section3 {
        margin-top: 2em; /* Add space between image and text */
        order: 2; /* Images come after text */
    }

    .section2{
        width:70%;
    }
    
    #header {
        background-color: rgba(237, 234, 230, 0.99);
        color: #006980;
        padding: 10px 20px;
        text-align: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transform: translateY(0);
        transition: transform 0.3s ease;
        height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #header.hidden {
        transform: translateY(-90px);
    }

    #header.show {
        transform: translateY(0);
    }

    #header img {
        height: 90px;
        max-height: 90px;
        height: auto;
    }

    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1450px;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .header-text {
        flex: 1;
        text-align: left;
        padding: 10px;
    }

    .header-nav {
        display: flex;
        text-align: right;
        gap: 15px;
        padding-right: 30px;
        color: black;
    }

    .header-nav a {
        color: black;
        text-decoration: none;
        padding: 5px 10px;
        border-radius: 5px;
    }

    .header-nav a:hover {
        text-decoration: underline;
    }

/* Make the container take full screen height and center the content */
.container {
background-color: #006980;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center; /* Center content vertically */
align-items: center;     /* Center content horizontally */
min-height: 100vh;       /* Make sure container takes full viewport height */
}

.container h1{

margin-top:60px; 
font-size: 60px;
color:white;
margin-bottom: 10px;
}


.container p{
color: white;
font-size: 20px;

}

.about-section {
padding: 50px 0;
width: 100%;  /* Ensure the section takes full width */
}

/* Boss section - Larger size and centered */
.boss {
background-color: rgba(237, 234, 230);
border-radius: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 30px;
margin-bottom: 40px;
width: 60%;
transition: transform 0.3s ease-in-out;

}

.boss:hover {
transform: translateY(-10px);
}

.boss .team-image img,
.team-image img {
width: 150px; /* Ensure uniform size */
height: 150px; /* Ensure circular dimensions */
border-radius: 50%; /* Make the images circular */
object-fit: cover; /* Cover the circle without stretching */
object-position: center; /* Display the center of the image */
}

.boss .team-info h2 {
font-size: 2em;
color: #34495e;
}

.boss .team-info p {
font-size: 1.2em;
color: #95a5a6;
}

/* Other team members */
.team {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
width: 100%; /* Ensure team section takes full width */
}

.team-member {
background-color: rgba(237, 234, 230);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 250px;
margin: 20px;
padding: 20px;
transition: transform 0.3s ease-in-out;
}

.team-member:hover {
transform: translateY(-10px);
}



.team-info {
margin-top: 20px;
}

.team-info h2 {
font-size: 1.5em;
margin-bottom: 10px;
color: #34495e;
}

.team-info p {
font-size: 1em;
color: #95a5a6;
}

/* Responsive design for mobile */

.boss {
    width: 90%;
}

.team {
    flex-direction: column;
    align-items: center;
}

.team-info {
    margin-left: -1.4em;
}

#header {
            background-color: rgba(237, 234, 230, 0.95);
            color: #006980;
            padding: 10px 20px;
            text-align: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            height: auto;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 10px; /* Adjust padding for mobile */
            width: 100%; /* Ensure header fits within the viewport */
            box-sizing: border-box; /* Include padding in the width */
            overflow: hidden; /* Prevent horizontal scrolling */
        }

        #header img {
            height: 50px;
            max-height: 50px;
            width: auto;
        }

        .header-text h1 {
            font-size: 1.2em;
            margin: 0;
        }

        .header-text p {
            font-size: 0.8em;
            margin: 0;
        }

        .header-nav {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .header-nav a {
            color: black;
            text-decoration: none;
            padding: 5px 10px;
            font-size: 0.8em;
            border-radius: 5px;
        }

        .header-nav a:hover {
            text-decoration: underline;
        }
}