/* Service pages: shared hero, polished body content, why / related / CTA footer */

.hp-link { font-weight: 700; color: var(--ms-green); }
.hp-link i { margin-left: 6px; transition: transform 0.2s ease; }
.hp-link:hover i { transform: translateX(4px); }

/* Hero */
.svc-hero {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    background:
        linear-gradient(100deg, rgba(8, 26, 51, 0.96) 0%, rgba(11, 46, 87, 0.88) 45%, rgba(21, 101, 192, 0.55) 100%),
        var(--svc-cover) center / cover no-repeat;
    overflow: hidden;
}
.svc-hero.is-plain { background: linear-gradient(100deg, #081a33 0%, #0b2e57 50%, #1565c0 100%); }
.svc-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 1px solid rgba(156, 203, 255, 0.18);
    box-shadow: 0 0 0 60px rgba(156, 203, 255, 0.04), 0 0 0 120px rgba(156, 203, 255, 0.03);
    pointer-events: none;
}
.svc-hero-inner { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 80px; }
.svc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 34px; padding: 0; list-style: none; font-size: 13px; }
.svc-crumbs li { color: rgba(255, 255, 255, 0.6); }
.svc-crumbs li + li::before { content: "\f105"; margin-right: 6px; font-family: 'FontAwesome'; color: rgba(255, 255, 255, 0.35); }
.svc-crumbs a { color: rgba(255, 255, 255, 0.8); }
.svc-crumbs a:hover { color: #fff; }
.svc-crumbs li[aria-current] { color: #9ccbff; font-weight: 600; }
.svc-hero-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(30, 127, 228, 0.25);
    border: 1px solid rgba(156, 203, 255, 0.35);
    color: #fff;
    font-size: 26px;
    line-height: 58px;
    text-align: center;
}
.svc-hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: #fff;
}
.svc-hero-inner > p { max-width: 640px; margin: 0; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.svc-hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.svc-hero-highlights li {
    padding: 8px 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.svc-hero-highlights i { margin-right: 6px; color: #9ccbff; }
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.svc-hero-trust { position: relative; z-index: 1; background: rgba(8, 26, 51, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.svc-hero-trust .hp-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.svc-hero-trust i { margin-right: 8px; color: #9ccbff; }

/* Service page body (partials/service-page.blade.php) */
.svc-sec { padding: 96px 0; background: #fff; color: var(--ms-text); }
.svc-sec-alt { background: var(--ms-alt); }
.svc-sec-dark {
    position: relative;
    background: linear-gradient(135deg, #081a33 0%, #0b2e57 55%, #1565c0 100%);
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}
.svc-sec-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
    pointer-events: none;
}
.svc-sec-dark > * { position: relative; }
.svc-sec-dark .ms-eyebrow { color: #9ccbff; }
.svc-sec-dark .ms-title { color: #fff; }
.svc-sec p { line-height: 1.8; }

/* Overview */
.svc-overview { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.svc-overview-media { position: relative; padding: 0 0 34px 34px; }
.svc-overview-media::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--ms-green-soft), #d3e6fb);
}
.svc-overview-media img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(13, 38, 76, 0.18);
}
.svc-overview-badge {
    position: absolute;
    right: -18px;
    bottom: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(13, 38, 76, 0.16);
}
.svc-overview-badge span {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ms-green);
    color: #fff;
    font-size: 19px;
    line-height: 44px;
    text-align: center;
}
.svc-overview-badge strong { display: block; font-family: 'Raleway', sans-serif; font-size: 14px; color: var(--ms-ink); }
.svc-overview-badge small { font-size: 12px; color: var(--ms-text); }
.svc-overview-body p { font-size: 16px; }
.svc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 0; padding: 0; list-style: none; }
.svc-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ms-ink); }
.svc-checks i {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--ms-green-soft);
    color: var(--ms-green);
    font-size: 11px;
    line-height: 22px;
    text-align: center;
}
.svc-overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.svc-overview-actions .hp-link i { margin: 0 6px 0 0; }

/* Offerings */
.svc-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-offer {
    position: relative;
    height: 100%;
    padding: 32px 28px 30px;
    border: 1px solid var(--ms-line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.svc-offer::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ms-green), #0b2e57);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.svc-offer:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 22px 44px rgba(13, 38, 76, 0.12); }
.svc-offer:hover::after { transform: scaleX(1); }
.svc-offer-num {
    position: absolute;
    top: 24px;
    right: 26px;
    font-family: 'Raleway', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: var(--ms-green-soft);
}
.svc-offer-icon {
    display: inline-block;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--ms-green-soft);
    color: var(--ms-green);
    font-size: 23px;
    line-height: 56px;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease;
}
.svc-offer:hover .svc-offer-icon { background: var(--ms-green); color: #fff; }
.svc-offer h3 { margin: 0 0 10px; font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ms-ink); }
.svc-offer p { margin: 0; font-size: 14.5px; line-height: 1.7; }

/* Benefits */
.svc-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-benefit {
    display: flex;
    gap: 16px;
    padding: 24px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease, transform 0.25s ease;
}
.svc-benefit:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.svc-benefit > span {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(30, 127, 228, 0.35);
    border: 1px solid rgba(156, 203, 255, 0.35);
    color: #fff;
    font-size: 19px;
    line-height: 44px;
    text-align: center;
}
.svc-benefit h3 { margin: 2px 0 6px; font-family: 'Raleway', sans-serif; font-size: 17px; font-weight: 700; color: #fff; }
.svc-benefit p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }

/* Process */
.svc-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--svc-steps, 4), 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.svc-steps::before {
    content: "";
    position: absolute;
    top: 30px;
    left: calc(50% / var(--svc-steps, 4));
    right: calc(50% / var(--svc-steps, 4));
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--ms-green) 0 8px, transparent 8px 16px);
    opacity: 0.45;
}
.svc-steps li { position: relative; text-align: center; }
.svc-step-num {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ms-green), #0b2e57);
    box-shadow: 0 0 0 8px #fff, 0 12px 26px rgba(21, 101, 192, 0.3);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 60px;
}
.svc-steps h3 { margin: 0 0 8px; font-family: 'Raleway', sans-serif; font-size: 17px; font-weight: 700; color: var(--ms-ink); }
.svc-steps p { max-width: 240px; margin: 0 auto; font-size: 14px; line-height: 1.6; }

/* Why Maaz */
.svc-why { padding: 90px 0; background: var(--ms-alt); }
.svc-why-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.svc-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-why-item {
    padding: 28px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ms-line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-why-item:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(13, 38, 76, 0.1); }
.svc-why-item i {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e7fe4, #0b2e57);
    color: #fff;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
}
.svc-why-item h3 { margin: 0 0 8px; font-family: 'Raleway', sans-serif; font-size: 17px; font-weight: 700; color: var(--ms-ink); }
.svc-why-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ms-text); }

/* Related services */
.svc-related { padding: 90px 0 40px; background: #fff; }
.svc-related-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.svc-related-head .ms-title { margin: 0; }
.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-related-card { display: flex; flex-direction: column; border-radius: 16px; background: #fff; border: 1px solid var(--ms-line); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.svc-related-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(13, 38, 76, 0.12); }
.svc-related-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ms-alt); }
.svc-related-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-related-card:hover .svc-related-media img { transform: scale(1.05); }
.svc-related-media span {
    position: absolute;
    left: 20px;
    bottom: -22px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ms-green);
    border: 3px solid #fff;
    color: #fff;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
}
.svc-related-body { display: flex; flex-direction: column; flex: 1; padding: 34px 22px 24px; }
.svc-related-body small { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-green); }
.svc-related-body h3 { margin: 6px 0 8px; font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ms-ink); }
.svc-related-body p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--ms-text); }
.svc-related-body em { margin-top: auto; font-style: normal; font-size: 14px; font-weight: 700; color: var(--ms-green); }
.svc-related-body em i { margin-left: 6px; transition: transform 0.2s ease; }
.svc-related-card:hover em i { transform: translateX(4px); }

@media (max-width: 1199px) {
    .svc-why-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-overview { gap: 50px; }
}

@media (max-width: 991px) {
    .svc-hero h1 { font-size: 38px; }
    .svc-hero-inner { padding-top: 50px; padding-bottom: 60px; }
    .svc-hero-trust .hp-container { justify-content: flex-start; }
    .svc-related-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-sec { padding: 72px 0; }
    .svc-overview { grid-template-columns: 1fr; }
    .svc-overview-media { max-width: 600px; }
    .svc-offers, .svc-benefits { grid-template-columns: repeat(2, 1fr); }
    .svc-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .svc-steps::before { display: none; }
}

@media (max-width: 575px) {
    .svc-hero h1 { font-size: 30px; }
    .svc-hero-inner > p { font-size: 16px; }
    .svc-why-grid, .svc-related-grid { grid-template-columns: 1fr; }
    .svc-related-head { flex-direction: column; align-items: flex-start; }
    .svc-sec { padding: 60px 0; }
    .svc-overview-media { padding: 0 0 20px 20px; }
    .svc-overview-badge { right: 8px; bottom: 36px; }
    .svc-checks, .svc-offers, .svc-benefits, .svc-steps { grid-template-columns: 1fr; }
}
