.service-page{

padding: 120px 0 60px 0px;
}

/* CLOSE BUTTON */
.close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.close-btn:hover {
  color: #a855f7;
}

/* Align header content */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* SIDEBAR */
.sidebar {
  position: absolute;
  right: 0;
  top: 80px;
  width: 330px;
  height: 100%; 
  overflow: hidden;
  /* height: calc(100vh - 90px); */
  background-color: rgba(255, 255, 255, 1);
  border-left: 1px solid rgba(255, 255, 255, 1);
  /* transform: translateX(0);
  transition: transform 0.3s ease; */
  z-index: 50;
}
.sidebar {
  align-self: stretch;
}


.sidebar.closed {
  transform: translateX(100%);
}

.sidebar-header {
  padding: 16px;
  height: 90px;
  font-weight: bold;
  color: white;
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

/* SCROLL AREA */
.scroll-container {
  height: 100%; 
  overflow-y: auto;     
  overflow-x: hidden;
  /* -webkit-overflow-scrolling: touch; */
 
  display: flex;
  flex-direction: column;
  }

/* THUMBNAILS */
.scrollCard { 
  display: block;
  margin-bottom: 3px;
  margin-left: 3px; 
  transition: transform 0.3s, box-shadow 0.3s;
}

.scrollCard:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.scrollCard img {
  /* border-radius: 12px; */
  display: block;
  width: 320px; 
  height: 100%;
  object-fit: cover; 

}

/* MOBILE */
.menu-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 60;
  background: rgba(15,23,42,0.8);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  display: none;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 40;
}

.backdrop.show {
  display: block;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s forwards;
}

.fade-down {
  opacity: 0;
  transform: translateY(-40px);
  animation: fadeDown 0.8s forwards;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 0.8s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .main {
    padding-right: 0;
  }
  .sidebar {
    transform: translateX(100%);
  }
  .menu-btn {
    display: block;
  }
}

