:root {
    --primary-orange: #FD933D;
    --text-dark: #000000;
    --text-light: #666666;
    --white: #FFFFFF;
    --secondary-orange: #FF7F32;
    --tertiory-orange: #FFF3EA;
    --header-bg: rgba(255, 255, 255, 0.9);
    --transition-speed: 0.4s;
    --container-width: 1200px;
    --primary-purple: #BA7FFF;
    --secondary-purple: #8464E3;
    --border-color: #ffe0d1;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif !important;
}

.inner-hero {
    margin-top: 100px;
}

.card-container {
    width: 95%;
    border-radius: 25px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 -5px 30px rgba(0, 0, 0, 0.03);
    margin-left: auto;
    margin-right: auto;
}

.card-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background-image: url('../../images/inner-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    z-index: 0;
    border-radius: 50px 0 0 50px;
}

.card-content {
    flex: 1;
    max-width: 550px;
    z-index: 2;
    padding: 40px;
}

.card-content h1 {
    width: 100%;
    font-size: 30px;
    font-weight: 600;
    line-height: 38px;
}

.card-content p {
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #535252;
}

.category-tag {
    color: var(--primary-orange);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

h1 span {
    /* background: linear-gradient(90deg, #FD933D 38.46%, #8464E3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; */
    color: var(--primary-orange);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* background: linear-gradient(93.05deg, #FD933D -28.43%, #F59048 12.41%, #DB866B 54.79%, #8464E3 149.49%); */
    background: var(--main-color);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.inner-card-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
}

.inner-card-image img {
    max-width: 95%;
    height: auto;
    margin-top: -76px;
    margin-right: -112px;
}

.inner-partnerships-section {
    padding: 0 0 50px 0;
}

.functions-section {
    padding-bottom: 90px;
    margin-left: auto;
    margin-right: auto;
}

.functions-title {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
}

.functions-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 18px;
    text-align: center;
    font-weight: 400;
}

.functions-grid {
    display: grid;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    background: radial-gradient(83.08% 83.08% at 50% 52.75%, rgba(253, 147, 61, 0.13) 0%, rgba(254, 184, 127, 0.17125) 17.3%, rgba(254, 221, 193, 0.0826793) 50.49%, rgba(255, 255, 255, 0) 86.46%, rgba(255, 255, 255, 0.62) 100%);
    scrollbar-width: thin;
    scrollbar-color: #f2dcca transparent;
}
.partner-a{
    text-decoration: none;
}
.function-grid-r1 {
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 90%;
    margin: 0 auto;
    padding-left: 10px;
    padding-bottom: 15px;
}

.function-card {
    background: #fff;
    border: 0.5px solid #FD933D;
    border-radius: 30px;
    padding: 50px 30px 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    clip-path: polygon(45px 0%, 100% 0, 100% 100%, 0 100%, 0 45px);
    cursor: pointer;
}

.function-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    background: var(--primary-orange);
    border-bottom-right-radius: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.function-card:hover,
.function-card.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.function-card:hover h3,
.function-card:hover p,
.function-card.active h3,
.function-card.active p {
    color: #fff;
}

.function-card:hover::before,
.function-card.active::before {
    background: #FDEEE3;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #FFF5EE;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background 0.4s ease;
}

.card-icon-wrapper img {
    height: 50px;
}

.function-card:hover .card-icon-wrapper,
.function-card.active .card-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.icon-hover {
    display: none;
}

.function-card:hover .icon-default,
.function-card.active .icon-default {
    display: none;
}

.function-card:hover .icon-hover,
.function-card.active .icon-hover {
    display: block;
}

.function-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 10px;
    color: var(--text-dark);
    transition: color 0.4s ease;
}

.function-card p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    transition: color 0.4s ease;
    color: #535252;
}

.slide-info p {
    color: #535252;
}

.convenience-section {
    padding-bottom: 40px;
    width: 89%;
    margin-left: auto;
    margin-right: auto;
}

.convenience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.header-left {
    flex: 1;
    order: 1;
}

.section-title {
    font-size: 43px;
    font-weight: 600;
    line-height: 45px;
    margin: 0;
}

.accent-text {
    color: #DB866B;
    display: block;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 14px;
    order: 2;
}

.header-right p {
    max-width: 400px;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 0;
}

.decorative-line-img {
    width: 100%;
    height: auto;
    display: block;
}

.decorative-line-img-mob {
    display: none;
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-orange);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn svg {
    width: 24px;
    fill: white;
}

.nav-btn:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.slider-outer {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
}

.slider-viewport {
    width: 100%;
    flex-shrink: 0;
    border: 1px solid #FD933D;
    border-radius: 40px;
    box-sizing: border-box;
    padding: 0 50px;
    height: fit-content;
}

.slide-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 46px;
    margin-bottom: 46px;
}

.slide-info {
    width: 50%;
}

.slide-number {
    font-size: 32px;
    font-weight: 800;
    color: #FFE6D6;
    display: block;
    margin-bottom: 10px;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fd933d
}

.slide-info h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.slide-visual {
    width: 70%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.slide-visual img {
    width: 85%;
    height: auto;
    display: block;
    border-radius: 30px;
    left: 8%;
}

.orange-btn {
    background: var(--main-color) !important;
    border: none;
    padding: 15px 30px;
}

.inner-contact-section {
    background: linear-gradient(180deg, #FFFDFB 3.09%, #FED6B5 63.31%, #FEC291 99.97%, #FDAA67 122.23%, rgba(253, 147, 61, 0.85) 139.25%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    padding: 0;
}

.card-text {
    color: #535252;
}

.inner-contact-text .card-text {
    width: clamp(343px, 33vw, 512px);
}

.inner-contact-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    width: 89%;
    padding-right: 0;
    padding-left: 0;
}

.inner-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.inner-partnerships-box {
    width: 90%;
}

@media (max-width: 991px) {

    .inner-hero {
        margin-top: 0px;
    }

    .function-grid-r1 {
        padding: 0 0;
        padding-bottom: 10px;
    }

    .card-container {
        flex-direction: column-reverse;
    }

    .card-container::before {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55%;
        border-radius: 0 0 50px 50px;
        background-position: center;
    }

    .category-tag {
        font-weight: 700;
        font-size: 22px;
        line-height: 45px;
    }

    .card-content {
        width: 100%;
    }

    .inner-card-image {
        justify-content: flex-end;
    }

    .inner-card-image img {
        margin-top: -16px;
        margin-right: 0;
    }

    .patchworks-image {
        justify-content: normal;

    }

    .patchworks-image img {
        margin-top: 25px;
        margin-right: 0;
        margin-left: 40px;
        width: 80%; 
    }
    .inner-img[data-mobile-src="patchworks-logo-2.png"] {
        content: url('../../images/patchworks-logo-2.png') !important;
    }
    .inner-img[data-mobile-src="klaviyo-logo-2.png"] {
        content: url('../../images/klaviyo-logo-2.png') !important;
    }   
    .inner-img[data-mobile-src="salesforce-logo-3"] {
        content: url('../../images/salesforce-logo-3.png') !important;
    }
    .inner-img[data-mobile-src="omnisend-primary-logo-1.png"] {
        content: url('../../images/omnisend-primary-logo-1.png') !important;
    }
      .inner-img[data-mobile-src="celigo_logos.png"] {
        content: url('../../images/celigo_logos.png') !important;
    }
     .inner-img[data-mobile-src="salesforce-contact .png"] {
        content: url('../../images/salesforce-contact .png') !important;
    }

    .card-content h1 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 12px;
        width: 100%;
    }

    .convenience-header {
        flex-direction: column;
        position: relative;
    }

    .slide-number,
    .slide-info h3 {
        font-size: 17px;
        font-weight: 600;
    }

    .orange-btn,
    .slide-info p {
        font-size: 12px;
        font-weight: 400;
    }

    .slide-info {
        width: 100%;
    }

    .slide-visual {
        width: 100%;
    }

    .slide-visual img {
        left: 0;
        width: 100%;
        max-width: none;
    }

    .slider-controls {
        position: absolute;
        top: 0;
        right: 0;
        margin-bottom: 0;
    }

    .slider-viewport {
        padding: 0 20px;
    }

    .convenience-section {
        position: relative;
    }

    .slide-card {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .functions-grid {
        grid-template-columns: repeat(1, 2fr);
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .function-card {
        min-width: 250px;
    }

    .functions-header {
        padding: 0 20px;
    }

    .convenience-header {
        flex-direction: column;
    }

    .decorative-line-img {
        order: 2;
        margin-top: 0;
        margin-bottom: 15px;
        background-image: url('images/line-image-mob.png');
    }

    .header-left {
        order: 1;
    }

    .header-right {
        order: 3;
    }

    .section-title {
        font-size: 17px;
        line-height: 1.2;
    }

    .inner-img {
        content: url('../../images/shopify-background-2.png') !important;
    }

    .contact-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .inner-contact-card {
        width: 88%;
        padding: 0;
        margin: 0 auto;
    }

    .contact-links {
        width: 101%;
        justify-content: space-between;
        align-items: center;
        gap: 7px;
        flex-wrap: wrap;
    }

    .inner-partnerships-box {
        width: 94%;
    }

    .decorative-line-img-mob {
        display: block;
        width: 100%;
        height: auto;
        order: 2;
        padding-top: 10px;
    }

    .decorative-line-img {
        display: none;
    }
}

/* @media ((min-width: 1400px)) {
    .inner-hero {
        margin-top: 5%;
    }
} */