/* ================= SOLUTION HERO ================= */

.solution-hero {
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  margin-top: 0;
}

.solution-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.solution-hero-text {
  position: relative;
  padding: 0 80px;
  max-width: 700px;
}

.solution-hero-text h1 {
  font-size: 52px;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
}

.solution-hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

/* ================= HERO BACKGROUNDS ================= */

.navision-hero {
  background: url("../kppl_img/checksBanner.e32c63c36c5773ba6826.jpg") center/cover no-repeat;
}

.business-central-hero {
  background: url("../kppl_img/businessC.png") center/cover no-repeat;
}

.ls-retail-hero {
  background: url("../kppl_img/lsRetail.png") center/cover no-repeat;
}

.jet-reports-hero {
  background: url("./kppl_img/JetReports.jpg") center/cover no-repeat;
}

.dynamicweb-hero {
  background: url("../kppl_img/DYN_WEB.png") center/cover no-repeat;
}

.powerbi-hero {
  background: url("../kppl_img/power-bi.png") center/cover no-repeat;
}

.oracle-hero {
  background: url("../kppl_img/oracle.png") center/cover no-repeat;
}

.finance-ops-hero {
  background: url("../kppl_img/business-deal.png") center/cover no-repeat;
}

.ai-hero {
  background: url("../kppl_img/technology_abstract.png") center/cover no-repeat;
}

/* ================= SECTIONS ================= */

.solution-section {
  padding: 90px 80px;
  background: #fff;
}

.solution-section.light {
  background: #f5f7fb;
}

.solution-container {
  max-width: 1200px;
  margin: auto;
}

.solution-container h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #111;
}

.solution-container p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}

.solution-container strong {
  font-weight: 600;
  color: #111;
}

.center {
  text-align: center;
}

/* ================= STRIP CTA ================= */

.solution-strip {
  background: #1e3a8a;
  color: #fff;
  padding: 22px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.solution-strip.light {
  background: #f1f5ff;
  color: #111;
}

.solution-strip p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.strip-btn {
  padding: 10px 22px;
  background: #fff;
  color: #1e3a8a;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.strip-btn:hover {
  background: #eef2ff;
  transform: translateY(-2px);
}

.strip-btn.outline {
  background: transparent;
  border: 2px solid #1e3a8a;
  color: #1e3a8a;
}

.solution-strip.light .strip-btn.outline {
  border-color: #111;
  color: #111;
}

.solution-strip.light .strip-btn.outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ================= FEATURES ================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  animation: popUp 0.4s ease-out;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #111;
  font-weight: 600;
}

.feature-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* ================= CTA SECTION ================= */

.solution-cta {
  background: linear-gradient(120deg, #1e3a8a, #2563eb);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.solution-cta h2 {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.solution-cta p {
  font-size: 17px;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

.solution-cta .cta-btn {
  display: inline-block;
  margin-top: 26px;
  padding: 14px 36px;
  background: #fff;
  color: #1e3a8a;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.solution-cta .cta-btn:hover {
  background: #eef2ff;
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popUp {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .solution-hero {
    height: auto;
    padding: 80px 20px;
  }

  .solution-hero-text {
    padding: 0;
    max-width: 100%;
  }

  .solution-hero-text h1 {
    font-size: 36px;
  }

  .solution-hero-text p {
    font-size: 16px;
  }

  .solution-section {
    padding: 70px 20px;
  }

  .solution-container h2 {
    font-size: 28px;
  }

  .features-grid {
   grid-template-columns: 1fr !important;
  gap: 40px;
  }

  .solution-strip {
    flex-direction: column;
    padding: 20px;
    gap: 12px;
  }

  .solution-strip p {
    font-size: 14px;
  }

  .strip-btn {
    width: 100%;
    text-align: center;
  }

  .solution-cta {
    padding: 70px 20px;
  }

  .solution-cta h2 {
    font-size: 28px;
  }

  .solution-cta p {
    font-size: 15px;
  }
  @media (max-width: 768px) {
  .feature-card {
    animation: slideUp 0.6s ease-out forwards;
  }

  /* Stagger animation for each card */
  .feature-card:nth-child(1) {
    animation-delay: 0.1s;
  }

  .feature-card:nth-child(2) {
    animation-delay: 0.2s;
  }

  .feature-card:nth-child(3) {
    animation-delay: 0.3s;
  }

  .feature-card:nth-child(4) {
    animation-delay: 0.4s;
  }

  .feature-card:nth-child(5) {
    animation-delay: 0.5s;
  }

  .feature-card:nth-child(6) {
    animation-delay: 0.6s;
  }

  .feature-card:nth-child(7) {
    animation-delay: 0.7s;
  }

  .feature-card:nth-child(8) {
    animation-delay: 0.8s;
  }

  .feature-card:nth-child(9) {
    animation-delay: 0.9s;
  }
}
.feature-card:hover {
    animation: popUp 0.4s ease-out;
    transform: translateY(-8px) scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 1024px) {
  .solution-hero-text {
    padding: 0 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.solution-section.light {
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}
.solution-container h2 {
  font-size: 38px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 28px;
}
.solution-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
}

.solution-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  color: #334155;
  line-height: 1.6;
}

.solution-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #dc2626; /* Oracle red accent */
  font-size: 16px;
  font-weight: 600;
}
.solution-note {
  margin-top: 30px;
  font-size: 15px;
  color: #475569;
  background: #ffffff;
  padding: 16px 22px;
  border-left: 4px solid #dc2626;
  border-radius: 6px;
  display: inline-block;
}
.solution-note a {
  margin-left: 6px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
  position: relative;
}

.solution-note a::after {
  content: " →";
}

.solution-note a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-container h2 {
    font-size: 28px;
  }
}
.solution-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* use contain if you don’t want crop */
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.solution-hero-text {
  position: relative;
  z-index: 2;
}
.solution-hero {
  position: relative;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.solution-hero-text {
  position: relative;
  z-index: 2;
}
/* ================= HERO IMAGE ================= */

.solution-hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

/* Background image */
.solution-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* change to 'contain' if you want full image */
  z-index: 1;
}

/* Overlay for readability */
.solution-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

/* Text on top */
.solution-hero-text {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-left: 8%;
}

.solution-hero-text h1 {
  font-size: 52px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.solution-hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #e5e7eb;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .solution-hero {
    height: auto;
    padding: 90px 0;
  }

  .solution-hero-text {
    padding: 0 20px;
    text-align: center;
  }

  .solution-hero-text h1 {
    font-size: 34px;
  }

  .solution-hero-text p {
    font-size: 16px;
  }
}
