/* CSS Document */
:root {
  --primary: #4A7C59;
  --primary-dark: #3d6649;
  --secondary: #87A878;
  --accent: #C4A484;
  --light: #F5F5F0;
  --dark: #2C3E2D;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: #fff;
  overflow-x: hidden;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.navbar-brand {
  font-size: 1.5rem;
  color: var(--dark) !important;
}
.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  margin: 0 0.5rem;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
  min-height: 100vh;
}
.hero-title {
  line-height: 1.2;
}
.hero-img {
  max-height: 600px;
  object-fit: cover;
}

/* About */
.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  text-align: center;
  min-width: 120px;
}

/* Services */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.service-icon {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Icons */
.icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.icon-box-lg {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Process */
.process-step {
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
}

/* Forms */
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(74, 124, 89, 0.25);
}

/* Letter spacing */
.ls-1 {
  letter-spacing: 2px;
  font-size: 0.85rem;
}

/* Admin */
.admin-sidebar {
  min-height: 100vh;
  background: var(--dark);
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,0.7) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: var(--primary);
  color: #fff !important;
}
.admin-sidebar .nav-link i {
  width: 24px;
}
.stat-card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.2s;
}
.stat-card:hover {
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 80px;
    min-height: auto;
  }
  .hero-img {
    max-height: 350px;
  }
  .about-img {
    height: 350px;
  }
  .experience-badge {
    right: 10px;
    bottom: 10px;
  }
  .display-3, .display-5 {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .display-3 {
    font-size: 2rem;
  }
  .display-5 {
    font-size: 1.75rem;
  }
}