body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: pink; 
  background-image: url("../images/samanthakamani.png");
  background-size: contain; 
  background-position: center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
}

.service_box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  color: white;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: fadeIn 1s ease-in-out;
}

.service_box:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
}

.icon_wrap img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: floatimg 2.5s ease-in-out infinite;
}

@keyframes floatimg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.service_box:hover .icon_wrap img {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(255, 206, 84, 0.4);
}

.service_title {
  font-size: 18px;
  font-weight: 600;
}

.text-purple {
  color: #9b59b6 !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 120px;
  }
  .icon_wrap img {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  .icon_wrap img {
    width: 60px;
    height: 60px;
  }
}
