.policy-wrapper {
  text-align: center;
  padding: 50px 0;
  background-image: url("../../assets/imgs/images/legal-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

 
.policy-wrapper p {
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
}

.policy-grid {
    display: flex; 
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-box {
  background: #ffffff;
  padding: 40px 20px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  color: #0b0c2a;
  width: 22%;
}

.policy-box i {
  font-size: 40px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #de9f17;
}

.policy-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.policy-box p {
  font-size: 14px;
  color: #555;
  margin: 0;
  transition: color 0.3s ease;
}

.policy-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: linear-gradient(30deg, #de9f17 5%, #ffcf45 95%);
  color: #fff;
}

.policy-box:hover i {
  transform: scale(1.2);
  color: #fff;
}

.policy-box:hover h3,
.policy-box:hover p {
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .policy-grid {
    gap: 15px;
  }
  .policy-wrapper h2 {
    font-size: 24px;
  }
  
 .policy-box {
    padding: 20px 5px;
    width: 43%;
}

.policy-box h3 {
    font-size: 16px;
}

}


/* ========================================================work section css start======================================= */


.services-ms.legalDocument-page {
    z-index: 1;
}




@media (max-width: 768px) {
    .serv-ms .item:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .services-ms .item:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .services-ms .icon-img img {
        width: 8rem;
    }
    .header-btn {
        display: none !important;
    }
    .services-ds {
        padding-bottom: 20px !important;
    }
    .navbar .logo img {
        width: 5rem;
    }
}


@keyframes iconLoad {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.services-ms .icon-img img {
    animation: iconLoad 1s ease forwards;
}