/* 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;
}

/* 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-top: 25px;
  padding-bottom: 40px;
}

.menu-toggle {
  
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  margin-top: 90px;
  overflow: hidden;
  background: #000; /* fallback */
}

.slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  top: 0;
  left: 0;
  filter: brightness(70%);
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #aad4ff;
  transform: translateY(-50%);
  text-shadow: 2px 2px 5px black;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #d2e8ff;
}

/* CONTROLS */
.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 10;
}

.controls span {
  cursor: pointer;
  font-size: 3rem;
  color: white;
  user-select: none;
  transition: color 0.3s ease;
}

.controls span:hover {
  color: #00ff88;
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.dot {
  display: inline-block;
  height: 14px;
  width: 14px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #00ff88;
}

/* HIGHLIGHTS */
.highlights {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px 20px;
  max-width: 900px;
  margin: 0 auto 60px;
  flex-wrap: wrap;
}

.highlight {
  background: #e6f2e6;
  border-radius: 10px;
  padding: 25px;
  flex: 1 1 280px;
  box-shadow: 0 4px 10px rgba(0, 60, 0, 0.1);
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.highlight:hover {
  box-shadow: 0 6px 20px rgba(0, 60, 0, 0.3);
}

.highlight h2 {
  margin-bottom: 12px;
  color: #2d742d;
}

.highlight p {
  margin-bottom: 20px;
  color: #445533;
  font-size: 1.1rem;
}

.btn {
  background-color: #028f28;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #026b1f;
}

/* 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;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .highlights {
    flex-direction: column;
    padding: 20px;
  }
  .highlight {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}
