* {
  padding: 0;
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Trebuchet MS';
  transition: transform 0.3s ease-in-out;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #a6c76f;
  position: fixed;
  padding: 0.3% 0;
  height: fit-content;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem;
  gap: 1rem;
  padding-right: 1.5rem;
}

.hamburger-wrapper {
  flex: unset;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.logo-container {
  height: 60px;
}

.logo-container img {
  width: clamp(80px, 15vw, 180px);
  height: 60px;
  object-fit: contain;
}

.mail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 10px;
  border: 2px solid #487c22;
  height: 60px;
}

.mail-wrapper span {
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: #487c22;
}

.mail-wrapper img {
  width: clamp(25px, 4vw, 80px);
  height: auto;
  object-fit: contain;
}

.mail-wrapper .text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.span2 {
  font-weight: 700;
}

.hamburger-wrapper img {
  width: clamp(20px, 4vw, 22px);
  height: auto;
  object-fit: contain;
}

.hamburger-wrapper {
  display: none;
}

body.menu-open, html.menu-open, header.menu-open {
    padding-top: 250px;
}
body.menu-open .main-content, html.menu-open .main-content, header.menu-open .main-content {
  top: -15rem;
  position: relative;
}

.hamburger-wrapper.open img {
  display: none;
}

.hamburger-wrapper.open #cancelIcon {
  display: block;
}

#cancelIcon {
  display: none;
  width: 30px;
  height: 30px;
}

#layoutWrapper.open {
  transform: translateY(50px);
  transition: transform 0.3s ease-in-out;
}

.layout-wrapper {
  display: flex;
  align-items: start;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100vh;
  margin-top: 4%;
  scrollbar-width: thin;
  scrollbar-color: #0000 transparent;
}

.layout-wrapper::-webkit-scrollbar {
  width: 2px;
}

.layout-wrapper::-webkit-scrollbar-thumb {
  background: #0000;
  border-radius: 2px;
}

.control-panel-wrapper {
   display: block;
}
#sideMenu {
  position: fixed;
  left: 0;
  top: -100%;
  width: 100%;
  height: 250px;
  background: #a6c76f;
  transition: top 0.3s ease-in-out;
  z-index: 9999;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

#sideMenu.open {
  top: 0;
}

.side-elements {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.side-elements .element {
  background-color: #4c9a2a;
  padding: 8px;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}

.side-elements .element a {
  text-decoration: none;
  color: white;
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  font-weight: bold;
  display: block;
}

.ads-wrapper {
  width: 100%;
  height: fit-content;
  z-index: 0;
  position: relative;
  top: 1rem;
  padding: 0 0;
  margin: 10px;
}

.ads-wrapper::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image, url('img1012/garbage-removal.jpg'));
  background-size: cover;
  background-position: top;
  z-index: -2;
  filter: blur(25px); 
  transition: background-image 0.5s ease-in-out, filter 0.5s ease-in-out;
}

.ads-wrapper::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.slides {
  display: flex;
  transition: transform 3s ease-in-out;
  width: 100%;
}

.slide {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: row;
  align-items: center;
  background: #487c22;
}
.slide img{
  width: 60%;
  height: auto;
  object-fit: contain;
}
.slide.active {
  display: flex;
}

.dots {
  text-align: center;
  margin-top: 30px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background: #75d430;
}

.content-wrapper {
  color: #75d430;
  width: 35%;
  height: 70vh;
  z-index: 4;
  padding: 15px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), #000000);
}

.content-wrapper h2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 10px;
}

.content-wrapper p {
  font-size: clamp(0.8rem, 2vw, 1.2rem);
}

.nav-section{
  margin-top: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 20px;
}

.nav-wrapper::-webkit-scrollbar {
  height: 2px;
}

.nav-wrapper::-webkit-scrollbar-thumb {
  background: inherit;
  border-radius: 10px;
}

.nav-wrapper::-webkit-scrollbar-track {
   background: inherit;
}


.nav-wrapper ul {
  list-style-type: none;
  padding: 0 5px;
  margin: 0;
  display: flex;
}

.nav-wrapper li {
  margin-right: 10px; 
}

.elements{
  white-space: nowrap;
}
.elements a{
  background: #f8f9f9;
  color: #487c22;
  padding: 15px;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#activemenu a{
  background: #93eb54 !important;
  font-weight: 700 !important;
}
.elements a:hover{
  background-color: #93eb54;
  color: #487c22;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  grid-template-rows: auto;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 650px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  position: relative;
}
.imgae-div{
  background: #56830d;
  width: 309px;
  height: auto;
  padding: 5px;
  position: relative;
  top: -18px;
  border-radius: 10px 10px 0 0;
}
#no-frame{
  background: #fff;
}

.box img {
  max-width: 100%;
  height: 300px;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.box sm {
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: bold;
  color: #487c22;
  margin-top: 10px;
  text-transform: uppercase;
}

.box h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #333;
  margin: 10px 0;
}

.box em {
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: #666;
  margin-bottom: 10px;
}

.box p {
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: #333;
}

.box a {
  text-decoration: none;
  color: #487c22;
  position: absolute;
  top: 20px;
  right: 25px;
  background: #f8f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: clamp(0.8rem, 2vw, 1rem);
}
#no-frame-btn{
    top: -5px;
    right: 65px;
}
.box a:hover{
  background: #93eb54
}
.contact-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 20px 0;
  background: #a6c76f;
  width: 100%;
}

.info-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  width: 50%;
  padding: 10px 20px;
}

.text-up {
  padding: 10px;
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.5;
  color: #487c22;
  font-weight: 600;
  text-transform: uppercase;
}
.text-down{
  background-color: #ccc;
  padding: 10px;
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.5;
  color: #487c22;
  font-weight: 600;
}
.text-right {
  margin-top: 10px; 
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.logo-lws {
  width: clamp(300px, 15vw, 500px);
  margin-bottom: 20px;
}

.counter {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: bold;
  background-color: #487c22;
  padding: 5px 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
}

.counter-value {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ecc30b;
}
#cookieConsent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 1.5s, opacity 1.5s ease-in-out, bottom 1.5s ease-in-out;
}

#cookieConsent.show {
  display: block;
  opacity: 1;
  bottom: 0;
  visibility: visible; 
  transition-delay: 0s;
}

#cookieConsent p {
  margin: 0;
}

#acceptCookies, #continueAnyway {
  background: #4CAF50;
  color: white;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 5px;
}

#continueAnyway {
  background: #f8f9f9;
  color: #487c22;
}

#acceptCookies:hover, #continueAnyway:hover {
  background: #7dd482;
}

.cookies-btn {
  margin: 10px;
}
footer {
  background-color: #f8f9f9;
  color: #487c22;
  text-align: center;
  padding: 20px;
  font-size: clamp(0.8rem, 2vw, 1rem);
}

footer p {
  margin: 5px 0;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-info a {
  text-decoration: none;
  color: #fff;
}

footer a button {
  background: #25D366;
  color: #fff;
  padding: 3px 10px;
  font-size: clamp(0.6rem, 2vw, 0.8rem);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer a button:hover {
  background:  #487c22;
}


@media screen and (min-width: 765px) and (max-width: 850px) {
.box a {
  top: 20px;
  right: 45px;
}
#no-frame-btn{
    right: 75px;
}
}

@media screen and (min-width: 760px) and (max-width: 1100px) {
  .slide{
    flex-direction: column;
    width: 98%;
    margin-top: 3%;
  }
  
  .slide img{
   width: 100%;
 }
 
  .content-wrapper {
  width: 100%;
  height: 70vh;
  }
}

@media screen and (min-width: 300px) and (max-width: 750px) {
  .slide{
    flex-direction: column;
    width: 95%;
    margin-top: 10%;
  }
  .box{
    height: 550px;
  }
  .slide img{
   width: 100%;
 }
  .content-wrapper {
  width: 100%;
  height: 70vh;
  }

  .logo-container{
   height: 50px;
  }
  .logo-container img {
   height: 50px;
  }
  .mail-wrapper{
   height: 50px;
   padding: 0 5px;
   margin: 2px;
  }
  #sideMenu {
    top: -100%; 
  }

 .hamburger-wrapper{
    display: block;
 }
  .contact-layout {
    flex-direction: column;
    align-items: center;
  }

  .info-wrapper {
    width: 100%;
    text-align: center;
  }

  .logo-wrapper {
    width: 100%;
    text-align: center;
  }

}