/* Homepage "What Services We Offer" service cards (servicesOffered.php).
   Shares the Learning Categories section's heading scale, white card
   borders and pastel tints so the two read as one homepage family. */
.lp-services{position:relative;padding:48px 0 56px;background:linear-gradient(180deg,#eaf8ff 0,#f6fcff 45%,#fff 100%);color:#071b49}
.lp-services .container{max-width:1680px;width:96%}
.lp-services-header{text-align:center;margin-bottom:30px}
.lp-services-header h2{font-size:clamp(28px,3vw,50px);font-weight:900;line-height:1.15;letter-spacing:-1px;margin:0;color:#071b49}
.lp-services-header h2 span{color:#00a6e0}
.lp-services-header h2::after{content:"";display:block;width:76px;height:4px;border-radius:4px;background:#14b2ec;margin:14px auto 0}

.lp-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.6vw,30px);align-items:stretch}
.lp-service{--accent:#0a5bd8;--accent2:#1f8bff;--tint:#e3efff;position:relative;display:flex;flex-direction:column;min-width:0;border:3px solid #fff;border-radius:26px;overflow:hidden;background:linear-gradient(180deg,var(--tint) 0,#fff 42%);box-shadow:0 10px 28px #0d3f6a1f,0 2px 6px #0d3f6a12;color:#071b49;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.lp-service--blue{--accent:#0a4fc2;--accent2:#1d7ff0;--tint:#dfeaff}
.lp-service--orange{--accent:#f06a0a;--accent2:#ff9a1f;--tint:#ffefd9}
.lp-service--cyan{--accent:#0596c9;--accent2:#14c1ec;--tint:#d6f4ff}
.lp-service::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--accent),var(--accent2));z-index:1}

/* Artwork is a full banner with its own lettering, so it is shown whole at
   its native 1734x907 ratio - never cropped. */
.lp-service__media{display:block;padding:10px 10px 0}
.lp-service__media img{display:block;width:100%;height:auto;aspect-ratio:1734/907;object-fit:contain;border-radius:16px;box-shadow:0 6px 16px #0d3f6a24;background:#fff;transition:transform .35s ease}

.lp-service__body{display:flex;flex-direction:column;flex:1;padding:20px 24px 24px}
.lp-service__title{position:relative;font-size:clamp(22px,1.7vw,30px);font-weight:900;line-height:1.15;letter-spacing:-.4px;margin:0 0 14px;padding-left:16px;color:#071b49}
.lp-service__title::before{content:"";position:absolute;left:0;top:.12em;bottom:.12em;width:5px;border-radius:5px;background:linear-gradient(180deg,var(--accent2),var(--accent))}
.lp-service__points{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:9px}
.lp-service__points li{position:relative;margin:0;padding:0 0 0 30px;font-size:15px;font-weight:500;line-height:1.45;color:#22355a}
.lp-service__points li::before{content:"";position:absolute;left:0;top:.12em;width:20px;height:20px;border-radius:50%;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.lp-service__cta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding:14px 22px;border-radius:50px;background:linear-gradient(100deg,var(--accent2),var(--accent));color:#fff;font-size:16px;font-weight:800;letter-spacing:.01em;box-shadow:0 6px 14px #0b1f4a2e;transition:filter .2s,box-shadow .2s}
.lp-service__cta span{font-size:1.5em;line-height:1;transition:transform .2s}

.lp-service:hover{color:#071b49;transform:translateY(-8px);box-shadow:0 22px 44px #0d3f6a33,0 4px 10px #0d3f6a1a}
.lp-service:hover .lp-service__media img{transform:scale(1.02)}
.lp-service:hover .lp-service__cta{filter:brightness(1.08);box-shadow:0 10px 20px #0b1f4a3d}
.lp-service:hover .lp-service__cta span{transform:translateX(4px)}
.lp-service:focus-visible{outline:3px solid #071b49;outline-offset:4px}

@media(max-width:1199px){.lp-service__body{padding:18px 18px 20px}.lp-service__points li{font-size:14px}.lp-service__cta{font-size:15px;padding:13px 18px}}
/* Tablet: one card per row so each banner runs the full card width
   instead of shrinking into three narrow columns. */
@media(max-width:991px){
 .lp-services-grid{grid-template-columns:1fr;gap:24px;max-width:820px;margin:0 auto}
 .lp-service__body{padding:20px 24px 24px}
}
@media(max-width:700px){
 .lp-services{padding:34px 0 40px}
 .lp-services .container{width:auto;margin:0 16px}
 .lp-services-header{margin-bottom:22px}
 .lp-service{display:flex;border-radius:22px}
 .lp-service__media{padding:8px 8px 0}
 .lp-service__media img{border-radius:14px}
 .lp-service__body{padding:16px 16px 18px}
 .lp-service__title{font-size:23px}
 .lp-service__points li{font-size:14.5px}
 .lp-service__cta{justify-content:center;gap:14px;font-size:16px}
}
@media(prefers-reduced-motion:reduce){.lp-service,.lp-service__media img,.lp-service__cta span{transition:none}.lp-service:hover{transform:none}}
