* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    float: left;
    height: auto;
    width: 100%;
}

nav {
    width: 100%;
    height: 90px;
    background-color: #008000;
    float: left;
    color: whitesmoke;
}

nav a {
    color: white;
}

ul {
    width: 100%;
    height: 100%;
}

li:hover {
    color: white;
    background-color: forestgreen;
    cursor: pointer;
}

li {
    width: 33.33%;
    float: left;
    height: 100%;
    list-style: none;
}

li a {
    text-decoration: none;
}

li p {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 50px;
    margin-top: 40px;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
}

.one {
    width: 100%;
    height: 490px;
    float: left;
}

.one img {
    width: 100%;
    height: 100%;
    float: left
}

.two {
    width: 100%;
    height: 270px;
    float: left;
}

.twoSection {
    width: 50%;
    height: 100%;
    float: left;
    background-color: white;
}

.twoSectionContainer {
    width: 100%;
    height: 100%;
    float: left;
}

.twoSection p {
    position: relative;
    top: 45%;
    text-align: center;
    color:black;
    font-family: sans-serif;
    
}

.twoSection img {
    width: 100%;
    height: 100%;
    position: relative;
    bottom:17.52px;
}

.twoSection img:hover {
    opacity: 0.1;
}

.three {
    float: left;
    height: 370px;
    width: 100%;
    color: #043927;
    background-color: #018749;
    overflow: hidden;
}

.threeSection {
    width: 80%;
    margin-left: 10%;
    margin-top: 65px;
    background-color: white;
    padding: 2.5%;
}

.threeSection h3 {
    font-weight: 200;
    font-size: 18px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
}

.footer {
    width: 100%;
    background-color: #008000;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Noto Sans", sans-serif;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.footer-left p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-left a {
    color: #E0F7FA;
    text-decoration: none;
}

.footer-left a:hover {
    text-decoration: underline;
}

.footer-right a {
    margin-left: 15px;
}

.footer-right img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* makes icons white */
    transition: transform 0.2s ease;
}

.footer-right img:hover {
    transform: scale(1.1);
}

/* Enhanced .threepoint Section */
.threepoint {
    width: 100%;
    
    float: left;
    
    padding: 20px;
    background-color: #f5f5f5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    color: #333;
}

/* Enhanced .four Section Container */
.four {
    width: 100%;
    min-height: 200px;
    float: left;
    background-color: #f0f0e6;
    padding: 20px 0;
}

/* Enhanced .fourSection Box */
.fourSection {
    width: 30%;
    height: 160px;
    float: left;
    margin-left: 10%;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.fourSection:hover {
    transform: translateY(-5px);
}

.fourSection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


.fiveSection {
    width: 60%;
    float: left;
    height: 100%;
    font-family: sans-serif;}

.fiveSection h3 {
    margin-left: 2.5%;
    margin-top: 10px;
    font-family: "Roboto Condensed", sans-serif;
}

.fiveSection h4 {
    font-size: 12px;
    width: 95%;
    margin-left: 2.5%;
    color: #043927;
}

@media screen and (max-width:767px) {
    
    .one {
        height: 350px;
    }
    
    .two {
        margin-top: 35px;
        display: flex;
        flex-direction: column;
        height: 410px;
    }
    
    .twoSection {
        width: 90%;
        height: 150px;
        margin: 5%;
    }
    
    .twoSectionContainer {
    width: 100%;
    height: 100%;
    float: left;
    position: relative; /* Required for absolute positioning of child */
}

.twoSection p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black;
    font-family: sans-serif;
    font-size: 20px;
    background-color: rgba(255, 255, 255, 0.5); /* semi-transparent black background */
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 2;
}

.twoSection img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.twoSection img:hover {
    opacity: 0.2;
}
    
    .three {
        height: 340px;
    }
    
    .threeSection {
        width: 90%;
        margin-top: 35px;
        margin-left: 5%;
        padding: 5%;
    }
    
    .threeSection h3 {
        font-size: 13px;
    }
    
    .four h3, .four h4 {
        font-size: 9.5px;
    }
    
    
     .four {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .fourSection {
    width: 90%;
    margin-right: 25px;
    margin-top: 25px;
    height: auto;
    margin: 0 auto 15px auto;
  }

  .fourSection img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    
  }

  .fiveSection {
    width: 100%;
    padding: 0 10px;
    text-align: left;
  }

  .fiveSection h3 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .fiveSection h4 {
    font-size: 14px;
    line-height: 1.6;
  }
    
}
