
/* =========================================
   QUANTEX ANALYTICS - GLOBAL STYLES
========================================= */

:root {
    --navy: #10243e;
    --navy-light: #1b3554;
    --teal: #12b8a6;
    --teal-dark: #087f78;
    --white: #ffffff;
    --background: #f5f8fb;
    --text: #243449;
    --muted: #64748b;
    --border: #e2e8f0;
    --font-body: "DM Sans", sans-serif;
    --font-heading: "Manrope", sans-serif;
    --container: 1180px;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), 90%);
    margin-inline: auto;
}

.section-padding {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.3px;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

p {
    color: var(--muted);
}

h1 span,
h2 span {
    color: var(--teal);
}

.eyebrow {
    display: inline-block;
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow.light {
    color: #64eadb;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: var(--navy);
    background: var(--teal);
}

.btn-primary:hover {
    background: #36d6c5;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.13);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-light);
}

.btn-light {
    color: var(--navy);
    background: var(--white);
    align-self: flex-start;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.text-link span,
.card-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span,
.card-link:hover span {
    transform: translateX(5px);
}

/* NAVIGATION */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
}

.brand-icon span {
    color: var(--teal);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    letter-spacing: 1.4px;
    color: var(--navy);
}

.brand-text small {
    color: var(--teal-dark);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links > a {
    font-size: 0.86rem;
    font-weight: 600;
    color: #46556b;
    transition: color 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--teal-dark);
}

.nav-links .nav-cta {
    padding: 11px 17px;
    border-radius: 5px;
    background: var(--navy);
    color: var(--white);
}

.nav-cta span {
    margin-left: 8px;
    color: var(--teal);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy);
}

/* HERO SLIDER */

.hero {
    position: relative;
    min-height: 680px;
    height: min(760px, calc(100svh - 82px));
    background: var(--navy);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(9, 25, 46, 0.96) 0%,
            rgba(9, 25, 46, 0.82) 48%,
            rgba(9, 25, 46, 0.35) 100%),
        linear-gradient(0deg, rgba(9, 25, 46, 0.25), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 80px;
}

.hero-content h1 {
    max-width: 790px;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-content > p {
    max-width: 650px;
    color: #d3dfec;
    font-size: 1.06rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 35px;
    color: #d3dfec;
    font-size: 0.83rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(18, 184, 166, 0.13);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-dots,
.slider-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-dot {
    width: 27px;
    height: 4px;
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.slider-dot.active {
    background: var(--teal);
    width: 45px;
}

.slider-arrows button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-arrows button:hover {
    background: var(--teal-dark);
}

/* INTRODUCTION */

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.intro-heading h2 {
    max-width: 450px;
}

.intro-copy p {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.9;
}

.intro-copy .text-link {
    margin-top: 7px;
}

/* SERVICES */

.services-section {
    background: var(--background);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.section-heading h2 {
    max-width: 680px;
}

.section-heading > .text-link {
    margin-bottom: 8px;
    flex-shrink: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 335px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 36, 62, 0.08);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    border-radius: 9px;
    background: #e2f8f4;
    color: var(--teal-dark);
    font-size: 1.65rem;
    font-weight: 700;
}

.service-number {
    color: var(--teal-dark);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.service-card h3 {
    margin-bottom: 13px;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
}

.service-highlight {
    background: var(--navy);
    border-color: var(--navy);
}

.service-highlight h3 {
    color: var(--white);
    font-size: 1.7rem;
    margin: 10px 0 16px;
}

.service-highlight p {
    color: #c4d1df;
    margin-bottom: 28px;
}

.service-highlight .eyebrow {
    margin-bottom: 8px;
}

/* WHY QUANTEX */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
}

.why-image {
    position: relative;
    min-height: 500px;
}

.why-image > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

.image-caption {
    position: absolute;
    right: -25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: min(300px, 80%);
    padding: 23px;
    border-left: 4px solid var(--teal);
    border-radius: 5px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(16, 36, 62, 0.13);
}

.image-caption strong {
    color: var(--navy);
    font-family: var(--font-heading);
}

.image-caption span {
    color: var(--muted);
    font-size: 0.82rem;
}

.why-content > p {
    margin: 20px 0 26px;
    line-height: 1.9;
}

.value-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.value-check {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #def8f3;
    color: var(--teal-dark);
    font-weight: 800;
}

.value-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.value-item p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.why-content > .btn {
    margin-top: 14px;
}

/* RATE CARD PREVIEW */

.rate-section {
    background: var(--background);
}

.rate-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 90px;
    align-items: center;
}

.rate-copy > p {
    margin: 22px 0;
    max-width: 570px;
    line-height: 1.9;
}

.rate-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
    font-size: 0.93rem;
    font-weight: 600;
}

.rate-feature > span {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #dff8f2;
    color: var(--teal-dark);
    font-size: 0.8rem;
}

.rate-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 32px;
}

.rate-panel {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 15px 45px rgba(16, 36, 62, 0.05);
}

.rate-panel-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
}

.rate-file-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--teal);
    font-size: 1.7rem;
}

.rate-label {
    color: var(--teal-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rate-panel > h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.rate-panel > p {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.rate-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.87rem;
}

.rate-line strong {
    color: var(--teal-dark);
    font-size: 0.79rem;
}

.custom-quote {
    display: flex;
    gap: 13px;
    margin: 25px 0;
    padding: 19px;
    border-radius: 8px;
    background: #edf9f7;
}

.quote-mark {
    color: var(--teal-dark);
    font-size: 1.4rem;
}

.custom-quote strong {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.custom-quote p {
    font-size: 0.8rem;
    line-height: 1.7;
}

/* CALL TO ACTION */

.cta-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(18, 184, 166, 0.18), transparent 30%),
        var(--navy);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--white);
}

.cta-content > p {
    max-width: 660px;
    margin: 0 auto;
    color: #c7d4e2;
    line-height: 1.9;
}

.cta-content .btn {
    margin-top: 30px;
}

/* FOOTER */

.site-footer {
    background: #0a192b;
    color: var(--white);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-logo .brand-text strong {
    color: var(--white);
}

.footer-brand > p {
    max-width: 310px;
    margin-top: 22px;
    color: #aebdd0;
    font-size: 0.88rem;
    line-height: 1.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h3 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 1rem;
}

.footer-column > a {
    color: #aebdd0;
    font-size: 0.84rem;
    transition: color 0.2s ease;
}

.footer-column > a:hover {
    color: var(--teal);
}

.footer-column > p {
    color: #aebdd0;
    font-size: 0.84rem;
}

.footer-column .footer-contact-link {
    color: var(--teal);
    font-weight: 700;
}

.footer-contact-link span {
    margin-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 23px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    color: #9cacc0;
    font-size: 0.78rem;
}

/* RESPONSIVE DESIGN */

@media (max-width: 1050px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links > a {
        font-size: 0.8rem;
    }

    .intro-grid,
    .why-grid,
    .rate-grid {
        gap: 45px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 800px) {
    .section-padding {
        padding: 70px 0;
    }

    .navbar {
        min-height: 74px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 5% 22px;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 25px rgba(16, 36, 62, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a {
        padding: 13px 0;
        font-size: 0.95rem;
    }

    .nav-links .nav-cta {
        padding: 13px 17px;
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        min-height: 650px;
        height: 78svh;
        max-height: 760px;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 7vw, 3.7rem);
        letter-spacing: -1.4px;
    }

    .hero-content > p {
        font-size: 0.98rem;
    }

    .intro-grid,
    .why-grid,
    .rate-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

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

    .why-image,
    .why-image > img {
        min-height: 380px;
        height: 380px;
    }

    .image-caption {
        right: 15px;
        bottom: 15px;
    }

    .rate-panel {
        max-width: 620px;
    }
}

@media (max-width: 520px) {
    .container {
        width: 90%;
    }

    .section-padding {
        padding: 58px 0;
    }

    .brand-icon {
        width: 41px;
        height: 41px;
        font-size: 1.65rem;
    }

    .brand-text strong {
        font-size: 0.91rem;
    }

    .hero {
        min-height: 680px;
        height: 82svh;
        max-height: 780px;
    }

    .hero-slide {
        background-position: 58% center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(9, 25, 46, 0.94),
            rgba(9, 25, 46, 0.72)
        );
    }

    .hero-content {
        padding-bottom: 65px;
    }

    .hero-content h1 {
        font-size: 2.55rem;
    }

    .hero-content > p {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-note {
        font-size: 0.75rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
        padding: 25px;
    }

    .why-image,
    .why-image > img {
        min-height: 310px;
        height: 310px;
    }

    .rate-panel {
        padding: 23px;
    }

    .rate-line {
        font-size: 0.79rem;
    }

    .rate-line strong {
        font-size: 0.72rem;
    }

    .rate-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-section {
        padding: 65px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* =====================================================
   QUANTEX ANALYTICS - SERVICES PAGE
   Append to the existing css/style.css file
===================================================== */

.services-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(105deg, rgba(8, 28, 51, 0.96), rgba(8, 45, 68, 0.78)),
        url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=2000&q=85")
        center/cover no-repeat;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 25, 45, 0.4), transparent);
}

.services-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 75px;
    padding-bottom: 75px;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #079c91;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-hero .section-eyebrow {
    color: #62e2d4;
}

.services-hero h1 {
    max-width: 800px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.12;
}

.services-hero h1 span {
    color: #62e2d4;
}

.services-hero-content > p {
    max-width: 690px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.85;
}

.services-hero-actions,
.services-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0b2945;
}

/* INTRODUCTION */

.services-intro {
    background: #ffffff;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 60px;
}

.services-intro h2,
.section-heading h2 {
    margin: 0;
    color: #102b46;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    line-height: 1.25;
}

.services-intro h2 span,
.section-heading h2 span {
    color: #079c91;
}

.services-intro-text p {
    margin: 0 0 16px;
    color: #596879;
    line-height: 1.9;
}

/* SHARED SECTION STYLING */

.services-main {
    background: #f4f7fa;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading > p {
    margin: 16px auto 0;
    color: #667587;
    line-height: 1.8;
}

/* SERVICE DETAIL BLOCKS */

.service-detail {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 30px;
    padding: 42px;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(14, 42, 66, 0.045);
    scroll-margin-top: 100px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 36px rgba(14, 42, 66, 0.09);
}

.service-detail-icon {
    display: flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #e3f7f4;
    color: #078f85;
    font-size: 2rem;
}

.service-number {
    display: inline-block;
    margin-bottom: 10px;
    color: #079c91;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.service-detail-content h3 {
    margin: 0 0 16px;
    color: #102b46;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.35;
}

.service-detail-content > p {
    color: #596879;
    line-height: 1.85;
}

.service-detail-content h4 {
    margin: 27px 0 14px;
    color: #102b46;
    font-size: 1.05rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    color: #526274;
    line-height: 1.65;
}

.service-list li::before {
    position: absolute;
    top: 3px;
    left: 0;
    color: #079c91;
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.service-deliverables {
    margin-top: 28px;
    padding: 20px 22px;
    border-left: 4px solid #079c91;
    border-radius: 0 8px 8px 0;
    background: #f1f8f8;
}

.service-deliverables strong {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #102b46;
}

.service-deliverables strong i {
    color: #079c91;
}

.service-deliverables p {
    margin: 10px 0 0;
    color: #596879;
    line-height: 1.75;
}

.service-detail-content .service-benefit {
    margin: 23px 0;
    color: #43566a;
}

.service-benefit strong {
    color: #102b46;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #078f85;
    font-weight: 800;
    text-decoration: none;
}

.service-link i {
    transition: transform 0.2s ease;
}

.service-link:hover {
    color: #075e59;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* OUR APPROACH */

.services-approach {
    background: #ffffff;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.approach-card {
    position: relative;
    padding: 30px 24px;
    border: 1px solid #e6edf2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(14, 42, 66, 0.04);
}

.approach-step {
    position: absolute;
    top: 20px;
    right: 22px;
    color: #dce6ec;
    font-size: 2rem;
    font-weight: 800;
}

.approach-icon {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border-radius: 12px;
    background: #e3f7f4;
    color: #078f85;
    font-size: 1.35rem;
}

.approach-card h3 {
    margin: 0 0 12px;
    color: #102b46;
    font-size: 1.2rem;
}

.approach-card p {
    margin: 0;
    color: #667587;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* CALL TO ACTION */

.services-cta {
    color: #ffffff;
    background: #102b46;
}

.services-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.services-cta .section-eyebrow {
    color: #62e2d4;
}

.services-cta h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.services-cta-content > div:first-child {
    max-width: 620px;
}

.services-cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.services-cta-actions {
    flex-shrink: 0;
}

/* RESPONSIVE DESIGN */

@media (max-width: 1000px) {
    .services-intro-grid {
        gap: 35px;
    }

    .service-detail {
        grid-template-columns: 75px minmax(0, 1fr);
        gap: 25px;
        padding: 30px;
    }

    .service-detail-icon {
        width: 70px;
        height: 70px;
        font-size: 1.65rem;
    }

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

    .services-cta-content {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 650px) {
    .services-hero {
        min-height: 390px;
    }

    .services-hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .services-hero-content > p {
        font-size: 1rem;
    }

    .services-hero-actions,
    .services-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .services-hero-actions .btn,
    .services-hero-actions .btn-outline-light,
    .services-cta-actions .btn,
    .services-cta-actions .btn-outline-light {
        width: 100%;
        text-align: center;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }

    .service-detail-icon {
        width: 62px;
        height: 62px;
        border-radius: 14px;
        font-size: 1.45rem;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-deliverables {
        padding: 17px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-card {
        padding: 25px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-detail,
    .service-link i,
    .btn-outline-light {
        transition: none;
    }

    .service-detail:hover {
        transform: none;
    }
}
