/* Service Hover Effects - Applied to all pages */

/* Service card hover effects */
.service {
  transition: all 0.3s ease;
  cursor: pointer;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #fff;
}

/* Service icon hover effects */
.service [class^="bi-"] {
  transition: all 0.3s ease;
}

.service:hover [class^="bi-"] {
  transform: scale(1.1);
  color: #fd7e14 !important;
}

.service:hover [class^="bi-"]:after {
  background: rgba(253, 126, 20, 0.1) !important;
}

/* Service title hover effects */
.service h3 {
  transition: color 0.3s ease;
}

.service:hover h3 {
  color: #fd7e14 !important;
}

/* Service button hover effects */
.service .btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(253, 126, 20, 0.3);
}

.service .btn-outline-primary:hover {
  background-color: #fd7e14 !important;
  border-color: #fd7e14 !important;
  color: #fff !important;
}

/* Service card background hover effect */
.service:hover {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 1px solid rgba(253, 126, 20, 0.2);
}

/* Service description hover effect */
.service p {
  transition: color 0.3s ease;
}

.service:hover p {
  color: #666 !important;
}

/* Service container hover effects */
.sec-services .row .col-12:hover,
.sec-services .row .col-sm-6:hover,
.sec-services .row .col-md-6:hover,
.sec-services .row .col-lg-4:hover {
  z-index: 10;
}

/* Service link hover effects */
.service a {
  transition: all 0.3s ease;
}

.service a:hover {
  text-decoration: none;
}

/* Service icon background hover effect */
.service [class^="bi-"]:after {
  transition: all 0.3s ease;
}

.service:hover [class^="bi-"]:after {
  transform: scale(1.1);
}

/* Service card border radius on hover */
.service:hover {
  border-radius: 8px;
}

/* Service text content hover effects */
.service div {
  transition: all 0.3s ease;
}

.service:hover div {
  transform: translateY(-2px);
}

/* Service spacing on hover */
.service:hover {
  margin-bottom: 30px;
  padding: 45px 40px;
}

/* Service icon color transition */
.service [class^="bi-"]:before {
  transition: color 0.3s ease;
}

/* Service card shadow on hover */
.service {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Service button text hover effect */
.service .btn:hover {
  font-weight: 600;
}

/* Service icon animation */
@keyframes serviceIconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.service:hover [class^="bi-"] {
  animation: serviceIconPulse 0.6s ease-in-out;
}

/* Service card border on hover */
.service {
  border: 1px solid transparent;
}

.service:hover {
  border: 1px solid rgba(253, 126, 20, 0.3);
}

/* Service text color transitions */
.service h3,
.service p,
.service .btn {
  transition: all 0.3s ease;
}

/* Service card background gradient on hover */
.service:hover {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

/* Service button border radius on hover */
.service .btn:hover {
  border-radius: 25px;
}

/* Service icon background color on hover */
.service:hover [class^="bi-"]:after {
  background: rgba(253, 126, 20, 0.15) !important;
}

/* Service card margin adjustment on hover */
.service {
  margin-bottom: 25px;
}

.service:hover {
  margin-bottom: 20px;
  margin-top: 5px;
}

/* Service text alignment preservation */
.service.text-center:hover {
  text-align: center;
}

/* Service responsive hover effects */
@media (max-width: 768px) {
  .service:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }
  
  .service:hover [class^="bi-"] {
    transform: scale(1.05);
  }
}

/* Service focus effects for accessibility */
.service:focus-within {
  outline: 2px solid #fd7e14;
  outline-offset: 2px;
}

/* Service button focus effects */
.service .btn:focus {
  box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.3);
}

/* Service card loading state */
.service.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Service card disabled state */
.service.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Service card active state */
.service.active {
  border: 2px solid #fd7e14;
  background: rgba(253, 126, 20, 0.05);
}

/* Service card selected state */
.service.selected {
  background: linear-gradient(135deg, #fd7e14 0%, #ff8c42 100%);
  color: #fff;
}

.service.selected h3,
.service.selected p {
  color: #fff !important;
}

.service.selected [class^="bi-"]:before {
  color: #fff !important;
}

.service.selected .btn {
  background: #fff !important;
  color: #fd7e14 !important;
  border-color: #fff !important;
} 