/* StokSmart Grocery Landing Page Styles */

.page-stoksmart-grocery {
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #212529;
}

/* Hero Section */
.stoksmart-grocery-tool {
  padding: 80px 0;
	background-color: #f8f9fa;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.4;
  font-weight: 700;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.stoksmart-grocery-tool p.lead {
  font-size: 1.125rem;
  color: #555;
}

/* Certificate Icons */
.cert-img {
  height: 120px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.85;
  transition: all 0.2s ease-in-out;
  display: inline-block;
}

.cert-img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.cert-wrap {
  max-width: 100%;
  overflow: hidden;
}

/* Hero Image Styling */
.hero-image {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;

  /* New Enhancements */
  border-radius: 16px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 
              0 5px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.hero-image:hover {
  transform: perspective(800px) rotateX(3deg) rotateY(-3deg) scale(1.03);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .hero-image {
    width: 90%;
    max-width: 420px;
  }
}



/* stoksmart trusted section  */
.stoksmart-trusted {
  background-color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.stoksmart-trusted h2 {
  font-size: 2rem;
  color: #212529;
  font-weight: 700;
}

@media (min-width: 768px) {
  .stoksmart-trusted h2 {
    font-size: 2.5rem;
  }
}
/* TLDR Problem Section */
.stoksmart-tldr-problem {
  background-color: #f8f9fa;
}



.stoksmart-tldr-problem .btn-danger {
  background-color: #C0000B;     /* Altavant Red */
  border: none;
  font-weight: 600;
  color: #fff;
  border-radius: 0;              /* 🔁 Sharp corners */
  transition: all 0.2s ease-in-out;
}

.stoksmart-tldr-problem .btn-danger:hover {
  background-color: #ffffff;     /* Hover white background */
  color: #C0000B;                /* Text turns red */
  border: 2px solid #C0000B;     /* Optional outline on hover */
}

/* Outline Button */
.stoksmart-tldr-problem .btn-outline-danger {
  border: 2px solid #C0000B;
  color: #C0000B;
  font-weight: 600;
  background-color: transparent;
  border-radius: 0;              /* 🔁 Sharp corners */
  transition: all 0.2s ease-in-out;
}

.stoksmart-tldr-problem .btn-outline-danger:hover {
  background-color: #ffffff;
  color: #C0000B;
}

.tldr-heading {
  font-size: 2.25rem;
  line-height: 1.4;
  font-weight: 700;
  color: #C0000B;
}



/* Refactored Persona Card Styling */
.persona-card {
  background-color: #f7f7f7;
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
  height: 100%;
  transition: transform 0.3s ease;
}

.persona-card:hover {
  transform: translateY(-5px);
}

.persona-icon {
  height: 48px;
  width: 48px;
  object-fit: contain;
  display: block;
}

.persona-card h5 {
  font-family: 'Montserrat', sans-serif;
  color: #111;
}

.persona-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}


/* Section 3: niche selection */

.niche-section {
  background-color: #C0000B;
  padding: 40px 20px;
  color: white;
  font-family: 'Montserrat', sans-serif;
 /* position: relative; */
  overflow: hidden;
}
.niche-row.right-to-left {
  animation-name: scrollLeft;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.niche-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #ffffff;
}
.niche-row-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.niche-row {
  display: flex;
  gap: 16px;
  width: max-content;
  margin-bottom: 32px;
  animation: scrollLeft 60s linear infinite;

}

./* Both rows scroll same direction */

.niche-row-wrapper .niche-row {
  animation-name: scrollLeft;
}

/* Pause scrolling on hover */
.niche-row:hover {
  animation-play-state: paused;
}
.niche-card {
  background: white;
  color: #C0000B;
  padding: 16px 20px;
  border-radius: 30px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
 /* align-items: flex-start; */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  gap: 12px;
}

.niche-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.niche-icon {
  background-color: #C0000B;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.niche-icon img {
  width: 22px;
  height: 22px;
}

.niche-card-header span {
  font-size: 18px;
  font-weight: bold;
  color: #C0000B;
}

/* Loop animation keyframes */
@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* move only half — second set loops in */
}


/* Problem -Solving -Carousel Section */
.problem-carousel-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.carousel-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #C0000B;
}

.carousel-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 20px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.problem-card {
  width: 240px;
  min-height: 300px;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.problem-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.problem-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

.problem-card h3 {
  color: #C0000B;
  margin: 0 0 10px 0;
  font-size: 20px;
}

.problem-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

@media (max-width: 768px) {
  .carousel-container {
    justify-content: flex-start;
  }

  .problem-card {
    width: 90%;
  }
}




/* ROI Impact Banner - StokSmart */

.stoksmart-roi-impact {
  padding: 120px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.roi-impact-heading {
  font-size: 3rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

.roi-impact-subtext {
  font-size: 1.25rem;
  color: #444;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-family: 'Montserrat', sans-serif;
}

.roi-btn {
  background-color: #C0000B;
  color: #fff;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.roi-btn:hover {
  background-color: #9c0009;
  transform: translateY(-2px);
}

.stoksmart-roi-impact-alt {
  background-color: #C0000B;
  padding: 60px 30px;
  color: #fff;
}

.stoksmart-roi-impact-alt h2 {
  font-size: 1.9rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.stoksmart-roi-impact-alt p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
}

/* CTA Button on Red Background */
.roi-alt-btn {
  background-color: #fff;
  color: #C0000B;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 30px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.roi-alt-btn:hover {
  background-color: #f1f1f1;
  color: #C0000B;
}


/*problem - solving - text */
.stoksmart-solving {
  background-color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.stoksmart-solving h2 {
  font-size: 2rem;
  color: #212529;
  font-weight: 700;
}

@media (min-width: 768px) {
  .stoksmart-solving h2 {
    font-size: 2.5rem;
  }
}

/* Section: The real user */

.realuser-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}
.realuser-title {
   text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #C0000B;
}

.realuser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.realuser-box {
  border-radius: 8px;
  background-color: #ffffff;
  border-top: 5px solid #C0000B;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  color: #000000;
}

.realuser-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.realuser-name {
  font-size: 16px;
}

.realuser-quote {
  font-size: 14px;
  font-style: italic;
  text-align: right;
}

.realuser-box p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Hover Effect */
.realuser-box:hover {
  background-color: #C0000B;
  color: #ffffff;
}

.realuser-box:hover .realuser-quote,
.realuser-box:hover .realuser-name {
  color: #ffffff;
}

@media (max-width: 768px) {
  .realuser-grid {
    grid-template-columns: 1fr;
  }
}


/* impact-section */

.impact-section {
  background-color: #ffffff;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.impact-banner {
  background-color: #C0000B;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
}

.impact-banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.impact-banner p {
  font-size: 18px;
  margin: 0;
}

.impact-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 20px;
}

.impact-text {
  flex: 1 1 60%;
}

.impact-text p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin: 0;
	margin-bottom: 18px;
}

.impact-cta {
  flex: 1 1 35%;
  text-align: right;
}

.impact-btn {
  display: inline-block;
  background-color: #C0000B;
  color: #fff;
  padding: 14px 28px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.impact-btn:hover {
  background-color: #a8000a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .impact-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .impact-cta {
    text-align: left;
    width: 100%;
  }

  .impact-btn {
    margin-top: 20px;
  }
}


/* USP Section */

.usp-section {
  background-color: #fff;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
}

.usp-title {
  text-align: center;
  margin-bottom: 40px;
}

.usp-title h2 {
  font-size: 28px;
  color: #C0000B;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.usp-card {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.usp-card:hover {
  background-color: #C0000B;
  color: #fff;
  transform: translateY(-5px);
}

.usp-icon {
  background-color: #C0000B;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.usp-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.usp-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.usp-card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}


/* pilot-section */

#value-first {
  background-color: #f8f9fa;
}

#value-first h2 {
  color: #111;
  font-family: 'Montserrat', sans-serif;
}

#value-first h5 {
  color: #C0000B;
}

/* Pricing Section */

.pricing-section {
  background: #fff;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.pricing-heading {
  font-size: 32px;
  color: #C0000B;
  margin-bottom: 10px;
}

.pricing-subheading {
  font-size: 16px;
  color: #444;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  color: #333;
  padding: 0;
  border-radius: 16px;
  border-top: 4px solid #ccc;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  border-top-color: #C0000B;
}

.pricing-top {
  background-color: #C0000B;
  color: white;
  padding: 24px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.pricing-top h3 {
  font-size: 20px;
  margin: 0;
}

.price {
  font-size: 32px;
  font-weight: bold;
  margin: 10px 0;
}

.price span {
  font-size: 14px;
  color: #fff;
}

.user-type {
  font-size: 14px;
  color: #f2f2f2;
}

.pricing-card ul {
  list-style: none;
  padding: 24px;
  margin: 0;
}

.pricing-card ul li {
  font-size: 14px;
  margin-bottom: 12px;
  padding: 10px 20px 10px 28px;
  position: relative;
  border-bottom: 1px solid #eee;
  background-color: transparent;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.pricing-card ul li::before {
  content: '✔';
  color: #C0000B;
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: bold;
  transition: color 0.25s ease;
	
}

.pricing-card ul li:hover {
  transform: scale(1.02);
  background-color: #f8f8f8;}
.pricing-footer {
  padding: 24px;
  text-align: center;
}

.pricing-btn {
  background-color: #C0000B;
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.pricing-btn:hover {
  background-color: #a60009;
}