/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
   
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header and Footer Styling */
header, footer {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: relative;
    z-index: 10;
}

footer {
     background-color: #DAA53B;
    text-align: center;
    font-size: 14px;
    color: white;
    margin-top: auto;
}

footer .footer-content p {
    margin: 0;
}

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

header .logo h1 {
    font-size: 24px;
    color: #068B4B;
}

header .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

header .nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

header .nav-links li a:hover {
    color: #068B4B;
}

header .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

header .hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
}
.logo h1 {
    margin: 0;
    padding: 0;
}

/* Header Banner */


.header-banner h1 {
    font-size: 36px;
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1200px;
    margin: 20px auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-container p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Widget Styling */
.widget {
    background-color: #ffffff;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.widget a {
    text-decoration: none;
    color: #068B4B;
}

.widget h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.widget p {
    font-size: 16px;
}

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

@media (max-width: 768px) {
    header .nav-links {
        display: none;
        flex-direction: column;
        background: #ffffff;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    header .nav-links.active {
        display: flex;
    }

    header .hamburger {
        display: flex;
    }

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

    .dashboard-container {
        padding: 50px;
    }

    .widget h2 {
        font-size: 18px;
    }

    .widget p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .dashboard-container {
        padding: 50px;
    }

    header .logo h1 {
        font-size: 20px;
    }

    .header-banner h1 {
        font-size: 24px;
    }
}








:root {
  --sidebar-width: 250px;
  --header-height: 200px;
}

.header-banner {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  height: var(--header-height);
  z-index: 1000;
}

.main-content {
  margin-left: var(--sidebar-width);
  padding-top: var(--header-height);
}


    :root {
      --primary: #003366;
      --secondary: #FFC20A;
      --accent: #068B4B;
      --light: #f8f9fa;
      --dark: #343a40;
      --gray: #6c757d;
      --border: #e0e0e0;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f5f7fa;
      color: var(--dark);
      display: flex;
      min-height: 100vh;
      line-height: 1.6;
    }
    
    /* Sidebar Styles */
    .sidebar {
      width: 260px;
      background: var(--primary);
      color: white;
      flex-shrink: 0;
      position: fixed;
      top: 0; 
      bottom: 0; 
      left: 0;
      display: flex;
      flex-direction: column;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      transition: var(--transition);
    }
    
    .sidebar-header {
      padding: 24px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      text-align: center;
    }
    
    .sidebar-header h2 {
      font-size: 22px;
      color: var(--secondary);
      margin-bottom: 5px;
    }
    
    .sidebar-header p {
      font-size: 12px;
      opacity: 0.8;
    }
    
    .user-profile {
      display: flex;
      align-items: center;
      padding: 20px;
      background: rgba(0, 0, 0, 0.2);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .user-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 20px;
      color: var(--primary);
      margin-right: 15px;
    }
    
    .user-info h3 {
      font-size: 16px;
      margin-bottom: 5px;
    }
    
    .user-info p {
      font-size: 12px;
      opacity: 0.8;
    }
    
    .sidebar-nav {
      flex: 1;
      padding: 20px 0;
      overflow-y: auto;
    }
    
    .sidebar-nav ul {
      list-style: none;
    }
    
    .sidebar-nav ul li {
      margin: 5px 0;
    }
    
    .sidebar-nav ul li a {
      color: white;
      text-decoration: none;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      transition: var(--transition);
      border-left: 3px solid transparent;
    }
    
    .sidebar-nav ul li a i {
      margin-right: 12px;
      width: 20px;
      text-align: center;
    }
    
    .sidebar-nav ul li a:hover {
      background: rgba(255, 255, 255, 0.1);
      border-left-color: var(--secondary);
    }
    
    .sidebar-nav ul li.active a {
      background: rgba(255, 255, 255, 0.15);
      border-left-color: var(--accent);
    }
    
    .sidebar-footer {
      padding: 15px 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-footer a {
      color: white;
      text-decoration: none;
      display: flex;
      align-items: center;
      padding: 10px 0;
      transition: var(--transition);
    }
    
    .sidebar-footer a:hover {
      color: var(--secondary);
    }
    
    .sidebar-footer a i {
      margin-right: 10px;
    }
    .content-area {
  margin-left: 260px; /* same as sidebar width */
  padding: 30px 40px;
  flex: 1;
  transition: margin-left 0.3s ease;
}
@media (max-width: 992px) {
  .content-area {
    margin-left: 0 !important;
  }
}

    /* Main Content Styles */
   
    
    .header-banner {
      height: 200px;
      background: linear-gradient(to right, rgba(0, 51, 102, 0.85), rgba(6, 139, 75, 0.8)), url('Assets/images/Abantu.webp') no-repeat center center/cover;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      color: white;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .welcome-section h1 {
      font-size: 32px;
      margin-bottom: 10px;
    }
    
    .welcome-section p {
      font-size: 16px;
      opacity: 0.9;
    }
    
    .dashboard-stats {
      display: flex;
      gap: 20px;
    }
    
    .stat-item {
      background: rgba(255, 255, 255, 0.2);
      padding: 15px 20px;
      border-radius: 8px;
      text-align: center;
      backdrop-filter: blur(5px);
    }
    
    .stat-item .number {
      font-size: 24px;
      font-weight: bold;
      display: block;
    }
    
    .stat-item .label {
      font-size: 14px;
      opacity: 0.9;
    }
    
    .content-area {
      padding: 30px 40px;
      flex: 1;
    }
    
    .section-title {
      font-size: 24px;
      margin-bottom: 20px;
      color: var(--primary);
      display: flex;
      align-items: center;
    }
    
    .section-title i {
      margin-right: 10px;
      color: var(--accent);
    }
    
    .content-area {
      
      margin-top: 180px;
    }
    
    .widget {
      background: white;
      padding: 25px;
      border-radius: 10px;
      box-shadow: var(--shadow);
      transition: var(--transition);
      border-top: 4px solid var(--primary);
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .widget:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .widget a {
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .widget-icon {
      font-size: 32px;
      color: var(--primary);
      margin-bottom: 15px;
    }
    
    .widget h2 {
      font-size: 18px;
      margin-bottom: 10px;
      color: var(--primary);
    }
    
    .widget p {
      color: var(--gray);
      font-size: 14px;
      flex: 1;
    }
      .main-content {
        margin-left: 0;
        padding-top: 250px;
      }
    .widget-footer {
      margin-top: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--gray);
    }
    
    .widget-footer i {
      color: var(--accent);
    }
    
    footer {
      text-align: center;
      padding: 20px;
      background: white;
      color: var(--gray);
      margin-top: 30px;
      border-top: 1px solid var(--border);
      font-size: 14px;
    }
    
   