/* Global styles */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafb;
  color: #333;
}

/* Navbar */
header {
  background: linear-gradient(90deg, #006400, #228B22);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header h1 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #c1f0c1;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: url('https://source.unsplash.com/1600x800/?technology,network') no-repeat center/cover;
  color: #fff;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 100, 0, 0.7);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #228B22;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: #006400;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-10px);
}
.service-card h3 {
  color: #006400;
  margin-bottom: 1rem;
}

/* About */
.about {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.about h2 {
  color: #006400;
  margin-bottom: 1rem;
}

/* Contact */
.contact {
  padding: 3rem 2rem;
  text-align: center;
  background: #f0fdf0;
}
.contact h2 {
  color: #006400;
}

/* Footer */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}
footer a {
  color: #00cc66;
  text-decoration: none;
}

/* Page headers (for Services & About pages) */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: #f0fdf0;
}
.page-header h2 {
  color: #006400;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: #555;
  font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.contact-form form {
  display: flex;
  flex-direction: column;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #006400;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #228B22;
  box-shadow: 0 0 5px rgba(34,139,34,0.3);
}
button.btn {
  align-self: flex-start;
  padding: 0.8rem 1.5rem;
  border: none;
  cursor: pointer;
}

/* Contact Section */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 2rem;
}

.contact-info {
  background: #f0fdf0;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-info h3 {
  margin-top: 1rem;
  color: #006400;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-form h3 {
  margin-bottom: 1rem;
  color: #006400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  background: #006400;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #004d00;
}

/* Responsive */
@media(max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

