*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Poppins",sans-serif;
}

html,body{
  width:100%;
  overflow-x:hidden;
  background:#eef3ff;
  
}



/* APP — MOBILE WIDTH EVEN ON DESKTOP */
.app{
  width:100%;
  max-width:430px;
  margin:0 auto;
  background:#eef3ff;
  overflow-x:hidden;
  padding-bottom:90px;
}

/* GLOBAL PADDING */
.section,
.services{
  width:100%;
  padding-left:16px;
  padding-right:16px;
}

/* HEADER */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 6px;
  margin-bottom:16px;
}


.user{
  display:flex;
  align-items:center;
  gap:12px;
}

/* Wrap text properly */
.user-info{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.2;
}


.user img{
  margin-left: 14px;
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}


.user p{
  font-size:13px;
  color:#777;
  opacity:0;
  transform:translateX(-8px);
  animation:textFade .5s forwards;
  animation-delay:0.45s;
}

.user h4{
  font-size:16px;
  opacity:0;
  transform:translateX(-8px);
  animation:textFade .5s forwards;
  animation-delay:0.50s;
}
.user h4,
.user p{
  margin:0;
  padding:0;
}

.bell{
  margin-right:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}


.bell img{
  width:30px;
  height:30px;
  object-fit:contain;
  cursor:pointer;
  filter:drop-shadow(0 3px 6px rgba(0,0,0,.15));
  opacity:0;
  animation:bellDrop .6s forwards ease-out;
  animation-delay:0.55s;
}

.bell img:hover{
  transform:rotate(10deg) scale(1.15);
}

.bell img.notify{
  animation:bellRing .7s ease-in-out infinite;
  animation-delay:3s;
}

/* SEARCH */
.search-bar{
  display:flex;
  align-items:center;
  background:#fff;
  padding:10px 12px;
  border-radius:16px;
  margin:0 16px;
  gap:8px;
  box-shadow:0 4px 18px rgba(0,0,0,.08);
  opacity:0;
  transform:translateY(10px);
  animation:textFade .5s forwards;
  animation-delay:0.65s;
   border: 1px solid #1e66f5;
}

.search-bar input{
  flex:1;
  border:none;
  outline:none;
  font-size:14px;
}

.search-bar button{
  background:#fff;
  border:none;
  width:36px;
  height:36px;
  border-radius:12px;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow:0 3px 10px rgba(0,0,0,.1);
}

.search-bar img{
  width:18px;
}

/* BANNER */
.banner{
  margin:16px;
  background:#cfe3ff;
  border-radius:22px;
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  opacity:0;
  animation:bannerFade 0.8s forwards ease-out;
  animation-delay:0.80s;
}

.banner small{
  color:#287bff;
  font-weight:600;
  font-size:13px;
}

.banner h3{
  font-size:16px;
  margin:6px 0;
}

.banner button{
  background:#287bff;
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:12px;
}

.banner img{
  width:120px;
}

/* SECTION TITLE */
.section{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:14px 0 8px;
  opacity:0;
  transform:translateY(12px);
  animation:textFade .5s forwards;
  animation-delay:0.95s;
}

.section h4{
  font-size:15px;
  font-weight:600;
}

.section span{
  font-size:12px;
  color:#287bff;
}

/* SERVICES — FIXED MOBILE GRID */
.services{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:14px;
}

.service{
  background:#fff;
  border-radius:14px;
  padding:6px 2px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  height:72px;
  opacity:0;
  transform:translateY(12px) scale(.95);
  animation:serviceIn .6s ease forwards;
}

.service:nth-child(1){animation-delay:1.05s;}
.service:nth-child(2){animation-delay:1.10s;}
.service:nth-child(3){animation-delay:1.15s;}
.service:nth-child(4){animation-delay:1.20s;}
.service:nth-child(5){animation-delay:1.25s;}
.service:nth-child(6){animation-delay:1.30s;}
.service:nth-child(7){animation-delay:1.35s;}
.service:nth-child(8){animation-delay:1.40s;}

.service img{
  width:28px;
  height:28px;
  object-fit:contain;
  margin-bottom:4px;
}

.service p{
  font-size:10px;
  font-weight:600;
  white-space:nowrap;
}

/* WORKER CARD */
.worker-list{
  padding: 0 16px;
}

.worker {
 background: #fff;
  border-radius: 18px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  box-shadow: 0 5px 18px rgba(0,0,0,.10);
  opacity: 0;
  transform: translateY(12px);
  animation: serviceIn 0.6s ease forwards;
  will-change: transform, opacity;
}

/* Sequential delays for 3 workers only */
.worker-list .worker:nth-child(1) { animation-delay: 1.45s; }
.worker-list .worker:nth-child(2) { animation-delay: 1.55s; }
.worker-list .worker:nth-child(3) { animation-delay: 1.65s; }
.worker img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
}

.worker h5 {
  font-size: 16px;
}

.price {
  font-size: 14px;
  font-weight: 600;
  color: #27ae60;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #287bff;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;   
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* DOCK NAV */
.dock-nav {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  padding: 14px 22px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(28px);
  border-radius: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  /* z-index: 9999; */
  visibility: visible !important;
}

.dock-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .8;
  animation: dockPop .35s ease forwards;
  
}

.dock-item.active {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  opacity: 1;
}

.dock-item img {
  width: 40px;
  height: 40px;
}

/* One-by-one delay for 4 dock items */
.dock-item:nth-child(1) { animation-delay: 0.1s; }
.dock-item:nth-child(2) { animation-delay: 0.25s; }
.dock-item:nth-child(3) { animation-delay: 0.4s; }
.dock-item:nth-child(4) { animation-delay: 0.55s; }

.dock-nav{
  animation: dockSlideUp .6s ease forwards;
  animation-delay: 1.9s;
}

@keyframes dockSlideUp{
  from{
   
    opacity:0;
  }
  to{
    
    opacity:1;
  }
}



@keyframes dockPop {
  0% { transform: scale(.9); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}


/* ANIMATIONS */
@keyframes slideDown{
  from{opacity:0; transform:translateY(-18px);}
  to{opacity:1; transform:translateY(0);}
}

@keyframes popIn{
  from{opacity:0; transform:scale(.7);}
  to{opacity:1; transform:scale(1);}
}

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

@keyframes bellDrop{
  from{opacity:0; transform:translateY(-18px);}
  to{opacity:1; transform:translateY(0);}
}

@keyframes bellRing{
  0%{transform:rotate(0deg);}
  25%{transform:rotate(-10deg);}
  50%{transform:rotate(8deg);}
  75%{transform:rotate(-5deg);}
  100%{transform:rotate(0deg);}
}

@keyframes serviceIn{
  from{opacity:0; transform:translateY(12px) scale(.95);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

@keyframes bannerFade{
  from{opacity:0; transform:translateY(12px);}
  to{opacity:1; transform:translateY(0);}
}
