/* Reset basic layout styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  min-height: 100vh;
  background-color:  #f7f9f6;
  color: #333;
}
p {
  margin-bottom: 1rem; /* Adjust this value to increase or decrease space */
}

/* Indent the whole list block */
ol {
  margin-left: 30px; /* Adjust this value to increase or decrease indentation */
   margin-bottom: 16px; /* Adjust pixel size to increase or decrease space */
}

/* Fixed Left Sidebar */
.sidebar {
  width: 250px;
  background-color: #f7f9f6; /* Light background matching your logo */
  color: #1e293b;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 15px 0; /* Vertical breathing room */
}

/* --- LOGO SIZING FIX --- */
.sidebar-logo {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 10px;
}

.sidebar-logo img {
  max-width: 100%; /* Constrains image to sidebar width */
  height: auto;    /* Keeps original aspect ratio */
  display: block;
}
/* ----------------------- */

/* Navigation Links Styling */
.sidebar .nav-links {
  display: flex;
  flex-direction: column;
}

.sidebar .nav-links a {
  color: #1e293b;
  text-decoration: none;
  display: block;
  padding: 12px 20px;
  transition: background-color 0.2s ease;
}

.sidebar .nav-links a:hover,
.sidebar .nav-links a.active {
  background-color: #d4edda;
  color: #155724;
  font-weight: bold;
}

/* Main Content Area */
.content {
  margin-left: 250px; /* Same width as sidebar */
  padding: 40px;
  flex: 1;
}

header {
  margin-bottom: 24px;
}

header h1 {
  font-size: 2rem;
  color: #0f172a;
}

/* Short centered green line above the Contact item */
nav a[href*="contact"], 
.sidebar a[href*="contact"] {
    margin-top: 15px;            /* Space above the line */
    padding-top: 15px;           /* Space between line and text */
    border-top: 2px solid #4a7c59; /* Green line color */
    width: 60%;                  /* Makes the line shorter than full width */
    margin-left: auto;           /* Centers the shortened link block */
    margin-right: auto;
}
/* Contact Link - Left aligned text */
nav a[href*="contact"], 
.sidebar a[href*="contact"] {
    text-align: left;           /* Keeps text left-aligned with other items */
    display: block;
    width: 100%;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
/* Vertical separator line for navigation */
nav, .sidebar {
    border-right: 1px solid #4a7c59; /* Adjust color hex to match your green */
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    position: relative;
    height: auto;
    align-items: center; /* Centers logo and links on mobile */
  }

  /* Limit logo size on mobile screens */
  .sidebar-logo img {
    max-height: 100px; /* Adjust this value to make it smaller or bigger */
    width: auto;
    margin: 0 auto;
  }

  .content {
    margin-left: 0;
    padding: 20px;
  }
}
}