/* =========================================================
   SYNKROSYNERGY - SERVICE DETAILS PAGE
   Premium Corporate Service Page
   ========================================================= */


/* =========================================================
   HERO SECTION
   ========================================================= */

.svc-hero {
    position: relative;
    padding: calc(var(--header-h) + var(--top-header-h) + 3.5rem) 0 4rem;
    min-height: 430px;
    display: flex;
    align-items: center;
    background: var(--dark-color);
    overflow: hidden;
    isolation: isolate;
    color: var(--white-color);
}


/* Hero Background */

.svc-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.svc-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* Hero Overlay */

.svc-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(11, 17, 32, 0.96) 0%,
            rgba(11, 17, 32, 0.88) 38%,
            rgba(11, 17, 32, 0.68) 68%,
            rgba(11, 17, 32, 0.48) 100%);

    z-index: 1;
}


/* Hero Container */

.svc-hero .container {
    position: relative;
    z-index: 2;
}


/* Breadcrumb */

.svc-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;

    margin: 0 0 1.35rem;

    font-size: 0.78rem;
    font-weight: 500;

    color: var(--muted-color);
}

.svc-crumb a {
    color: var(--muted-color);
    text-decoration: none;

    transition:
        color 0.25s ease;
}

.svc-crumb a:hover {
    color: var(--accent-color);
}

.svc-crumb span {
    color: var(--white-color);
}

.svc-crumb i {
    font-size: 0.6rem;
    opacity: 0.65;
}


/* Hero Content */

.svc-hero-content {
    max-width: 900px;
}


/* Hero Tag */

.svc-hero-tag {
    display: inline-flex;
    align-items: center;

    margin-bottom: 1rem;
    padding: 0.42rem 0.9rem;

    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;

    color: var(--dark-color);
    background: var(--accent-color);

    border-radius: var(--radius-pill);
}


/* Hero Heading */

.svc-hero-title {
    max-width: 850px;
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;

    color: var(--white-color);
}


/* Hero Description */

.svc-hero-text {
    max-width: 780px;

    margin: 0;

    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.85;

    color: rgba(255, 255, 255, 0.92);
}


/* =========================================================
   BODY / MAIN LAYOUT
   ========================================================= */

.svc-body {
    padding: clamp(3.5rem, 5vw, 5rem) 0;

    background: var(--white-color);
}

.svc-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 350px;

    gap: clamp(2rem, 4vw, 3.5rem);

    align-items: start;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.svc-main {
    min-width: 0;
}


/* =========================================================
   COVER IMAGE
   ========================================================= */

.svc-cover {
    width: 100%;
    margin-bottom: 2.2rem;

    overflow: hidden;

    border-radius: 20px;

    background: #f5f5f5;
}

.svc-cover img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease;
}

.svc-cover:hover img {
    transform: scale(1.02);
}


/* =========================================================
   LEAD PARAGRAPH
   ========================================================= */

.svc-main .svc-lede {
    margin: 0 0 2rem;

    max-width: 900px;

    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.8;

    color: var(--dark-color);
}


/* =========================================================
   HEADINGS
   ========================================================= */

.svc-main h2 {
    position: relative;

    margin: 2.8rem 0 1rem;

    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;

    letter-spacing: -0.015em;

    color: var(--dark-color);
}

.svc-main h2:first-of-type {
    margin-top: 0;
}


/* Small Accent Underline */

.svc-main h2::after {
    content: "";

    display: block;

    width: 38px;
    height: 3px;

    margin-top: 0.65rem;

    background: var(--accent-color);

    border-radius: 10px;
}


/* =========================================================
   PARAGRAPHS
   ========================================================= */

.svc-main p {
    max-width: 950px;

    margin: 0 0 1.15rem;

    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;

    color: #384151;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.svc-highlights {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1rem;

    margin: 2rem 0 2.5rem;
}


/* Highlight Card */

.svc-highlights .svc-highlight {
    display: flex;
    align-items: flex-start;

    gap: 0.9rem;

    min-height: 135px;

    padding: 1.3rem;

    background: #faf9f7;

    border: 1px solid rgba(11, 17, 32, 0.07);

    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Hover */

.svc-highlights .svc-highlight:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 198, 87, 0.45);

    box-shadow:
        0 18px 35px -25px rgba(11, 17, 32, 0.4);
}


/* Highlight Icon */

.svc-highlights .svc-highlight>i {
    flex: 0 0 auto;

    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    margin-top: 0.05rem;

    font-size: 0.9rem;

    color: var(--primary-color);

    background:
        rgb(255 198 87 / 0.35);

    border-radius: 11px;
}


/* Highlight Heading */

.svc-highlight h3 {
    margin: 0 0 0.45rem;

    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.35;

    color: var(--dark-color);
}


/* Highlight Text */

.svc-highlight p {
    margin: 0;

    font-size: 0.81rem;
    font-weight: 300;
    line-height: 1.65;

    color: #596273;
}


/* =========================================================
   OUTCOMES / TAGS
   ========================================================= */

.svc-outcomes {
    display: flex;
    flex-wrap: wrap;

    gap: 0.6rem;

    margin: 0 0 2rem;
}


/* Outcome Item */

.svc-outcomes>div {
    display: inline-flex;
    align-items: center;

    gap: 0.5rem;

    padding: 0.55rem 0.9rem;

    font-size: 0.79rem;
    font-weight: 500;
    line-height: 1.35;

    color: var(--primary-color);

    background:
        rgba(2, 22, 49, 0.055);

    border: 1px solid rgba(2, 22, 49, 0.05);

    border-radius: var(--radius-pill);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.svc-outcomes>div:hover {
    background:
        rgb(255 198 87 / 0.28);

    transform: translateY(-2px);
}


/* Outcome Icon */

.svc-outcomes>div i {
    font-size: 0.62rem;

    color: var(--primary-color);
}


/* =========================================================
   PROGRAM DETAILS
   Works with existing Bootstrap classes
   ========================================================= */

.svc-main .row.g-4 {
    margin-top: 2rem !important;
    margin-bottom: 1rem;
}


/* Program Card */

.svc-main .row.g-4>div>div {
    height: 100%;

    padding: 1.5rem !important;

    background: #faf9f7;

    border: 1px solid rgba(11, 17, 32, 0.08) !important;

    border-radius: 16px !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Program Card Hover */

.svc-main .row.g-4>div>div:hover {
    transform: translateY(-3px);

    border-color:
        rgba(255, 198, 87, 0.45) !important;

    box-shadow:
        0 18px 35px -25px rgba(11, 17, 32, 0.35);
}


/* Program Label */

.svc-main .row.g-4 .small {
    display: block;

    margin-bottom: 0.5rem;

    font-size: 0.66rem;

    font-weight: 700;

    letter-spacing: 0.13em;

    color: var(--muted-color);
}


/* Program Heading */

.svc-main .row.g-4 h3 {
    margin: 0 0 0.55rem !important;

    font-size: 1.35rem;

    font-weight: 600;

    line-height: 1.25;

    color: var(--dark-color);
}


/* Program Description */

.svc-main .row.g-4 p {
    margin: 0 !important;

    font-size: 0.82rem;

    line-height: 1.7;

    color: #596273;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.svc-sidebar {
    display: flex;
    flex-direction: column;

    gap: 1.5rem;

    position: sticky;

    top:
        calc(var(--header-h-scrolled) + 1.5rem);
}


/* Sidebar Widget */

.svc-widget {
    padding: 1.6rem;

    background: var(--white-color);

    border:
        1px solid rgba(11, 17, 32, 0.08);

    border-radius: 20px;

    box-shadow:
        0 18px 40px -26px rgba(11, 17, 32, 0.25);
}


/* Widget Heading */

.svc-widget-title {
    margin: 0 0 1.1rem;

    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.25;

    color: var(--dark-color);
}


/* =========================================================
   SERVICES LIST
   ========================================================= */

.svc-list {
    display: flex;
    flex-direction: column;

    gap: 0.35rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.svc-list li {
    margin: 0;
    padding: 0;
}

.svc-list li+li {
    border-top:
        1px solid rgba(11, 17, 32, 0.06);
}

.svc-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 0.75rem;

    padding: 0.75rem 0.8rem;

    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;

    color: var(--dark-soft);

    text-decoration: none;

    border-radius: 10px;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        padding-left 0.25s ease;
}

.svc-list a i {
    flex: none;

    font-size: 0.68rem;

    color: var(--muted-color);

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.svc-list a:hover,
.svc-list a.active {
    padding-left: 1.05rem;

    color: var(--primary-color);

    background:
        rgb(255 198 87 / 0.35);
}

.svc-list a:hover i,
.svc-list a.active i {
    color: var(--primary-color);

    transform:
        translateX(3px);
}


/* =========================================================
   REACH US CARD
   ========================================================= */

.svc-reach {
    position: relative;

    padding-left: 1.85rem;

    overflow: hidden;

    color: var(--white-color);

    background: var(--dark-color);
}


/* Accent Line */

.svc-reach::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background: var(--accent-color);
}

.svc-reach .svc-widget-title {
    color: var(--white-color);
}


/* Reach Block */

.svc-reach-block {
    padding: 1.05rem 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.1);
}

.svc-reach-block:last-of-type {
    padding-bottom: 0.85rem;

    border-bottom: none;
}


/* Reach Label */

.svc-reach-label {
    display: block;

    margin-bottom: 0.45rem;

    font-size: 0.64rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color: var(--muted-color);
}


/* Reach Value */

.svc-reach-value {
    display: inline-block;

    font-family: "Teko", sans-serif;

    font-size: 1.85rem;
    font-weight: 600;

    line-height: 1;

    letter-spacing: 0.02em;

    color: var(--accent-color);

    text-decoration: none;

    transition:
        color 0.25s ease;
}

.svc-reach-value:hover,
.svc-reach-value:focus-visible {
    color: var(--white-color);
}


/* Email */

.svc-reach-value--email {
    font-family: inherit;

    font-size: 0.93rem;
    font-weight: 500;

    letter-spacing: normal;

    color: var(--white-color);
}

.svc-reach-value--email:hover,
.svc-reach-value--email:focus-visible {
    color: var(--accent-color);
}


/* Reach Note */

.svc-reach-note {
    margin: 1rem 0 0;

    font-size: 0.74rem;
    font-weight: 300;

    line-height: 1.65;

    color: var(--muted-color);
}


/* =========================================================
   QUICK ENQUIRY FORM
   ========================================================= */

.svc-form {
    display: flex;
    flex-direction: column;

    gap: 0.9rem;
}

.svc-field {
    display: flex;
    flex-direction: column;

    gap: 0.4rem;
}

.svc-field label {
    font-size: 0.73rem;
    font-weight: 600;

    color: var(--dark-soft);
}

.svc-field input,
.svc-field textarea {
    width: 100%;

    padding: 0.72rem 0.85rem;

    font-family: inherit;
    font-size: 0.84rem;

    color: var(--dark-color);

    background: #faf9f7;

    border:
        1px solid rgba(11, 17, 32, 0.12);

    border-radius: 10px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.svc-field textarea {
    min-height: 95px;

    resize: vertical;

    line-height: 1.55;
}

.svc-field input::placeholder,
.svc-field textarea::placeholder {
    color: #9aa1ab;
}

.svc-field input:focus,
.svc-field textarea:focus {
    outline: none;

    background: var(--white-color);

    border-color:
        var(--primary-color);

    box-shadow:
        0 0 0 3px rgba(2, 22, 49, 0.08);
}

.svc-form button {
    width: 100%;

    margin-top: 0.2rem;
}

.svc-form-note {
    margin: 0.6rem 0 0;

    font-size: 0.71rem;

    line-height: 1.6;

    color: #9aa1ab;
}


/* =========================================================
   MAIN CONTENT LINKS
   ========================================================= */

.svc-main a {
    color: var(--primary-color);

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.svc-main a:hover {
    color: var(--accent-color);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

    .svc-layout {
        grid-template-columns:
            minmax(0, 1fr) 320px;

        gap: 2rem;
    }

    .svc-widget {
        padding: 1.4rem;
    }

}


/* =========================================================
   BELOW 992px
   ========================================================= */

@media (max-width: 991.98px) {

    .svc-hero {
        min-height: 400px;
    }

    .svc-layout {
        grid-template-columns: 1fr;
    }

    .svc-main {
        order: 1;
    }

    .svc-sidebar {
        position: static;

        order: 2;

        margin-top: 0.5rem;
    }

    .svc-highlights {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   BELOW 768px
   ========================================================= */

@media (max-width: 767.98px) {

    .svc-hero {
        min-height: 380px;

        padding:
            calc(var(--header-h) + var(--top-header-h) + 2.25rem) 0 3rem;
    }

    .svc-hero-media::after {
        background:
            linear-gradient(90deg,
                rgba(11, 17, 32, 0.94),
                rgba(11, 17, 32, 0.72));
    }

    .svc-hero-title {
        font-size:
            clamp(1.85rem, 7vw, 2.5rem);

        line-height: 1.1;
    }

    .svc-hero-text {
        font-size: 0.9rem;

        line-height: 1.75;
    }

    .svc-body {
        padding: 3rem 0;
    }

    .svc-cover {
        margin-bottom: 1.6rem;

        border-radius: 15px;
    }

    .svc-cover img {
        aspect-ratio: 16 / 10;
    }

    .svc-main .svc-lede {
        font-size: 0.98rem;

        line-height: 1.75;
    }

    .svc-main h2 {
        margin-top: 2.25rem;

        font-size: 1.3rem;
    }

    .svc-main p {
        font-size: 0.9rem;

        line-height: 1.8;
    }

    .svc-highlights {
        grid-template-columns: 1fr;

        gap: 0.85rem;

        margin-top: 1.5rem;
    }

    .svc-highlights .svc-highlight {
        min-height: auto;

        padding: 1.1rem;
    }

    .svc-outcomes {
        gap: 0.5rem;
    }

    .svc-outcomes>div {
        font-size: 0.75rem;

        padding:
            0.5rem 0.75rem;
    }

}


/* =========================================================
   BELOW 576px
   ========================================================= */

@media (max-width: 575.98px) {

    .svc-hero {
        padding:
            calc(var(--header-h) + 1.75rem) 0 2.4rem;
    }

    .svc-crumb {
        gap: 0.35rem;

        margin-bottom: 1rem;

        font-size: 0.7rem;
    }

    .svc-hero-tag {
        margin-bottom: 0.8rem;

        padding:
            0.35rem 0.75rem;

        font-size: 0.59rem;
    }

    .svc-hero-title {
        font-size: 1.8rem;
    }

    .svc-hero-text {
        font-size: 0.84rem;
    }

    .svc-body {
        padding: 2.5rem 0;
    }

    .svc-widget {
        padding: 1.25rem;

        border-radius: 16px;
    }

    .svc-widget-title {
        font-size: 1.3rem;
    }

    .svc-main h2 {
        font-size: 1.22rem;
    }

    .svc-main h2::after {
        width: 32px;
    }

    .svc-highlights .svc-highlight {
        gap: 0.7rem;

        padding: 1rem;
    }

    .svc-highlights .svc-highlight>i {
        width: 35px;
        height: 35px;

        font-size: 0.78rem;
    }

    .svc-highlight h3 {
        font-size: 0.9rem;
    }

    .svc-highlight p {
        font-size: 0.76rem;
    }

    .svc-main .row.g-4>div>div {
        padding: 1.2rem !important;
    }

    .svc-main .row.g-4 h3 {
        font-size: 1.15rem;
    }

}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .svc-cover img,
    .svc-highlights .svc-highlight,
    .svc-outcomes>div,
    .svc-list a,
    .svc-list a i,
    .svc-reach-value,
    .svc-field input,
    .svc-field textarea,
    .svc-main .row.g-4>div>div {
        transition: none !important;
    }

}


/* =========================================================
   FOCUS STATES
   ========================================================= */

.svc-list a:focus-visible,
.svc-reach-value:focus-visible,
.svc-field input:focus-visible,
.svc-field textarea:focus-visible {
    outline:
        2px solid var(--accent-color);

    outline-offset: 2px;
}