.page-container {
  display: flex;
  min-height: 100vh;
}

section {
  scroll-margin-top: 90px;
}

.sidebar {
  width: 300px;
  background: linear-gradient(135deg, #14cb5a, #00a84a);
  color: white;
  padding: 2rem;
  position: sticky;
  left: 0;
  top: 76px;
  height: calc(100vh - 80px);
  overflow: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  z-index: 500;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar-brand {
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
}

.sidebar-brand h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: white;
}

.sidebar-brand p {
  font-size: 0.85rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

.nav-section {
  margin-bottom: 1.5rem;
}

.nav-section h3 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
}

.nav-section .nav-links {
  list-style: none;
  display: inline;
  padding: 0;
}

.nav-section .nav-links li {
  margin-bottom: 0.3rem;
}

.nav-section .nav-links a {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-section .nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(5px);
}

.nav-section .nav-links a i {
  margin-right: 0.7rem;
  font-size: 1rem;
  width: 16px;
}

.main-content {
  flex: 1;
  /* margin-left: 280px; */
  padding: 2rem;
  max-width: calc(100% - 280px);
}

.content-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: linear-gradient(
    135deg,
    rgba(20, 203, 90, 0.1),
    rgba(0, 168, 74, 0.05)
  );
  border-radius: 15px;
  border: 1px solid rgba(20, 203, 90, 0.2);
}

.content-header h1 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 1rem;
  font-weight: 500;
}

.content-header p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.content-section {
  background: white;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #14cb5a;
}

.content-section h2 {
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 1.5rem;
  font-weight: 500;
  border-bottom: 2px solid #14cb5a;
  padding-bottom: 0.5rem;
}

.content-section h3 {
  font-size: 1.4rem;
  color: #000;
  margin: 1.5rem 0 1rem 0;
  font-weight: 500;
}

.content-section h4 {
  font-size: 1.2rem;
  color: #14cb5a;
  margin: 1.2rem 0 0.8rem 0;
  font-weight: 500;
}

.content-section p {
  color: #555;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 1rem;
}

.content-section ul,
.content-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.6;
}

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(20, 203, 90, 0.1),
    rgba(0, 168, 74, 0.05)
  );
  border: 1px solid rgba(20, 203, 90, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box h4 {
  color: #00a84a;
  margin-top: 0;
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(20, 203, 90, 0.2);
}

.stat-number {
  font-size: 2rem;
  font-weight: 500;
  color: #14cb5a;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.mobile-sidebar-toggle {
  display: none;
  position: fixed;
  top: 100px;
  left: 20px;
  background: #14cb5a;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    max-width: 100%;
    padding: 1rem;
  }

  .mobile-sidebar-toggle {
    display: block;
  }

  .content-header h1 {
    font-size: 2rem;
  }

  .content-header p {
    font-size: 1rem;
  }

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

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #14cb5a;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: #00a84a;
  transform: translateY(-3px);
}
