/* new banner */
.banner-part {
    background-color: #000;
    overflow: hidden;
    padding: 20px 0px;
}

.banner-right {
    position: relative;
}

.banner-left {
    padding: 0;
    position: relative;
}

.banner-right img {
    position: relative;
    width: 100%;
}

section.blockchain-network h2 {
    max-width: 400px;
}

.banner-part>.contain-width {
    height: 100%;
}

.banner-part>.contain-width>.row {
    height: 100%;
    align-items: center;
}

.web3-services .section-head p {
    max-width: 690px;
    margin: 0 auto;
}

.tech-section .head-text {
    max-width: 700px;
}


.web3-services-redesign .section-head {
    margin-bottom: 22px !important;
}


.web3-services-redesign .wallet-service-card {
    padding: 25px;
    background-color: #101010 !important;
    /* border: 1px solid #292929 !important; */
    border-radius: 10px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: border-color 0.2s ease;
}

.wallet-services-grid>[class*="col-"] {
    display: flex;
}

.web3-services-redesign .wallet-service-card p {
    margin-bottom: 0;
}



.web3-services-redesign .wallet-services-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 34px;
    border: 1px solid #E2462D !important;
    border-radius: 10px;
    background-color: transparent !important;
    color: #E2462D !important;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.web3-services-redesign .wallet-services-toggle:hover,
.web3-services-redesign .wallet-services-toggle:focus,
.web3-services-redesign .wallet-services-toggle:active {
    background-color: #E2462D !important;
    font-size: 16px !important;
    color: #fff !important;
    border-color: #E2462D !important;
    box-shadow: none !important;
    outline: none !important;
}

@media (max-width: 991.98px) {
    .web3-services-redesign .section-head {
        margin-bottom: 20px !important;
    }

    .web3-services-redesign .wallet-service-card {
        padding: 16px 14px;
    }


}

@media (max-width: 767.98px) {
    .web3-services-redesign {
        padding-bottom: 8px !important;
    }

    .web3-services-redesign .section-head h2,
    .web3-services-redesign .wallet-service-card h3,
    .web3-services-redesign .wallet-service-card p {
        text-align: left !important;
    }

    .wallet-services-grid {
        row-gap: 14px !important;
    }

    .web3-services-redesign .wallet-service-card {
        padding: 16px 14px;
    }


    .web3-services-redesign .wallet-services-toggle {
        min-width: 84px;
        padding: 8px 16px;
        font-size: 10px;
    }
}

@media (min-width: 768px) {
    .wallet-services-grid>[class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .wallet-services-grid {
        margin-left: -8px;
        margin-right: -8px;
    }
}

/* Core Web3 Wallet Functionalities */
.core-web3-functionalities {
    background-color: #050505;
}

.core-web3-functionalities h2 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 500;
    margin-bottom: 15px;
    white-space: nowrap;
}

.custom-check-list {
    padding-left: 0;
}

.custom-check-list li {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #666666;
    margin-bottom: 15px;
    font-weight: 400;
    margin-left: 20px;
}

.custom-check-list li svg {
    margin-right: 15px;
    min-width: 16px;
}

@media (max-width: 991.98px) {
    .core-web3-functionalities h2 {
        white-space: normal;
        font-size: 28px;
    }

    .core-web3-img {
        margin-top: 40px;
    }
}

/* Supported Blockchain Networks */

.network-card {
    display: flex;
    align-items: center;
    background-color: #f6f6f6;
    padding: 20px 25px;
    border-radius: 8px;
    gap: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.network-card:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
}

.network-card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.network-card span {
    font-size: 24px;
    font-weight: 400;
    color: #000;
}

@media (max-width: 991px) {
    .network-card span {
        font-size: 16px;
    }

    .network-card {
        padding: 12px 15px;
        gap: 10px;
    }
}


/* Why Choose Section Redesign */
.why-choose {
    background-color: #080808;
    color: #fff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.why-choose-item {
    padding: 60px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
    text-align: left;
}

.why-choose-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.why-choose-item img {
    margin-bottom: 25px;
    display: block;
}


.why-choose-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.why-choose-footer p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}


/* Industries We Serve */
.industries-we-serve {
    background-color: #fff;
}

.industries-flex-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.industries-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.industry-pill {
    display: flex;
    align-items: center;
    background-color: #f6f6f6;
    padding: 12px 30px 12px 12px;
    border-radius: 60px;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    border: 1px solid transparent;
}

.industry-pill:hover {
    background-color: #fff;
    border-color: #eee;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.industry-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #000;
    flex-shrink: 0;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-pill span {
    font-size: 24px;
    font-weight: 400;
    color: #000000;
}

@media (max-width: 1199px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .why-choose-item {
        padding: 40px 25px;
    }

    .industry-pill span {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .industries-row {
        flex-direction: column;
        align-items: center;
    }

    .industry-pill {
        width: 100%;
        max-width: 350px;
        justify-content: flex-start;
    }
}

/* DEX Process Slider Styles */
.dex-process-step {
    color: #575757;
    font-size: clamp(30px, 5vw, 60px);
    font-weight: 600;
    line-height: 1
}


.dex-process-box {
    border: none;
    position: relative;
    padding: 10px
}

.dex-process-box::after {
    content: "";
    position: absolute;
    top: -74px;
    left: 49px;
    width: 27px;
    height: 56px;
    background: url(../image/otc-crypto-exchange-development/ss-points.webp) no-repeat
}

/* New wrapper and scroll styles */
.dex-process-wrapper {
    position: relative;
}

.dex-process-scroll-container {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #eee;
    padding-top: 75px;
}

.dex-process-blocks {
    display: flex;
    gap: 20px;

    transition: transform 0.5s ease;
}

/* Desktop: 4 cards visible */
.dex-process-box {
    width: calc((100% - 60px) / 4);
    /* 4 cards with 20px gap */
    min-width: 250px;
    flex-shrink: 0;
    text-align: left !important;
}

.dex-process-box h3 {
    font-size: 20px;
}

/* Navigation Arrows */
.dex-process-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.dex-nav-arrow {
    border: none;
    background: transparent;
}

.dex-nav-arrow:active {
    transform: scale(0.95);
}

.dex-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #eee;
}

.dex-process-navigation button:hover svg path {
    stroke: #E2462D;
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4
}

.faq-section .accordion-button {
    background: #f4f4f4;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 500;
    color: #000;
    font-size: 18px !important
}

.faq-section .accordion-button:focus {
    box-shadow: none
}

.faq-section .accordion-button::after {
    content: "+";
    font-size: 25px;
    font-weight: 400;
    color: #007bff;
    background-image: none !important;
    transform: rotate(0);
    transition: transform .3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center
}

.faq-section .accordion-header {
    margin-bottom: 0 !important
}

.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(135deg)
}

.faq-section .accordion-body {
    padding: 1rem 1.25rem;
    font-size: 16px
}

.crypto-cta {
    background: url(../image/crypto-cta-bg.webp) no-repeat;
    background-position: center;
    background-size: cover;
}

.cta-btn-group {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-main-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #E2462D;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #E2462D;
    line-height: 1.4;
}

.cta-outline-btn {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.4;
}

.cta-main-btn:hover {
    background: #c33a25;
    border-color: #c33a25;
}

.cta-outline-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

@media (max-width: 767px) {
    .cta-row {
        flex-direction: column;
        gap: 12px;
    }

    .cta-main-btn,
    .cta-outline-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .cta-btn-group {
        gap: 12px;
    }
}

/* Technology Stack Section */

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tech-stack-card {
    background: #101010;
    border: 1px solid #1A1A1A;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-stack-card:hover {
    border-color: #E2462D;
    transform: translateY(-5px);
    background: #151515;
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tech-icon-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon-box i {
    color: #E2462D;
    font-size: 20px;
}

.tech-header h3 {
    margin: 0;
}

.tech-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: #1A1A1A;
    color: #A0A0A0;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.tech-stack-card:hover .tech-tag {
    background: #252525;
    color: #fff;
}

@media (max-width: 991px) {
    .tech-stack-grid {
        gap: 15px;
    }

    .tech-stack-card {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }


    .tech-tag {
        font-size: 14px;
        padding: 8px 14px;
    }
}

.gray-text {
    color: #a0a0a0;
}

.text-black {
    color: #111;
}

.mpc-security-advantages .section-head h2 {
    color: #111;
}

/* Supported MPC Wallet Types */

.mpc-wallet-types {
    background-color: #000;
}

.wallet-types-grid {
    margin-top: 40px;
}

.wallet-type-card {
    background: #111;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #211B1B;
    box-shadow: 0px 4px 4px 0px #0000001A;

}




/* Security Advantages Section */
.mpc-security-advantages {
    background-color: #fff;
    overflow: hidden;
}

.security-diagram-grid {
    display: grid;
    grid-template-columns: 1fr 375px 1fr;
    align-items: center;
    gap: 0;
    max-width: 1400px;
    margin: 40px auto 0;
    position: relative;
    padding: 40px 0;
}

.security-lock-center {
    width: 375px;
    height: 375px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.security-lock-center img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.security-features-col {
    display: flex;
    flex-direction: column;
    gap: 120px; /* Vertical spacing between features */
}

.security-features-col {
    display: flex;
    flex-direction: column;
    gap: 120px; /* Vertical spacing between features */
}

.security-feature-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.left-features .security-feature-item {
    justify-content: flex-end;
    text-align: right;
    padding-right: 20px;
}

.right-features .security-feature-item {
    justify-content: flex-start;
    text-align: left;
    padding-left: 20px;
}

.security-feature-item p {
    font-size: 24px;
    font-weight: 400;
    color: #111;
    margin: 0;
    line-height: 1.3;
    z-index: 2;
    background: #fff;
}

/* Connectors base */
.security-feature-item .connector {
    position: absolute;
    border-style: dashed;
    border-color: #E2462D;
    border-width: 0;
    z-index: 1;
}

.security-feature-item .dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #E2462D;
    border-radius: 50%;
    z-index: 2;
}

/* ---------------------------------
   LEFT FEATURES
--------------------------------- */

/* Top Item */
.left-features .top-item .line-1 {
    top: 50%;
    right: -40px;
    width: 60px;
    border-top-width: 1px;
}
.left-features .top-item .line-2 {
    top: 50%;
    right: -80px;
    width: 40px;
    height: 80px;
    border-left-width: 1px;
    border-bottom-width: 1px;
}
.left-features .top-item .dot {
    top: calc(50% + 80px - 3px);
    right: -80px;
}

/* Mid Item */
.left-features .mid-item .line-1 {
    top: 50%;
    right: -80px;
    width: 100px;
    border-top-width: 1px;
}
.left-features .mid-item .dot {
    top: calc(50% - 3px);
    right: -80px;
}

/* Bottom Item */
.left-features .bottom-item .line-1 {
    bottom: 50%;
    right: -40px;
    width: 60px;
    border-bottom-width: 1px;
}
.left-features .bottom-item .line-2 {
    bottom: 50%;
    right: -80px;
    width: 40px;
    height: 80px;
    border-left-width: 1px;
    border-top-width: 1px;
}
.left-features .bottom-item .dot {
    bottom: calc(50% + 80px - 3px);
    right: -80px;
}

/* ---------------------------------
   RIGHT FEATURES
--------------------------------- */

/* Top Item */
.right-features .top-item .line-1 {
    top: 50%;
    left: -40px;
    width: 60px;
    border-top-width: 1px;
}
.right-features .top-item .line-2 {
    top: 50%;
    left: -80px;
    width: 40px;
    height: 80px;
    border-right-width: 1px;
    border-bottom-width: 1px;
}
.right-features .top-item .dot {
    top: calc(50% + 80px - 3px);
    left: -80px;
}

/* Mid Item */
.right-features .mid-item .line-1 {
    top: 50%;
    left: -80px;
    width: 100px;
    border-top-width: 1px;
}
.right-features .mid-item .dot {
    top: calc(50% - 3px);
    left: -80px;
}

/* Bottom Item */
.right-features .bottom-item .line-1 {
    bottom: 50%;
    left: -40px;
    width: 60px;
    border-bottom-width: 1px;
}
.right-features .bottom-item .line-2 {
    bottom: 50%;
    left: -80px;
    width: 40px;
    height: 80px;
    border-right-width: 1px;
    border-top-width: 1px;
}
.right-features .bottom-item .dot {
    bottom: calc(50% + 80px - 3px);
    left: -80px;
}

@media (max-width: 1300px) {
    .security-diagram-grid {
        grid-template-columns: 1fr 300px 1fr;
        max-width: 1100px;
    }
    .security-lock-center {
        width: 300px;
        height: 300px;
    }
    .security-features-col {
        gap: 80px;
    }
    .left-features .top-item .line-2,
    .left-features .bottom-item .line-2,
    .right-features .top-item .line-2,
    .right-features .bottom-item .line-2 {
        height: 50px;
    }
    .left-features .top-item .dot,
    .right-features .top-item .dot {
        top: calc(50% + 50px - 3px);
    }
    .left-features .bottom-item .dot,
    .right-features .bottom-item .dot {
        bottom: calc(50% + 50px - 3px);
    }
    /* Reduce horizontal extension on smaller screens */
    .left-features .top-item .line-1,
    .left-features .bottom-item .line-1,
    .right-features .top-item .line-1,
    .right-features .bottom-item .line-1 {
        width: 30px;
        right: -10px;
    }
    .right-features .top-item .line-1,
    .right-features .bottom-item .line-1 {
        left: -10px;
    }
    .left-features .top-item .line-2,
    .left-features .bottom-item .line-2 {
        right: -50px;
        width: 40px;
    }
    .right-features .top-item .line-2,
    .right-features .bottom-item .line-2 {
        left: -50px;
        width: 40px;
    }
    .left-features .top-item .dot,
    .left-features .mid-item .dot,
    .left-features .bottom-item .dot {
        right: -50px;
    }
    .right-features .top-item .dot,
    .right-features .mid-item .dot,
    .right-features .bottom-item .dot {
        left: -50px;
    }
    .left-features .mid-item .line-1 {
        width: 70px;
        right: -50px;
    }
    .right-features .mid-item .line-1 {
        width: 70px;
        left: -50px;
    }
}

@media (max-width: 991px) {
    .security-diagram-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    .security-lock-center {
        order: -1;
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    .security-features-col {
        gap: 15px;
        width: 100%;
    }
    .security-feature-item {
        background: #f9f9f9;
        padding: 20px !important;
        border-radius: 10px;
        border-left: 4px solid #E2462D;
        justify-content: center !important;
        text-align: center !important;
    }
    .connector, .dot {
        display: none !important;
    }
}

/* Core Features of MPC Crypto Wallets */
.mpc-core-features {
    background-color: #000;
}

.feature-comparison-grid {
    margin-top: 50px;
}

.feature-comparison-card {
    background: #101010;
    border-radius: 12px;
    padding: 40px;
    height: 100%;
}

.feature-comparison-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
}


@media (max-width: 991px) {
    .feature-comparison-card {
        padding: 30px 20px;
    }
}

/* Full Customization Options */
.mpc-customization {
    background-color: #fff;
}

.customization-grid {
    margin-top: 50px;
}

.customization-card {
    background: #f6f6f6;
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
}


@media (max-width: 767px) {
    .customization-card {
        padding: 30px 20px;
    }
}

.step-card {
    background: #f6f6f6;
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    height: 93%;
    transition: .3s;
    border: none
}

.step-card h3 {
    font-size: 24px !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    font-weight: 500
}

.step-card h3.max-w-260 {
    max-width: 260px
}

.step-card p {
    color: #00000099
}

.security-badge {
    background: #007C4D0D;
    border: 1px solid #007C4D4D;
    box-shadow: 0px 1px 2px -1px #0000001A;
    box-shadow: 0px 1px 3px 0px #0000001A;
    border-radius: 10px;
    padding: 15px 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    transition: all 0.3s ease;
}


.security-badge p {
    margin: 0;
    color:#007C4D;
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 767px) {
    .security-badge {
        width: 100%;
        padding: 12px 15px;
    }
    
    .security-badge p {
        font-size: 14px;
    }
}