* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* Navbar full width */
.navbar {
  width: 100%;
  background: #1b5e20;
}

/* Inner container */
.nav-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* left + right */
  /* align-items: center;            🔑 vertical centering */
  height: 70px;                   /* 🔑 gives proper vertical space */
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

.logo span {
  color: #ffffff;
}

/* Nav links */
nav {
  display: flex;
  align-items: center;
  height: 100%;
}

nav a {
  color: white;
  margin-left: 25px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

nav a:hover {
  color: #a5d6a7;
}

/* Hero */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('https://images.unsplash.com/photo-1560518883-ce09059eeffa');
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  animation: fadeIn 2s ease;
}

/* Big top-left text */
/* Center the overlay text */
.hero-overlay-text {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}

/* Increase size by ~20% */
.brand-line1 {
  font-size: 5rem; /* increased from 3.5rem */
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.brand-line2 {
  font-size: 3rem; /* increased from 1.5rem */
  font-weight: 500;
  color: #a5d6a7;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Keep glow */
.hero-overlay-text span {
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .brand-line1 {
    font-size: 2.6rem;
  }

  .brand-line2 {
    font-size: 1.2rem;
    letter-spacing: 4px;
  }

  .hero-overlay-text {
    top: 25px;
  }
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #4caf50;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #2e7d32;
}

/* Sections */
.section {
  padding: 60px 20px;
  text-align: center;
}

.section.alt {
  background: #f1f8f4;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  padding: 20px;
  background: white;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Form */
form {
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 10px;
  width: 100%;
  background: #2e7d32;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #1b5e20;
}

/* Services card colors */
.card1 {
  background: #e8f5e9;
}

.card2 {
  background: #c8e6c9;
}

.card3 {
  background: #a5d6a7;
}

.card4 {
  background: #81c784;
}

/* Improve text readability */
.card p {
  margin-top: 10px;
  font-size: 0.95rem;
}

/* About Section Layout */
/* About Section Layout */
.about-container {
  display: flex;
  align-items: stretch; /* makes both sides equal height */
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
}

.about-text {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text p {
  text-align: justify;
  margin-top: 15px;
  line-height: 1.7;
}

/* Image side */
.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ensures proper cropping */
  border-radius: 10px;
  max-height: 350px;   /* 🔑 controls image dominance */
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* Mobile optimization */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-image img {
    max-height: 250px;
  }

  .about-text p {
    text-align: center;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #1b5e20;
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}