body {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

nav {
    background-image: linear-gradient(45deg, #efefec, #0a6f23);
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 40px;
}

.logo-image {
    width: 200px;
    height: auto;
    padding-top: 25px;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.5));
}

.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    margin-right: 20px;
}

.job-apply {
    margin-top: 20px; /* Add margin as needed */
}

.job-apply a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #64b310;
    color: #020201;
    text-decoration: none;
    border-radius: 5px;
}

.job-apply a:hover {
    background-color: #abca20;
}

.navbar a {
    text-decoration: none;
    color: rgb(235, 238, 196);
    font-weight: bolder;
    font-size: 25px;
    position: relative;
    transition: color 0.3s ease-in-out;
    font-family: 'Your Desired Font', sans-serif;
}

.navbar a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgb(36, 86, 16);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
    border-radius: 2px;
}

.navbar a:hover {
    color: #05321c;
}

.navbar a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.section {
    flex-wrap: wrap;
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Adjust the number of columns as needed */
    gap: 20px;
    padding: 20px;
}

.fixed-box {
    width: 100%;
    max-width: 100%; /* Set a maximum width to avoid stretching too wide */
    height: auto; /* Set height to auto for responsiveness */
    border: 1px solid #000;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.5));
}

.fixed-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home {
    background-color: #f2f2f2;
    margin-top: 100px;
}

#about {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

#about h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

#about p {
    font-size: 1.2em;
    line-height: 1.5;
}

#image {
    background-color: #ccffcc;
    width: 100%;
}

.contact-section {
    position: relative;
    background-color: #f2f2f2;
    text-align: center;
    padding: 0px 0px 20px;
    margin-bottom: 0;  /* Remove margin-bottom */
}

.contact-info {
    margin-top: auto;
    font-size: 0.8em;
}

footer {
    background-color: #1a470aad;
    color: white;
    text-align: center;
    padding: 20px;
    height: 40px;
    line-height: 40px;
    position: relative;  
}





/* Media query for smaller screens */
@media only screen and (max-width: 768px) {
    nav {
        height: auto; /* Auto height to accommodate content */
    }

    .logo-image {
        width: 150px;
        padding-top: 10px;
    }

    .navbar a {
        font-size: 16px;
    }

    .section {
        padding: 30px 10px 0;
    }

    .image-grid {
        grid-template-columns: repeat(1, 1fr);
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .fixed-box {
        max-width: 100%; /* Set a maximum width to avoid stretching too wide */
    }

    #about {
        padding: 0%;
        margin: 10px;
    }

    #about h2 {
        font-size: 1.2em;
    }

    #about p {
        font-size: 1em;
        line-height: 1.5;
    }

    footer {
        padding: 15px;
        height: auto; /* Auto height to accommodate content */
        line-height: 15px;
    }

    /* Additional styles for smaller screens */
    .job-apply a {
        padding: 8px 15px; /* Adjust padding for smaller screens */
        font-size: 14px; /* Adjust font size for smaller screens */
    }
}