/* ============================================================
   Corporate Buyings — Modern Home Page Styles
   ============================================================ */

/* ---------- Global Mobile Fixes ---------- */
/* Mobile header needs a solid background so the hero image doesn't bleed through */
.dtr-responsive-header {
    background-color: #fff;
}

/* ---------- Hero Image Section ---------- */
.cb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1f36;
}

.cb-hero::before {
    content: "";
    position: absolute;
    inset: -6%;
    background: url('/assets/images/informative.webp') center center / cover no-repeat;
    z-index: 0;
    animation: cb-kenburns 14s ease-out forwards;
    will-change: transform;
}

@keyframes cb-kenburns {
    0%   { transform: scale(1.14) translate(1%, 1%); }
    100% { transform: scale(1.0)  translate(0, 0); }
}

.cb-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 50, 164, 0.72) 0%, rgba(25, 28, 47, 0.65) 100%);
    z-index: 1;
}

.cb-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

.cb-hero__title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
    animation: cb-hero-fadein 0.9s ease-out 0.4s both;
}

.cb-hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: cb-hero-fadein 0.9s ease-out 0.7s both;
}

.cb-hero__cta .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cb-hero__cta {
    animation: cb-hero-fadein 0.9s ease-out 1s both;
}

@keyframes cb-hero-fadein {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cb-hero__cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cb-hero__cta .btn-light {
    color: #1732a4;
}

.cb-hero__badge {
    display: inline-block;
    background: rgba(255, 88, 88, 0.18);
    color: #ff5858;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* ---------- Client Logo Marquee ---------- */
.cb-marquee-section {
    background: #f3f5fa;
    padding: 3rem 0;
    overflow: hidden;
}

.cb-marquee-section__label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8e95a9;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cb-marquee-track {
    display: flex;
    width: max-content;
    animation: cb-marquee 30s linear infinite;
}

.cb-marquee-track:hover {
    animation-play-state: paused;
}

.cb-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
}

.cb-marquee-item img {
    height: 80px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s ease;
}

.cb-marquee-item img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes cb-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Section Helpers ---------- */
.cb-section {
    padding: 5rem 0;
}

.cb-section--grey {
    background: #f3f5fa;
}

.cb-section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cb-section-heading h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #191c2f;
    margin-bottom: 0.75rem;
}

.cb-section-heading p {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.cb-section-heading .cb-heading-bar {
    width: 50px;
    height: 4px;
    background: #ff5858;
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* ---------- Why Choose Us Cards ---------- */
.cb-feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cb-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(23, 50, 164, 0.12);
}

.cb-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(23, 50, 164, 0.08), rgba(23, 50, 164, 0.15));
    color: #1732a4;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: background 0.3s;
}

.cb-feature-card:hover .cb-feature-card__icon {
    background: linear-gradient(135deg, #3a5ae0, #6b8ef2);
    color: #fff;
}

.cb-feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #191c2f;
    margin-bottom: 0.6rem;
}

.cb-feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---------- About Section ---------- */
.cb-about-section {
    position: relative;
    background: linear-gradient(135deg, #e8eefb 0%, #f0f4ff 100%);
    color: #191c2f;
    overflow: hidden;
}

.cb-about-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 88, 88, 0.08);
    pointer-events: none;
}

.cb-about-text p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
}

.cb-stat-box {
    text-align: center;
    padding: 1.5rem 1rem;
}

.cb-stat-box__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff5858;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.cb-stat-box__label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.cb-about-img-wrapper {
    position: relative;
}

.cb-about-img-wrapper img {
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(23, 50, 164, 0.12);
    max-width: 100%;
    height: auto;
}

/* ---------- Services / Advantage Cards ---------- */
.cb-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.cb-service-card:hover {
    border-left-color: #ff5858;
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.cb-service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(23, 50, 164, 0.08);
    color: #1732a4;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.cb-service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #191c2f;
    margin-bottom: 0.5rem;
}

.cb-service-card p {
    font-size: 0.93rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---------- How It Works Timeline ---------- */
.cb-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cb-timeline::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 48px;
    right: 48px;
    height: 3px;
    background: linear-gradient(90deg, #6b8ef2, #ff8f8f);
    border-radius: 2px;
    z-index: 0;
}

.cb-timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cb-timeline-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #1732a4;
    color: #1732a4;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(23, 50, 164, 0.15);
    transition: background 0.3s, color 0.3s;
}

.cb-timeline-step:hover .cb-timeline-step__number {
    background: #1732a4;
    color: #fff;
}

.cb-timeline-step h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #191c2f;
    margin-bottom: 0.35rem;
}

.cb-timeline-step p {
    font-size: 0.88rem;
    color: #6b7280;
    max-width: 180px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ---------- CTA Gradient Banner ---------- */
.cb-cta-banner {
    background: linear-gradient(135deg, #3a5ae0 0%, #6b8ef2 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cb-cta-banner::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cb-cta-banner::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cb-cta-banner h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cb-cta-banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.cb-cta-banner .btn {
    position: relative;
    z-index: 1;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cb-cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- Contact Section ---------- */
.cb-contact-section {
    background: #f8f9fc;
    color: #191c2f;
}

.cb-contact-section h2 {
    color: #191c2f;
}

.cb-contact-section p {
    color: #6b7280;
}

.cb-contact-sidebar {
    padding-left: 2rem;
}

.cb-contact-sidebar h4 {
    color: #191c2f;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cb-contact-sidebar img {
    border-radius: 12px;
    max-width: 100%;
}

.cb-contact-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cb-contact-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(23, 50, 164, 0.08);
    color: #1732a4;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: background 0.3s;
}

.cb-contact-box__icon:hover {
    background: rgba(23, 50, 164, 0.15);
}

.cb-contact-box__text {
    font-size: 0.9rem;
}

.cb-contact-box__text span {
    display: block;
    color: #8e95a9;
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
}

.cb-contact-box__text a {
    color: #191c2f;
    text-decoration: none;
    font-weight: 500;
}

.cb-contact-box__text a:hover {
    color: #ff5858;
}

/* ---------- Our Services Section ---------- */
.cb-services-section {
    background: #fff;
}

.cb-services-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    background: #f3f5fa;
    border-radius: 60px;
    padding: 6px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cb-services-nav .nav-item {
    flex: 1;
}

.cb-services-nav .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #191c2f;
    background: transparent;
    border: none;
    transition: all 0.35s ease;
    cursor: pointer;
    white-space: nowrap;
}

.cb-services-nav .nav-link.active {
    background: linear-gradient(135deg, #3a5ae0, #6b8ef2);
    color: #fff;
    box-shadow: 0 4px 20px rgba(58, 90, 224, 0.25);
}

.cb-services-nav .nav-link:not(.active):hover {
    color: #1732a4;
    background: rgba(23, 50, 164, 0.06);
}

/* Tab pane animation */
.cb-services-section .tab-pane {
    animation: cbTabFadeUp 0.45s ease-out;
}

@keyframes cbTabFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Service Cards */
.cb-srv-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    border: 1px solid #e9ecf2;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.cb-srv-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3a5ae0, #ff8f8f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cb-srv-card:hover::before {
    transform: scaleX(1);
}

.cb-srv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(23, 50, 164, 0.10);
    border-color: transparent;
}

.cb-srv-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    position: relative;
    transition: transform 0.3s ease;
}

.cb-srv-card:hover .cb-srv-card__icon {
    transform: scale(1.08);
}

.cb-srv-card__icon::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.cb-srv-card:hover .cb-srv-card__icon::after {
    border-color: rgba(23, 50, 164, 0.15);
}

.cb-srv-card__icon--blue {
    background: linear-gradient(135deg, rgba(23, 50, 164, 0.08), rgba(23, 50, 164, 0.18));
    color: #1732a4;
}

.cb-srv-card__icon--red {
    background: linear-gradient(135deg, rgba(255, 88, 88, 0.08), rgba(255, 88, 88, 0.18));
    color: #ff5858;
}

.cb-srv-card:hover .cb-srv-card__icon--red::after {
    border-color: rgba(255, 88, 88, 0.2);
}

.cb-srv-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #191c2f;
    margin-bottom: 0.4rem;
}

.cb-srv-card__tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: #1732a4;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.cb-srv-card > p:not(.cb-srv-card__tagline) {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.65;
    flex-grow: 1;
}

/* Feature Toggle Button */
.cb-srv-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0.5rem 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1732a4;
    cursor: pointer;
    transition: color 0.25s, gap 0.25s;
    margin-top: 0.25rem;
}

.cb-srv-card__toggle:hover {
    color: #ff5858;
    gap: 0.75rem;
}

.cb-srv-card__toggle i {
    font-size: 0.8rem;
    transition: transform 0.35s ease;
}

.cb-srv-card__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Features List */
.cb-srv-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.cb-srv-features li {
    display: flex;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-top: 1px solid #f0f1f5;
    opacity: 0;
    transform: translateX(-10px);
    animation: cbFeatureSlideIn 0.35s ease-out forwards;
}

.cb-srv-features li:first-child {
    border-top: none;
}

.cb-srv-features li:nth-child(1) { animation-delay: 0.05s; }
.cb-srv-features li:nth-child(2) { animation-delay: 0.12s; }
.cb-srv-features li:nth-child(3) { animation-delay: 0.19s; }
.cb-srv-features li:nth-child(4) { animation-delay: 0.26s; }

@keyframes cbFeatureSlideIn {
    to { opacity: 1; transform: translateX(0); }
}

.cb-srv-feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(23, 50, 164, 0.08);
    color: #1732a4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: 2px;
}

.cb-srv-card__icon--red ~ .collapse .cb-srv-feature-icon,
.cb-srv-card__icon--red ~ div > .cb-srv-features .cb-srv-feature-icon {
    background: rgba(255, 88, 88, 0.08);
    color: #ff5858;
}

.cb-srv-feature-text strong {
    display: block;
    font-size: 0.88rem;
    color: #191c2f;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.cb-srv-feature-text span {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.55;
}

/* ---------- Services Scroll-Stack Layout ---------- */
.cb-srv-group {
    padding: 3rem 0;
}

.cb-srv-group + .cb-srv-group {
    border-top: 1px solid #e9ecf2;
}

.cb-srv-group__label {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.cb-srv-group__num {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(23, 50, 164, 0.06);
    line-height: 1;
    margin-bottom: -1.5rem;
    letter-spacing: -3px;
}

.cb-srv-group__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.25rem;
}

.cb-srv-group__badge--blue {
    background: rgba(23, 50, 164, 0.1);
    color: #1732a4;
}

.cb-srv-group__badge--red {
    background: rgba(255, 88, 88, 0.1);
    color: #ff5858;
}

.cb-srv-group__label h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #191c2f;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cb-srv-group__label > p {
    font-size: 0.93rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Stack of cards */
.cb-srv-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cb-srv-stack__card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #e9ecf2;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.cb-srv-stack__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3a5ae0, #ff8f8f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cb-srv-stack__card:hover::before {
    transform: scaleX(1);
}

.cb-srv-stack__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(23, 50, 164, 0.10);
    border-color: transparent;
}

.cb-srv-stack__card-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.cb-srv-stack__card:hover .cb-srv-stack__card-icon {
    transform: scale(1.08);
}

.cb-srv-stack__card-icon--blue {
    background: linear-gradient(135deg, rgba(23, 50, 164, 0.08), rgba(23, 50, 164, 0.18));
    color: #1732a4;
}

.cb-srv-stack__card-icon--red {
    background: linear-gradient(135deg, rgba(255, 88, 88, 0.08), rgba(255, 88, 88, 0.18));
    color: #ff5858;
}

.cb-srv-stack__card-body {
    flex: 1;
    min-width: 0;
}

.cb-srv-stack__card-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #191c2f;
    margin-bottom: 0.3rem;
}

.cb-srv-stack__card-tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: #1732a4;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.cb-srv-stack__card-body > p:not(.cb-srv-stack__card-tagline) {
    font-size: 0.92rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

/* Red feature icons for vendor management cards */
.cb-srv-features--red .cb-srv-feature-icon {
    background: rgba(255, 88, 88, 0.08);
    color: #ff5858;
}

/* Responsive — services scroll-stack */
@media (max-width: 991.98px) {
    /* Fix .row.g-5 horizontal overflow */
    .cb-services-section .container,
    .cb-footer__main .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Mobile sticky: apply to the column (flex item of .row.g-5), not the inner label.
       On mobile the columns stack, so .col-lg-4 is only as tall as the label — sticky
       on the inner label has nowhere to travel. Moving sticky to the col itself gives it
       the full .row height (label col + cards col) as travel distance. */
    .cb-srv-group .col-lg-4 {
        position: sticky;
        top: 98px;
        z-index: 10;
        background: #fff;
        padding-bottom: 1rem;
        border-bottom: 2px solid #f0f1f5;
    }

    .cb-srv-group__label {
        position: static;
        margin-bottom: 0;
    }

    /* Compact the sticky header: hide the decorative number and description */
    .cb-srv-group__num {
        display: none;
    }

    .cb-srv-group__label > p {
        display: none;
    }

    /* Tighten vertical gutter between label col and cards col */
    .cb-srv-group .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .cb-srv-group {
        padding: 2rem 0;
    }

    .cb-srv-stack__card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .cb-srv-stack__card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .cb-srv-group__label h3 {
        font-size: 1.25rem;
    }
}

/* ---------- Scroll Animations ---------- */
.cb-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.cb-animate.cb-visible {
    opacity: 1;
    transform: translateY(0);
}

.cb-animate-delay-1 { transition-delay: 0.1s; }
.cb-animate-delay-2 { transition-delay: 0.2s; }
.cb-animate-delay-3 { transition-delay: 0.3s; }
.cb-animate-delay-4 { transition-delay: 0.4s; }
.cb-animate-delay-5 { transition-delay: 0.5s; }

/* ---------- Legal Page Hero ---------- */
.cb-page-hero {
    position: relative;
    padding: 140px 0 60px;
    overflow: hidden;
    background: #1a1f36;
}

.cb-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/images/informative.webp') center center / cover no-repeat;
    z-index: 0;
    opacity: 0.3;
}

.cb-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 50, 164, 0.82) 0%, rgba(25, 28, 47, 0.78) 100%);
    z-index: 1;
}

.cb-page-hero__content {
    position: relative;
    z-index: 2;
}

.cb-page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
}

.cb-page-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.cb-page-hero__breadcrumb a:hover {
    color: #fff;
}

.cb-page-hero__breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.cb-page-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* ---------- Legal Page Content ---------- */
.cb-policy-content {
    padding: 4rem 0 5rem;
    background: #fff;
}

.cb-policy-content p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 1rem;
}

.cb-policy-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #191c2f;
    margin-top: 2.25rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f0f1f5;
}

.cb-policy-content h5 {
    font-size: 0.97rem;
    font-weight: 600;
    color: #1732a4;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

.cb-policy-content ul {
    color: #4b5563;
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.cb-policy-content ul li {
    margin-bottom: 0.3rem;
}

.cb-policy-content a {
    color: #1732a4;
}

.cb-policy-content a:hover {
    color: #ff5858;
}

.cb-policy-content strong {
    color: #191c2f;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .cb-hero__title {
        font-size: 2.5rem;
    }

    .cb-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .cb-timeline::before {
        top: 0;
        bottom: 0;
        left: 36px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .cb-timeline-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .cb-timeline-step p {
        max-width: none;
        margin: 0;
    }

    .cb-contact-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }

    .cb-about-text h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .cb-hero__title {
        font-size: 2rem;
    }

    .cb-hero__content {
        padding-top: 100px;
        padding-bottom: 60px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .cb-section {
        padding: 3.5rem 0;
    }

    .cb-section-heading h2 {
        font-size: 1.75rem;
    }

    .cb-about-text {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .cb-about-text h2 {
        font-size: 1.4rem;
    }

    .cb-about-text p {
        font-size: 0.9rem;
    }

    .cb-stat-box__number {
        font-size: 1.75rem;
    }

    .cb-stat-box__label {
        font-size: 0.75rem;
    }

    .cb-about-img-wrapper {
        margin-top: 2rem;
    }

    .cb-timeline::before {
        left: 26px;
    }

    .cb-timeline-step__number {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .cb-timeline-step h5 {
        font-size: 0.93rem;
    }

    .cb-timeline-step p {
        font-size: 0.83rem;
    }

    .cb-services-nav {
        flex-direction: column;
        border-radius: 16px;
        max-width: 100%;
        gap: 4px;
    }

    .cb-services-nav .nav-link {
        border-radius: 12px;
        font-size: 0.88rem;
        padding: 0.7rem 1rem;
    }
}

/* ---------- Footer ---------- */
.cb-footer__main {
    background: #1a1f36;
    padding: 4.5rem 0 3.5rem;
}

.cb-footer__tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.cb-footer__social {
    display: flex;
    gap: 0.6rem;
}

.cb-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.cb-footer__social a:hover {
    background: #3a5ae0;
    color: #fff;
    transform: translateY(-2px);
}

.cb-footer__heading {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 1.25rem;
}

.cb-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cb-footer__links li {
    margin-bottom: 0.65rem;
}

.cb-footer__links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s;
}

.cb-footer__links a:hover {
    color: #fff;
}

.cb-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cb-footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cb-footer__contact i {
    color: #6b8ef2;
    font-size: 1rem;
    flex-shrink: 0;
}

.cb-footer__contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s;
}

.cb-footer__contact a:hover {
    color: #fff;
}

.cb-footer__copyright {
    background: #11152a;
    padding: 1.1rem 0;
}

.cb-footer__copyright p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    margin: 0;
    text-align: center;
}
