:root {
  --primary-green: #2d5a27;
  --secondary-green: #4a7c59;
  --light-green: #8fbc8f;
  --accent-green: #90c695;
  --dark-green: #1e3f20;
  --cream: #f8f9fa;
}

* {
  font-family: "Prompt", sans-serif;
}

body {
  background-color: var(--cream);
}

/* Navigation */
.navbar {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: white !important;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-green) !important;
  transform: translateY(-2px);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--light-green), var(--accent-green));
  padding: 4rem 0 2rem 0;
  margin-top: 76px;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="0%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><rect width="100" height="20" fill="url(%23a)"/></svg>')
    repeat-x;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 0.5rem 1rem;
}

.breadcrumb-item a {
  color: white;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--cream);
}

/* Section Titles */
.section-title {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-green),
    var(--accent-green)
  );
  border-radius: 2px;
}

/* Story Card */
.story-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
}

.story-card h3 {
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.story-card p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Value Cards */
.value-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(74, 124, 89, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--accent-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.value-card h4 {
  color: var(--primary-green);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.value-card p {
  color: #666;
  text-align: center;
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--primary-green),
    var(--accent-green)
  );
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  border-radius: 20px 20px 0 0;
}

.timeline-year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--accent-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
  z-index: 10;
}

.timeline-content h4 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Team Members */
.team-member {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(74, 124, 89, 0.15);
}

.team-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--accent-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
}

.team-member h4 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-position {
  color: var(--secondary-green);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

/* Stats Counter */
.stats-section {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  padding: 4rem 0;
  color: white;
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Certifications */
.cert-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.cert-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(74, 124, 89, 0.2);
}

.cert-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--accent-green)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
}

.cert-card h5 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cert-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* Footer */
.footer {
  background: var(--dark-green);
  color: white;
  padding: 3rem 0 1rem 0;
}

.footer h5 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-green);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0 1rem 0;
  }

  .story-card {
    padding: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column !important;
    padding-left: 60px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-year {
    left: 30px;
    transform: none;
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}
