.sidebar {
  width: 280px;
  background: #002a8f;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  transition: all 0.3s ease;
  z-index: 100;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 15px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.3s;
}

.menu {
  padding: 20px 0;
  height: 100%;
}

.category {
  position: relative;
}

.category-btn {
  width: 100%;
  padding: 15px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid #00289f;
  border-bottom: 3px solid #00289f;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  stroke: white;
}

.category.active .chevron {
  transform: rotate(-90deg);
}

.category.active .category-btn {
  background-color: #fbf9f9;
  border: 3px solid #00289f;
  border-right: none;
  border-radius: 20px 0 0 20px;
  color: #002a8f;
  font-weight: bolder;
}

.submenu {
  position: absolute;
  left: 280px;
  top: 0;
  width: auto;
  max-height: 500px;
  background: #fbf9f9;
  border-radius: 0 20px 20px 0;
  border: 3px solid #00289f;
  border-left: none;
  -webkit-box-shadow: 20px 40px 50px -15px rgba(0, 0, 0, 0.3);
  box-shadow: 20px 40px 50px -15px rgba(0, 0, 0, 0.3);
  display: none;
  padding: 30px;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  overflow-y: auto;
  white-space: nowrap;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.category.active .submenu {
  display: grid;
}

.subcategory {
  padding: 0;
}

.subcategory ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subcategory li {
  margin: 12px 0;
  padding: 0;
}

.subcategory h3 {
  color: #002a8f;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bolder;
  padding-bottom: 10px;
}

.subcategory a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 0px 20px 10px 0px;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.subcategory a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #002a8f;
  transition: width 0.3s ease;
}

.subcategory a:hover {
  color: #002a8f;
  padding-left: 10px;
}

.subcategory a:hover::before {
  width: 100%;
}

.content {
  margin-left: 280px;
  padding: 40px;
  width: 100%;
}

h1 {
  font-size: 2rem;
  color: #002a8f;
  margin-bottom: 2rem;
}

.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h2 {
  color: #002a8f;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #002a8f;
}

.info-card p,
.info-card li {
  color: #666;
  margin: 0.5rem 0;
}

.info-card ul {
  list-style: none;
}

@media (max-width: 1200px) {
  .submenu {
    width: 600px;
  }
}

@media (max-width: 992px) {
  .submenu {
    width: 450px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001;
    background: #002a8f;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    grid-template-columns: 1fr;
    padding: 15px;
    min-height: auto;
    background: rgba(255, 255, 255, 0.95);
  }
}
