/* Military Transition — Member Services page */

.container.services-page {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.services-page {
    font-size: 118%;
    color: #1e293b;
}

/* Hero banner */
.services-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: #0f2744;
    background-image: url('/images/servicepage.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 35%;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 36, 87, 0.35) 0%,
        rgba(15, 39, 68, 0.55) 45%,
        rgba(15, 39, 68, 0.88) 100%
    );
    pointer-events: none;
}

.services-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 48px;
    text-align: center;
}

.services-hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #e2e8f0;
    font-size: 1.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.services-hero-subtitle {
    margin: 0 auto;
    max-width: 720px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

/* Page shell */
.services-shell {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 38%, #ffffff 100%);
    padding: 0 0 72px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro section */
.services-intro {
    position: relative;
    margin-top: -36px;
    z-index: 2;
}

.services-intro-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    padding: 36px;
    overflow: hidden;
}

@media (min-width: 992px) and (max-width: 1239px) {
    .services-intro {
        width: min(1320px, calc(100vw - 40px));
        margin-left: calc((100% - min(1320px, calc(100vw - 40px))) / 2);
        margin-right: calc((100% - min(1320px, calc(100vw - 40px))) / 2);
    }

    .services-intro-card {
        gap: 40px;
        padding: 40px 42px;
    }
}

@media (min-width: 1240px) {
    .services-intro {
        width: min(1680px, calc(100vw - 48px));
        margin-left: calc((100% - min(1680px, calc(100vw - 48px))) / 2);
        margin-right: calc((100% - min(1680px, calc(100vw - 48px))) / 2);
    }

    .services-intro-card {
        gap: 44px;
        padding: 44px 48px;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
}

@media (min-width: 1600px) {
    .services-intro {
        width: min(1840px, calc(100vw - 64px));
        margin-left: calc((100% - min(1840px, calc(100vw - 64px))) / 2);
        margin-right: calc((100% - min(1840px, calc(100vw - 64px))) / 2);
    }

    .services-intro-card {
        gap: 52px;
        padding: 48px 56px;
    }
}

.services-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #f59e0b 50%, #1d4ed8 100%);
    border-radius: 20px 20px 0 0;
}

.services-intro-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(30, 78, 121, 0.18);
}

.services-intro-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (min-width: 769px) {
    .services-intro-image-wrap {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
}

.services-intro-content h2 {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #dc2626;
    text-transform: uppercase;
}

.services-intro-content p {
    margin: 0 0 18px;
    font-size: 1.5rem;
    line-height: 1.65;
    color: #475569;
}

.services-intro-content p:last-child {
    margin-bottom: 0;
}

.services-benefit-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.services-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #334155;
}

.services-benefit-list .fa {
    flex-shrink: 0;
    margin-top: 3px;
    color: #16a34a;
    font-size: 1.8rem;
}

/* Services main section */
.services-main-section {
    position: relative;
    margin-top: 56px;
    padding: 48px 0 32px;
    isolation: isolate;
}

.services-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #1e4e79;
    z-index: -1;
}

.services-section-header {
    text-align: center;
    margin-bottom: 28px;
    padding: 0 12px;
}

.services-section-header h2 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: #ffffff;
}

.services-section-header h2 a {
    color: inherit;
    text-decoration: none;
}

.services-section-header p {
    margin: 0 auto;
    max-width: 680px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.services-main-section .row.servicesPageNav {
    margin-left: 0;
    margin-right: 0;
}

/* Hide duplicate mobile "Services" title row — section header covers it */
.servicesPageNav > .row.hidden-sm.hidden-md.hidden-lg.hidden-xl {
    display: none !important;
}

/* Content panel — styled without changing nav markup */
.servicesPageNav .col-sm-7 > .row,
.servicesPageNav .col-sm-6 > .row {
    background: #ffffff !important;
    color: #1e293b !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14) !important;
    min-height: 480px;
    padding: 16px !important;
    text-align: left;
    margin-bottom: 24px;
    overflow: hidden;
}

.servicesPageNav .col-sm-7 > .row::before,
.servicesPageNav .col-sm-6 > .row::before {
    content: '';
    display: block;
    height: 4px;
    margin: -16px -16px 16px;
    background: linear-gradient(90deg, #dc2626 0%, #f59e0b 50%, #1d4ed8 100%);
}

/* Left nav menu font size */
.servicesPageNav .col-sm-4.hidden-xs,
.servicesPageNav .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl {
    font-size: 17px;
}

.servicesPageNav .col-sm-4.hidden-xs a,
.servicesPageNav .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl a,
.servicesPageNav .col-sm-4.hidden-xs .col-sm-12,
.servicesPageNav .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl .col-sm-12 {
    font-size: 17px;
}

/* Desktop: tuck duplicate Services heading beside section header */
@media (min-width: 769px) {
    .servicesPageNav.hidden-xs h2 {
        visibility: hidden;
        height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
}

.services-main-section .services-page-footer-spacer {
    height: 32px;
}

/* Nav selected row */
.selectedclientrow {
    background-color: #F00;
    color: #fff;
}

/* Service detail panels */
.client-questions-wrap {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

.client-questions-hero {
    background: linear-gradient(135deg, #1e4e79 0%, #2b6cb0 100%);
    color: #fff;
    padding: 32px 28px 28px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.client-questions-hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.client-questions-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.client-questions-hero p {
    margin: 0 auto;
    max-width: 640px;
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.client-questions-body {
    padding: 24px 20px 30px;
    background: #f4f7fb;
    border-radius: 0 0 12px 12px;
}

.client-questions-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    padding: 28px 26px;
    margin-bottom: 18px;
    transition: box-shadow 0.2s ease;
}

.client-questions-card:hover {
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
}

.client-questions-card:last-child {
    margin-bottom: 0;
}

.client-questions-card h2 {
    margin: 0 0 18px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e4e79;
}

.client-questions-card p {
    margin: 0 0 14px;
    font-size: 1.42rem;
    line-height: 1.65;
    color: #475569;
}

.client-questions-card p:last-child {
    margin-bottom: 0;
}

.client-questions-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.client-questions-info-item:last-child {
    margin-bottom: 0;
}

.client-questions-info-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    color: #1e4e79;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.client-questions-info-copy {
    flex: 1;
    text-align: left;
}

.client-questions-info-copy strong {
    display: block;
    margin-bottom: 4px;
    color: #1e293b;
    font-size: 1.35rem;
}

.client-questions-info-copy span {
    display: block;
    color: #64748b;
    font-size: 1.28rem;
    line-height: 1.5;
}

.client-questions-platform-badge {
    text-align: center;
    padding: 18px 20px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
    border: 1px solid #fecaca;
}

.client-questions-platform-badge strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #991b1b;
}

.client-questions-platform-badge span {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e4e79;
    line-height: 1.35;
}

.client-questions-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    font-size: 1.45rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.client-questions-submit {
    text-decoration: none !important;
    color: #1e293b !important;
}

.client-questions-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
    color: #0f172a !important;
}

.client-questions-cta-wrap {
    text-align: center;
    margin-top: 6px;
}

.client-questions-video-wrap {
    text-align: center;
}

.client-questions-video-wrap video {
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(30, 78, 121, 0.15);
}

/* Nav link hover polish — does not change nav structure */
.servicesPageNav .col-sm-3 a > .row {
    transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.servicesPageNav .col-sm-3 a:hover > .row:not(.selectedclientrow) {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 14px !important;
}

/* Responsive */
@media (max-width: 767px) {
    /* Mobile: left menu above content panel */
    #services.servicesPageNav {
        display: flex;
        flex-direction: column;
    }

    #services.servicesPageNav > .col-sm-1 {
        display: none;
    }

    #services.servicesPageNav > .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl {
        order: 1;
        width: 100%;
    }

    #services.servicesPageNav > .col-sm-7 {
        order: 2;
        width: 100%;
    }

    .services-hero {
        min-height: 320px;
        background-position: center 30%;
    }

    .services-hero-inner {
        padding: 56px 20px 36px;
    }

    .services-intro {
        margin-top: -24px;
    }

    .services-intro-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        gap: 24px;
    }

    .services-main-section {
        margin-top: 40px;
        padding-top: 36px;
    }

    .servicesPageNav .col-sm-7 > .row,
    .servicesPageNav .col-sm-6 > .row {
        padding: 12px !important;
        border-radius: 12px !important;
    }

    .servicesPageNav .col-sm-7 > .row::before,
    .servicesPageNav .col-sm-6 > .row::before {
        margin: -12px -12px 12px;
    }

    .client-questions-hero {
        padding: 24px 16px 20px;
    }

    .client-questions-hero h1 {
        font-size: 22px;
    }

    .client-questions-body {
        padding: 18px 12px 24px;
    }

    .client-questions-card {
        padding: 18px 16px;
    }

    .client-questions-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-hero {
        min-height: 280px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }
}
