@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* =========================
   BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* =========================
   HEADER
========================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: #fff;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
}

.branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.branding-logo {
  height: 75px;
}

.branding h1 {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #464646;
}

/* =========================
   NAVIGATION
========================= */

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #2e7d32;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
}

.phone-btn i {
  font-size: 1.2rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
}

/* =========================
   HERO
========================= */

.section.hero {
  position: relative;
  flex: 1;
  padding: 60px 40px;
  background: url('../images/hero-bg.png') center / cover no-repeat;
}

.hero-content {
  max-width: 900px;
  margin: 10% auto;
  color: #fff;
  transition: 0.3s;
}

.hero-content .heading {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content .subheading {
  margin-top: 10px;
  margin-left: 10px;
  font-size: 1.5rem;
  font-weight: 500;
}

.cta {
  display: inline-flex;
  gap: 30px;
  margin-top: 30px;
  margin-left: 10px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 24px;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn.cta-estimate {
  background: #2e7d32;
  border: 2px solid #2e7d32;
}

.cta-btn.cta-estimate:hover {
  background: #fff;
  color: #2e7d32;
  border-color: #fff;
}

.cta-btn.cta-learn {
  border: 2px solid #fff;
}

.cta-btn.cta-learn:hover {
  background: #fff;
  color: #2e7d32;
}

.hero-content .find-more {
  position: absolute;
  bottom: 20px;
  left: 50%;
  display: inline-block;
  width: max-content;
  font-size: 1rem;
  color: #fff;
  transform: translateX(-50%);
}

.hero-content .find-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

/* =========================
   SHARED SECTION HEADINGS
========================= */

.services-content .heading,
.about-content .heading,
.testimonials-content .heading,
.contact-content .heading {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #464646;
}

.services-content .subheading,
.about-content .subheading,
.testimonials-content .subheading,
.contact-content .subheading {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #666666;
}

/* =========================
   SERVICES
========================= */

.section.services {
  padding: 60px 40px 100px;
}

.services-content {
  margin: 0 auto;
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  width: 300px;
  padding: 25px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  text-align: center;
  user-select: none;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card .service-icon {
  padding: 10px;
  font-size: 2.5rem;
  color: #009c0d;
  background: #d1ffd1;
  border-radius: 50%;
}

.service-card .service-title {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
}

.service-card .service-description {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666666;
}

/* =========================
   ABOUT
========================= */

.section.about {
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  background: #f9f9f9;
}

.about-content {
  max-width: 1300px;
  margin: 0 auto;
}

.about-content .description-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  gap: 40px;
  margin-top: 30px;
}

.about-content .description-wrap .about-description {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.about-content .description-wrap .about-image {
  width: 100%;
  max-width: 500px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =========================
   BADGES
========================= */

.badge {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 20px;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  font-size: 1.4rem;
  color: #009c0d;
  background: #d1ffd1;
  border-radius: 50%;
}

.badge-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}

.badge-desc {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
}

/* =========================
   TESTIMONIALS
========================= */

.section.testimonials {
  padding: 60px 40px;
  background: #fff;
}

.testimonials-content {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.quote-icon {
  margin-bottom: 10px;
  font-size: 2rem;
  color: #dfe9df;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.stars img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px #f5b50a);
}

.testimonial-text {
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.testimonial-author {
  margin-top: 20px;
  font-weight: 600;
  color: #009c0d;
}

/* =========================
   CONTACT
========================= */

.section.contact {
  padding: 80px 40px;
  background: #f9f9f9;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content .heading,
.contact-content .subheading {
  text-align: center;
}

.contact-content .form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

.contact-information {
  margin-top: 0;
}

.contact-information h1 {
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
}

.contact-form {
  width: 100%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.contact-form form label {
  margin-bottom: -6px;
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
}

.contact-form form input,
.contact-form form select,
.contact-form form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #333333;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  resize: vertical;
}

.contact-form form textarea {
  min-height: 130px;
}

.contact-form form input:focus,
.contact-form form select:focus,
.contact-form form textarea:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
  padding: 15px 20px;
  background: #0a8f35;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.submit-btn:hover {
  background: #08752c;
  transform: translateY(-1px);
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 20px 40px;
  background: #333333;
  color: #fff;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content .links {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
}

.footer-content .links .desc {
  width: 300px;
}

.footer-content .links .desc h1 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-content .links .desc p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #ccc;
}

.footer-content .links .services,
.footer-content .links .company,
.footer-content .links .connect {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-content .links .services ul,
.footer-content .links .company ul,
.footer-content .links .connect ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.footer-content .links .connect ul a {
  font-size: 2rem;
}

.footer-content .links .services h1,
.footer-content .links .company h1,
.footer-content .links .connect h1 {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-content .divider {
  width: 100%;
  height: 1px;
  margin: 20px 0;
  background: #ffffff;
}

.footer-content .copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #ccc;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  header {
    padding: 16px 20px;
  }

  .branding h1 {
    display: none;
  }

  .branding-logo {
    height: 60px;
  }

  .hero-content {
    margin: 20% auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
    background: #fff;
    border-top: 1px solid #eee;
  }

  .nav-links[data-visible="true"] {
    display: flex;
  }

  .phone-text {
    display: none;
  }

  .phone-btn {
    padding: 15px;
    border-radius: 50%;
  }

  .services-content .heading {
    font-size: 2rem;
  }

  .services-content .subheading {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .contact-content .form-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content .heading {
    font-size: 2rem;
  }

  .contact-content .subheading {
    font-size: 1rem;
  }

  .footer-content .links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .section.contact {
    padding: 60px 20px;
  }

  .contact-information h1 {
    font-size: 1.6rem;
  }

  .hero-content {
    margin: 50% auto;
    text-align: center;
  }

  .hero-content .heading {
    font-size: 2.5rem;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 0.6rem;
  }
}