/*-------------------------------------
================ sec-1 starts =============
-------------------------------------- */
.hero-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.hero-content {
    background: #fff;
    border-radius: 24px;
    max-width: 650px;
}

.hero-content h1 {
    margin: 0;
}
@media (min-width: 968px) {
    .hero-banner {
        padding: 6rem 3rem 3rem 3rem;
    }
}
/*-------------------------------------
================ sec-1 ends =============
-------------------------------------- */

/*-------------------------------------
================ sec-2 starts =============
-------------------------------------- */
.timeline-item {
    display: flex;
    gap: 18px;
}

.timeline-icon {
    position: relative;
    width: 24px;
    min-width: 24px;
    background: transparent;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--colorBlue);
    transform: translateX(-50%);
}

.timeline-icon::after {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 14px;
    left: 50%;
    width: 2px;
    background: var(--colorBlue);
    transform: translateX(-50%);
}
.case-study-content p {
    font-weight: 400;
    line-height: 1.8;
}
.table-list .p,
.sidebar-card p {
    font-size: 14px;
}

.table-list .p {
    color: var(--colorBlue);
}
@media (min-width: 968px) {
    .table-list .p {
        color: var(--bs-secondary-color);
    }
}
/*-------------------------------------
================ sec-2 ends =============
-------------------------------------- */

/*---------------------------------------------------------
================ sec-3 strats (right sidebar) =============
----------------------------------------------------------- */
.sidebar-card {
    background: #f5f5f5;
    border-radius: 12px;
}

.company-card img,
.image-section img {
    width: 100%;
    border-radius: 12px;
}
.company-card:hover {
    cursor: pointer;
}

@media (min-width: 992px) {
    .case-study-sidebar {
        position: sticky;
        top: 120px;
    }
}

.case-tab {
    border: 1px solid #eaeaea;
    color: black;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    height: fit-content;
}
.case-tab:hover,
.case-tab.active {
    background: var(--colorBlue);
    color: #fff;
    border-color: var(--colorBlue);
}

@media (min-width: 968px) {
    .case-tab {
        padding: 10px 18px;
        font-size: 14px;
    }
}

html {
    scroll-behavior: smooth;
}

.toc-link {
    color: inherit;
    text-decoration: none;
}

.toc-link:hover {
    color: var(--colorBlue);
    cursor: pointer !important;
}

.timeline-content h2 {
    scroll-margin-top: 120px;
}

.table-list li::marker {
    color: var(--colorBlue);
}
.nextCardImg {
    height: 210px;
}
/* CTA css starts */
.cta-wrapper {
    padding: 28px;
    border-radius: 16px;

    background: linear-gradient(135deg, #ffffff, #eef6ff, #dcecff);

    border: 1px solid #cfe2ff;

    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.1);
}

.cta-wrapper .tb-btn {
    width: 100%;
    min-height: 40px;
    border-radius: 10px !important;
    background: #007aff !important;
    height: auto !important;
    border-color: #007aff !important;
    color: #fff !important;

    white-space: normal !important;
    word-break: break-word;
    text-align: center;
    line-height: 1.4;

    padding: 12px 16px;
}
.cta-wrapper a {
    display: block;
    width: 100%;
}

.cta-wrapper .tb-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}
/* CTA css ends */

.company-card {
    display: block;
}

.company-card-image {
    padding: 8px;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    transition: 0.3s ease;
}

.company-card-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.45s ease;
}

.company-card:hover .company-card-image {
    border-color: var(--colorBlue);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.company-card:hover .company-card-image img {
    transform: scale(0.97);
}

.company-card h3 {
    transition: 0.3s ease;
    color: #001626;
}
.company-card:hover .case-card-content h3 {
    color: var(--colorBlue);
}
.case-card-content .p {
    font-size: 14px;
    line-height: 1.5;
}
/* modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: calc(100% - 32px);
    max-width: 400px;

    border-radius: 16px;
    padding: 20px;
    border: 0;

    margin: 0;
    top: auto;
}
.tb-btn {
    height: 35px !important;
}
#close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close {
    font-size: 28px;
}

#close-btn:hover,
#close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.sharelink {
    font-size: 10px;
}

@media (max-width: 767.98px) {
    .share-btn {
        width: 42px;
        height: 42px !important;
        padding: 0 !important;
    }

    .tb-btn.tb-btn-primary,
    .tb-btn.tb-btn-primary:hover,
    .tb-btn.btn-border-primary:hover {
        color: var(--colorBlue);
        background: transparent !important;
    }
    .tb-btn.btn-border-primary:hover {
        box-shadow: 0px 0px 30px 1px rgba(var(--colorBlue-rgb), var(--mutedDecimal));
        transition: 0.2s ease-in-out;
    }
}

/* for dynamic content */

.timeline-content h1 {
    font-size: 32px;
}

.timeline-content h3 {
    font-size: 18px;
}

.timeline-content h4 {
    font-size: 16px;
}

.timeline-content h5,
.timeline-content ul,
.timeline-content ol,
.timeline-content li::marker,
.timeline-content ol li::marker,
.timeline-content ol li,
.timeline-content p,
.timeline-content ul,
.timeline-content ol,
.timeline-content blockquote {
    font-size: 14px;
    line-height: 1.8;
    color: var(--bs-secondary-color);
}
.timeline-content h3,
.timeline-content h4,
.timeline-content h5 {
    font-weight: 500;
}

.timeline-content p {
    font-weight: 400;
}

.timeline-content li > ul,
.timeline-content li > ol {
    margin-bottom: 0;
    color: var(--bs-secondary-color);
}

.timeline-content strong {
    font-weight: 700;
}
.timeline-content a {
    color: #1a73e8;
}
.timeline-content mark {
    color: #ffeb3b;
}

.timeline-content p,
.timeline-content ul,
.timeline-content ol,
.timeline-content blockquote,
.timeline-content ol li {
    margin-bottom: 10px;
}
.timeline-content li p {
    margin-bottom: 0 !important;
}

.timeline-content h3,
.timeline-content h4,
.timeline-content h5,
.timeline-content h6 {
    margin: 5px 0 20px;
}

@media (min-width: 1281px) {
    .timeline-content h1 {
        font-size: 40px;
    }

    .timeline-content h3 {
        font-size: 24px;
    }

    .timeline-content h4 {
        font-size: 20px;
    }

    .timeline-content h5 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 16px;
    }
    .timeline-content ol li,
    .timeline-content li::marker {
        font-size: 16px;
    }
    .timeline-content ul,
    ol {
        font-size: 16px;
    }
    .timeline-content h5,
    .timeline-content ul,
    .timeline-content ol,
    .timeline-content li::marker,
    .timeline-content ol li::marker,
    .timeline-content ol li,
    .timeline-content p,
    .timeline-content ul,
    .timeline-content ol,
    .timeline-content blockquote {
        font-size: 16px;
    }
}

@media (min-width: 1537px) {
    .timeline-content ol li,
    .timeline-content li::marker {
        font-size: 16px;
    }
    .timeline-content h1 {
        font-size: 48px;
    }

    .timeline-content h3 {
        font-size: 32px;
    }

    .timeline-content h4 {
        font-size: 24px;
    }

    .timeline-content h5 {
        font-size: 20px;
    }
}
