


/* ==========================================================
   VOLSOL SOLUTIONS — OUR SERVICES
   AI-inspired | Modern | Responsive
========================================================== */

.volsol-services-section {
    --vs-navy: #071326;
    --vs-blue: #4778F7;
    --vs-light-blue: #6B91FF;
    --vs-orange: #A73508;
    --vs-text: #071126;
    --vs-muted: #505B6D;
    --vs-bg: #F4F7FD;
    --vs-border: rgba(71, 120, 247, 0.15);

    position: relative;
    isolation: isolate;
    padding: 90px 0 76px;
    overflow: hidden;

    color: var(--vs-text);

    background:
        radial-gradient(
            ellipse at 0% 0%,
            rgba(107, 145, 255, 0.12),
            transparent 34%
        ),
        radial-gradient(
            ellipse at 100% 70%,
            rgba(71, 120, 247, 0.08),
            transparent 32%
        ),
        linear-gradient(180deg, #FFFFFF 0%, var(--vs-bg) 100%);
}

.volsol-services-section *,
.volsol-services-section *::before,
.volsol-services-section *::after {
    box-sizing: border-box;
}

.volsol-services-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding-right: clamp(20px, 4vw, 64px);
    padding-left: clamp(20px, 4vw, 64px);
}

/* ==========================================================
   SECTION HEADING
========================================================== */

.volsol-services-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 56px;

    margin-bottom: 48px;
}

.volsol-services-heading {
    min-width: 0;
}

.volsol-services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;
    padding: 10px 15px;

    border: 1px solid rgba(71, 120, 247, 0.18);
    border-radius: 40px;

    background: rgba(255, 255, 255, 0.84);
    color: var(--vs-blue);

    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.6px;

    box-shadow: 0 5px 20px rgba(7, 19, 38, 0.035);
}

.volsol-services-eyebrow-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;

    border-radius: 50%;
    background: var(--vs-blue);

    box-shadow: 0 0 13px rgba(71, 120, 247, 0.45);
}

.volsol-services-heading h2 {
    margin: 0;

    color: var(--vs-navy);

    font-family: inherit;
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -2px;

    overflow-wrap: break-word;
}

.volsol-gradient-text {
    background: linear-gradient(
        100deg,
        var(--vs-blue) 0%,
        var(--vs-light-blue) 58%,
        var(--vs-orange) 120%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.volsol-services-intro {
    max-width: 570px;
    justify-self: end;
    padding-bottom: 4px;
}

.volsol-services-intro p {
    margin: 0 0 22px;

    color: var(--vs-muted);
    font-size: 17px;
    line-height: 1.9;
}

.volsol-services-all-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--vs-navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    transition: color 250ms ease, gap 250ms ease;
}

.volsol-services-all-link span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;

    border: 1px solid var(--vs-border);
    border-radius: 50%;

    background: #FFFFFF;
    color: var(--vs-blue);

    transition:
        color 250ms ease,
        background 250ms ease,
        transform 250ms ease;
}

.volsol-services-all-link:hover {
    gap: 17px;
    color: var(--vs-blue);
}

.volsol-services-all-link:hover span {
    transform: translate(2px, -2px);
    background: var(--vs-blue);
    color: #FFFFFF;
}

/* ==========================================================
   MAIN LAYOUT
========================================================== */

.volsol-services-layout {
    display: grid;
    grid-template-columns: minmax(270px, 0.78fr) minmax(0, 2fr);
    align-items: stretch;
    gap: 28px;
}

/* ==========================================================
   LEFT SERVICE NAVIGATION
========================================================== */

.volsol-services-nav {
    display: flex;
    flex-direction: column;
    gap: 9px;

    min-width: 0;
    padding: 10px;

    border: 1px solid rgba(71, 120, 247, 0.10);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.72);

    box-shadow:
        0 14px 40px rgba(7, 19, 38, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.volsol-service-tab {
    position: relative;

    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;

    width: 100%;
    min-height: 72px;
    padding: 13px 15px;

    border: 1px solid transparent;
    border-radius: 16px;

    background: transparent;
    color: var(--vs-text);

    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;

    cursor: pointer;

    transition:
        background 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease,
        transform 300ms ease;
}

.volsol-service-tab:hover {
    transform: translateX(3px);
    border-color: rgba(71, 120, 247, 0.15);
    background: rgba(71, 120, 247, 0.045);
}

.volsol-service-tab.is-active {
    border-color: rgba(71, 120, 247, 0.45);

    background: linear-gradient(
        115deg,
        rgba(71, 120, 247, 0.10),
        rgba(107, 145, 255, 0.045)
    );

    box-shadow:
        0 8px 22px rgba(71, 120, 247, 0.07),
        inset 3px 0 0 var(--vs-blue);
}

.volsol-service-icon {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    border: 1px solid rgba(71, 120, 247, 0.17);
    border-radius: 13px;

    background: linear-gradient(
        145deg,
        #FFFFFF,
        #EAF0FF
    );

    color: var(--vs-blue);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;

    box-shadow: 0 5px 14px rgba(7, 19, 38, 0.04);

    transition:
        color 300ms ease,
        background 300ms ease,
        transform 300ms ease;
}

.volsol-service-tab.is-active .volsol-service-icon {
    border-color: transparent;

    background: linear-gradient(
        135deg,
        var(--vs-blue),
        var(--vs-light-blue)
    );

    color: #FFFFFF;

    box-shadow: 0 7px 17px rgba(71, 120, 247, 0.23);
}

.volsol-service-tab-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.volsol-service-arrow {
    color: #9BA8BC;
    font-size: 20px;
    opacity: 0;

    transform: translate(-4px, 4px);

    transition:
        opacity 250ms ease,
        transform 250ms ease,
        color 250ms ease;
}

.volsol-service-tab:hover .volsol-service-arrow,
.volsol-service-tab.is-active .volsol-service-arrow {
    opacity: 1;
    transform: translate(0, 0);
    color: var(--vs-blue);
}

/* ==========================================================
   FEATURE CARD
========================================================== */

.volsol-service-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: 0;

    min-width: 0;
    min-height: 490px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 24px 70px rgba(7, 19, 38, 0.075),
        0 2px 8px rgba(7, 19, 38, 0.025);

    transition: box-shadow 350ms ease;
}

.volsol-service-feature:hover {
    box-shadow:
        0 28px 80px rgba(7, 19, 38, 0.10),
        0 0 30px rgba(71, 120, 247, 0.055);
}

/* ==========================================================
   SERVICE IMAGE
========================================================== */

.volsol-service-image-wrap {
    position: relative;
    isolation: isolate;

    min-width: 0;
    min-height: 460px;
    margin: 12px;

    overflow: hidden;

    border-radius: 23px;

    background: linear-gradient(
        135deg,
        #142748,
        #4778F7
    );
}

.volsol-service-image {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 1;
    transform: scale(1);

    transition:
        opacity 300ms ease,
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.volsol-service-image.is-changing {
    opacity: 0.25;
    transform: scale(1.035);
}

.volsol-service-image-wrap:hover .volsol-service-image {
    transform: scale(1.045);
}

.volsol-service-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(7, 19, 38, 0.10) 0%,
            rgba(7, 19, 38, 0.04) 35%,
            rgba(7, 19, 38, 0.78) 100%
        ),
        linear-gradient(
            135deg,
            rgba(71, 120, 247, 0.12),
            transparent 60%
        );
}

.volsol-service-image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    max-width: calc(100% - 40px);
    padding: 10px 13px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;

    background: rgba(7, 19, 38, 0.38);
    color: #FFFFFF;

    font-size: 9px;
    font-weight: 750;
    letter-spacing: 1.2px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.volsol-pulse-dot {
    position: relative;

    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    border-radius: 50%;
    background: #8DB0FF;

    box-shadow: 0 0 12px rgba(107, 145, 255, 0.9);
}

.volsol-pulse-dot::after {
    position: absolute;
    inset: -4px;

    border: 1px solid rgba(141, 176, 255, 0.7);
    border-radius: 50%;

    content: "";

    animation: volsol-dot-pulse 2s ease-out infinite;
}

@keyframes volsol-dot-pulse {
    0% {
        opacity: 0.8;
        transform: scale(0.65);
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

.volsol-service-image-caption {
    position: absolute;
    right: 25px;
    bottom: 26px;
    left: 25px;
    z-index: 2;

    color: #FFFFFF;
}

.volsol-service-image-caption > span {
    display: block;
    margin-bottom: 12px;

    color: #C9D8FF;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.7px;
}

.volsol-service-image-caption p {
    max-width: 360px;
    margin: 0;

    color: #FFFFFF;
    font-size: clamp(23px, 2vw, 31px);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.volsol-service-image-decoration {
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 2;

    display: flex;
    gap: 6px;

    transform: translateY(-50%);
    opacity: 0.65;
}

.volsol-service-image-decoration span {
    width: 3px;
    height: 24px;

    border-radius: 10px;
    background: #FFFFFF;
}

.volsol-service-image-decoration span:nth-child(2) {
    height: 38px;
    margin-top: -7px;
}

.volsol-service-image-decoration span:nth-child(3) {
    height: 17px;
    margin-top: 4px;
}

/* ==========================================================
   SERVICE DETAILS
========================================================== */

.volsol-service-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    padding: clamp(28px, 3vw, 42px);
}

.volsol-service-category {
    display: inline-block;
    margin-bottom: 15px;

    color: var(--vs-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.volsol-service-details h3 {
    margin: 0 0 17px;

    color: var(--vs-navy);

    font-family: inherit;
    font-size: clamp(25px, 2.4vw, 35px);
    font-weight: 700;
    line-height: 1.23;
    letter-spacing: -0.9px;

    overflow-wrap: anywhere;
}

.volsol-service-details h3::first-letter {
    color: inherit;
}

.volsol-service-details > p {
    margin: 0 0 27px;

    color: var(--vs-muted);
    font-size: 15px;
    line-height: 1.85;
}

.volsol-service-capabilities-heading {
    margin-bottom: 15px;

    color: var(--vs-navy);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.2px;
}

.volsol-service-capabilities {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;

    width: 100%;
    margin: 0 0 29px;
    padding: 0;

    list-style: none;
}

.volsol-service-capabilities li {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    min-width: 0;

    color: #263348;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.65;
}

.volsol-capability-check {
    display: grid;
    place-items: center;

    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    margin-top: 1px;

    border: 1px solid rgba(71, 120, 247, 0.22);
    border-radius: 7px;

    background: rgba(71, 120, 247, 0.08);
    color: var(--vs-blue);

    font-size: 12px;
    font-weight: 800;
}

/* ==========================================================
   EXPLORE SERVICE BUTTON
========================================================== */

.volsol-service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 53px;
    max-width: 100%;
    margin-top: auto;
    padding: 6px 6px 6px 19px;

    border: 1px solid var(--vs-blue);
    border-radius: 12px;

    background: linear-gradient(
        110deg,
        var(--vs-blue),
        #3869EC
    );

    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(71, 120, 247, 0.18);

    transition:
        transform 300ms ease,
        box-shadow 300ms ease,
        background 300ms ease;
}

.volsol-service-cta:hover {
    transform: translateY(-2px);

    background: var(--vs-navy);
    border-color: var(--vs-navy);
    color: #FFFFFF;

    box-shadow: 0 12px 26px rgba(7, 19, 38, 0.17);
}

.volsol-service-cta-icon {
    display: grid;
    place-items: center;

    width: 39px;
    height: 39px;
    flex: 0 0 39px;

    border-radius: 8px;

    background: #FFFFFF;
    color: var(--vs-blue);

    font-size: 21px;

    transition: transform 300ms ease;
}

.volsol-service-cta:hover .volsol-service-cta-icon {
    transform: translate(2px, -2px);
}

/* ==========================================================
   BOTTOM STRIP
========================================================== */

.volsol-services-bottom {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-top: 36px;
}

.volsol-services-bottom-line {
    width: 45px;
    height: 2px;
    flex: 0 0 45px;

    border-radius: 5px;

    background: linear-gradient(
        90deg,
        var(--vs-blue),
        var(--vs-light-blue),
        var(--vs-orange)
    );
}

.volsol-services-bottom p {
    margin: 0;

    color: var(--vs-muted);
    font-size: 13px;
    line-height: 1.6;
}

.volsol-bottom-sparkle {
    margin-right: 5px;
    color: var(--vs-blue);
}

.volsol-services-bottom-label {
    margin-left: auto;

    color: #8490A4;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.3px;
    text-align: right;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {
    .volsol-services-section {
        padding: 70px 0 60px;
    }

    .volsol-services-heading-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 30px;
        margin-bottom: 36px;
    }

    .volsol-services-heading h2 {
        font-size: clamp(35px, 4.5vw, 48px);
        letter-spacing: -1.3px;
    }

    .volsol-services-intro p {
        font-size: 15px;
        line-height: 1.8;
    }

    .volsol-services-layout {
        grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.7fr);
        gap: 18px;
    }

    .volsol-service-tab {
        grid-template-columns: 39px minmax(0, 1fr) 16px;
        gap: 10px;
        padding: 12px 10px;
        font-size: 13px;
    }

    .volsol-service-icon {
        width: 38px;
        height: 38px;
    }

    .volsol-service-feature {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        min-height: 440px;
    }

    .volsol-service-image-wrap {
        min-height: 416px;
    }

    .volsol-service-details {
        padding: 26px 22px;
    }

    .volsol-service-details h3 {
        font-size: 26px;
    }

    .volsol-service-details > p {
        font-size: 14px;
    }
}

/* ==========================================================
   MOBILE / SMALL TABLET
========================================================== */

@media (max-width: 767.98px) {
    .volsol-services-section {
        padding: 54px 0 48px;
    }

    .volsol-services-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .volsol-services-heading-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }

    .volsol-services-eyebrow {
        margin-bottom: 17px;
        padding: 9px 12px;
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .volsol-services-heading h2 {
        font-size: clamp(34px, 8vw, 46px);
        line-height: 1.17;
        letter-spacing: -1.2px;
    }

    .volsol-services-intro {
        max-width: none;
        justify-self: stretch;
    }

    .volsol-services-intro p {
        margin-bottom: 15px;
        font-size: 15px;
        line-height: 1.8;
    }

    .volsol-services-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    /* Horizontally scrollable service selector */
    .volsol-services-nav {
        display: flex;
        flex-direction: row;
        gap: 9px;

        padding: 8px;

        overflow-x: auto;
        overflow-y: hidden;

        border-radius: 17px;

        scrollbar-width: none;
        -ms-overflow-style: none;

        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
    }

    .volsol-services-nav::-webkit-scrollbar {
        display: none;
    }

    .volsol-service-tab {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 10px;

        width: auto;
        min-height: 48px;
        max-width: 280px;

        padding: 9px 12px;

        border-radius: 12px;

        font-size: 12px;
        line-height: 1.4;

        scroll-snap-align: start;
    }

    .volsol-service-tab:hover {
        transform: none;
    }

    .volsol-service-icon {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;

        border-radius: 9px;
        font-size: 8px;
    }

    .volsol-service-tab-text {
        white-space: normal;
    }

    .volsol-service-arrow {
        display: none;
    }

    .volsol-service-feature {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;

        border-radius: 22px;
    }

    .volsol-service-image-wrap {
        min-height: 0;
        height: 300px;
        margin: 9px;

        border-radius: 17px;
    }

    .volsol-service-image-caption {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .volsol-service-image-caption p {
        max-width: 300px;
        font-size: 26px;
    }

    .volsol-service-image-badge {
        top: 14px;
        left: 14px;

        padding: 8px 10px;
        font-size: 8px;
    }

    .volsol-service-details {
        padding: 24px 23px 26px;
    }

    .volsol-service-category {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .volsol-service-details h3 {
        margin-bottom: 13px;
        font-size: clamp(25px, 6vw, 32px);
        line-height: 1.25;
    }

    .volsol-service-details > p {
        margin-bottom: 23px;
        font-size: 15px;
        line-height: 1.8;
    }

    .volsol-service-capabilities-heading {
        margin-bottom: 13px;
    }

    .volsol-service-capabilities {
        gap: 12px;
        margin-bottom: 25px;
    }

    .volsol-service-capabilities li {
        font-size: 13px;
    }

    .volsol-service-cta {
        width: 100%;
        min-height: 52px;
    }

    .volsol-services-bottom {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;

        margin-top: 25px;
    }

    .volsol-services-bottom-line {
        width: 28px;
        flex-basis: 28px;
        margin-top: 9px;
    }

    .volsol-services-bottom p {
        flex: 1;
        font-size: 12px;
    }

    .volsol-services-bottom-label {
        width: 100%;
        margin-left: 40px;
        text-align: left;
        font-size: 9px;
    }
}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 380px) {
    .volsol-services-container {
        padding-right: 13px;
        padding-left: 13px;
    }

    .volsol-services-heading h2 {
        font-size: 32px;
    }

    .volsol-service-image-wrap {
        height: 250px;
    }

    .volsol-service-details {
        padding: 21px 17px 22px;
    }

    .volsol-service-tab {
        max-width: 245px;
    }
}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {
    .volsol-services-section *,
    .volsol-services-section *::before,
    .volsol-services-section *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================
   INTERACTIVE CONTENT TRANSITIONS + KEYBOARD FOCUS
========================================================== */
.volsol-service-details {
    transition: opacity 220ms ease, transform 220ms ease;
}

.volsol-service-details.is-updating {
    opacity: 0.55;
    transform: translateY(4px);
}

.volsol-service-tab:focus-visible,
.volsol-service-cta:focus-visible,
.volsol-services-all-link:focus-visible,
.volsol-service-feature:focus-visible {
    outline: 3px solid rgba(71, 120, 247, 0.65);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .volsol-service-details,
    .volsol-service-image,
    .volsol-service-tab,
    .volsol-service-cta {
        transition: none !important;
    }
}
