/* =============================================================
   fractional-data-analyst.css
   Page-specific styles for the Fractional Data Analyst page
   ============================================================= */

/* -------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------- */
.fs-bg {
    height: auto !important;
}

.dtp_fractional_content {
    margin-top: 5rem;
}

/* -------------------------------------------------------------
   Card Section — Typography Helpers
   ------------------------------------------------------------- */
.mob-c13 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}
/* -------------------------------------------------------------
   "Is It Time" Cards — Fixed height + radius
   ------------------------------------------------------------- */
.is-it-time-section .rsdp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------------------------------------------------------------
   Card Overlay
   ------------------------------------------------------------- */
.rsdp-card-overlay-m {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.6;
}

.rsdp-card-overlay-m p {
    margin: 5px 0 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}
/* -------------------------------------------------------------
   Global Adoption Stats — Data Cloud Layout
   (Adopted from warehouse forecast section)
   ------------------------------------------------------------- */
.data-cloud-container {
    width: 100%;
    padding: 0;
    margin: 0;
}

.data-cloud-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.data-cloud-img {
    display: block;
    object-fit: cover;
}

.data-cloud-content2 {
    color: white;
    padding: 72px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.data-cloud-title {
    font-size: 45px;
    font-weight: 400;
    line-height: 1.5;
    padding: 0;
    color: #DFE9FF;
    text-align: start;
}

.data-cloud-stats {
    margin-top: 50px;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.data-cloud-content2 > p {
    text-align: start;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.5;
}

.data-cloud-content2 p.link {
    text-align: left;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.data-cloud-content2 p.link > a {
    text-decoration: underline;
}

.stat-box {
    margin-bottom: 35px;
    min-width: 180px;
}

.stat-box h2 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.stat-box p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

/* -------------------------------------------------------------
   Services Section — Image Box
   (imgbox1 from warehouse, not in @include('style'))
   ------------------------------------------------------------- */
.services-section__list-item {
    color: #000;
}

.services-section__title {
    font-size: 64px;
    margin-bottom: 0;
}

.services-section__title+p {
    font-size: 32px;
    font-weight: 300;
}

.imgbox1 img {
    border-radius: 32px;
    border: 12px solid #ffffff;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

/* -------------------------------------------------------------
   Comparison Cards — Desktop
   (Adopted from warehouse comparison section)
   ------------------------------------------------------------- */
.c5-clr {
    color: #5C5C5C;
}

.comparison-section .card {
    border-radius: 30px !important;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.comparison-section .card.is-active {
    transform: scale(1);
    box-shadow: 0px 0px 15px 0px rgba(88, 88, 88, 0.67);
}

/* Desktop — narrow card container */
@media (min-width: 992px) {
    .mobile-container {
        padding-left: 150px !important;
        padding-right: 150px !important;
    }
}

/* Desktop — active card shifts toward center */
@media (min-width: 992px) {
    .mobile-container > div:first-child .card.is-active {
        transform: scale(1) translateX(7%);
    }

    .mobile-container > div:last-child .card.is-active {
        transform: scale(1) translateX(-7%);
    }
}

.comparison-section .card-body {
    padding: 1.25rem;
}

.comparison-section .card-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.feature {
    margin-bottom: 0.4rem;
}

.feature h4 {
    color: rgba(250, 250, 250, 0.54);
    font-size: 1rem;
    margin-bottom: 0;
}

.feature p {
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* -------------------------------------------------------------
   Process Section
   ------------------------------------------------------------- */
.dptslx-subtitle {
    line-height: 54px;
}

/* -------------------------------------------------------------
   Clients Section
   ------------------------------------------------------------- */
.oc-img {
    display: flex;
    align-items: center;
    gap: 20px;
}

.oc-img img.oc-wm {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
}

/* -------------------------------------------------------------
   Responsive — Mobile
   ------------------------------------------------------------- */
@media (max-width: 768px) {
    .services-section__title {
        font-size: 26px;
    }
    .services-section__title+p {
        font-size: 16px;
        line-height: 1.5;
    }
    .services-section__subtitle {
        line-height: 2;
    }
    .oc-wm {
        margin-right: 0;
    }
    /* Hero */
    .fs-bg {
        background: url(/imgs/mob/fractional.webp) no-repeat right center / cover;
        padding: 0;
        height: 100vh !important;
    }

    .dtp_fractional_content {
        font-size: 32px;
    }

    /* Card typography */
    .mob-c13 {
        padding: 22px;
        line-height: 41px;
        font-size: 26px !important;
    }

    .mob-c12 {
        padding: 12px;
        font-size: 20px !important;
    }

    .btn.btn-dark-gray {
        margin-bottom: 18px;
    }

    /* Stat section */
    .data-cloud-title {
        font-size: 24px;
        text-align: center;
        margin-top: 50px;
    }

    .stat-box h2 {
        font-size: 32px;
        font-weight: 500;
    }

    .stat-box p {
        font-size: 14px;
        font-weight: 400;
    }

    .data-cloud-content2 {
        padding: 0 15px;
    }

    .data-cloud-content2 > p {
        text-align: center;
        font-size: 14px;
        font-weight: 300;
        line-height: 160%;
    }

    .is-it-time-section .rsdp-card2 {
        height: 335px;
        border-radius: 32px;
    }

    /* Comparison cards — horizontal scroll carousel */
    .mobile-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 20px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-container::-webkit-scrollbar {
        display: none;
    }

    .mobile-container > div {
        scroll-snap-align: center;
        flex: 0 0 80%;
        padding: 0;
    }

    .mobile-container > div:first-child {
        margin-left: 5%;
    }

    .mobile-container > div:last-child {
        margin-right: 5%;
    }

    .comparison-section .card-title {
        font-size: 16px;
        margin-bottom: 0;
    }

    .comparison-section .card-title,
    .feature h4,
    .feature p {
        text-align: left;
    }

    .feature h4 {
        font-size: 12px;
        font-weight: 400;
    }

    .feature p {
        font-size: 14px;
        font-weight: 600;
    }

    /* Clients */
    .oc-img {
        flex-direction: column;
        text-align: center;
    }

    .oc-img img.oc-wm {
        width: 100%;
        max-width: 100%;
    }

    .oc-img div {
        padding-top: 10px;
    }

    /* Section spacing */
    section.p-5 {
        margin-top: 22px;
        margin-bottom: 22px;
    }

    /* Client logo grid */
    .oc-logo .dess {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .oc-logo .dess img {
        width: 30%;
        max-width: 100px;
    }

    /* Heading helpers */
    .custom-h3-margin {
        margin-bottom: 3rem !important;
    }

    .custom-frac-heading {
        font-size: 30px !important;
        font-weight: 500;
    }

    /* Process section */
    .dptslx-title,
    .dptslx-container > .dptslx-subtitle {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.5;
    }

    /* "Is It Time" section — title & subtitle */
    .is-it-time-section h3 {
        font-size: 24px;
        line-height: 1.3;
    }

    .is-it-time-section h6 {
        font-size: 14px;
        line-height: 1;
    }

    /* "Is It Time" section — horizontal scroll carousel */
    .is-it-time-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .is-it-time-section .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .is-it-time-section .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .is-it-time-section .row::-webkit-scrollbar {
        display: none;
    }

    .is-it-time-section .col {
        flex: 0 0 78%;
        scroll-snap-align: start;
        padding-left: 8px;
        padding-right: 4px;
    }

    .is-it-time-section .col:first-child {
        padding-left: 15px;
    }

    .is-it-time-section .col:last-child {
        padding-right: 15px;
    }

    /* Compact card typography */
    .is-it-time-section .mob-c13 {
        font-size: 16px !important;
        font-weight: 500;
        line-height: 1.3;
        padding: 0;
    }

    .is-it-time-section .mob-c12 {
        font-size: 14px !important;
        font-weight: 400;
        padding: 0;
    }
}
