/* Custom Styles for Service Pages */

/* Service Cards Slider */
.services-slider {
  position: relative;
  padding: 20px 0;
  overflow: hidden;
}

.services-slider .swiper-container {
  overflow: visible;
  padding-bottom: 50px;
}

.services-slider .item-box {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  padding: 40px 30px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.services-slider .item-box:hover {
  transform: translateY(-10px);
}

.services-slider .item-box .icon {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.services-slider .item-box h6 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.services-slider .item-box p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.services-slider .item-box .more {
  align-self: flex-start;
  color: var(--primary-color);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.services-slider .item-box:hover .more {
  opacity: 1;
  transform: translateY(0);
}

.services-slider .swiper-pagination {
  bottom: 0;
}

.services-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #bbb;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.services-slider .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
  width: 25px;
  border-radius: 5px;
}

.services-slider .swiper-nav-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.services-slider .swiper-nav-ctrl:hover {
  background: var(--primary-color);
}

.services-slider .next-ctrl {
  right: -20px;
}

.services-slider .prev-ctrl {
  left: -20px;
}

/* Enhanced Service Features Section */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.service-feature-item {
  position: relative;
  padding: 25px;
  background: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: flex-start;
}

.service-feature-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  z-index: -1;
}

.service-feature-item:hover::before {
  width: 100%;
  opacity: 0.05;
}

.service-feature-icon {
  margin-right: 20px;
  min-width: 50px;
  height: 50px;
  background: rgba(87, 173, 103, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-feature-item:hover .service-feature-icon {
  background: var(--primary-color);
}

.service-feature-icon span {
  font-size: 24px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-feature-item:hover .service-feature-icon span {
  color: #fff;
}

.service-feature-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.service-feature-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Feature section with checks */
.services-details-item {
  background-color: #fff;
}

.services-details-img {
  position: relative;
  overflow: hidden;
}

.services-details-img .img {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.services-details-img .img img {
  transition: transform 0.8s ease;
  width: 100%;
}

.services-details-item:hover .services-details-img .img img {
  transform: scale(1.05);
}

.services-details-text {
  padding: 0 0 0 20px;
}

.services-details-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.services-details-text p {
  margin-bottom: 25px;
  color: #666;
}

.services-details-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-details-text ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.services-details-text ul li .icon {
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  margin-top: 2px;
}

.services-details-text ul li .icon i {
  color: #fff;
  font-size: 12px;
}

.services-details-text ul li p {
  margin: 0;
  flex: 1;
}

/* Process section enhancements */
.process-step {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  transition: all 0.6s ease;
  height: 100%;
  position: relative;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Elegant border decoration */
.process-step::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  pointer-events: none;
  transition: all 0.5s ease;
}

.process-step::after {
  content: "";
  position: absolute;
  inset: 10px;
  opacity: 0;
  border: 1px dashed rgba(212, 175, 55, 0.2);
  transition: all 0.5s ease;
}

.process-step:hover::before {
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border-color: rgba(212, 175, 55, 0.4);
}

.process-step:hover::after {
  opacity: 1;
  inset: 14px;
}

/* Ornate Corner Elements */
.process-step .corner {
  position: absolute;
  opacity: 0.8;
  width: 40px;
  height: 40px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
}

.process-step .corner-top-left {
  top: 0px;
  left: 0px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M0 0C0 22.0914 17.9086 40 40 40V35C20.67 35 5 19.33 5 0H0Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M17 40C17 28.9543 8.04572 20 -3 20V25C5.4 25 12 31.6 12 40H17Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M11 19C14.866 19 18 15.866 18 12C18 8.13401 14.866 5 11 5' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3Cpath d='M25 11C25 14.866 21.866 18 18 18C14.134 18 11 14.866 11 11' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3C/svg%3E");
  transform: scale(0.85) translate(-10%, -10%);
}

.process-step .corner-top-right {
  top: 0px;
  right: 0px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M40 0C40 22.0914 22.0914 40 0 40V35C19.33 35 35 19.33 35 0H40Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M23 40C23 28.9543 31.9543 20 43 20V25C34.6 25 28 31.6 28 40H23Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M29 19C25.134 19 22 15.866 22 12C22 8.13401 25.134 5 29 5' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3Cpath d='M15 11C15 14.866 18.134 18 22 18C25.866 18 29 14.866 29 11' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3C/svg%3E");
  transform: scale(0.85) translate(10%, -10%) rotate(90deg);
}

.process-step .corner-bottom-left {
  bottom: 0px;
  left: 0px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M0 0C0 22.0914 17.9086 40 40 40V35C20.67 35 5 19.33 5 0H0Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M17 40C17 28.9543 8.04572 20 -3 20V25C5.4 25 12 31.6 12 40H17Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M11 19C14.866 19 18 15.866 18 12C18 8.13401 14.866 5 11 5' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3Cpath d='M25 11C25 14.866 21.866 18 18 18C14.134 18 11 14.866 11 11' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3C/svg%3E");
  transform: scale(0.85) translate(-10%, 10%) rotate(270deg);
}

.process-step .corner-bottom-right {
  bottom: 0px;
  right: 0px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M0 0C0 22.0914 17.9086 40 40 40V35C20.67 35 5 19.33 5 0H0Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M17 40C17 28.9543 8.04572 20 -3 20V25C5.4 25 12 31.6 12 40H17Z' fill='rgba(212, 175, 55, 0.25)'/%3E%3Cpath d='M11 19C14.866 19 18 15.866 18 12C18 8.13401 14.866 5 11 5' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3Cpath d='M25 11C25 14.866 21.866 18 18 18C14.134 18 11 14.866 11 11' stroke='rgba(212, 175, 55, 0.4)' stroke-width='1'/%3E%3C/svg%3E");
  transform: scale(0.85) translate(10%, 10%) rotate(180deg);
}

/* Corner animations on hover */
.process-step:hover .corner {
  opacity: 1;
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.5));
}

.process-step:hover .corner-top-left {
  transform: scale(1) translate(-5%, -5%);
}

.process-step:hover .corner-top-right {
  transform: scale(1) translate(5%, -5%) rotate(90deg);
}

.process-step:hover .corner-bottom-left {
  transform: scale(1) translate(-5%, 5%) rotate(270deg);
}

.process-step:hover .corner-bottom-right {
  transform: scale(1) translate(5%, 5%) rotate(180deg);
}

/* Elegant border lines with pattern */
.process-step .elegant-border {
  position: absolute;
  opacity: 0.3;
  background-repeat: repeat-x;
  background-size: 20px 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='2' viewBox='0 0 40 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1H15' stroke='rgba(212, 175, 55, 0.8)' stroke-width='1'/%3E%3Cpath d='M20 1H22' stroke='rgba(212, 175, 55, 0.6)' stroke-width='1'/%3E%3Cpath d='M27 1H40' stroke='rgba(212, 175, 55, 0.8)' stroke-width='1'/%3E%3C/svg%3E");
  transition: all 0.6s ease;
}

.process-step .border-top,
.process-step .border-bottom {
  height: 1px;
  left: 40px;
  right: 40px;
}

.process-step .border-left,
.process-step .border-right {
  width: 1px;
  top: 40px;
  bottom: 40px;
  background-repeat: repeat-y;
  background-size: 1px 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='2' height='40' viewBox='0 0 2 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0V15' stroke='rgba(212, 175, 55, 0.8)' stroke-width='1'/%3E%3Cpath d='M1 20V22' stroke='rgba(212, 175, 55, 0.6)' stroke-width='1'/%3E%3Cpath d='M1 27V40' stroke='rgba(212, 175, 55, 0.8)' stroke-width='1'/%3E%3C/svg%3E");
}

.process-step .border-top {
  top: 0;
}

.process-step .border-bottom {
  bottom: 0;
}

.process-step .border-left {
  left: 0;
}

.process-step .border-right {
  right: 0;
}

.process-step:hover .elegant-border {
  opacity: 0.8;
}

.process-step:hover .border-top,
.process-step:hover .border-bottom {
  left: 20px;
  right: 20px;
}

.process-step:hover .border-left,
.process-step:hover .border-right {
  top: 20px;
  bottom: 20px;
}

/* Additional decorative elements */
.process-step .decorative-pattern {
  position: absolute;
  width: 80px;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
  transform: rotate(45deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none'%3E%3Cpath d='M40 15C43.3137 15 46 12.3137 46 9C46 5.68629 43.3137 3 40 3C36.6863 3 34 5.68629 34 9C34 12.3137 36.6863 15 40 15Z' stroke='rgba(212, 175, 55, 0.15)' stroke-width='1'/%3E%3Cpath d='M40 77C43.3137 77 46 74.3137 46 71C46 67.6863 43.3137 65 40 65C36.6863 65 34 67.6863 34 71C34 74.3137 36.6863 77 40 77Z' stroke='rgba(212, 175, 55, 0.15)' stroke-width='1'/%3E%3Cpath d='M9 40C12.3137 40 15 37.3137 15 34C15 30.6863 12.3137 28 9 28C5.68629 28 3 30.6863 3 34C3 37.3137 5.68629 40 9 40Z' stroke='rgba(212, 175, 55, 0.15)' stroke-width='1'/%3E%3Cpath d='M71 40C74.3137 40 77 37.3137 77 34C77 30.6863 74.3137 28 71 28C67.6863 28 65 30.6863 65 34C65 37.3137 67.6863 40 71 40Z' stroke='rgba(212, 175, 55, 0.15)' stroke-width='1'/%3E%3Cpath d='M27.5 72.5L52.5 47.5' stroke='rgba(212, 175, 55, 0.1)' stroke-width='1'/%3E%3Cpath d='M27.5 22.5L52.5 47.5' stroke='rgba(212, 175, 55, 0.1)' stroke-width='1'/%3E%3Cpath d='M27.5 47.5L52.5 22.5' stroke='rgba(212, 175, 55, 0.1)' stroke-width='1'/%3E%3C/svg%3E");
}

.process-step:hover .decorative-pattern {
  opacity: 0.1;
  transform: rotate(0deg);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-icon {
  position: relative;
  margin-bottom: 25px;
  display: inline-flex;
  z-index: 1;
}

.process-icon span:first-child {
  font-size: 45px;
  transition: all 0.3s ease;
  color: inherit;
}

.step-number {
  position: absolute;
  top: -5px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: rgba(38, 38, 48, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.process-step:hover .step-number {
  background-color: rgba(38, 38, 48, 0.95);
  color: rgba(212, 175, 55, 0.9);
  border-color: rgba(212, 175, 55, 0.5);
}

.process-text h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.process-text p {
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.3s ease;
}

/* Portfolio section enhancements */
.portfolio .item-img {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio .item-img img {
  transition: transform 0.5s ease;
}

.portfolio .item-img:hover img {
  transform: scale(1.1);
}

.portfolio .cont {
  padding: 20px 0;
}

.portfolio .cont h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.portfolio .cont span {
  font-size: 13px;
  color: #888;
}

/* Responsive fixes */
@media (max-width: 991px) {
  .service-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-slider .item-box {
    min-height: 300px;
  }

  .services-details-text {
    padding: 20px 0 0 0;
    margin-top: 30px;
  }

  .process-step {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .service-feature-item {
    padding: 20px;
  }

  .services-slider .item-box {
    min-height: 250px;
  }

  .services-slider .swiper-container {
    padding-bottom: 40px;
  }

  .process-step {
    padding: 25px 20px;
  }

  .process-step .corner {
    width: 30px;
    height: 30px;
  }

  .process-step .border-top,
  .process-step .border-bottom {
    left: 30px;
    right: 30px;
  }

  .process-step .border-left,
  .process-step .border-right {
    top: 30px;
    bottom: 30px;
  }
}

.service-intro.bg-tertiary strong {
  color: var(--primary-color);
}

.service-intro.bg-tertiary p,
.process-section p.wow.fadeInUp {
  color: #aaa;
}
.process-text h5 {
  color: var(--primary-color) !important;
}
.process-section.bg-tertiary .process-step p {
  color: #aaa;
}

/* Service Features List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #ffffff;
}

.service-features li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: #b19777;
  font-size: 14px;
}
