* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-variation-settings:  "wdth" 100;
}


main {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: auto;
    padding: 1rem;
    text-align: center;
}


main .slogan {
    color: #41794D;
    text-align: center;
    font-size: 32px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

main .description {
    padding-bottom: 4rem;
    color: #265A32;
    text-align: center;
    font-size: 18px;
    margin: 0 auto;
}


.about-btn {
    background-color: #41794D;
    color: white; 
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    width: 100%; 
    max-width: 300px;
    margin: 0 auto;
}

.about-btn:hover {
    background-color: #265A32; 
}

body.background{
    background-color: #ffffff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
}

body {
    margin: auto;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
}



img, video, embed {
    max-width: 100%;
    height: auto;    
}

.site-footer {
  background-color: #154821;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.footer-content {
  flex: 1;
  text-align: center;
}

.footer-logo {
  margin-left: .2rem;
}

.footer-logo img {
  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: 18px;
}

/* Header container */
header {
  position: relative;
  width: 100%;
  padding-bottom: 6rem;
}

/* 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;
    }
  
 /* Navigation menu container */
.nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    position: fixed;
    top: 0;
    right: -50%;
    width: 35%;
    min-width: 220px;
    max-width: 350px;
    background-color: #083111;
    transition: right 0.9s ease;
    z-index: 30;
}

/* 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;
    border: none;
    padding: 1rem;
    font-size: 20px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    display: block;
}

/* Dropdown content transition */
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s 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;
}

/* Logo link styling */
.logo-link {
    position: absolute;
    z-index: 9; 
}

.logo-img {
    width: 10rem; 
    height: auto;
    border-radius: 0.25rem; 
}

.nav-contact-btn {
    background-color: #6fdc8c;
    color: #154821;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    margin-top: auto;
    margin-bottom: 2rem;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    font-weight: bold;
    width: 80%;
    max-width: 250px;
    align-self: center;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}
.nav-contact-btn:hover {
    background-color: #41794D;
    color: #fff;
}

#form {
  background: #f8fff9;
  margin: 20px auto;
  max-width: 98vw;
  border-radius: 8px;
  padding: 12px;
  box-sizing: border-box;
}
#form h2 {
  color: #1d4627;
  font-size: 22px;
  margin-bottom: 16px;
}
#form h3 {
  color: #265A32;
  font-size: 18px;
  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: 17px;
}

#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: auto;
  background: #6fdc8c;
  color: #154821;
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  font-weight: bold;
  margin-right: 8px;
  cursor: pointer;
  font-size: 16px;
}

#form input[type="submit"]:hover,
#form input[type="reset"]:hover {
  background: #41794D;
  color: #fff;
}



/* medium screen */
@media screen and (min-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        max-width: 95%;
        font-size: 18px;
    }

    .nav {
      max-width: 180px;
        width: 35%;
    }
    main .description {
        max-width: 600px;
        margin: 0 auto;
        font-size: 20px;
    }
    main .slogan {
        font-size: 36px;
    }
    .footer-company {
        font-size: 20px;
    }
    .site-footer p {
        font-size: 1.1rem;
    }

form{
  max-width: 80vw;
}
}
#form h2 {
  color: #1d4627;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
#form h3 {
  color: #265A32;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
#form p {
  color: #265A32;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}


#form legend {
  font-weight: bold;
  color: #265A32;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

#form label {
  display: block;
  margin-bottom: 0.25rem;
  color: #265A32;
  font-size: 1.2rem;
}

#form input,
#form textarea,
#form select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid #b2d8b2;
  border-radius: 0.3rem;
  font-size: 1.2rem;
}


/* large screen */
@media screen and (min-width: 992px) {

    .nav {
        width: 15%;
    }
    body {
        font-size: 20px;
    }
    main .slogan {
        font-size: 40px;
    }
    main .description {
        font-size: 24px;
    }
    .footer-company {
        font-size: 24px;
    }
    .site-footer p {
        font-size: 1.2rem;
    }
}

#form {
max-width: 65vw;;
}

#form h2 {
  color: #1d4627;
  font-size: 2.1rem;
  margin-bottom: 1rem;
}
#form h3 {
  color: #265A32;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}
#form p {
  color: #265A32;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}


#form legend {
  font-weight: bold;
  color: #265A32;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

#form label {
  display: block;
  margin-bottom: 0.25rem;
  color: #265A32;
  font-size: 1.3rem;
}

#form input,
#form textarea,
#form select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid #b2d8b2;
  border-radius: 0.3rem;
  font-size: 1.3rem;
}