/* Military Transition — Products 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/87654185.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 0px;
}

/* 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;
    align-self: start;
    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.7rem;
    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.7rem;
    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-3.hidden-xs,
.servicesPageNav .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl {
    font-size: 17px;
}

.servicesPageNav .col-sm-3.hidden-xs a,
.servicesPageNav .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl a,
.servicesPageNav .col-sm-3.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.hidden-xs a > .row,
.servicesPageNav .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl a > .row {
    transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.servicesPageNav .col-sm-3.hidden-xs a:hover > .row:not(.selectedclientrow),
.servicesPageNav .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl a:hover > .row:not(.selectedclientrow) {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 14px !important;
}

/* Responsive */
@media (max-width: 767px) {
    /* Mobile: content panel above selection menu */
    #services.servicesPageNav,
    #Items.servicesPageNav {
        display: flex;
        flex-direction: column;
    }

    #services.servicesPageNav > .col-sm-1,
    #Items.servicesPageNav > .col-sm-1 {
        display: none;
    }

    #services.servicesPageNav > .col-sm-6,
    #Items.servicesPageNav > .col-sm-6 {
        order: 1;
        width: 100%;
    }

    #services.servicesPageNav > .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl,
    #Items.servicesPageNav > .col-sm-3.hidden-sm.hidden-md.hidden-lg.hidden-xl {
        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;
    }
}

/* Products catalogue overview — matches client/requestDemo layout */
.products-catalog-wrap.client-questions-wrap {
    background: #f4f7fb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.products-catalog-wrap .client-questions-hero {
    background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.88)), url(/images/home-video-placeholder.jpg);
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 32px 28px 28px;
    text-align: center;
    border-radius: 0;
}

.products-catalog-wrap .client-questions-hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.products-catalog-wrap .client-questions-hero h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #1b2f4f;
}

.products-catalog-wrap .client-questions-hero i.fa {
    color: #1b2f4f;
}

.products-catalog-wrap .client-questions-hero p {
    margin: 0 auto;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.6;
    color: #1b2f4f;
}

.products-catalog-wrap .client-questions-hero-footnote {
    margin: 14px auto 0;
    max-width: 640px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
    font-weight: 600;
}

.products-catalog-wrap .client-questions-body {
    padding: 24px 20px 30px;
    background: #f4f7fb;
    border-radius: 0;
}

.products-catalog-wrap .client-questions-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(30, 78, 121, 0.08);
    padding: 24px 22px 22px;
    margin-bottom: 18px;
    text-align: center;
}

.products-catalog-wrap .client-questions-card:last-child {
    margin-bottom: 0;
}

.products-catalog-wrap .client-questions-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #1e4e79;
}

.products-catalog-wrap .client-questions-card p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.products-catalog-wrap .client-questions-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.products-catalog-wrap .client-questions-info-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ecf1fb;
    color: #1e4e79;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.products-catalog-wrap .client-questions-info-copy {
    flex: 1;
    text-align: center;
}

.products-catalog-wrap .client-questions-info-copy strong {
    display: block;
    margin-bottom: 3px;
    color: #1e293b;
    font-size: 14px;
    text-align: center;
}

.products-catalog-wrap .client-questions-info-copy span {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.products-catalog-wrap .client-questions-platform-badge {
    text-align: center;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.products-catalog-wrap .client-questions-platform-badge strong {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #991b1b;
}

.products-catalog-wrap .client-questions-platform-badge span {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1e4e79;
    line-height: 1.35;
}

.products-catalog-wrap .client-questions-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    padding: 13px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #1e4e79 0%, #163d63 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.products-catalog-wrap a.client-questions-submit {
    text-decoration: none !important;
    color: #fff !important;
}

.products-catalog-wrap .client-questions-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 78, 121, 0.22);
    color: #fff !important;
}

.products-catalog-wrap .client-questions-cta-wrap {
    text-align: center;
    margin-top: 6px;
}

.products-catalog-cta-row {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

.products-catalog-btn-primary {
    background: #1e4e79;
    color: #fff !important;
}

.products-catalog-btn-primary,
.products-catalog-btn-secondary {
    display: inline-block;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 600;
    text-decoration: none !important;
    border: 2px solid #1e4e79;
    transition: all 0.2s ease;
}

.products-catalog-btn-secondary {
    background: #fff;
    color: #1e4e79 !important;
}

.products-catalog-step-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e4e79;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.products-catalog-media-wrap {
    text-align: center;
    margin: 12px 0;
    overflow: hidden;
}

.products-catalog-media-wrap img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .products-catalog-wrap .client-questions-hero {
        padding: 24px 16px 20px;
    }

    .products-catalog-wrap .client-questions-hero h1 {
        font-size: 24px;
    }

    .products-catalog-wrap .client-questions-body {
        padding: 18px 14px 24px;
    }

    .products-catalog-wrap .client-questions-submit,
    .products-catalog-btn-primary,
    .products-catalog-btn-secondary {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .products-catalog-cta-row {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

/* Products detail pages — matches client/educators layout */
.products-detail-wrap.client-questions-wrap {
    background: #f4f7fb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.products-detail-wrap .client-questions-hero {
    background: linear-gradient(135deg, #1e4e79 0%, #2b6cb0 100%);
    color: #fff;
    padding: 32px 28px 28px;
    text-align: center;
    border-radius: 0;
}

.products-detail-wrap .client-questions-hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.products-detail-wrap .client-questions-hero h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.products-detail-wrap .client-questions-hero p {
    margin: 0 auto;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.products-detail-wrap .product-status-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.products-detail-wrap .client-questions-body {
    padding: 24px 20px 30px;
    background: #f4f7fb;
    border-radius: 0;
}

.products-detail-wrap .client-questions-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(30, 78, 121, 0.08);
    padding: 24px 22px 22px;
    margin-bottom: 18px;
    text-align: center;
}

.products-detail-wrap .client-questions-card:last-child {
    margin-bottom: 0;
}

.products-detail-wrap .client-questions-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #1e4e79;
}

.products-detail-wrap .client-questions-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    padding: 13px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #1e4e79 0%, #163d63 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.products-detail-wrap a.client-questions-submit {
    text-decoration: none !important;
    color: #fff !important;
}

.products-detail-wrap .client-questions-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 78, 121, 0.22);
    color: #fff !important;
}

.products-detail-wrap .client-questions-cta-wrap {
    text-align: center;
    margin-top: 6px;
}

.products-detail-wrap .products-giving-pledge-card h2 {
    font-size: 20px;
    color: #1e4e79;
}

.products-detail-wrap .products-giving-pledge-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    text-align: center;
}

/* YouTube-style video thumbnail play buttons */
.client-video-thumb-link {
    display: block;
    width: 100%;
    text-decoration: none !important;
    cursor: pointer;
}

.client-video-thumb-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 10;
    background: #ddd;
}

.client-video-thumb-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: filter 0.2s ease;
}

.client-video-thumb-link:hover .client-video-thumb-frame img {
    filter: brightness(0.82);
}

.client-video-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s ease;
}

.client-video-thumb-link:hover .client-video-thumb-play {
    background: rgba(0, 0, 0, 0.35);
}

.client-video-thumb-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.78);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, transform 0.2s ease;
}

.client-video-thumb-link:hover .client-video-thumb-play-btn {
    background: #ff0000;
    transform: scale(1.08);
}

.client-video-thumb-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.client-video-thumb-play-btn--lg {
    width: 90px;
    height: 64px;
    border-radius: 14px;
}

.client-video-thumb-play-btn--lg::after {
    border-width: 16px 0 16px 28px;
    margin-left: 6px;
}

/* Improved product carousel */
.products-carousel-wrap {
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(30, 78, 121, 0.12);
    padding: 12px;
}

.products-detail-wrap .products-carousel {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.products-detail-wrap .products-carousel .carousel-inner {
    border-radius: 10px;
    background: #fff;
    margin-top: 0;
    overflow: hidden;
    min-height: 280px;
}

/* Preserve Bootstrap slide behavior — do not set display:flex on .item */
.products-detail-wrap .products-carousel .carousel-inner > .item {
    height: auto;
    min-height: 280px;
    max-height: 420px;
    padding: 12px;
    background: #fff;
    text-align: center;
}

.products-detail-wrap .products-carousel .carousel-inner > .item.active,
.products-detail-wrap .products-carousel .carousel-inner > .item.next,
.products-detail-wrap .products-carousel .carousel-inner > .item.prev {
    display: block;
}

.products-detail-wrap .products-carousel .carousel-inner > .item .img-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 256px;
}

.products-detail-wrap .products-carousel .item-image {
    max-height: 380px !important;
    height: auto !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.products-detail-wrap .products-carousel .img-holder {
    width: 100%;
    max-width: 100%;
}

.products-detail-wrap .products-carousel .client-video-thumb-frame {
    max-width: 720px;
    margin: 0 auto;
}

.products-detail-wrap .products-carousel .carousel-indicators {
    bottom: -6px;
    margin-bottom: 0;
}

.products-detail-wrap .products-carousel .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: #94a3b8;
    border: none;
}

.products-detail-wrap .products-carousel .carousel-indicators .active {
    background-color: #1e4e79;
    width: 12px;
    height: 12px;
}

.products-detail-wrap .products-carousel-control {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 78, 121, 0.85);
    border-radius: 50%;
    opacity: 0.9;
    text-shadow: none;
}

.products-detail-wrap .products-carousel-control:hover {
    opacity: 1;
    background: #1e4e79;
}

.products-detail-wrap .products-carousel-control .fa {
    font-size: 18px;
    line-height: 44px;
}

.products-detail-wrap .products-carousel-control.left {
    left: 12px;
}

.products-detail-wrap .products-carousel-control.right {
    right: 12px;
}

/* Product information table — educators card style */
.products-detail-wrap .products-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.products-detail-wrap .products-info-table tr[style*="d2ddee"] td,
.products-detail-wrap .products-info-table tr[style*="d2ddee"] th {
    background: #ecf1fb !important;
    font-weight: 700;
    color: #1e4e79 !important;
    font-size: 14px;
    padding: 12px 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.products-detail-wrap .products-info-table tr[style*="eaeff7"] td {
    background: #fff !important;
    color: #475569 !important;
    font-size: 15px;
    line-height: 1.6;
    padding: 12px 16px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.products-detail-wrap .products-info-table tr:nth-child(odd) td {
    background: #ecf1fb;
    font-weight: 700;
    color: #1e4e79;
    font-size: 14px;
    padding: 12px 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.products-detail-wrap .products-info-table tr:nth-child(even) td {
    background: #fff;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    padding: 12px 16px;
}

.products-detail-wrap .products-info-table tr[style*="6799d3"] th {
    background: #1e4e79 !important;
    color: #fff !important;
    padding: 12px 16px;
    font-size: 14px;
}

.products-detail-wrap .products-info-table ul {
    margin: 0;
    padding-left: 18px;
}

.products-detail-wrap .products-info-table li {
    margin-bottom: 6px;
}

@media (max-width: 767px) {
    .products-detail-wrap .client-questions-hero {
        padding: 24px 16px 20px;
    }

    .products-detail-wrap .client-questions-hero h1 {
        font-size: 22px;
    }

    .products-detail-wrap .client-questions-body {
        padding: 18px 14px 24px;
    }

    .products-detail-wrap .client-questions-card {
        padding: 18px 16px;
    }

    .products-detail-wrap .products-carousel .carousel-inner > .item {
        min-height: 200px;
        max-height: 300px;
    }

    .products-detail-wrap .products-carousel .carousel-inner > .item .img-holder {
        min-height: 180px;
    }

    .products-detail-wrap .products-carousel-control {
        width: 36px;
        height: 36px;
    }

    .products-detail-wrap .products-carousel-control .fa {
        font-size: 14px;
        line-height: 36px;
    }

    .products-detail-wrap .client-questions-submit {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Legacy product detail helpers (unused in new layout) */
.product-status-available {
    color: #c40000;
    text-align: left;
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px 0;
    padding: 10px 14px;
    letter-spacing: 0.02em;
    border-left: 5px solid #f00;
    background: linear-gradient(90deg, rgba(204, 0, 0, .12) 0%, rgba(204, 0, 0, 0) 100%);
    border-radius: 0 6px 6px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.medical-alert-card-title {
    background: linear-gradient(180deg, #6aa9db 0%, #4a8bc4 100%);
    color: #fff;
    text-align: center;
    font-size: 1.2em;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    padding: 14px 20px;
    letter-spacing: 0.03em;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(30, 78, 121, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid #2d6ba3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.carousel {
    z-index: 10;
    margin-top: 0;
}

.item {
    height: 435px;
    overflow: hidden;
}

.carousel-inner {
    text-align: center;
}

.item-image {
    height: 435px !important;
    width: auto !important;
}

.img-holder {
    width: 100%;
    display: flex;
    justify-content: center;
}

.products-video-thumb {
    display: block;
    width: 100%;
    text-decoration: none !important;
    cursor: pointer;
}

.products-video-thumb .thumb-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/10;
    background: #ddd;
}

.products-video-thumb .thumb-box img {
    width: 100%;
    height: 100%;
    display: block;
}

.products-video-thumb .thumb-box .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-video-thumb .thumb-box .play-overlay .play-icon {
    width: 0;
    height: 0;
    border-left: 28px solid #fff;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 6px;
}

.products-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.products-video-modal.is-open {
    display: flex;
}

.products-video-modal .modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.products-video-modal .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: #fff;
    color: #333;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    padding: 0;
}

.products-video-modal .modal-close:hover {
    background: #eee;
}

.products-video-modal .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.products-video-modal .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.catalog-preview-card {
    background-image: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .45)), url('/images/home-video-placeholder.jpg');
    background-size: cover;
    background-position: center;
    min-height: 460px;
    border-radius: 0;
    padding: 38px 28px 32px 28px;
    color: #fff;
}

.catalog-preview-title {
    font-size: 52px;
    line-height: 1.04;
    font-weight: 700;
    margin: 0 0 26px 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .45);
}

.catalog-preview-text {
    max-width: 680px;
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 24px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .45);
}

.catalog-main-btn {
    display: inline-block;
    background-color: #e40012;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 8px;
    padding: 14px 30px;
    text-decoration: none !important;
}

.catalog-amazon-btn {
    display: block;
    margin-top: 36px;
    background-color: #012169;
    color: #fff !important;
    text-align: center;
    border-radius: 10px;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: .5px;
    padding: 18px 20px;
    text-decoration: none !important;
}

.products-amazon-btn {
    background-color: #1e4e79;
    color: #fff;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    transition: background-color 0.15s ease;
}

.products-amazon-btn:hover {
    background-color: #2b6cb0;
}

.products-giving-pledge-row {
    margin-top: 18px;
    margin-bottom: 8px;
}

.products-giving-pledge-card {
    margin-bottom: 0;
}

.servicesPageNav .col-sm-6 > .row {
    margin-top: 0 !important;
}

@media (max-width: 990px) {
    .item-image {
        width: 100% !important;
        height: auto !important;
    }

    .item {
        height: 70vw;
    }
}

@media (max-width: 767px) {
    .catalog-preview-card {
        min-height: 430px;
        padding: 30px 18px 24px 18px;
    }

    .catalog-preview-title {
        font-size: 48px;
    }

    .catalog-preview-text {
        font-size: 20px;
    }

    .catalog-main-btn {
        font-size: 18px;
        padding: 12px 24px;
    }

    .catalog-amazon-btn {
        font-size: 18px;
        padding: 12px 14px;
    }
}
