/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8fff9;
  height: 100%;
  color: #2d742d;
  padding-top: 90px; /* To account for fixed header */
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 60, 0, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 100px;
  margin-right: 10px;
  margin-top: -15px;
  width: 100px;
}

.firm-name {
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  margin-top: 12px;
  gap: 20px;
  align-items: center;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #00ff88;
  color: #004400;
}

main {
  
  padding-bottom: 60px;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}



/* HERO SECTION */
.services-hero {
  background: url('../images/services-hero.jpeg') center/cover no-repeat;
  padding: 100px 20px 60px;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 6px #003300;
}

.services-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.services-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* SERVICES SECTION */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px 80px;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 60, 0, 0.1);
  overflow: hidden;
  flex: 1 1 280px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h2 {
  font-size: 1.4rem;
  margin: 15px 0 10px;
  color: #1b501b;
}

.service-card p {
  padding: 0 15px 20px;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 15px 0;
  background-color: rgba(0, 60, 0, 0.9);
  color: white;
  font-size: 0.9rem;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 60, 0, 0.95);
    width: 100%;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .services-hero h1 {
    font-size: 2rem;
  }

  .services-hero p {
    font-size: 1rem;
  }

  .services-list {
    padding: 80px;
  }
}
