/* ===== SOFTWARE SECTION - BLACK BACKGROUND, RESPONSIVE (MASTRIQ GREEN) ===== */
:root {
  --primary: #76b900;
  --primary-dark: #5a8c00;
  --primary-light: rgba(118, 185, 0, 0.15);
  --primary-glow: rgba(118, 185, 0, 0.3);
}

.software-section {
  padding: 1rem 0;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.software-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(118, 185, 0, 0.15);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 60px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.1rem;
  border: 1px solid rgba(118, 185, 0, 0.3);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.section-title .highlight {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #c0c0c0;
  max-width: 700px;
  margin: 0 auto;
}

/* Squeezy Carousel (cards: dark background with light text) */
.squeezy-carousel {
  position: relative;
  overflow: visible;
  width: 100%;
  min-height: 540px;
  margin: 0 auto;
  pointer-events: auto;
}

.squeezy-carousel__items-details-container {
  position: relative;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  min-height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.squeezy-carousel__item-details {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all 0.4s ease;
  filter: brightness(0.85);
}

.squeezy-carousel__item-details.active {
  filter: brightness(1);
}

.squeezy-carousel__item-card {
  width: 90%;
  max-width: 580px;
  background: #111111;
  border-radius: 28px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  margin: 0 auto;
  pointer-events: auto;
}

.squeezy-carousel__item-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px -20px rgba(118, 185, 0, 0.25);
}

.card-image {
  width: 100%;
  height: 200px;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f2a, #0f1117);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.squeezy-carousel__item-card:hover .card-image img {
  transform: scale(1.05);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-description {
  font-size: 0.85rem;
  color: #c0c0c0;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 0.8rem;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: -0.8rem;
  
}

.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #ffffff;
}

.carousel-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #0a0c12;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 12px;
}

.carousel-dot:hover {
  background: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .squeezy-carousel {
    min-height: 520px;
  }
}

@media (max-width: 768px) {

  .carousel-controls {
    margin-top: 0;      /* or a smaller negative value */
  }
  .software-section {
    padding: 2rem 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .squeezy-carousel {
    min-height: 500px;
  }
  .squeezy-carousel__item-card {
    width: 90%;
    padding: 1.2rem;
  }
  .card-image {
    height: 160px;
  }
  .card-title {
    font-size: 1rem;
  }
  .card-description {
    font-size: 0.8rem;
  }
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
  }
  
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  .squeezy-carousel {
    min-height: 480px;
  }
  .card-image {
    height: 140px;
  }
  .product-showcase-title {
        flex-wrap: wrap;
        justify-content: center;
    }
}