body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #1B4D3E; /* darker green */
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
  text-align: center;
}

.slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;   /* ensures full height */
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  top: 40%;
  transform: translateY(-50%);
}

button {
  background: #FFD700;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
}

section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

/* Add space between hero and about */
#about {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #fdfdfd, #f0fff0);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Services Section */
#services {
  background: linear-gradient(135deg, #fffbe6, #fff);
}

.service-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.service {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Projects Section */
#projects {
  background: linear-gradient(135deg, #f0f8ff, #ffffff);
}

.project-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.project-grid img {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Section headers accent */
section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: auto;
}

form input, form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 15px;
}
