/* === Base Reset & Typography === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img { max-width: 100%; height: auto; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 44px;
  width: auto;
}

.brand-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s;
}

.scrolled .brand-name {
  color: #157a2c;
}

.brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.scrolled .brand-tagline {
  color: #666;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1fa347;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.scrolled .nav-links a {
  color: #333;
}

.nav-cta {
  background: #1fa347;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.nav-cta:hover {
  background: #178a38;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: background 0.3s;
}

.scrolled .nav-toggle span {
  background: #333;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, #0d5e1e 0%, #1fa347 50%, #157a2c 100%);
  color: #fff;
  text-align: center;
  padding: 160px 20px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #fff;
  color: #157a2c;
}

.btn-primary:hover {
  background: #f0faf3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  background: #1fa347;
  color: #fff;
}

.btn-full:hover {
  background: #178a38;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 163, 71, 0.3);
}

/* === Sections === */
.section {
  padding: 90px 0;
}

.section-alt {
  background: #f8faf9;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1fa347;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
}

/* === About Section === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: #555;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.highlight {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eef5f0;
  margin-bottom: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef9f1;
  border-radius: 10px;
}

.highlight h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #1a1a2e;
}

.highlight p {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
}

/* === Service Cards === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid #eef5f0;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef9f1;
  border-radius: 16px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* === Industry Grid === */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid #eef5f0;
  background: #fff;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: #1fa347;
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.industry-card p {
  font-size: 0.88rem;
  color: #666;
}

/* === Features List (Why Us) === */
.features-list {
  max-width: 700px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid #eef5f0;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1fa347;
  flex-shrink: 0;
  width: 48px;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #1a1a2e;
}

.feature-item p {
  font-size: 0.92rem;
  color: #666;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, #157a2c, #1fa347);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #157a2c;
}

/* === Contact Section === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef9f1;
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.88rem;
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 1rem;
  color: #333;
}

.contact-item a {
  color: #1fa347;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #157a2c;
}

/* === Contact Form === */
.contact-form {
  background: #f8faf9;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid #eef5f0;
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dde5df;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1fa347;
  box-shadow: 0 0 0 3px rgba(31, 163, 71, 0.12);
}

.form-group textarea {
  resize: vertical;
}

/* === Footer === */
.footer {
  background: #0f1f14;
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 8px;
}

.footer-brand .brand-name {
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #999;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #1fa347;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #666;
}

/* === Scroll Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: #333;
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding: 130px 20px 70px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }
}
