body{
    font-family: "Montserrat", sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

.banner{
    border-bottom: solid 2px rgba(0, 0, 0, 0.8);
}

.navbar{
    display: flex;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    margin-top: 30px;
} 
    
.navbar img{
    height: auto;
    width: 200px;
    margin-bottom: 15px;
}

.navbarlinks{
    display: flex;
    gap: 50px;
    font-size: 20px;
}

.navbarlinks a{
    text-decoration: none;
    color: black;
    font-weight: 500;
}

.navbarlinks a:hover{
    color: #6BA451;
    text-decoration: underline;
}

.frontpage{
    width: 60%;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 150px;
    margin-bottom: 150px;
    align-items: center;
}

.frontpagebox{
    width:50%;
}

.frontpagebox h1{
    margin: auto;
    width: 100%;
    font-size: 50px;
    font-weight: 600;
    color: black;
    margin-bottom: 15px;
}
.frontpagebox span{
    color: #3D7D3A;
    font-weight: 700;
}

.frontpagebox p{
    width: 80%;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}
.frontpagebox button{
    background-color: #3D7D3A;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 30px;
    display: block;
}
.frontpagebox a{
    text-decoration: none;
    color: white;
}
.frontpagebox button:hover{
    background-color: #3D7D3A;
}

.frontpagecontent{
    text-align: center;
    width: 40%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 25px;
    
}

.frontpagecontent h1{
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.frontpagecontent p{
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.frontpageboximg img {
    width: 100%; 
    height: auto;
    margin: auto;
    
}

.line{
    width: 25%;
    margin: auto;
    border-bottom: solid 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 50px;
}
.frontpageflex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
    margin-bottom: 150px;
}

.fpflexelement{
    text-align: center;
    width: 30%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.fpflexelement h2{
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 30px;
    font-weight: 600;
}

.fpflexelement p{
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    width: 60%;
    margin-top: 15px;
    margin: auto;
}



.nav-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.nav {
  background: #1E1E1E;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s, transform 0.2s;
}

.nav:hover {
  background: #333;
  transform: scale(1.05);
    display: flex;
}


.slider-class {
  margin-top: 25px;
  padding-bottom: 50px;
}

.slider-wrapper {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  margin-top: 10px;
  overflow: hidden;
  height: 130px;
  position: relative;

}

.slider-track {
  display: flex;
  gap: 10px;
    width: max-content;
    animation: scrollSlider 10s linear infinite;
    height: 130px;
}

@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
    100% {
      transform: translateX(-50%);
    }
}

.slider-track.reverse {
  animation: scrollSliderReverse 15s linear infinite;
}

@keyframes scrollSliderReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.slider-item {
    width: 260px;
    height: 130px;
    margin-right: 0px;
    flex: 1 0 0;
    min-width: 0;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, filter 0.3s;
}

.slider-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 2;
}

.slider-item:hover img {
  filter: none;

}

.project{
    margin-top: 100px;
    background-color: #3D7D3A;
    
}
.projecttext{
    width: 60%;
    color: white;
    margin: auto;
    text-align: center;
    padding: 50px 0 20px 0;
}
.projecttext h1{
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.frontpagecloser{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
    margin-top: 150px;
    margin-bottom: 150px;
}
.frontpagecloser img{
    width: 40%;
    border-radius: 25px;
    height: auto;
    margin-right: 50px;
}

.closercontent{
    width: 40%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.closercontent h1{
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.closercontent p{
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.closercontent button{
    background-color: #305334;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
}

.closercontent a{
    text-decoration: none;
    color: white;
}
.closercontent button:hover{
    background-color: #3D7D3A;
}

.contactcontainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 80%;
    margin: 60px auto;
    margin-bottom: 150px;
    margin-top: 150px;
    flex-wrap: wrap;
}
.contactmap {
    flex: 1 1 350px;
    min-width: 320px;
    max-width: 700px;
    width: 100%;
}
.contactinfo {
    flex: 1 1 350px;
    min-width: 250px;
    max-width: 600px;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    min-height: 400px;
    height: 400px;
    box-sizing: border-box;
}
.contactinfo h2 {
    margin-top: 0;
    color: #3D7D3A;
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 25px;
}
.contactinfo p {
    font-size: 16px;
    color: #1E1E1E;
    margin-bottom: 12px;
}
.contactinfo strong {
    color: #3D7D3A;
    font-weight: 400;
    font-size: 20px;
    display: block;
}

.footer{
    background-color: #1E1E1E;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    border-top: solid 1px #e7e7e7;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer p{
    color: white;
    font-size: 14px;
}
.footer a{
    color: white;
    text-decoration: none;
    font-size: 30px;
}

.footerlinks{
    display: flex;
    width: 90%;
    margin: auto;
    gap: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-bottom: solid 1px #e7e7e7;
}

.footercontent{
    width: 100%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.footerinsta{
    width: 90%;
    margin: auto;
    text-align: left;
    margin-bottom: 40px;
}

@media (max-width: 1450px) {
    .frontpage {
        width: 80%;
    }
}

@media (max-width: 1150px) {
    .frontpage {
        width: 90%;
    }
}

@media (max-width: 1000px) {
    .frontpage{
        flex-direction: column;
        align-items: center;
        gap: 50px;
        width: 95%;
    }
    .frontpagebox{
        width: 100%;
        text-align: center;
    }
    .frontpagebox{
        width: 100%;
        text-align: center;
    }
    .frontpagebox p{
        width: 100%;
        text-align: center;
    }
    .frontpage button{
        margin: auto;
        margin-top: 15px;
    }
     .frontpagecloser {
        flex-direction: column;
        width: 98%;
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .frontpagecloser img{
        width: 80%;
        margin: auto;

    }
    .closercontent {
        width: 90%;
        text-align: center;
    }
}


@media (max-width: 900px) {
    .contactcontainer {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        width: 95%;
    }
    .contactmap {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    .contactinfo {
        max-width: 100%;
    }
    .frontpagebox {
        margin: 0 auto;
        width: 90%;
    }
    .frontpage {
        width: 100%;
        background-size: cover;
    }
    .frontpagecontent {
        width: 90%;
    }
    .frontpageflex {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .fpflexelement {
        width: 30%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .fpflexelement img{
        width: 50%;
        height: auto;
    }
   
    .footercontent {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .footerlinks {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        border-bottom: none;
    }
    .footerinsta {
        width: 100%;
        margin: auto;
        text-align: center;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        width: 98%;
        margin-top: 10px;
        margin-bottom: 10px;
        gap: 10px;
    }
    .navbar img {
        width: 140px;
    }
    .navbarlinks {
        gap: 20px;
        font-size: 16px;
    }
    .frontpage{
        margin-top: 100px;
        margin-bottom: 100px;
    }
    .frontpagebox h1 {
        font-size: 28px;
    }
    .frontpagebox p {
        font-size: 15px;
    }
    .frontpagebox button {
        font-size: 14px;
        padding: 10px 18px;
        margin-top: 20px;
    }
    .frontpagecontent h1 {
        font-size: 22px;
    }
    .frontpagecontent p {
        font-size: 14px;
    }
    .fpflexelement h2 {
        font-size: 18px;
    }
    .fpflexelement p {
        font-size: 12px;
        width: 90%;
    }
    .slider {
        padding: 30px 0 60px 0;
    }
    .slider h1 {
        font-size: 20px;
    }
    .slider h2 {
        font-size: 15px;
        padding-bottom: 20px;
    }
    .slider h2::after {
        width: 80px;
        height: 2px;
        margin-top: 20px;
    }
    .review {
        padding: 12px;
        font-size: 13px;
    }
    .review p {
        font-size: 13px;
    }
    .review span {
        font-size: 12px;
    }
    .stars {
        font-size: 13px;
        bottom: 8px;
        right: 8px;
    }
    .nav {
        font-size: 16px;
        padding: 8px 10px;
    }
    .frontpagecloser {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .closercontent {
        width: 90%;
        padding: 0 2px;
    }
    .closercontent h1 {
        font-size: 18px;
    }
    .closercontent p {
        font-size: 13px;
    }
    .closercontent button {
        font-size: 13px;
        padding: 10px 18px;
    }
    .footer {
        height: auto;
        padding: 10px 0;
    }
    .footercontent {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .footerlinks {
        gap: 5px;
        font-size: 18px;
    }
    .footerinsta {
        font-size: 18px;
    }
    .footer p {
        font-size: 12px;
    }
}
@media (max-width: 500px) {
    .frontpageboximg img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        height: auto;
    }
    .fpflexelement{
        width: 60%;
    }
    .projecttext h1{
        font-size: 24px;
    }
    .slider-class {
        margin-top: 0px;
        padding-bottom: 30px;
    }
}
@media (max-width: 400px) {
    .footercontent {
        flex-direction: column;
        align-items: center;
    }
    .footerlinks {
        flex-direction: column;
        align-items: center;
    }
    .footerinsta {
        margin-top: 10px;
    }
}
