:root {
  --navy: #0d2137;
  --teal: #386775;
  --teal2: #4C7682;
  --bg1: #eef5f7;
  --bg2: #dfeaf0;
  --border: rgba(13, 33, 55, 0.14);
  --muted: rgba(13, 33, 55, 0.65);
  --shadow: 0 30px 80px rgba(13, 33, 55, 0.20);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto;
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(56, 103, 117, 0.14), transparent 55%),
    radial-gradient(840px 520px at 90% 16%, rgba(76, 118, 130, 0.12), transparent 58%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  color: var(--navy);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* HERO */
.hero {
  background: white;
  border-radius: 40px;
  box-shadow: var(--shadow);
  padding: 50px 30px 0;
  overflow: hidden;
}

.heroInner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.logo img {
  width: 38px;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero p {
  margin: 18px auto 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
  max-width: 78ch;
}

.section-headline {
  text-align: center;
  font-size: 32px;
  font-weight: 950;
  margin: 60px 0 30px;
  color: var(--navy);
}

/* TRUST */
.trustBlock {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.trustRow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.trustText {
  font-weight: 900;
  font-size: 14px;
  text-align: left;
}

.stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
}

.primaryBtn {
  background: linear-gradient(135deg, #4C7682, #386775);
  color: white;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: pulse-soft 2s infinite;
}

.cta-button {
  background: #3C6A78;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-top: 16px;
  transition: transform 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* APP DOWNLOAD CARD */
.app-download-card {
  background: #f8fafc;
  border-radius: 32px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.app-content h2 {
  font-size: 42px;
  font-weight: 950;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--navy);
}

.app-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 40px;
}

.store-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  background: black;
  color: white;
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.store-btn:hover {
  opacity: 0.8;
}

.store-btn svg {
  width: 24px;
  height: 24px;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-text small {
  font-size: 10px;
}

.store-text span {
  font-size: 16px;
  font-weight: 600;
}

/* CSS PHONE MOCKUP */
.phone-mockup {
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  width: 280px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 4px solid #333;
  position: relative;
}

.phone-screen {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
}

.notch {
  height: 24px;
  background: #1a1a1a;
  width: 40%;
  margin: 0 auto;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 12px;
  left: 30%;
  z-index: 10;
}

@media (max-width: 800px) {
  .app-download-card {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: center;
  }

  .store-btns {
    justify-content: center;
  }
}

@keyframes pulse-soft {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 103, 117, 0.4), 0 14px 30px rgba(0, 0, 0, .3);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(56, 103, 117, 0), 0 14px 30px rgba(0, 0, 0, .3);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(56, 103, 117, 0), 0 14px 30px rgba(0, 0, 0, .3);
  }
}

.primaryBtn svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.ticks {
  display: flex;
  gap: 20px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(13, 33, 55, .7);
}

.ticks span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticks svg {
  width: 16px;
  height: 16px;
  stroke: #386775;
}

/* IMAGE */
.heroImage {
  margin-top: 40px;
}

.heroImage img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(13, 33, 55, .35);
  transform: translateY(40px);
}

/* CARDS */
.grid {
  margin-top: 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.content-stack {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 100px auto 0;
}

@media(max-width:900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: white;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(13, 33, 55, .22);
  display: flex;
  gap: 16px;
}

.cardIcon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(56, 103, 117, .12);
  /* border removed for cleaner look */
  display: grid;
  place-items: center;
}

.cardIcon svg {
  width: 22px;
  height: 22px;
  stroke: #386775;
}

.product-carousel-wrapper {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.product-slide {
  min-width: 100%;
  scroll-snap-align: center;
  background: #f8fafc;
  border: 1px solid rgba(13, 33, 55, 0.08);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.product-info {
  padding: 32px;
}

.product-info h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.product-info p {
  font-size: 15px;
  color: rgba(13, 33, 55, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-info ul {
  padding-left: 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal2);
  line-height: 1.6;
}

.product-image {
  height: 100%;
  min-height: 300px;
  background: white;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(13, 33, 55, 0.05);
}

.product-image img {
  width: 80%;
  max-height: 250px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .product-slide {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 200px;
    border-left: none;
    border-bottom: 1px solid rgba(13, 33, 55, 0.05);
    order: -1;
  }
}

/* CAROUSEL CONTROLS */
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.carousel-nav {
  display: flex;
  gap: 12px;
}

.nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(13, 33, 55, 0.15);
  background: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--navy);
}

.nav-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.project-carousel {
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.project-carousel::-webkit-scrollbar {
  display: none;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 950;
}

.card p {
  margin: 0;
  font-weight: 700;
  color: rgba(13, 33, 55, .75);
  line-height: 1.6;
}

/* SPLIT CARD (Text + Image) */
.card-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.card-split-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13, 33, 55, 0.15);
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

.product-itm {
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(13, 33, 55, 0.08);
  transition: transform 0.2s;
}

.product-itm:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(13, 33, 55, 0.08);
}

.product-itm img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: white;
  padding: 20px;
  border-bottom: 1px solid rgba(13, 33, 55, 0.05);
}

.product-itm span {
  display: block;
  padding: 14px;
  font-weight: 800;
  text-align: center;
  font-size: 15px;
  color: var(--navy);
}

@media (max-width: 768px) {
  .card-split {
    grid-template-columns: 1fr;
  }

  .card-split-image {
    order: -1;
    /* Image first on mobile */
  }

  .card-split-image img {
    min-height: auto;
    height: auto;
    object-fit: contain;
  }

  .ticks {
    flex-direction: column;
  }
}

/* CTA */
.cta {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(13, 33, 55, .97), rgba(56, 103, 117, .95));
  border-radius: 36px;
  padding: 46px 38px;
  color: white;
  box-shadow: var(--shadow);
}

.cta strong {
  font-size: 28px;
  font-weight: 950;
}

.cta span {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  max-width: 80ch;
  color: rgba(255, 255, 255, .82);
}

.ctaBtns {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 28px;
  border-radius: 18px;
  font-weight: 950;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.btnPrimary {
  background: linear-gradient(135deg, #4C7682, #386775);
  color: white;
}

.btnGhost {
  border: 1px solid rgba(255, 255, 255, .35);
  color: white;
}

.support {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, .75);
}

.support a {
  color: white;
  text-decoration: none;
  font-weight: 900;
}

/* SHARE BUTTON */
.shareFab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4C7682, #386775);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  z-index: 1000;
}

.shareFab svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.fab-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 800;
  /* border removed */
  border-radius: 99px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  animation: pulse-red 2s infinite;
  z-index: 10;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* MODAL */
.shareModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.shareBox {
  background: white;
  padding: 36px;
  border-radius: 28px;
  max-width: 420px;
  width: 92%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.shareBox h3 {
  margin: 0;
  font-size: 22px;
}

.shareBox p {
  color: rgba(13, 33, 55, .65);
  font-weight: 700;
}

.shareBox input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin: 14px 0;
}

.shareActions {
  display: flex;
  gap: 10px;
}

.shareActions a,
.shareActions button {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  font-weight: 900;
  background: #f3f4f6;
  cursor: pointer;
}

.closeBtn {
  margin-top: 16px;
  background: none;
  border: none;
  font-weight: 900;
  cursor: pointer;
}

/* IMPACT SECTION */
.impact-section {
  padding: 80px 20px;
  /* background removed here, handled by rule below */
}

.impact-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.impact-container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1f2f34;
}

.impact-sub {
  max-width: 780px;
  margin: 0 auto 50px;
  color: #5a5a5a;
  font-size: 1.05rem;
  line-height: 1.6;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.impact-card {
  background: #fff;
  border-radius: 20px;
  padding: 38px 28px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  text-align: center;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.impact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  background: rgba(76, 118, 130, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-icon svg {
  width: 30px;
  height: 30px;
  color: #4C7682;
}

.impact-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1f2f34;
}

.impact-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #555;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PREMIUM POLISH */
body {
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(56, 103, 117, 0.18), transparent 60%),
    radial-gradient(1000px 800px at 90% 20%, rgba(76, 118, 130, 0.15), transparent 60%),
    linear-gradient(160deg, #f0f7f9 0%, #dae7ef 100%);
}

.hero {
  animation: fadeUp 0.8s ease-out forwards;
}

.grid .card,
.content-stack .card,
.impact-section,
.cta {
  opacity: 0;
  transform: translateY(20px);
}

.grid .card.in-view,
.content-stack .card.in-view,
.impact-section.in-view,
.cta.in-view {
  animation: fadeUp 0.8s ease-out forwards;
}

.grid .card:nth-child(1) {
  animation-delay: 0.1s;
}

.grid .card:nth-child(2) {
  animation-delay: 0.15s;
}

.grid .card:nth-child(3) {
  animation-delay: 0.2s;
}

.grid .card:nth-child(4) {
  animation-delay: 0.25s;
}

.grid .card:nth-child(5) {
  animation-delay: 0.3s;
}

.grid .card:nth-child(6) {
  animation-delay: 0.35s;
}

.impact-section {
  /* subtle radial highlight instead of solid square */
  background: radial-gradient(circle at center, rgba(56, 103, 117, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  padding: 100px 20px;
}

.card {
  box-shadow: 0 20px 80px rgba(13, 33, 55, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 90px rgba(13, 33, 55, 0.18);
}

h1,
h2,
h3,
strong {
  letter-spacing: -0.02em;
}

/* SHARE MODAL FIXED */
.shareModal {
  display: none;
  /* default hidden, flex when active */
  position: fixed;
  inset: 0;
  background: rgba(13, 33, 55, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.shareBox {
  background: white;
  padding: 40px;
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  max-width: 440px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
  to {
    transform: scale(1);
  }
}

.shareBox h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.shareBox input {
  background: #f4f6f8;
  border: 2px solid transparent;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 16px;
  width: 100%;
  margin: 20px 0;
  transition: all 0.2s;
}

.shareBox input:focus {
  outline: none;
  background: white;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(56, 103, 117, 0.15);
}

.shareActions a,
.shareActions button {
  background: white;
  border: 1px solid #e1e6eb;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.shareActions a:hover,
.shareActions button:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #d1d9e0;
}

.btn-whatsapp {
  background: #25D366 !important;
  color: white !important;
  border: none !important;
}

.btn-email {
  background: #007AFF !important;
  color: white !important;
  border: none !important;
}

.btn-copy {
  background: #0d2137 !important;
  color: white !important;
  border: none !important;
}

.btn-whatsapp:hover,
.btn-email:hover,
.btn-copy:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.closeBtn {
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
  padding: 8px 16px;
  border-radius: 12px;
  transition: background 0.2s;
}

.closeBtn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--navy);
}

/* VERIFIED BADGE */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #047857;
  padding: 6px 16px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #d1fae5;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(-10px);
  animation: badgeSlide 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes badgeSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .shareBox {
    padding: 24px;
    width: 85%;
  }

  .shareActions {
    flex-direction: column;
  }

  .shareActions a,
  .shareActions button {
    width: 100%;
    justify-content: center;
  }
}

/* SERVICE LEVELS */
.service-levels {
  margin: 110px auto 0;
  max-width: 1200px;
}

.service-levels h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 950;
  margin-bottom: 8px;
  color: var(--navy);
}

.service-levels .sub {
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 46px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 28px;
  padding: 34px 32px 30px;
  box-shadow: 0 20px 60px rgba(13, 33, 55, .18);
  border: 1px solid rgba(13, 33, 55, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 950;
  margin-bottom: 10px;
}

.service-card p {
  font-weight: 700;
  color: rgba(13, 33, 55, .75);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card ul {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
}

.service-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.service-card li svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card .service-btn {
  margin-top: auto;
  background: linear-gradient(135deg, #4C7682, #386775);
  color: white;
  text-align: center;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
}

.service-card small {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: rgba(13, 33, 55, .55);
}

/* popular */
.service-card.popular {
  background: #f4f9fb;
  border: 2px solid rgba(56, 103, 117, .35);
  transform: translateY(-8px);
}

.service-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

@media(max-width:900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card.popular {
    transform: none;
  }
}

/* ----------------------------------------------------- */
/* MOBILE OPTIMIZATIONS (ADDED)                          */
/* ----------------------------------------------------- */



@media (max-width: 768px) {
  .container {
    padding: 30px 16px 60px;
  }

  .hero {
    padding: 30px 20px 0;
    border-radius: 28px;
  }

  .heroInner h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Make regular flex cards stack (like the Founder card) */
  .card {
    flex-direction: column;
  }

  /* Reset alignment for stacked content */
  .card>div {
    width: 100%;
  }

  .card-split {
    gap: 24px;
    padding: 24px;
  }

  /* Force image first in split cards on mobile */
  .card-split-image {
    order: -1;
  }

  .trustRow {
    flex-direction: column;
    gap: 16px;
  }

  .trustText {
    text-align: center;
  }

  .heroImage img {
    transform: translateY(20px);
    border-radius: 16px;
  }

  .ticks {
    gap: 12px;
    font-size: 14px;
  }

  /* Adjust carousel headers for mobile */
  .carousel-header {
    gap: 12px;
  }

  .carousel-header h2 {
    font-size: 18px !important;
  }

  .service-levels .sub {
    margin-bottom: 30px;
  }

  .card {
    padding: 24px;
    border-radius: 24px;
  }

  .project-carousel div {
    min-width: 260px !important;
    width: 260px !important;
  }

  .project-carousel img {
    height: 160px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 12px 60px;
  }

  h1 {
    font-size: 30px;
  }

  .section-headline {
    font-size: 26px;
    margin: 50px 0 24px;
  }

  /* Hero */
  .hero {
    padding: 24px 16px 0;
    border-radius: 20px;
  }

  .logo {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
  }

  .logo img {
    width: 30px;
  }

  .verified-badge {
    font-size: 11px;
    padding: 4px 12px;
  }

  /* Cards */
  .card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .card h2 {
    font-size: 19px;
  }

  /* Service Cards */
  .service-card {
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: 19px;
  }

  /* CTA Section */
  .cta {
    padding: 30px 20px;
    border-radius: 24px;
  }

  .cta strong {
    font-size: 22px;
  }

  .ctaBtns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Impact Section */
  .impact-section {
    padding: 50px 16px;
  }

  .impact-card {
    padding: 24px 16px;
  }

  /* Founder Card Specific Fixes */
  .card img[src*="danielgan.png"] {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 16px;
    display: block;
  }

  /* Targeting the founder card specifically via its style attribute is hard in CSS, 
     but since we made all .card flex-direction: column, it should stack.
     We just need to center the text if we want that look. */

  .card:has(img[src*="danielgan.png"]) {
    text-align: center;
    align-items: center !important;
  }

  .card:has(img[src*="danielgan.png"]) div:last-child {
    padding-left: 0 !important;
  }
}