#hamburger {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  z-index: 1001;
  gap: 4px;
}

#hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

#hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  top: 70px;
  right: 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 240px;
  padding: 16px;
  z-index: 1002;
  pointer-events: auto;
}

#mobile-menu a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #374151;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  pointer-events: auto;
}

#mobile-menu a:hover {
  background-color: #eff6ff;
  color: #2563eb;
}

#menu-overlay {
  display: none;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1366px;
  height: 578px;
  margin: 20px auto;
  border-radius: 20px;
  background: #f0f4ff;
}
.carousel-slide {
  display: flex;
  transition: transform .6s ease;
}
.carousel-slide img {
  width: 100%;
  height: 578px;
  object-fit: cover;
  flex-shrink: 0;
  flex-basis: 100%;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  z-index: 30;
  cursor: pointer;
}
.carousel-btn:hover { background: rgba(0,0,0,0.6); }
.prev { left: 14px; }
.next { right: 14px; }
.carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display:flex;
  gap:8px;
  z-index: 30;
}
.carousel-indicators button {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.75);
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.carousel-indicators button.active { background: #2563eb; }

.section-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.section-animate.show {
  opacity: 1;
  transform: translateY(0);
}
