* {
    overflow-wrap: break-word;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-variation-settings:  "wdth" 100;
}


main {
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}

.companyname{
    color: #41794D;
    text-align: center;
    font-size: 26px;
    margin: 0 auto;
    padding-bottom: 4rem;
    width: 100%    
}

.slogan {
    color: #41794D;
    text-align: center;
    font-size: 22px;
    margin: 0 auto;
    padding-bottom: 4rem;
    width: 100%
}

.description {
    padding-bottom: 4rem;
    color: #265A32;
    text-align: center;
    font-size: 18px;
    margin: 0 auto;
    width: 98%;
    max-width: 750px;
}


.about-btn {
    background-color: #41794D;
    color: white; 
    padding: 1rem;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    width: 120%; 
    max-width: 150px;
    margin: 0 auto;
}

.about-btn:hover {
    background-color: #265A32; 
    scale: 1.01;
}

body .background{
    background-color: #ffffff;
}

body {
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;  
}


.site-footer {
  background-color: #154821;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
}

.footer-content {
  font-size: 16px;
  flex: 1;
  text-align: center;
}

.footer-logo {
  margin-left: 0.1rem;
}

.footer-logo img {
  width: 20vw;
  max-width: 6rem;
  height: auto;
}

.footer-spacer {
  width: 6rem; 
  height: 1px; 
}



.footer-company {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
  letter-spacing: 5px;
  font-size: 16px;
}

/* Header container */
header {
  position: relative;
  max-width: 900px;
  width: 100%;
  height: auto;
  padding-bottom: 6rem;
  margin: 0 auto;
}

header > img[alt="Company Logo"] {
    display: block;
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
    height: 100%;
    
}

.logo-link {
    position: absolute;
    top:0;
    left:0;
    z-index: 9; 

}

.logo-img {
    width: 50vw;
    max-width: 8rem;
    height: auto;
}
.logo-img:hover{
    scale: 1.01;
}
/* Hide the checkbox */
.menu-toggle {
  display: none;
}

/* Hamburger label */
.hamburger {
    position: absolute;
    top: .3rem; 
    right: .5rem;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.0);
    color: white;
    padding: 0.625rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 0.25rem;
    }
.hamburger:hover {
    scale: 1.01;
}
  
 /* Navigation menu container */
.nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    position: fixed;
    top: 0;
    right: -150%;
    width: 45%;
    min-width: 150px;
    max-width: 220px;
    background-color: #083111;
    transition: right 0.5s ease;
    z-index: 30;
}

.nav a:hover {
    background-color: #666;
    scale: 1.2;
}

.dropbtn:hover {
    background-color: #666;
    scale: 1.15;
}
/* Close button styles */
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 11; 
    text-decoration: none;
}

/* Show menu when checkbox is checked */
.menu-toggle:checked ~ .nav {
    right: 0; /* Slide in from the right */
}

/* Links styling */
.nav a {
    color: white;
    text-decoration: none;
    padding: 1rem;
    font-size: 20px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #444;
}

.nav a:last-child {
    border-bottom: none;
}

/* Dropdown structure */
.dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


                        .services-toggle {
    display: none;
}


.dropbtn {
    background: none;
    color: white;
    padding: 1rem;
    font-size: 20px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    display: block;
    border-bottom: 1px solid #444;
}

/* Dropdown content transition */
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
    background-color: #083111;
    width: 100%;
    flex-direction: column;
}


.services-toggle:checked + .dropbtn + .dropdown-content {
    max-height: 100%;
}

/* Dropdown links */
.dropdown-content a {
    padding: 1rem;
    color: white;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #444;
}

.dropdown-content a:last-child {
    border-bottom: none;
}




#form {
  background: #f8fff9;
  margin: 0 auto;
  width: 100%;
  max-width: fit-content;
  border-radius: 8px;
  padding: 5px;
  text-align: center;
  color: #154821;
  justify-content: center;
}
#form h2 {
  color: #1d4627;
  font-size: 22px;
  margin-bottom: 16px;
}
#form h3 {
  color: #265A32;
  font-size: 23px;
  margin-bottom: 8px;
}
#form p {
  color: #265A32;
  font-size: 16px;
  margin-bottom: 12px;
}

#form fieldset {
  border: 1px solid #b2d8b2;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 8px;
  background: #fff;
}

#form legend {
  font-weight: bold;
  color: #265A32;
  margin-bottom: 8px;
  font-size: 20px;
}

#form label {
  display: block;
  margin-bottom: 4px;
  color: #265A32;
  font-size: 16px;
}

#form input,
#form textarea,
#form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #b2d8b2;
  border-radius: 5px;
  font-size: 16px;
}

#form textarea {
  min-height: 90px;
  resize: vertical;
}

#form input[type="submit"],
#form input[type="reset"] {
  width: fit-content;
  background: #6fdc8c;
  color: #154821;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  white-space: wrap;
}

#form input[type="submit"]:hover,
#form input[type="reset"]:hover {
  background: #41794D;
  color: #fff;
}

fieldset {
  max-width: 300px;
  text-align: center;
}

.container{

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap:10px 10px;
}

.container1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center; 
    
}

.box{
    margin: 0 auto;
    max-width: 350px;
    
}
.box1{
    margin: 0 auto;
    max-width: 350px;
}
.box2{
    margin: auto auto;
    max-width: 300px; 
    
}
.city-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.city-row label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: normal;
    cursor: pointer;
}
.service {
    font-size: 18px;
    color: #154821;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #265A32;
    padding-bottom: 0.5rem;
}

.servicedes {
    font-size: 16px;
    color: #265A32;
    text-align: center;
    padding: 0.2rem;
    line-height: 1.4;
}
.containerser{
    color: #001B06;
    padding: min(2.5rem, 3%);
    display: flex;
    flex-direction: column;
    border: none;
    max-width: 1200px;
    margin: 0 auto;
    
}

.boxser {
    background-color: #f4fff6;
    border: .2px solid #b2d8b2;
    border-radius: 12px;
    margin: 20px auto;
    padding: .1rem;
    max-width: 300px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
}

.boxser:hover {
    background-color: #e4fbe9;
    transform: scale(1.02);
    transition: transform 0.2s ease, background-color 0.2s ease;
}


ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    color: #265A32;
    font-size: 16px;
    line-height: 1.6;
}

li {
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 18px;
    color: #154821;
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #b2d8b2;
    padding-bottom: 0.5rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    .logo-img {
    max-width: 15rem; 
}
    .nav {
        position: static;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        height: 1.5rem;
        background-color: #083111;
        padding: 0;
    }
    .hamburger, .close-btn {
        display: none;
    }
    

    .nav a {
        border-bottom: none;
        padding: 1rem 1.5rem;
    }
    .dropdown {
        position: relative;
        width: auto;
    }
    
    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        width: 200px;
        background-color: #083111;
        z-index: 31;
    }
    .nav-contact-btn {
        
        margin: 0 1rem;
        margin-bottom: 0;
    }
    
    .services-toggle:checked + .dropbtn + .dropdown-content {
        max-height: 1000px; 
    }
    
    .dropbtn {
        padding: 1rem 1.5rem;
        border-bottom: none;
    }
    .container{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .box{
        width: 40%;
    }
    
    .container1{
    flex-direction: row;
    flex-flow: wrap;
    
}
    .containerser{
        flex-direction: row;
        flex-flow: wrap;
        
    }
    body {
        font-size: 17px;
    }
    
    .companyname {
        font-size: 32px;
    }
    
    .slogan {
        font-size: 26px;
    }
    
    .description {
        font-size: 19px;
    }
    
    h5 {
        font-size: 20px;
    }
    
    .service {
        font-size: 20px;
    }
    
    .servicedes {
        font-size: 17px;
    }
    
    ul, li {
        font-size: 17px;
    }
    
    .nav a, 
    .dropbtn {
        font-size: 17px;
    }
    
    .footer-company {
        font-size: 17px;
    }
    
    .footer-content {
        font-size: 16px;
    }
    
    #form h2 {
        font-size: 24px;
    }
    
    #form h3 {
        font-size: 24px;
    }
    
    #form p, 
    #form label {
        font-size: 17px;
    }
    
    #form legend {
        font-size: 21px;
    }
}
/* large screen */
@media screen and (min-width: 992px) {
    .logo-img {
        max-width: 20rem; 
    }
    .nav {
        width: 100%;
        max-width: 900px;
        margin: 1rem auto 0;
    }
    
    .nav a, 
    .dropbtn {
        font-size: 18px;
        padding: 1rem 2rem;
    }
    .description{
        max-width: 950px;
    }
    .box{
        width: 30%;
    }
    box1{
        width: 30%;
    }
    .form{
        width: 950px;
    }
    .container{
        max-width: 992px;
        margin: 0 auto;
    }
    body {
        font-size: 18px;
    }
    
    .companyname {
        font-size: 36px;
    }
    
    .slogan {
        font-size: 30px;
    }
    
    .description {
        font-size: 20px;
        line-height: 1.6;
    }
    
    h5 {
        font-size: 22px;
    }
    
    .service {
        font-size: 22px;
    }
    
    .servicedes {
        font-size: 18px;
        line-height: 1.6;
    }
    
    ul, li {
        font-size: 18px;
    }
    
    .nav a, 
    .dropbtn {
        font-size: 18px;
    }
    
    .footer-company {
        font-size: 18px;
    }
    
    .footer-content {
        font-size: 17px;
    }
    
    #form h2 {
        font-size: 26px;
    }
    
    #form h3 {
        font-size: 25px;
    }
    
    #form p, 
    #form label {
        font-size: 18px;
    }
    
    #form legend {
        font-size: 22px;
    }
    
    #form input,
    #form textarea,
    #form select {
        font-size: 17px;
    }
}