/* Homepage Services Section Styles */
.service-section .service-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-section .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-section .service-thumb {
  position: relative;
  overflow: hidden;
}

.service-section .service-thumb img {
  transition: transform 0.5s ease;
  width: 100%;
}

.service-section .service-item:hover .service-thumb img {
  transform: scale(1.05);
}

.service-section .service-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-section .service-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #365486;
}

.service-section .service-content h3 a {
  color: #365486;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-section .service-content h3 a:hover {
  color: #1A365D;
}

.service-section .service-content p {
  margin-bottom: 0;
  flex-grow: 1;
  color: #666;
  line-height: 1.6;
}

.service-section .section-heading p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 10px;
}

.service-section .service-shape-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
}

.service-section .service-shape {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 100px;
  background-color: rgba(54, 84, 134, 0.1);
  border-radius: 100% 0 0 0;
}

/* Improve swiper navigation */
.service-section .swiper-nav {
  background: #365486;
  color: white;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.service-section .swiper-nav:hover {
  background: #1A365D;
  transform: scale(1.05);
}

/* Improve swiper pagination */
.service-section .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #365486;
  opacity: 0.6;
}

.service-section .swiper-pagination-bullet-active {
  opacity: 1;
  background: #365486;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .service-section .service-content h3 {
    font-size: 18px;
  }

  .service-section .service-content p {
    font-size: 14px;
    min-height: auto;
  }

  .service-section .service-content .read-more.btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .service-section .swiper-nav {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
}
