*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Segoe UI',system-ui,sans-serif;
  background:#0c0e2c;
  color:#fff;
}

.magic-section{
  padding:40px 16px;
  background:url('assets/images/a4.webp') center/cover no-repeat;
}

.magic-content{
  text-align:center;
  margin-bottom:30px;
}

.magic-content h2{
  font-size:32px;
  color:#f6549a;
}

.magic-content p{
  color:#ccc;
  max-width:600px;
  margin:0 auto;
}

/* Layout */
.magic-body{
  display:flex;
  gap:16px;
}

.magic-left{
  flex:0 0 30%;
}

.magic-left img{
  width:100%;
  height:100%;
  max-height:500px;
  object-fit:cover;
  border-radius:12px;
}

.magic-right{
  flex:1;
  overflow:hidden;
}

.card-wrapper{
  display:flex;
  gap:16px;
  animation:scroll-desktop 40s linear infinite;
}

@keyframes scroll-desktop{
  from{transform:translateX(0)}
  to{transform:translateX(-100%)}
}

/* Cards */
.service-card{
  min-width:250px;
  background:#1a1a3d;
  border-radius:12px;
  overflow:hidden;
}

.service-card img{
  width:100%;
  height:160px;
  object-fit:cover;
}

.card-content{
  padding:12px;
  text-align:center;
}

.card-content h4{
  color:#4da6ff;
  margin:6px 0;
}

.card-content p{
  font-size:14px;
  color:#ccc;
}

/* Buttons */
.card-actions{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:10px;
}

.astro-btn{
  padding:8px 18px;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  font-size:13px;
}

.call{background:#4b0d06;color:#fff}
.whatsapp{background:#25D366;color:#fff}

/* Mobile */
@media(max-width:768px){
  .magic-body{flex-direction:column}
  .magic-left{display:none}
  .card-wrapper{
    animation:none;
    flex-direction:column;
    align-items:center;
  }
}
