/* ---------- SERVICE DETAIL CONTAINER ---------- */
.service-detail{
  margin: auto;
  padding: 30px 20px 40px;
}

.service-detail h2{
  font-size: 2rem;
  font-weight: 600;
  color: #0a1222;
  margin-bottom: 10px;
}

.service-intro{
  margin: 1rem 8rem 2rem 8rem;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* ---------- GRID ---------- */
.service-grid{
  display: grid;
  margin: auto 5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* ---------- CARD ---------- */
.service-card{
  background:#fff;
  padding:30px;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  transition:all .3s ease;

  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

/* ---------- CARD TITLE ---------- */
.service-card h3{
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #0a1222;
  font-weight: 600;
}

/* ---------- LIST ---------- */
.service-card ul{
  margin: 0;
  line-height: 1.6;
  color: #555;
}

.service-card li{
  margin-bottom: 10px;
}

/* ---------- ICON ---------- */
.service-icon{
  width:100px;
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:15px;
  transition: 0.3s;
}

.service-icon img{
  width:100%;
  height:auto;
}

.service-card:hover .service-icon{
  transform: scale(1.1);
}

/* ---------- BACK BUTTON ---------- */
.service-details-back-btn{
  margin:0 0 0 0.9rem;
  font-size:1.3rem;
  border:none;
  background:transparent;
  color:#000;
  cursor:pointer;
  display:flex;
  align-items:center;
  transition:.3s;
}

.service-details-back-btn:hover{
  color: #db761e;
  transform: translateX(-4px);
}



/* ======== Responsive ========= */
/* LARGE TABLETS (1024px ↓) */
@media (max-width:1024px){

  .service-grid{
    margin:0 2.5rem;
    gap:18px;
  }

  .service-detail h2{
    font-size:1.9rem;
  }

  .service-intro{
    font-size:15px;
  }

  .service-card{
    padding:26px;
  }

  .service-details-back-btn{
    font-size:1.4rem;
    margin: 0;
  }

}

/* TABLETS (768px ↓)  */
@media (max-width:768px){

  .service-grid{
    margin:0 1.5rem;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  }

  .service-detail{
    padding:25px 18px 35px;
  }

  .service-detail h2{
    font-size:1.7rem;
  }

  .service-intro{
    font-size:14px;
    margin: 0 2rem 2rem;
    line-height:1.6;
  }

  .service-card{
    padding:24px;
  }

  .service-card h3{
    font-size:1.1rem;
  }

  .service-card li{
    font-size:14px;
  }

  .service-details-back-btn{
    font-size:1.3rem;
    margin: 0.8rem;
  }

}


/* MOBILE (480px ↓) */
@media (max-width:480px){

  .service-grid{
    margin:0;
    grid-template-columns:1fr;
    gap:16px;
  }

  .service-detail{
    padding:20px 15px 30px;
  }

  .service-detail h2{
    font-size:1.5rem;
  }

  .service-intro{
    font-size:13.5px;
    margin:0.8rem 0 1.6rem 0;
  }

  .service-card{
    padding:22px;
  }

  .service-card h3{
    font-size:1rem;
  }

  .service-card li{
    font-size:13.5px;
  }

  .service-details-back-btn{
    font-size:1.2rem;
    margin:0 0 0.8rem 0; 
  }
}