/* General Reset and Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f2f5;
  color: #2d3436;
  display: flex;
}

/* Sidebar Styles */
.sidebar {
  width: 550px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: #0A2B47;
  color: #fff;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.sidebar a,
.sidebar summary {
  display: block;
  padding: 8px 15px;
  margin: 5px 0;
  color: #dfe6e9;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.sidebar a:hover,
.sidebar summary:hover {
  background-color: #3EC7A9;
  color: #ffffff;
}

.sidebar details[open] > summary {
  font-weight: bold;
}

.sidebar ul {
  padding-left: 20px;
  list-style: none;
}

.sidebar ul li {
  padding: 1px 0;
}

/* Main Content Styles */
.main-content {
  flex-grow: 1;
  padding: 40px;
  background-color: #f8f9fb;
}

/* Section Card Styles */
.feature-section {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.feature-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-section h2 {
  font-size: 26px;
  color: #2c3e50;
  margin-bottom: 20px;
  border-left: 5px solid #2980b9;
  padding-left: 15px;
}

.feature-section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #34495e;
}

.feature-section img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
  margin-top: 15px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .main-content {
    padding: 20px;
  }

  .feature-section {
    padding: 20px;
  }
}
