/* =========================================================*/
/* ===== SERVICES OVERVIEW ===== */
#services-overview {
  color: #ffffff;
  background: var(--service-overview-background,
    linear-gradient(180deg, rgba(163, 228, 241, .8),
    rgba(248, 249, 249, .8))), var(--value-bg);
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
}

/* ===== GRID: auto-fit ensures cards wrap evenly ===== */
#services-overview .grid {
  display: grid;
  /* 👇 Automatically fits up to 3 cards per row, depending on screen width */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* 👆 280px minimum ensures good mobile scaling */
  gap: 24px;
  align-items: stretch; /* ensures equal height rows */
  margin-bottom: 40px;
}

/* ===== CARD STYLING ===== */

#services-overview .service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ensures footer stays at bottom */
  background: rgba(255, 255, 255, .95);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .25s ease, box-shadow .25s ease;
  padding: 20px;
  min-height: 100%;
  text-align: left;
  color: #0f172a;
}


#services-overview .service-card h3 {
  margin: 14px 0 18px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

#services-overview .card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .4s ease;
}

#services-overview .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

#services-overview .service-card:hover img {
  transform: scale(1.08);
}

#services-overview .service-card:hover h3 {
  color: var(--brand);
}

/* ===== ICON & TITLE INLINE ===== */
#services-overview .card .row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: 0;
}

#services-overview .card .card-icon {
  font-size: clamp(30px, 7vw, 60px);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .1));
  margin-right: 12px;
  flex: 0 0 auto;
  vertical-align: middle;
}

#services-overview .card .row h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*=========================================================*/
/* =========================================================
   SERVICES STORY – Creative Layout (Content Preserved)
   ========================================================= */

#services-story {
  position: relative;
  background: linear-gradient(180deg, rgba(240, 250, 255, 0.6), rgba(255,255,255,0.95)),
              radial-gradient(circle at top left, rgba(51,179,204,0.12), transparent 50%);
  background-blend-mode: overlay;
  padding: 80px 0;
  overflow: hidden;
  z-index: 0;
}

/* subtle gradient texture overlay */
#services-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 30%, rgba(51,179,204,0.1), transparent 70%);
  z-index: 0;
}

#services-story .container {
  position: relative;
  z-index: 1;
}

/* ------------- Typography & Layout ------------- */
#services-story h2,
#services-story h3,
#services-story h4 {
  color: var(--brand, #0f172a);
  font-weight: 700;
}

#services-story p {
  color: #334155;
  line-height: 1.7;
}

/* ------------- Layout Grid ------------- */
#services-story .services-story-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

#services-story .story-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}

#services-story .story-text h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

#services-story .story-text p {
  font-size: 1rem;
  color: #475569;
}

/* Optional side illustration */
#services-story .story-visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services-story .story-visual img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

/* ------------- Card Highlights Inside Story ------------- */
#services-story .story-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

#services-story .story-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 20px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#services-story .story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#services-story .story-card h3 {
  font-size: 1rem;
  color: var(--brand, #2563eb);
  margin-bottom: 0.6rem;
}

#services-story .story-card p {
  font-size: 0.95rem;
  color: #475569;
}

/* ------------- CTA Button ------------- */
#services-story .btn,
#services-story a.btn {
  margin-top: 1.8rem;
  background: linear-gradient(90deg, #2563eb, #16a34a);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: all 0.25s ease;
}

#services-story .btn:hover {
  background: linear-gradient(90deg, #1d4ed8, #15803d);
  transform: translateY(-2px);
}
/*=========================================================*/



/*Main top banner sections.css*/
.hero-section {
  --hero-background: linear-gradient(180deg, rgba(15, 216, 163, 0.8), rgba(255, 255, 255, .92));
}

/*services-overview sections.css*/
#services-overview {
  --service-overview-background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .92));
}

/*how we work sections.css*/
.lite-hero {
   --lite-hero-bg: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .92));
}

/*bottom cta section sections.css*/
.cta-banner {
  --cta-banner-bg: linear-gradient(180deg, rgba(15, 216, 163, 0.8), rgba(255, 255, 255, .92));
}