/* Usluge Section - Complete Redesign */

/* Section Container */
#usluge.elementor-element-b5e2152 {
  padding-top: 50px !important;
  padding-bottom: 100px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative !important;
  overflow: visible !important;
  background: var(--futura-dark) !important;
}

#usluge.elementor-element-b5e2152 .e-con-inner {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1320px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* Header Section - Title */
#usluge .elementor-element-15ea9d5 {
  margin-bottom: 60px !important;
  text-align: center !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#usluge .elementor-element-15ea9d5 * {
  font-weight: 800 !important;
}

#usluge .elementor-element-9d333d5 {
  text-align: center !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}

#usluge .elementor-element-9d333d5 .elementor-widget-container {
  text-align: center !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

#usluge .theme-title {
  font-weight: 800 !important;
  text-align: center !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}

#usluge .theme-title * {
  font-weight: 800 !important;
}

#usluge .theme-title h2 {
  font-weight: 800 !important;
}

#usluge .theme-title h2.futura-services-title {
  font-size: 42px !important;
  line-height: 1.3 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  margin: 0 auto !important;
  margin-bottom: 0 !important;
  letter-spacing: 0 !important; /* Povezan font - bez razmaka između slova */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  text-align: center !important;
  width: 100% !important;
  white-space: normal !important; /* Omogućava prelom teksta */
  word-spacing: normal !important;
  display: block !important;
}

#usluge .theme-title h2.futura-services-title * {
  text-align: center !important;
}

#usluge .theme-title h2.futura-services-title * {
  font-weight: 800 !important;
}

/* Service Grid - Clean 2 column layout */
#usluge .our-service-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
  align-items: stretch !important;
}

/* Service Items Container */
#usluge .our-service-grid > [class*="col-"] {
  display: flex !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Service Card */
#usluge .service-item.style-3 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 45px 35px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: center !important;
}

#usluge .service-item.style-3:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 50px rgba(53, 114, 194, 0.25) !important;
  border-color: rgba(79, 175, 230, 0.3) !important;
}

/* Service Icon Wrap - Only icon */
#usluge .service-item.style-3 .service-icon-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 28px !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Service Icon */
#usluge .service-item.style-3 .service-icon {
  width: 90px !important;
  height: 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--futura-primary), var(--futura-accent)) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(53, 114, 194, 0.3) !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
  margin: 0 auto !important;
}

#usluge .service-item.style-3:hover .service-icon {
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow: 0 12px 32px rgba(53, 114, 194, 0.4) !important;
}

#usluge .service-item.style-3 .service-icon i {
  font-size: 48px !important;
  color: #ffffff !important;
  display: block !important;
  line-height: 1 !important;
}

#usluge .service-item.style-3 .service-icon img {
  width: 48px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: brightness(0) invert(1) !important;
}

/* Service Title - Separate element */
#usluge .service-item.style-3 .service-title {
  width: 100% !important;
  text-align: center !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-weight: 800 !important;
}

#usluge .service-item.style-3 .service-title * {
  font-weight: 800 !important;
  text-align: center !important;
}

#usluge .service-item.style-3 .service-title h4 {
  font-size: 26px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  color: #141111 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

#usluge .service-item.style-3 .service-title h4 * {
  font-weight: 800 !important;
  text-align: center !important;
}

#usluge .service-item.style-3 .service-title h4 a {
  color: #141111 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  display: block !important;
  font-weight: 800 !important;
  text-align: center !important;
  margin: 0 auto !important;
}

#usluge .service-item.style-3:hover .service-title h4 a {
  color: var(--futura-primary) !important;
  font-weight: 800 !important;
  text-align: center !important;
}

/* Service Description */
#usluge .service-item.style-3 .service-desc {
  flex: 1 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-weight: 600 !important;
}

#usluge .service-item.style-3 .service-desc * {
  font-weight: 600 !important;
}

#usluge .service-item.style-3 .service-desc p {
  color: #4a4a4a !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-weight: 600 !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

#usluge .service-item.style-3 .service-desc p * {
  font-weight: 600 !important;
}

#usluge .service-item.style-3 .service-desc p strong {
  font-weight: 800 !important;
  color: var(--futura-primary) !important;
}

#usluge .service-item.style-3 .service-desc p strong * {
  font-weight: 800 !important;
}

/* Hide dividers and images */
#usluge .service-item.style-3 .ht-divider {
  display: none !important;
}

#usluge .service-item.style-3 .service-image {
  display: none !important;
}

/* For 5 items - center the last one */
@media (min-width: 992px) {
  #usluge .our-service-grid > [class*="col-"]:nth-child(5) {
    grid-column: 1 / 3 !important;
    max-width: 50% !important;
    margin: 0 auto !important;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  #usluge.elementor-element-b5e2152 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  
  #usluge.elementor-element-b5e2152 .e-con-inner {
    padding: 0 30px !important;
  }
  
  #usluge .our-service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
  
  #usluge .our-service-grid > [class*="col-"]:nth-child(5) {
    grid-column: 1 / 3 !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  
  #usluge .service-item.style-3 {
    padding: 40px 30px !important;
  }
  
  #usluge .service-item.style-3 .service-icon {
    width: 80px !important;
    height: 80px !important;
  }
  
  #usluge .service-item.style-3 .service-icon i {
    font-size: 42px !important;
  }
  
  #usluge .service-item.style-3 .service-title {
    font-weight: 800 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  #usluge .service-item.style-3 .service-title * {
    font-weight: 800 !important;
    text-align: center !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 {
    font-size: 24px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 * {
    font-weight: 800 !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 a {
    font-weight: 800 !important;
  }
  
  #usluge .service-item.style-3 .service-desc {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc * {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc p {
    font-size: 15px !important;
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc p * {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc p strong {
    font-weight: 800 !important;
  }
}

@media (max-width: 767px) {
  #usluge.elementor-element-b5e2152 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  
  #usluge.elementor-element-b5e2152 .e-con-inner {
    padding: 0 20px !important;
  }
  
  #usluge .elementor-element-15ea9d5 {
    margin-bottom: 40px !important;
  }
  
  #usluge .theme-title h2.futura-services-title {
    font-size: 45px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important; /* Povezan font */
    text-align: center !important;
  }
  
  #usluge .theme-title h2.futura-services-title * {
    font-weight: 800 !important;
  }
  
  #usluge .our-service-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
  }
  
  #usluge .our-service-grid > [class*="col-"]:nth-child(5) {
    grid-column: 1 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  #usluge .service-item.style-3 {
    padding: 35px 25px !important;
  }
  
  #usluge .service-item.style-3 .service-icon {
    width: 75px !important;
    height: 75px !important;
  }
  
  #usluge .service-item.style-3 .service-icon i {
    font-size: 40px !important;
  }
  
  #usluge .service-item.style-3 .service-title {
    font-weight: 800 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  #usluge .service-item.style-3 .service-title * {
    font-weight: 800 !important;
    text-align: center !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 {
    font-size: 22px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 * {
    font-weight: 800 !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 a {
    font-weight: 800 !important;
  }
  
  #usluge .service-item.style-3 .service-desc {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc * {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc {
    text-align: center !important;
  }
  
  #usluge .service-item.style-3 .service-desc p {
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
  }
  
  #usluge .service-item.style-3 .service-desc p * {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc p strong {
    font-weight: 800 !important;
  }
}

@media (max-width: 575px) {
  #usluge.elementor-element-b5e2152 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  
  #usluge.elementor-element-b5e2152 .e-con-inner {
    padding: 0 15px !important;
  }
  
  #usluge .theme-title h2.futura-services-title {
    font-size: 45px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important; /* Povezan font */
    text-align: center !important;
    margin-bottom: 24px !important;
  }
  
  #usluge .theme-title h2.futura-services-title * {
    font-weight: 800 !important;
  }
  
  #usluge .service-item.style-3 {
    padding: 30px 20px !important;
    border-radius: 16px !important;
  }
  
  #usluge .service-item.style-3 .service-icon {
    width: 70px !important;
    height: 70px !important;
    border-radius: 14px !important;
  }
  
  #usluge .service-item.style-3 .service-icon i {
    font-size: 36px !important;
  }
  
  #usluge .service-item.style-3 .service-title {
    font-weight: 800 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  #usluge .service-item.style-3 .service-title * {
    font-weight: 800 !important;
    text-align: center !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 {
    font-size: 20px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 * {
    font-weight: 800 !important;
  }
  
  #usluge .service-item.style-3 .service-title h4 a {
    font-weight: 800 !important;
  }
  
  #usluge .service-item.style-3 .service-desc {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc * {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc {
    text-align: center !important;
  }
  
  #usluge .service-item.style-3 .service-desc p {
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
  }
  
  #usluge .service-item.style-3 .service-desc p * {
    font-weight: 600 !important;
  }
  
  #usluge .service-item.style-3 .service-desc p strong {
    font-weight: 800 !important;
  }
}
