/* Services Filter Section */
.services-filter-section {
  background: #f5f5f5;
  min-height: 100vh;
}

/* Hero Inner Styles */
.hero--inner {
  margin-top: 128px;
  min-height: 200px;
  background: #092030;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.home-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.home-link:hover {
  color: #8bc954;
}

.text-green {
  color: #7ab644 !important;
}

.carousel-caption p{
    color: white;
    font-size: 18px;
}
.carousel-caption h1{
    font-size: 56px;
    font-weight: 400;
}
@media (max-width: 768px){
    .hero--inner h1 {
        font-size: 32px;
    }
    .hero--inner p {
        font-size: 16px;
    }
    
}
/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  padding: 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #f8f9fa;
  border: 3px solid transparent;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(122, 182, 68, 0.1), transparent);
  transition: left 0.6s;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.filter-btn.active {
  background: linear-gradient(135deg, #7ab644 0%, #6aa038 100%);
  color: white;
  border-color: #7ab644;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(122, 182, 68, 0.3);
}

.filter-icon {
  font-size: 22px;
  transition: transform 0.3s;
}

.filter-btn:hover .filter-icon,
.filter-btn.active .filter-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Card */
.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.service-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-card.hide {
  opacity: 0;
  transform: translateY(-30px) scale(0.95);
  pointer-events: none;
  display: none; 
}


.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.service-card-image {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fafafa;
  padding: 20px;
  transition: transform 0.5s;
}

.service-card:hover .service-card-image {
  transform: scale(1.05);
}

.service-card-content {
  padding: 25px;
}

.service-card-category {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
  color: #7ab644;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.service-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #092030;
  margin-bottom: 12px;
  line-height: 1.3;
  min-height: 56px;
}

.service-card-description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7ab644;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: gap 0.3s;
}

.service-card-link:hover {
  gap: 15px;
  color: #6aa038;
}

.service-card-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.service-card:hover .service-card-link svg {
  transform: translateX(5px);
}

/* Category Badge Colors */
.service-card[data-category="hardware"] .service-card-category {
  background: linear-gradient(135deg, #e3f2fd 0%, #f1f8ff 100%);
  color: #1976d2;
}

.service-card[data-category="software"] .service-card-category {
  background: linear-gradient(135deg, #f3e5f5 0%, #faf4fb 100%);
  color: #7b1fa2;
}

.service-card[data-category="solutions"] .service-card-category {
  background: linear-gradient(135deg, #fff3e0 0%, #fff9f3 100%);
  color: #f57c00;
}

/* Loading State */
.services-grid.loading .service-card {
  pointer-events: none;
  opacity: 0.5;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
}

.empty-state-icon {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 16px;
  color: #666;
}

/* Responsive */
@media (max-width: 992px) {
  .filter-tabs {
    gap: 10px;
    padding: 15px;
  }

  .filter-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .filter-icon {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .hero--inner {
    min-height: 280px;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .service-card-title {
    font-size: 20px;
    min-height: auto;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation delays */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }
.service-card:nth-child(6) { transition-delay: 0.5s; }
.service-card:nth-child(7) { transition-delay: 0.6s; }
.service-card:nth-child(8) { transition-delay: 0.7s; }
.service-card:nth-child(9) { transition-delay: 0.8s; }
/* ================================
   SERVICE DETAILS PAGE
   ================================ */

/* ===== Hero Section ===== */
.service-hero {
  padding: 70px 100px 0px;
  color: #092030;
  overflow: hidden;
}

.service-category {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7ab644;
  margin-bottom: 12px;
}

.service-hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  position: relative;
}

.service-hero h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #7ab644;
  margin-top: 22px;
  border-radius: 2px;
}

#serviceShortDesc {
  font-size: 20px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Hero Image */
.service-hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
}

/* ================================
   OVERVIEW SECTION
   ================================ */
.section-padding {
  padding: 50px 0;
}

#serviceDescription {
  font-size: 18px;
  margin-top: 0px;
  color: #444;
}

/* ================================
   FEATURES / SPECS / USE CASES
   ================================ */
.features-grid,
.specs-grid,
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* Feature Card */
.feature-card,
.spec-card,
.usecase-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.feature-card:hover,
.spec-card:hover,
.usecase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Specs Card */
.spec-card {
  font-size: 15px;
  color: #555;
}

.spec-card span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #7ab644;
  text-transform: capitalize;
}

/* Use Case Card */
.usecase-card {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-align: center;
}

/* ================================
   LIGHT BACKGROUND SECTIONS
   ================================ */
.bg-light {
  background: #f5f5f5 !important;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1200px) {
  .service-hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 992px) {
  .service-hero {
    padding: 140px 0 100px;
    text-align: center;
  }

  .service-hero h1::after {
    margin-left: auto;
    margin-right: auto;
  }

  #serviceShortDesc {
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
  }

  #serviceDescription {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 38px;
  }

  .section-padding {
    padding: 80px 0;
  }
}

@media (max-width: 576px) {
  .service-hero h1 {
    font-size: 32px;
  }

  #serviceShortDesc {
    font-size: 16px;
  }

  #serviceDescription {
    font-size: 16px;
  }
}
