/* MERCHANT SERVICES: Powering the Process */

.cc-merchant-services {
    background-color: #fff;
}

.mts-stepped-img {
    border-radius: 20px;
    /* clip-path: polygon(0 0, 70% 0, 70% 12%, 100% 12%, 100% 100%, 0 100%); */
    object-fit: cover;
    height: 100%;
    min-height: 480px;
}


/* Tracking Ball Animation */

.mts-divider {
    width: 60px;
    height: 4px;
    background: #ff382e;
    position: relative;
    border-radius: 10px;
}

.mts-ball {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: #001524;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: mtsBallMove 2.5s infinite ease-in-out;
}

@keyframes mtsBallMove {
    0% {
        left: 0;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 100%;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
}

.mts-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.mts-bullet {
    width: 8px;
    height: 8px;
    background-color: #9ca3af;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.mts-list li span {
    font-size: 1rem;
    color: #374151;
}


/* Premium Apply Button */

.mts-apply-btn {
    background: #fff !important;
    color: #ff382e !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 15px 12px 35px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: var(--cc-transition) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.mts-apply-btn:hover {
    background: #ff382e !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 56, 46, 0.2) !important;
}

.mts-apply-btn:hover span {
    color: #fff !important;
}

.mts-apply-btn:hover .mts-btn-icon {
    background: #fff !important;
    color: #ff382e !important;
}

.mts-btn-icon {
    width: 36px;
    height: 36px;
    background: #ff382e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}


/* Redesigned MS Apply Button - Standardized to match ma-apply-btn */

.ms-apply-btn {
    background: #fff !important;
    color: #ff382e !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 15px 12px 35px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: var(--cc-transition) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
}

.ms-apply-btn span:not(.ms-btn-icon) {
    color: #ff382e !important;
    font-weight: 700 !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.ms-apply-btn .ms-btn-icon {
    width: 36px !important;
    height: 36px !important;
    background: #ff382e !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    margin-left: 1rem !important;
    transition: all 0.3s ease !important;
}

.ms-apply-btn:hover {
    background: #ff382e !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(255, 56, 46, 0.2) !important;
}

.ms-apply-btn:hover span {
    color: #fff !important;
}

.ms-apply-btn:hover .ms-btn-icon {
    background: #fff !important;
    color: #ff382e !important;
}


/* Compact variant for the standalone centered CTAs */

.ms-apply-btn.ms-apply-btn-sm {
    padding: 7px 7px 7px 22px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

.ms-apply-btn.ms-apply-btn-sm span:not(.ms-btn-icon) {
    font-size: 0.78rem !important;
}

.ms-apply-btn.ms-apply-btn-sm .ms-btn-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
    margin-left: 0.65rem !important;
}

@media (max-width: 991px) {
    .mts-stepped-img {
        min-height: auto;
        clip-path: none;
        border-radius: 20px;
    }
    .mts-content {
        text-align: center;
    }
    .mts-divider {
        margin: 0 auto 20px;
    }
    .mts-list li {
        justify-content: center;
    }
}


/* MERCHANT ACCOUNT: Where Funds Are Held */

.cc-merchant-account {
    background-color: #f8f9fa;
}

.ma-stepped-img {
    border-radius: 20px;
    /* clip-path: polygon(0 15%, 30% 15%, 30% 0, 100% 0, 100% 100%, 0 100%); */
    object-fit: cover;
    width: 100%;
    min-height: 480px;
}


/* Tracking Ball Animation */

.ma-divider {
    width: 60px;
    height: 4px;
    background: #ff382e;
    position: relative;
    border-radius: 10px;
}

.ma-ball {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: #001524;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: maBallMove 2.5s infinite ease-in-out;
}

@keyframes maBallMove {
    0% {
        left: 0;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 100%;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
}

.ma-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.ma-bullet {
    width: 8px;
    height: 8px;
    background-color: #9ca3af;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.ma-list li span {
    font-size: 1rem;
    color: #374151;
}


/* Premium Apply Button */

.ma-apply-btn {
    background: #fff !important;
    color: #ff382e !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 15px 12px 35px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: var(--cc-transition) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.ma-apply-btn:hover {
    background: #ff382e !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 56, 46, 0.2) !important;
}

.ma-apply-btn:hover span {
    color: #fff !important;
}

.ma-apply-btn:hover .ma-btn-icon {
    background: #fff !important;
    color: #ff382e !important;
}

.ma-btn-icon {
    width: 36px;
    height: 36px;
    background: #ff382e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .ma-stepped-img {
        min-height: auto;
        clip-path: none;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    .ma-content {
        text-align: center;
    }
    .ma-divider {
        margin: 0 auto 20px;
    }
    .ma-list li {
        justify-content: center;
    }
}

:root {
    --cc-primary: #dc3545;
    --cc-dark: #1a1a1a;
    --cc-light: #f8f9fa;
    --cc-glass: rgba(255, 255, 255, 0.1);
    --cc-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --cc-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* Hero Section */

.cc-hero {
    min-height: 550px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #000;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.cc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, 0.6) 20%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.cc-hero-content {
    position: relative;
    z-index: 2;
}

.cc-hero h1 {
    line-height: 1.2;
    max-width: 800px;
    letter-spacing: -1px;
    color: #fff !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cc-hero p.lead {
    font-size: 1.25rem;
    max-width: 650px;
    font-weight: 400;
    opacity: 1 !important;
    color: #fff !important;
}


/* Premium Button Design */

.btn-cc-hero {
    background: #fff;
    color: #ff382e !important;
    padding: 8px 8px 8px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cc-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #f8f8f8;
}

.btn-cc-hero .icon-circle {
    width: 40px;
    height: 40px;
    background: #ff4d4d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}


}
.seamless-badge {
    margin-left: 0;
    margin-bottom: -30px;
    padding: 30px;
}
.seamless-badge h2 {
    font-size: 2.5rem;
}
.seamless-content-card h2 {
    font-size: 3rem;
}
.seamless-content-card {
    min-height: auto;
    margin-top: 40px;
}

}
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--cc-transition);
}
.card-vibrant:hover .icon-circle {
    background-color: var(--cc-primary) !important;
    color: white !important;
    transform: rotateY(360deg);
}

/* Image Decoration */
.cc-image-decor {
    position: relative;
}
.cc-image-decor::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    opacity: 0.1;
    border-radius: 50px;
    z-index: -1;
}

/* BEHIND THE SWIPE - HIGH FIDELITY REDESIGN */
.swipe-subtitle {
    letter-spacing: 2px;
}
.swipe-divider {
    width: 80px;
    height: 4px;
    background: #ff382e;
    position: relative;
    border-radius: 10px;
    margin: 0 auto;
}
.swipe-dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    background: #001524;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: swipeDotMove 2s infinite ease-in-out;
}
@keyframes swipeDotMove {
    0% {
        left: 0;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        left: 100%;
        transform: translate(-50%, -50%);
        opacity: 0;
    }
}

/* "Here's how it works" heading + triple chevron */
.swipe-process-container h4 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.45rem !important;
    color: #12263a;
}
.swipe-chevrons {
    display: inline-flex;
    flex: none;
    margin-top: 3px;
    line-height: 0;
}

/* Interlocking chevron step path.
   --chev = depth of the arrow point / left notch
   --ovl  = how far each box overlaps the next so the white gap stays a constant band */
.swipe-path-row {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 !important;
    padding: 0 var(--ovl) 0 0;
    --chev: 35px;
    --ovl: 22px;
    --step-h: 240px;
}
.swipe-step-box {
    position: relative;
    display: flex;
    min-height: var(--step-h);
    margin-right: calc(var(--ovl) * -1);
    /* Acts as the 1px outline: the inner card sits 1px inside the same shape */
    background: #d4d4d4;
    clip-path: polygon(0 0, calc(100% - var(--chev)) 0, 100% 50%, calc(100% - var(--chev)) 100%, 0 100%, var(--chev) 50%);
    animation: stepFadeIn 0.8s ease-out both;
}
@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.swipe-step-box:nth-child(1) {
    animation-delay: 0.1s;
}
.swipe-step-box:nth-child(2) {
    animation-delay: 0.2s;
}
.swipe-step-box:nth-child(3) {
    animation-delay: 0.3s;
}
.swipe-step-box:nth-child(4) {
    animation-delay: 0.4s;
}
.swipe-step-box:nth-child(5) {
    animation-delay: 0.5s;
}
.swipe-step-inner {
    flex: 1 1 auto;
    height: auto !important;
    margin: 1px;
    border: 0;
    box-shadow: none;
    background: #fff;
    clip-path: polygon(0 0, calc(100% - var(--chev)) 0, 100% 50%, calc(100% - var(--chev)) 100%, 0 100%, var(--chev) 50%);
    padding: 19px 48px 0 53px !important;
    transition: var(--cc-transition);
}
.swipe-step-inner:hover {
    background: #fffafa;
}
.swipe-step-number {
    position: absolute;
    bottom: 24px;
    right: 39px;
    font-family: 'Oswald',
    sans-serif;
    /* !important needed: style.css sets a global `span { font-size: 1rem !important }` */
    font-size: 60px !important;
    font-weight: 700 !important;
    line-height: 0.8;
    letter-spacing: 0;
    color: #ffe5e4;
    z-index: 0;
    pointer-events: none;
}
.swipe-step-inner h6,
.swipe-step-inner p {
    position: relative;
    z-index: 1;
}
.swipe-step-inner h6 {
    font-size: 1.1rem;
    font-weight: 400 !important;
    color: #12263a;
}
.swipe-step-inner p {
    font-size: 1rem !important;
    line-height: 1.7;
    color: #6f6f6f !important;
}
.swipe-footer-text {
    border-top: 0;
}
.swipe-footer-text p {
    font-family: 'Oswald',
    sans-serif;
    font-weight: 400;
    color: #2f2f2f;
}
.swipe-footer-text .text-danger {
    color: #ff4033 !important;
    /* beats the global `span { font-size: 1rem !important }` in style.css */
    font-size: inherit !important;
}

/* Narrower desktops: shrink the chevron and type so the text still has room */
@media (max-width: 1399.98px) {
    .swipe-path-row {
        --chev: 26px;
        --ovl: 16px;
        --step-h: 265px;
    }
    .swipe-step-inner {
        padding: 20px 26px 0 40px !important;
    }
    .swipe-step-inner h6 {
        font-size: 1rem;
    }
    .swipe-step-inner p {
        font-size: 0.9rem !important;
        line-height: 1.6;
    }
    .swipe-step-number {
        right: 24px;
        bottom: 16px;
        font-size: 50px !important;
    }
}

/* Below the chevron layout's comfortable width: flat cards */
@media (max-width: 1199.98px) {
    .swipe-path-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px !important;
        padding-right: 0;
        --step-h: 0px;
    }
    .swipe-step-box {
        clip-path: none;
        margin-right: 0;
        border-radius: 16px;
        background: #e0e0e0;
    }
    .swipe-step-inner {
        clip-path: none;
        border-radius: 15px;
        padding: 22px 26px 70px !important;
    }
    .swipe-step-inner p {
        font-size: 1rem !important;
        line-height: 1.7;
    }
    .swipe-step-number {
        right: 22px;
        bottom: 8px;
        font-size: 52px !important;
    }
}
@media (max-width: 767.98px) {
    .swipe-path-row {
        grid-template-columns: 1fr;
    }
}

/* Role Cards */
.role-card {
    transition: var(--cc-transition);
    cursor: default;
}
.role-card:hover {
    background-color: white !important;
    box-shadow: var(--cc-shadow);
    border-color: var(--cc-primary) !important;
}

/* Security Section */
.sec-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: var(--cc-transition);
}
.sec-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--cc-primary) !important;
}

/* Industry Buttons */
.hover-red {
    transition: var(--cc-transition);
}
.hover-red:hover {
    background-color: var(--cc-primary) !important;
    border-color: var(--cc-primary) !important;
    color: white !important;
    transform: scale(1.05);
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    color: #ff382e;
    background-color: transparent;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
section {
    animation: fadeInUp 1s ease-out both;
}

/* OVERLAY BOX */
.overlay-title {
    position: absolute;
    top: -30px;
    left: -20px;
    background: #fff;
    padding: 25px 30px;
    border-radius: 20px;
    z-index: 2;
    max-width: 340px;
}
.overlay-title h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #111827;
    margin: 0;
}

/* RIGHT CARD */
.content-card {
    /* background: #f8f6f5; */
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid #eee;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

/* TEXT */
.small-title {
    color: #555;
    font-size: 18px;
    margin-bottom: 10px;
}
.main-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}
.description {
    color: #666;
    font-size: 1rem !important;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* BUTTON */
.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    color: #ff382e;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.apply-btn .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e63946;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.apply-btn:hover {
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .overlay-title {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 15px;
    }
    .overlay-title h2 {
        font-size: 32px;
    }
    .content-card {
        padding: 25px;
    }
}

/* Stagger section animations slightly */
section:nth-child(2) {
    animation-delay: 0.1s;
}
section:nth-child(3) {
    animation-delay: 0.2s;
}
section:nth-child(4) {
    animation-delay: 0.3s;
}
section:nth-child(5) {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .cc-image-decor {
        margin-top: 50px;
    }
}

/* 3-COLUMN HIGHLIGHTS */
.cc-highlights {
    background-color: #fdfdfd;
    border-bottom: 1px solid #f0f0f0;
}
.high-col {
    padding: 0 30px;
    position: relative;
}
.high-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #eee;
}
.high-small-title {
    color: #ff382e;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: block;
}
.high-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.high-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.high-desc strong {
    color: #1a183e;
}
.high-feature-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.high-feature-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.high-feature-card h5::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    display: inline-block;
}
.high-feature-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    margin: 0;
}
.high-feature-card p strong {
    color: #1a183e;
}
@media (max-width: 991px) {
    .high-col {
        padding: 40px 15px;
        border-bottom: 1px solid #eee;
    }
    .high-col::after {
        display: none;
    }
}
/* .partner-subtitle styling now comes from the global .ech-section-label block in style.css */

/* PARTNER ACCORDION - MINIMALIST RED LINE DESIGN */
.partner-accordion {
    padding-top: 10px;
}
.partner-accordion .accordion-item {
    border: none !important;
    border-bottom: 4px solid #eee !important;
    background: transparent !important;
    margin-bottom: 15px !important;
    position: relative;
    /* Anchor for the animated line */
}

/* The Animated Red Line */
.partner-accordion .accordion-item::before {
    content: "";
    position: absolute;
    bottom: -4px;
    /* Align with the grey border */
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(255, 56, 46) 0%, rgb(255, 97, 97) 100%);
    transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 2;
    border-radius: 10px;
}

/* Fill from left to right when open */
.partner-accordion .accordion-item:has(.accordion-button:not(.collapsed))::before {
    width: 100%;
}
.partner-accordion .accordion-button {
    background: transparent !important;
    color: #1a1a1a !important;
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    padding: 20px 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: color 0.3s ease;
}

/* Remove Arrow Icon */
.partner-accordion .accordion-button::after {
    display: none !important;
}
.partner-accordion .accordion-button:not(.collapsed) {
    color: #1a1a1a !important;
}
.partner-accordion .accordion-button:focus {
    box-shadow: none !important;
}
.partner-accordion .accordion-body {
    padding: 0 0 25px 0 !important;
}
.partner-accordion .accordion-body ul li span.text-muted {
    font-size: 1.05rem !important;
    color: #444 !important;
    line-height: 1.6 !important;
}

/* Fallback for browsers not supporting :has() */
@supports not selector(:has(*)) {
    .partner-accordion .accordion-button:not(.collapsed) {
        border-bottom: 4px solid #dc3545;
        margin-bottom: -4px;
    }
}

/* HOW THEY WORK TOGETHER */
.cc-together {
    overflow: hidden;
}
.max-width-700 {
    max-width: 700px;
}
.ps-role-card {
    border-radius: 20px;
    transition: var(--cc-transition);
}

/* Speech Bubble Tails */
.ps-role-card::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    transition: var(--cc-transition);
}

/* Bottom-Left Tail (Operational Role) */
.ps-tail-bl::after {
    bottom: -49px;
    left: 40px;
    border-width: 50px 30px 0 0;
    border-color: #fff transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .1));
}
.cc-marquee-content span {
    font-size: 20px !important;
}
.cc-marquee-content i {
    color: linear-gradient(90deg, #FF382E 0%, #ff0000 100%);
    background: linear-gradient(90deg, #FF382E 0%, #FF0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.integration-main-card p,
.integration-main-card h6 {
    font-size: 1.5rem !important;
}
.integration-main-card h6 {
    font-size: 1.5rem !important;
}
.integration-main-card .pe-3 {
    max-width: 60%;
}

/* Bottom-Right Tail (Financial Role) */
.ps-tail-br::after {
    bottom: -49px;
    right: 40px;
    border-width: 50px 30px 0 0;
    border-color: #fff transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .1));
}

/* Top-Left Tail (Technology Role) */
.ps-tail-tl::after {
    top: -15px;
    left: 40px;
    border-width: 0 15px 15px 0;
    border-color: transparent #fff transparent transparent;
}

/* Top-Right Tail (Settlement Role) */
.ps-tail-tr::after {
    top: -15px;
    right: 40px;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent transparent #fff;
}
.ps-role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}
.ps-role-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}
.ps-role-desc b,
.ps-role-desc strong {
    color: #001524;
}

/* Coin indicators — sit at the bottom corner, near the speech-bubble tail */
.ps-indicator {
    position: absolute;
    bottom: -26px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 35% 30%, #ffe27a 0%, #ffc107 45%, #ff9800 100%);
    color: #b26a00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    border: 3px solid #ffb300;
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35);
    z-index: 6;
    overflow: hidden;
}
.ps-indicator-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ps-indicator:has(.ps-indicator-img) {
    background: transparent;
    border: none;
    box-shadow: none;
}
.ps-indicator-left {
    left: -90px;
}
.ps-indicator-right {
    right: -90px;
}

/* Staggered flow: right-column cards drop down so the bubbles interleave */
@media (min-width: 992px) {
    .partnership-flow-container .row>.col-lg-5:last-child {
        margin-top: 70px;
    }
}

/* Mid Divider */
.ps-mid-divider span {
    font-size: 0.75rem;
    color: #6b7280;
    border-color: #e5e7eb !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Summary */
.ps-footer-summary p {
    max-width: 900px;
    margin: 0 auto;
}

/* SECURITY & COMPLIANCE */
.tracking-wider {
    letter-spacing: 0.1em;
}
.security-card {
    transition: var(--cc-transition);
}
.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
}
.sec-icon-box {
    height: 60px;
    display: flex;
    align-items: center;
}
.sec-item-icon {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.bullet-dot {
    width: 6px;
    height: 6px;
    background-color: #001524;
    border-radius: 50%;
    flex-shrink: 0;
}
.ps-bullet-list li span {
    line-height: 1.6;
}

/* GROW WITH CONFIDENCE */
.grow-feature-block h6 {
    font-size: 1.05rem;
    letter-spacing: -0.2px;
}
.grow-stepped-img-container {
    perspective: 1000px;
}
@media (max-width: 991px) {
    .grow-stepped-img-container {
        padding-left: 0 !important;
        margin-top: 50px;
    }
}

/* INTEGRATION & SETUP */
.integration-main-card {
    transition: var(--cc-transition);
}
.integration-main-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}
.sub-block {
    transition: var(--cc-transition);
}
.plat-icon {
    object-fit: contain;
}
.onboarding-support-row {
    background: #fff;
    margin-top: 30px;
}
@media (max-width: 991px) {
    .onboarding-support-row .border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 20px;
    }
}

/* INDUSTRIES MARQUEE */
.cc-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}
.cc-marquee-content {
    display: inline-flex;
    animation: cc-marquee-scroll 40s linear infinite;
}
.cc-marquee-container:hover .cc-marquee-content {
    animation-play-state: paused;
}
@keyframes cc-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.cc-industry-pill {
    min-width: fit-content;
    border: 1px solid #eef2f6 !important;
    transition: all 0.3s ease;
}
.cc-industry-pill:hover {
    border-color: #ffcccc !important;
    transform: translateY(-3px);
}
.industry-icon-circle {
    width: 50px;
    height: 50px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.industry-icon-circle img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* FAQ ACCORDION */
.cc-faqs .accordion-button {
    padding: 20px 0;
    box-shadow: none !important;
}
.cc-faqs .accordion-button:not(.collapsed) {
    color: #ff382e;
    background-color: transparent;
}
.cc-faqs .accordion-button::after {
    content: "+";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    /* background: #f8f9fa; */
    border-radius: 50%;
    font-size: 20px;
    font-weight: normal;
    background-image: none;
    transition: all 0.3s ease;
}
.cc-faqs .accordion-button:not(.collapsed)::after {
    content: "-";
    transform: none;
    background-image: none;
    background: #f8f9fa;
}
.cc-faqs .accordion-item {
    border-color: #f0f0f0 !important;
}

/* ============================================================
   Apply Now buttons — match the header "Apply Now" design.
   Every section on this page has a white/light background, so
   the buttons use the solid brand red-orange gradient fill with
   white text (icon chip = white disc, red glyph). On hover they
   invert to a white pill with red text + red-filled chip.
   (`body ` prefix + last-loaded file wins the global cascade.)
   ============================================================ */
body .apply-btn,
body .mts-apply-btn,
body .ma-apply-btn,
body .ms-apply-btn {
    background: linear-gradient(90deg, #FF382E 0%, #FF6161 100%) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
}

/* Labels */
body .mts-apply-btn span:not(.mts-btn-icon),
body .ma-apply-btn span:not(.ma-btn-icon),
body .ms-apply-btn span:not(.ms-btn-icon) {
    color: #fff !important;
}

/* Icon chips: white disc with red glyph */
body .apply-btn .arrow,
body .mts-apply-btn .mts-btn-icon,
body .ma-apply-btn .ma-btn-icon,
body .ms-apply-btn .ms-btn-icon {
    background: #fff !important;
    color: #FF382E !important;
}

/* Hover: invert to white pill, red text, red-filled chip */
body .apply-btn:hover,
body .mts-apply-btn:hover,
body .ma-apply-btn:hover,
body .ms-apply-btn:hover {
    background: #fff !important;
    color: #FF382E !important;
    border: 1px solid transparent !important;
    outline: none !important;
}
body .mts-apply-btn:hover span:not(.mts-btn-icon),
body .ma-apply-btn:hover span:not(.ma-btn-icon),
body .ms-apply-btn:hover span:not(.ms-btn-icon) {
    color: #FF382E !important;
}
body .apply-btn:hover .arrow,
body .mts-apply-btn:hover .mts-btn-icon,
body .ma-apply-btn:hover .ma-btn-icon,
body .ms-apply-btn:hover .ms-btn-icon {
    background: #FF382E !important;
    color: #fff !important;
}

/* These chips nest an <i.bi-chevron-double-right> that style.css gives its own
   white 28px disc, so on hover the red chip only showed as a ring around a white
   inner disc. Fill the chip with the button's default gradient, clear the inner
   disc and make the glyph white. */
body .mts-apply-btn:hover .mts-btn-icon,
body .ma-apply-btn:hover .ma-btn-icon {
    background: linear-gradient(90deg, #FF382E 0%, #FF6161 100%) !important;
    color: #ffffff !important;
}
body .mts-apply-btn:hover .mts-btn-icon .bi-chevron-double-right,
body .ma-apply-btn:hover .ma-btn-icon .bi-chevron-double-right {
    background: transparent !important;
    color: #ffffff !important;
}
body .mts-apply-btn .mts-btn-icon,
body .mts-apply-btn .mts-btn-icon .bi-chevron-double-right,
body .ma-apply-btn .ma-btn-icon,
body .ma-apply-btn .ma-btn-icon .bi-chevron-double-right {
    transition: background 0.3s ease,
    color 0.3s ease;
}