/* ==============General=================== */

body {
  margin: 0;
  padding: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

/* ==============Feature Items======================== */

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 15px 10px;
}

.feature-icon {
  display: block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
  color: #0f172a;
}

.feature-item h6 {
  margin: 0 0 4px;
}

.feature-item small {
  display: block;
  line-height: 1.4;
}

.feature h3 {
  font-size: 20px;
  margin: 10px 0 5px;
  font-weight: 600;
}

.feature p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* =====================Auto Slider======================= */

.slider-section {
  background: #535353;
  padding: 25px 0;
  overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 35s linear infinite;
}

.pill {
  background: #23a036;
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===============Container========================== */

.container1 {
  max-width: 1000px;
  margin: auto;
  flex-direction: column;
  justify-content: center;
}

/* =================Responsive=================== */

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-right {
    text-align: center;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .details {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    flex-direction: column;
  }

  .feature-column {
    width: 100%;
  }

  .cards {
    flex-direction: column;
  }

  .card1 {
    width: 100%;
  }

  .main-title {
    font-size: 32px;
  }

  .sub-title {
    font-size: 22px;
  }
}

@media (max-width: 500px) {
  .hero-left h1 {
    font-size: 30px;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .pill {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* ==================Features===================== */

.sub-title {
  font-size: 28px;
  margin-bottom: 40px;
}

.feature-box {
  display: grid;
  grid-template-columns: auto 1fr; /* Column 1: Icon width, Column 2: Remaining text space */
  align-items: start; /* Top-aligned for multi-line text (use center if single-line) */
  gap: 12px;
}

.feature-column {
  width: 30%;
}

/* Optional custom check circle if not using FontAwesome icons directly */
.check {
  width: 22px;
  height: 22px;
  background-color: #088d36;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px; /* Fine-tunes optical alignment with line-height */
}

/* ======================Cards===================== */

.section1 {
  padding: 60px 80px;
  text-align: center;
}

.section1 h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 60px;
}

.cards {
  display: flex;
  justify-content: space-between;
  border-radius: 40px;
  gap: 40px;
}

.card1 {
  width: 32%;
  border-radius: 16px;
  padding: 30px;
  box-sizing: border-box;
}

.card1 h3 {
  text-align: center;
  font-size: 16px;
  margin-bottom: 15px;
}

.barcode-box {
  border-radius: 12px;
}

.barcode-box img {
  width: 100%;
  margin: auto;
  border-radius: 12px;
}

.card-footer {
  margin-top: 20px;
  font-size: 18px;
}

/* ===================Slider Section========================== */

.slider-section1 {
  padding: 50px 10px;
  text-align: center;
}

.main-title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 20px;
}

.main-desc {
  max-width: 900px;
  margin: 0 auto 60px;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.slide {
  display: none;
  animation: fade 1s ease;
}

.slide.active {
  display: block;
}

.slide h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.slide p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
}

.slide a {
  color: rgb(103, 167, 236);
  text-decoration: underline;
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
}

.dot.active {
  background: #3ad8f09f;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ====================Steps=============================== */

.steps-section {
  background: #f6f8fb;
  padding: 50px 8%;
}

.steps-section h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 50px;
  color: #0b1320;
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.step {
  display: flex;
  gap: 20px;
  max-width: 300px;
}

.step .number {
  font-size: 60px;
  font-weight: 700;
  color: #0b1320;
}

.step p {
  font-size: 18px;
  line-height: 1.5;
  color: #0b1320;
  margin-top: 10px;
}

/* ==================Hero================================= */

.hero-inventory-section {
  background: #0f172a;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffd700;
}

.hero-btn {
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 8px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  max-width: 620px;
}

.btn-primary.hero-btn {
  background-color: #ffd700;
  border-color: #ffd700;
  color: #000;
}

.btn-outline-primary.hero-btn {
  color: #ffd700;
  border-color: #ffd700;
}

.btn-primary.hero-btn:hover {
  background-color: #ffc300;
  border-color: #ffc300;
  color: #000;
}

.btn-outline-primary.hero-btn:hover {
  background-color: #ffd700;
  color: #000;
}

/* =========Billing=================================== */

.billing-wrapper {
  background: #f5f6f8;
  padding: 60px 0;
}

.billing-card {
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  padding: 50px 40px;
  margin: 0 auto;
}

.testimonial-text {
  text-align: center;
  margin: 30px auto 0;
  max-width: 900px;
  font-style: italic;
}

/* ==================Common Width========================== */

.max-w-800 {
  max-width: 800px;
}

.max-w-700 {
  max-width: 700px;
}

/* ===================Feature Cards======================= */

.feature-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.08) !important;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
}

/* ======================Video======================== */

.backdrop-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.media-card-wrapper img {
  transition: transform 0.4s ease;
  min-height: 380px;
}

.media-card-wrapper:hover img {
  transform: scale(1.03);
}

.btn-play-custom {
  width: 52px;
  height: 52px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.5);
  animation: pulse-ring 2s infinite;
}

.btn-play-custom:hover {
  transform: scale(1.1);
  background-color: #bb2d3b !important;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(220, 53, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

/* =======================Inventory Cards================ */

.feature-item-card {
  background-color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.feature-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(13, 110, 253, 0.25) !important;
}

.card-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.feature-img {
  max-height: 100%;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.feature-item-card:hover .feature-img {
  transform: scale(1.05);
}

/* ==================Complete Solution===================== */

.feature-header-icon {
  width: 56px;
  height: 56px;
}

.feature-box {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.feature-box:hover {
  background-color: #fff;
  border-color: rgba(13, 110, 253, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.gap-2\.5 {
  gap: 0.625rem;
}

/* =====================Industry Solutions====================== */

.nav-pills.overflow-x-auto {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-pills.overflow-x-auto::-webkit-scrollbar {
  display: none;
}

.nav-item-btn {
  color: #495057;
  background-color: #fff;
  border: 1px solid #e9ecef;
  transition: all 0.25s ease-in-out;
}

.nav-item-btn:hover {
  color: #0d6efd;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.nav-pills .nav-item-btn.active {
  background-color: #0d6efd !important;
  color: #fff !important;
  box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.25);
  border-color: #0d6efd;
}

.tab-pane.fade {
  transition: opacity 0.3s ease-in-out;
}

/* ====================FAQ====================== */

.custom-faq-accordion .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.custom-faq-accordion .accordion-item:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.06) !important;
}

.custom-faq-accordion .accordion-button {
  box-shadow: none !important;
  border-radius: 0;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
  color: #0d6efd !important;
  background-color: #fff !important;
}

.custom-faq-accordion .accordion-button::after {
  background-size: 1.1rem;
  transition: transform 0.25s ease-in-out;
}

/* Keep inventory checks consistent with the green accounting badges. */
.custom-faq-accordion .accordion-button {
  min-height: 58px;
  padding: 0.9rem 1.25rem;
  font-size: 1rem !important;
  line-height: 1.35;
  text-align: left;
}

.custom-faq-accordion .accordion-body {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-box > i.fa-circle-check {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px !important;
  border-radius: 50%;
  background: #ffc107;
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 0 !important;
  line-height: 1;
}

.feature-box > i.fa-circle-check::before {
  content: "✓";
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Defer rendering work for the long below-the-fold sections on mobile. */
section[aria-labelledby="stock-about-heading"],
section[aria-labelledby="inventory-management-heading"],
section[aria-labelledby="all-features-title"],
section[aria-labelledby="solutions-heading"],
section[aria-labelledby="faq-heading"],
.bg-testimonial {
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}

@media (max-width: 575.98px) {
  .custom-faq-accordion .accordion-button {
    min-height: 54px;
    padding: 0.75rem 0.9rem;
    padding-right: 2.75rem;
    font-size: 0.95rem !important;
  }

  .custom-faq-accordion .accordion-body {
    padding: 0 0.9rem 1rem;
    font-size: 0.875rem;
  }

  .custom-faq-accordion .accordion-button > i {
    margin-right: 0.65rem !important;
    font-size: 1rem !important;
  }
}

/* ==================Marquee=================== */

.marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;

  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0) 100%
  );

  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.badge-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  border-color: #0d6efd;
  cursor: default;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ================Hero Banner========================= */

.hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-overlay {
  background: radial-gradient(
    circle at 10% 20%,
    rgba(14, 165, 233, 0.15) 0%,
    transparent 45%
  );

  pointer-events: none;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* ========REVAMPED MODERN TESTIMONIAL STYLES============== */

/* Background Image & Overlay */
.bg-testimonial .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.4) saturate(1.2);
}

.bg-testimonial .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(59, 60, 240, 0.25) 0%,
    rgba(11, 15, 25, 0.85) 70%
  );
  z-index: 1;
}

/* General Utility Classes */
.letter-spacing-2 {
  letter-spacing: 2px;
}
.text-light-80 {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}
.text-gradient {
  background: linear-gradient(135deg, #f39c12, #f1c40f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-pill-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

/* Left Carousel Card Styling */
.testimonial-slide-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.avatar-wrapper img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  border: 2px solid #f1c40f;
  padding: 2px;
  background: #ffffff;
}

/* Right Column Container Layout */
.customer-rating-template {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
}

/* Customer Review Cards (Glassmorphic White Look) */
.customer-rating-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px 24px;
  border-radius: 18px;
  border-left: 5px solid #3b3cf0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.customer-rating-card:hover {
  transform: translateY(-5px) scale(1.01);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Offset layout on Desktop for staggered visual effect */
@media (min-width: 992px) {
  .customer-rating-card.crt-pos-1 {
    margin-left: 0;
    margin-right: 40px;
  }
  .customer-rating-card.crt-pos-2 {
    margin-left: 30px;
    margin-right: 10px;
    border-left-color: #f39c12;
  }
  .customer-rating-card.crt-pos-3 {
    margin-left: 10px;
    margin-right: 30px;
    border-left-color: #2ecc71;
  }
}

/* Card Elements */
.customer-rating-card img {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eef2f6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.customer-rating-content {
  flex: 1;
  z-index: 2;
}

.customer-rating-content h5 {
  margin: 0 0 2px 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.customer-stars {
  color: #ffb000;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.customer-review {
  margin: 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 450;
}

.customer-quote {
  position: absolute;
  right: 15px;
  bottom: -10px;
  font-family: Georgia, serif;
  font-size: 70px;
  color: rgba(59, 60, 240, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Mobile Adjustments */
@media (max-width: 575px) {
  .customer-rating-card {
    padding: 16px 18px;
    gap: 12px;
  }
  .customer-rating-card img {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }
  .customer-review {
    font-size: 12.5px;
  }
  .section-heading {
    font-size: 1.8rem;
  }
}
