@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');



:root{
  font-size: 16px;
  --ff-primary--: "Playfair Display", serif;
  --ff-secondary--: "Lato", sans-serif;
}


/* Reset */
/* Reset */
*,
*::before,
*::after{
  margin:0;
  padding: 0;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8faf7;
  overflow-x: hidden;
  position: relative;
}
html{
  position: relative;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
h1, h2, h3 {
  color: #133b1f;
  font-family: var(--ff-primary--);
  font-size: clamp(18px, 0.1rem + 2vw, 30px);
}
p {
  color: #444;
  font-size: clamp(16px, 0.1rem + 2vw, 18px);
  font-family: var(--ff-secondary--);
}

/* Navbar */
.navbar{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: hidden;
  padding: 0.3em 0.6em;
  background: #000;
}
.logo{
  margin-right: auto;
  width: fit-content;
  height: fit-content;
}
.logo img{
  width: 15vw;
  height: auto;
  max-width: 450px;
  min-width: 110px;
}
.nav-links{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-links li {
  list-style: none;
  color: #fff;
  margin-right: 1em;
  font-size: clamp(16px, 0.1rem + 2vw, 22px);
  font-family: var(--ff-secondary--);
}
.nav-links a:hover {
  color: #3aa64c;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem 10em 2em;
  position: relative;
}
.hero:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.3);
  z-index: 1;
}
.hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(22px, 0.1rem + 2vw, 50px);
  margin-bottom: 1rem;
  color: #fff;
}
.hero p {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: #fff;
}
.hero .btn {
  position: relative;
  z-index: 2;
  background: #3aa64c;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}


/* Services */
.services {
  padding: 3rem 2rem;
  text-align: center;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.card img {
  width: 100%;
  max-height: 300px;
  border-radius: 8px;
  margin-bottom: auto;
}

/* .card h3{
  margin-top: auto;
} */

.text-guarantee{
  margin-bottom: 1em;
}
.guarantee{
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1em;
}

/* Feature */
.feature {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.feature img {
  max-width: 400px;
  border-radius: 12px;
  width: 100%;
  margin: auto;
}
.feature .btn {
  margin-top: 1rem;
  /* background: #3aa64c; */
  color: #3aa64c;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}

/* Process */
.process {
  padding: 3rem 2rem;
  text-align: center;
}

.process .btn{
  background: #3aa64c;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}
.steps {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.steps div {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  flex: 1;
  min-width: 220px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Projects */
.projects {
  padding: 3rem 2rem;
  text-align: center;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.project-card img {
  width: 100%;
  border-radius: 12px;
}

/* FAQ */
.faq {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq h2 {
  text-align: center;
  color: #000;
  margin-bottom: 2rem;
}

.faq h3{
  color: #fff;
  font-size: clamp(14px, 0.1rem + 2vw, 16px);
  font-weight: 400;
  margin-right: 0.5em;
}
.faq-item {
  display: flex;
  align-items: center;
  background: #3aa64c;
  padding: 1.5rem;
  margin-bottom: 0;
  border-radius: 8px;
  min-width: 250px;
  width: 90%;
  cursor: pointer;
}


.answer{
  max-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* border: 1px solid #3aa64c;
  padding: 1.5rem; */
  margin-bottom: 1rem;
  border-radius: 8px;
  min-width: 250px;
  width: 90%;
  transition: max-height 0.3s ease;
}

.answer p{
  color: #000;
  font-size: clamp(14px, 0.1rem + 2vw, 16px);
  font-weight: 400;
}

.plus{
  background: none;
  border-style: none;
  border: 1px solid #fff;
  padding: 0.4em;
  margin-left: auto;
  color: #fff;
  cursor: pointer;
}
.minus{
  display: none;
  background: none;
  border-style: none;
  border: 1px solid #fff;
  padding: 0.4em;
  margin-left: auto;
  color: #fff;
  cursor: pointer;
}


/* CTA */
.cta {
  background: #133b1f;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}
.cta h2{
  color: #fff;
  margin-bottom: 1em;
}
.cta .btn {
  background: #3aa64c;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}

/* Footer */
.footer {
  background: #f0f0f0;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer div p{
 font-size: clamp(12px, 0.1rem + 2vw, 14px);
}

/* Dumb stuff I just added to ruin the dumb design */
.open-menu{
  color: #fff;
  font-size: 24px;
  background: none; 
  border-style: none;
  display: none;
}

.close-menu{
  background: none;
  border-style: none;
  color: #32CD32;
  font-size: 24px;
  margin-left: auto;
}

.sidebar{
  position: fixed;
  padding: 1.3em 1em 1em 1em;
  z-index: 1001;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 50vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2em;
  align-items: center;
  background: #fff;
  border-left: 2px solid #32CD32;
  transition: all 0.4s linear;
}
.sidebar.open{
  transform: translateX(0)
}
.nav-links-sidebar{
  flex-direction: column;
  list-style: none;
  display: flex;
  width: 100%;
  align-items: center;
}
.nav-links-sidebar li{
  margin-bottom: 1em;
}

.nav-links-sidebar li a{
  color: #000;
  font-size: 18px;
  font-family: var(--ff-secondary--);
}
.overlay{
  display: none;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.7)
}
.overlay.open{
  display: block;
}

/* Responsive */
@media (max-width: 770px) {
  .sidebar{
    display: flex;
  }
  .open-menu{
    display: inline-block;
  }
  .nav-links{
    display: none;
  }
  .nav-links-sidebar{
    display: flex;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .feature-content {
    flex-direction: column;
    text-align: center;
  }
  .steps {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

