/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #242424;
  line-height: 1.5;
  background-color: #f7f7f7;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 4px;
}

/* Header & Navigation */
header {
  background-color: #0f5328;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-container {
  flex-shrink: 0;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #a8e6a3;
}

.call-now-btn {
  background-color: #54b848;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.call-now-btn:hover {
  background-color: #439a39;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 83, 40, 0.55);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 700px;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #a8e6a3;
}

.hero .subtext {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.call-btn {
  background-color: #54b848;
  color: #fff;
}
.call-btn:hover {
  background-color: #439a39;
}

.quote-btn {
  background-color: #fff;
  color: #0f5328;
}
.quote-btn:hover {
  background-color: #d7eed1;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  background-color: #145c32;
  color: #fff;
  padding: 2rem 1rem;
}

.feature {
  flex: 1 1 200px;
  max-width: 250px;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #a8e6a3;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.feature p {
  font-size: 0.95rem;
  color: #e8ffe5;
}

/* Services Section */
.services-section {
  background-color: #f7f7f7;
  padding: 3rem 1rem;
}

.services-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0f5328;
  margin-bottom: 0.5rem;
}

.services-section .section-intro {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0.8rem;
  color: #0f5328;
}

.service-card p {
  font-size: 0.9rem;
  margin: 0 0.8rem 1.2rem;
  color: #555;
  min-height: 60px;
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

.view-all-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background-color: #54b848;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.view-all-btn:hover {
  background-color: #439a39;
}

/* About Section */
.about-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 400px;
  background-color: #fff;
}

.about-image {
  flex: 1 1 300px;
  background-image: url("images/about.jpg");
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

.about-content {
  flex: 1 1 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #0f5328;
  color: #fff;
}

.about-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #a8e6a3;
}

.about-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #e8ffe5;
}

.about-list {
  list-style: none;
}

.about-list li {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}

.about-list .icon {
  font-weight: bold;
  color: #54b848;
  margin-right: 0.5rem;
}

/* Contact Section */
.contact-section {
  background-color: #145c32;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  padding: 2.5rem 1rem;
}

.contact-info {
  flex: 1 1 300px;
  padding: 1rem 2rem;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #a8e6a3;
}

.contact-info p {
  margin-bottom: 1rem;
  color: #e8ffe5;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.contact-info li .icon {
  margin-right: 0.5rem;
  color: #54b848;
}

.quote-form {
  flex: 1 1 300px;
  padding: 1rem 2rem;
  background-color: #0f5328;
  border-radius: 8px;
}

.quote-form h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #a8e6a3;
}

.quote-form form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-row {
  display: flex;
  gap: 0.8rem;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
}

.quote-form textarea {
  resize: vertical;
  min-height: 100px;
}

.quote-form button {
  align-self: start;
  padding: 0.7rem 1.5rem;
  background-color: #54b848;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quote-form button:hover {
  background-color: #439a39;
}

/* Footer */
footer {
  background-color: #0f5328;
  color: #e8ffe5;
  text-align: center;
  padding: 1rem;
}

footer p {
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .tagline {
    font-size: 1.1rem;
  }
  .hero .subtext {
    font-size: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .features {
    flex-direction: column;
  }
  .feature {
    max-width: none;
  }
  .about-section {
    flex-direction: column;
  }
  .about-image,
  .about-content {
    flex: none;
    width: 100%;
    min-height: 250px;
  }
  .contact-section {
    flex-direction: column;
  }
  .quote-form,
  .contact-info {
    width: 100%;
  }
}