body {
  background: #f8f9fa;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

center {
  text-align: center;
}

a {
  color: #2e7d32;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
    color: #1b5e20;
}

/* Sticky Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  color: #333;
  font-weight: 500;
}

.header a {
  color: #333;
  text-decoration: none;
  padding: 0 20px; /* Increased padding from 10px to 20px */
}

.header a:hover {
    color: #2e7d32;
}

.header .inner {
  padding: 15px 20px;
  text-align: left;
  max-width: 1200px;
  margin: 0; /* Changed from 0 auto to 0 to align left */
}

/* Dropdown Menu */
.dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-radius: 4px;
  z-index: 1;
  top: 100%;
  left: 0;
  border: 1px solid #eee;
}

.dropdown-content a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #2e7d32;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*All sidebars go in here.*/
.sidebar-group {
  position: absolute;
  top: 0;
  margin-top: 100px; /* Adjusted for header */
  display: flex;
  flex-direction: column;
  }

/* Cards */
.sidebar, .mini-sidebar, .wide-sidebar, .box {
  background: #ffffff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden; /* For border radius */
  transition: transform 0.2s;
  }

.sidebar:hover, .mini-sidebar:hover, .wide-sidebar:hover, .box:hover {
    transform: translateY(-2px);
}

/*Prevent image overflow.*/
.sidebar img, .mini-sidebar img, .wide-sidebar img, .box img {
  max-width: 100%;
  height:auto;
  display: block;
  }

.sidebar, .sidebar-box {
  display: inline-block;
  vertical-align: top;
  width: 150px;
  }

/*Container for vertical stacks of multiple mini-sidebars*/
.sidebar-box {
  margin-left: 25px;
  }

.sidebar {
  width: 150px;
  margin-left: 25px;
  }

.mini-sidebar {
  margin-bottom: 25px;
  }

.wide-sidebar {
  margin-left: 25px;
  margin-top: 0; /* Aligned with top of box */
  margin-bottom: 25px;
  width: 325px;
  min-height: auto; /* Allow height to adjust to content */
  display: flex;
  flex-direction: column;
  }

.wide-sidebar ul, .wide-sidebar ol {
    padding-left: 20px; /* Reduced indentation for lists in wide-sidebar */
}

/*Inside/main text of window boxes.*/
.inner {
  padding: 15px 20px;
}

.inner > :first-child {
  margin-top: 0;
}

/* Profile specific styles */
.profile-inner {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.profile-container {
    display: flex;
    align-items: center;
}

.profile-container img {
    margin-right: 15px;
}

.profile-text p:first-child {
    margin-top: 0;
}

/*The title bar at the top of window boxes.*/
.title-bar, .box-title-bar {
  background: #ffffff;
  color: #2e7d32;
  font-weight: 600;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*For the symbol in the top right corner.*/
.right {
  float: right;
  color: #ccc;
  cursor: pointer;
  }
.right:hover {
    color: #999;
}

/*Round circular image.*/
.icon {
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 50%;
  }

/*Main body text boxes.*/
.box {
  margin-top: 100px;
  margin-left: 400px;
  width: 750px;
  margin-bottom: 25px;
  }

.box + .box {
  margin-top: 25px;
}

#social-icons {
  display: flex;
  justify-content: left;
  margin-top: 10px;
}

/* Social Icons */
#social-icons img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

/* Mobile Responsive */
@media screen and (max-width: 1000px) {
  .sidebar-group {
    position: static;
    width: 100%;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sidebar, .sidebar-box, .wide-sidebar {
    display: block;
    width: 90%;
    margin: 0 0 25px 0;
  }

  .sidebar-box {
      margin-left: 0;
  }

  .sidebar {
      margin-left: 0;
  }

  .wide-sidebar {
      margin-left: 0;
      margin-top: 0;
  }

  .box {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-top: 0;
    margin-bottom: 25px;
  }
}