:root {
  --primary-color: #2D6A4F;
  --secondary-color: #40916C;
  --accent-color: #EDEEC9;
  --text-dark: #1B4332;
  --text-light: #F8F9FA;
  --bg-color: #F4F6F4;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
}


.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  text-align: center;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: #d8dab5;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


header {
  background-color: rgba(45, 106, 79, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

  nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  nav ul li a {
    font-weight: 500;
    transition: var(--transition);
  }

  nav ul li a:hover:not(.btn) {
    color: var(--accent-color);
  }

  .search-bar {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    padding: 5px 15px;
    align-items: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .search-bar input {
    border: none;
    outline: none;
    padding: 8px;
    width: 250px;
    font-family: inherit;
  }

  .search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.1rem;
  }


  footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
  }

  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-section h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.2rem;
  }

  .footer-section p {
    color: rgba(255, 255, 255, 0.8);
  }

  .footer-section ul li {
    margin-bottom: 12px;
  }

  .footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
  }

  .footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
  }

  .footer-section ul li i {
    width: 20px;
    color: var(--accent-color);
    margin-right: 10px;
  }

  .footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
  }


  .alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
  }

  .alert-success {
    background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb;
  }

  .alert-danger {
    background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb;
  }


  .dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 0;
    min-height: 70vh;
  }

  .sidebar {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
  }

  .sidebar h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-color);
  }

  .sidebar ul li a {
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    font-weight: 500;
    transition: var(--transition);
  }

  .sidebar ul li a:hover, .sidebar ul li a.active {
    background-color: var(--primary-color);
    color: var(--white);
  }

  .dashboard-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
  }

  .dashboard-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 10px;
  }

  /* Logo Styling and Micro-animations */
  .logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .logo:hover .logo-img {
    transform: scale(1.1) rotate(2deg);
  }

  .footer-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
    transition: transform 0.3s ease;
  }

  .footer-section h3:hover .footer-logo {
    transform: scale(1.08);
  }