﻿.module-cards-wrapper {
    overflow: visible;
    max-width: 1050px;
    margin: auto;
}

.module-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* module-card Style */
.module-card {
    border-radius: 1.5rem;
    border: .1rem solid #1a92cf;
    padding: 2rem 2rem 1.5rem;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    max-width: 22.5rem;
    background: #ecf7ff;
    margin-top: 0;
    cursor: context-menu;
}

    .module-card:hover {
        transform: translateY(-.3rem);
        margin-top: -.3rem;
        border: .1rem solid #1a92cf;
        background: #fff;
        box-shadow: 0 0.3rem .75rem rgba(0, 0, 0, .2);
    }

.module-card-icon {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .5rem;
    font-size: 2rem;
}

.module-card-title {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    color: #E31350;
    margin-bottom: .5rem;
}

.module-card-description {
    font-size: 1rem;
    color: #222;
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 0;
}

.organization-cards-wrapper {
    overflow: visible;
}

.organization-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.organization-card {
    border-radius: 1.5rem;
    border: .1rem solid #7654C6;
    padding: 1rem;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: right;
    max-width: 18.5rem;
    min-width: 16rem;
    cursor: context-menu;
    margin: auto;
}

.organization-card-icon {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 2rem;
    font-size: 2rem;
}

.organization-card-title {
    font-weight: 900 !important;
    color: #2453B8;
    margin-bottom: .5rem;
    font-size: 1.1rem !important;
}

.organization-card-description {
    font-size: 1rem;
    color: #222;
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 0;
}

/* Scroll animation base */
.animate-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

    /* When card enters viewport */
    .animate-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Stagger rows with delay - works for both grid and flex (mobile) */
.module-cards-container > .module-card:nth-child(1),
.module-cards-container > .module-card:nth-child(2),
.module-cards-container > .module-card:nth-child(3) {
    transition-delay: 0.1s;
}

.module-cards-container > .module-card:nth-child(4),
.module-cards-container > .module-card:nth-child(5),
.module-cards-container > .module-card:nth-child(6) {
    transition-delay: 0.25s;
}

/* Same for organization cards (4-column → 2-column → horizontal on mobile) */
.organization-cards-container > .organization-card:nth-child(1),
.organization-cards-container > .organization-card:nth-child(2) {
    transition-delay: 0.1s;
}

.organization-cards-container > .organization-card:nth-child(3),
.organization-cards-container > .organization-card:nth-child(4) {
    transition-delay: 0.25s;
}

/* Ensure hover still works perfectly (important!) */
.module-card:hover {
    transform: translateY(-.3rem) !important; /* desktop hover wins over animation */
    margin-top: -.3rem !important;
}

.section-title-icon {
    display: none;
}

@media (max-width: 1200px) {
    .organization-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 992px) {
    .section-header {
        text-align: right; /* Switch header to right-aligned on mobile */
    }

    .section-title {
        font-size: 1.25rem !important;
    }

    .section-title-icon {
        display: inline-block;
    }

    .section-description {
        font-size: 1rem;
        margin: 0; /* Remove auto centering */
    }

    .organization-cards-wrapper,
    .module-cards-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2rem;
    }

        .organization-cards-wrapper::-webkit-scrollbar,
        .module-cards-wrapper::-webkit-scrollbar {
            height: .25rem;
            opacity: .5;
        }

        .organization-cards-wrapper::-webkit-scrollbar-track,
        .module-cards-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: .25rem;
            opacity: .5;
        }

        .organization-cards-wrapper::-webkit-scrollbar-thumb,
        .module-cards-wrapper::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: .25rem;
            opacity: .5;
        }

    .organization-cards-container,
    .module-cards-container {
        display: flex;
        grid-template-columns: none;
        gap: 20px;
        padding: 0 10px;
    }

    .module-card {
        min-width: 300px; /* Fixed width for horizontal scrolling */
        max-width: 300px;
    }

        .module-card:hover {
            transform: translateY(0) !important;
            margin-top: 0 !important;
            border: .1rem solid #1a92cf;
            background: #ecf7ff;
        }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1rem !important;
    }

    .section-description {
        font-size: .9rem;
        margin: 0; /* Remove auto centering */
    }

    .module-card-title,
    .organization-card-title {
        font-size: 1rem;
    }

    .module-card-description,
    .organization-card-description {
        font-size: .8rem;
    }
}

@media (max-width: 480px) {
    .module-card {
        min-width: 280px;
        max-width: 280px;
    }
}

.demo-banner-section {
    padding: 4rem 0;
}

.demo-banner-container {
    width: 85vw;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.demo-banner-desktop-banner {
    display: block;
    width: 100%;
}

.demo-banner-mobile-banner {
    display: none;
    width: 100%;
}

.demo-banner-title {
    position: absolute;
    top: 1.75rem;
    right: 2.5rem;
    font-family: "IranSansX";
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.demo-banner-btn {
    position: absolute;
    background: transparent;
    border: .1rem solid #fff;
    border-radius: .6rem;
    color: #fff !important;
    padding: .5rem 1rem;
    top: 9rem;
    right: 2.75rem;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

    .demo-banner-btn:hover {
        background: #fff;
        color: #ed1a56 !important;
        border-color: #ed1a56 !important;
    }

@media screen and (max-width: 1300px) {
    .demo-banner-title {
        top: 1.5rem;
    }

    .demo-banner-btn {
        top: 8rem;
    }
}

@media screen and (max-width: 1150px) {
    .demo-banner-title {
        font-size: 1.75rem;
    }

    .demo-banner-btn {
        top: 7.5rem;
        right: 5.5rem;
    }
}

@media screen and (max-width: 1050px) {
    .demo-banner-title {
        top: 1rem;
    }

    .demo-banner-btn {
        top: 7rem;
    }
}

@media screen and (max-width: 980px) {
    .demo-banner-title {
        font-size: 1.75rem;
        top: auto;
        bottom: 7rem;
    }

    .demo-banner-btn {
        font-size: 1.2rem;
        padding: .25rem .5rem;
        top: auto;
        right: 4.5rem;
        bottom: 2rem;
    }

    .demo-banner-desktop-banner {
        display: none;
    }

    .demo-banner-mobile-banner {
        display: block;
    }
}

@media screen and (max-width: 780px) {
    .demo-banner-section {
        padding: 2rem 0;
    }

    .demo-banner-container {
        width: 95vw;
    }

    .demo-banner-title {
        font-size: 1.5rem;
        top: auto !important;
        right: 1.25rem !important;
        bottom: 4rem;
    }

    .demo-banner-btn {
        font-size: .9rem;
        top: auto !important;
        right: 1.25rem !important;
        bottom: 1.5rem;
    }
}

.step-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.step {
    position: relative;
    padding: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    filter: saturate(0);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s ease;
}

/* حالت اولیه دسکتاپ */
@media screen and (min-width: 781px) {
    .step {
        transform: translateX(-100px);
    }

        .step.even {
            transform: translateX(100px);
        }
}

/* وقتی دیده شد → انیمیشن اجرا شود */
.step.visible {
    opacity: 0.45;
    filter: saturate(0);
    transform: translateX(0) translateY(0) !important; /* هر دو حالت را صفر می‌کند */
}

/* خط عمودی */
.step::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 7rem;
    width: 6px;
    background: #3B82F6;
    z-index: 1;
}

.step-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #CCC;
    line-height: 1;
    width: 7rem;
    text-align: center;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.step-icon {
    width: 9rem;
    text-align: center;
    flex-shrink: 0;
}

    .step-icon img {
        width: 6rem;
        opacity: 0.6;
        transition: all 0.4s ease;
    }

.step-title {
    font-weight: 800 !important;
    font-size: 1.5rem;
    color: #AAA;
    margin-bottom: .5rem;
    transition: color 0.4s ease;
}

.step-description {
    font-size: 1.1rem;
    color: #888;
    max-width: 600px;
    transition: color 0.4s ease;
}

/* Hover & Focus – کاملاً مستقل و بدون تداخل */
.step:hover,
.step:focus-within,
.step.visible:hover,
.step.visible:focus-within {
    opacity: 1 !important;
    filter: saturate(1) !important;
}

    .step:hover .step-number,
    .step.visible:hover .step-number {
        color: #E94C60;
        transform: scale(1.15);
    }

    .step:hover .step-title,
    .step:hover .step-description,
    .step.visible:hover .step-title,
    .step.visible:hover .step-description {
        color: #1a1a1a;
    }

    .step:hover .step-icon img,
    .step.visible:hover .step-icon img {
        opacity: 1;
        transform: translateY(-6px) scale(1.08);
        filter: drop-shadow(0 8px 20px rgba(233,76,96,.3));
    }

/* حالت اولیه موبایل – از پایین */
@media screen and (max-width: 780px) {
    .step {
        flex-direction: row !important;
        text-align: right;
        align-items: center;
        padding: 1rem 0;
        gap: 1.5rem;
        transform: translateY(70px);
    }

        .step::before {
            display: none;
        }

    .step-number {
        display: none;
    }

    .step-icon {
        flex-shrink: 0;
        width: 7rem;
    }

        .step-icon img {
            width: 7rem;
            opacity: 0.7;
        }

    .step-content {
        flex: 1;
    }

    .step-title {
        font-size: 1.25rem !important;
        font-weight: 800;
        margin-bottom: 0.5rem;
        color: #333;
    }

    .step-description {
        font-size: 1rem !important;
        line-height: 1.7;
        color: #555;
    }

    .step.visible {
        opacity: 1;
        filter: saturate(1);
        transform: translateY(0) !important;
    }

        .step:hover .step-icon img,
        .step.visible:hover .step-icon img {
            opacity: 1;
            transform: translateY(-4px) scale(1.1);
        }

        .step:hover .step-title,
        .step:hover .step-description,
        .step.visible:hover .step-title,
        .step.visible:hover .step-description {
            color: #000;
        }
}

.features-section {
    background: linear-gradient(90deg,rgba(217, 240, 255, .5) 0%, rgba(236, 247, 255, .5) 30%, rgba(217, 240, 255, .5) 70%, rgba(191, 227, 255, .3) 100%);
}

input[type="radio"] {
    display: none;
}

.features-container {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
    max-width: 1300px;
    margin: 0 auto;
    width: 85vw;
}

.features-control {
    width: 50%;
    border-left: .15rem solid #676767;
    padding-left: 3rem;
}

.features-details {
    width: 50%;
    padding-right: 3rem;
}

.primary-color {
    color: #3c92ca;
}

.features-title {
    font-weight: 900 !important;
    font-size: 2.5rem !important;
    display: block;
    color: #3c92ca;
    line-height: 4rem !important;
    margin-bottom: 1rem;
}

.features-title-mobile {
    font-weight: 900 !important;
    font-size: .9rem !important;
    display: block !important;
    color: #3c92ca !important;
    line-height: 2.5rem !important;
    display: none;
}

.features-desc,
.static-details {
    font-family: IranSansX-Medium;
    text-align: justify;
    font-size: 1.1rem;
}

.static-details {
    font-size: 1rem;
    color: #222;
}

.static-details {
    margin-top: auto;
}

.feature-control-container {
    margin-top: 2rem;
}

    .feature-control-container nav {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .feature-control-container label {
        display: flex;
        padding: .75rem;
        background: #fff;
        border-radius: 1rem;
        width: fit-content;
        font-family: Lahze;
        gap: .3rem;
        cursor: pointer;
        max-width: 18rem;
    }

        .feature-control-container label img {
            padding: .5rem;
            border-radius: .75rem;
            height: 2.75rem;
        }

.crm-history-tab-title {
    margin: auto .5rem;
    line-height: 1.2;
    font-size: 1.1rem;
}

.crm-connection img {
    background: #FFE2E2;
}

.data-analysis img {
    background: #8DD1FE;
}

.marketing-message img {
    background: #E8FFD9;
}

#crm-connection:checked ~ .features-control .feature-control-container .features-control-list .crm-connection,
#data-analysis:checked ~ .features-control .feature-control-container .features-control-list .data-analysis,
#marketing-message:checked ~ .features-control .feature-control-container .features-control-list .marketing-message {
    font-weight: 500;
    border: .1rem solid;
}

#crm-connection:checked ~ .features-control .feature-control-container .features-control-list .crm-connection {
    background: #FFE2E2;
}

#data-analysis:checked ~ .features-control .feature-control-container .features-control-list .data-analysis {
    background: #8DD1FE;
}

#marketing-message:checked ~ .features-control .feature-control-container .features-control-list .marketing-message {
    background: #E8FFD9;
}

    #crm-connection:checked ~ .features-control .feature-control-container .features-control-list .crm-connection img,
    #data-analysis:checked ~ .features-control .feature-control-container .features-control-list .data-analysis img,
    #marketing-message:checked ~ .features-control .feature-control-container .features-control-list .marketing-message img {
        background: #fff;
    }

.dynamic-details .content {
    display: none;
    margin-block-end: 20px;
}

#crm-connection:checked ~ .features-details .dynamic-details .content-1,
#data-analysis:checked ~ .features-details .dynamic-details .content-2,
#marketing-message:checked ~ .features-details .dynamic-details .content-3 {
    display: block;
}

.dynamic-details-title {
    display: block;
    font-family: Lahze;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    color: #3c92ca;
}

.dynamic-details-img {
    display: block;
    margin: 1rem auto;
}

.features-desc, .static-details {
    font-family: IranSansX;
    text-align: justify;
    font-size: 1.1rem;
}

@media screen and (max-width: 700px) {
    .feature-control-container {
        margin-top: 1rem;
    }

    .features-container {
        display: block;
        padding: 2rem 0;
        width: 95vw;
    }

    .features-control {
        border: none;
        width: 95%;
        margin: 0 auto;
        padding: 0;
    }

    .features-details {
        width: 85%;
        margin: auto;
        padding: 0;
    }

    .features-title {
        display: none;
    }

    .features-title-mobile {
        display: block;
    }

    .features-desc {
        font-size: .8rem;
        color: #222;
    }

    .static-details {
        font-size: .7rem;
    }

    .feature-control-container nav {
        gap: .5rem;
    }

    .feature-control-container label {
        padding: .5rem;
        border-radius: .6rem;
        gap: 0;
        margin-bottom: 0;
    }

        .feature-control-container label > img {
            padding: .5rem;
            border-radius: .5rem;
            height: 2.1rem !important;
        }

        .feature-control-container label > span {
            margin: auto .25rem !important;
            line-height: 2.5 !important;
            font-size: .65rem !important;
        }

    .dynamic-details-img {
        min-height: 10rem;
    }

    .dynamic-details-title {
        font-size: .9rem;
        margin-top: 1rem;
    }

    .demo-btn {
        padding: .5rem 1rem;
    }
}

.features-control,
.features-details {
    opacity: 0;
    transform: translateX(0); /* will be overridden by JS classes */
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

/* Desktop animations */
@media screen and (min-width: 701px) {
    .features-control {
        transform: translateX(120px);
    }

    .features-details {
        transform: translateX(-120px);
    }
}

/* Active state when in viewport */
.features-control.animate-in,
.features-details.animate-in {
    opacity: 1;
    transform: translateX(0) translateY(0) !important;
}

/* Mobile animations - both from bottom */
@media screen and (max-width: 700px) {
    .features-control,
    .features-details {
        transform: translateY(80px) scale(0.94);
    }

        .features-control.animate-in,
        .features-details.animate-in {
            transform: translateY(0) scale(1);
        }
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Animation wrapper - preserves hover transform */
.card-animation-wrapper {
    opacity: 0;
    transform: scale(0.92) translateZ(0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

    .card-animation-wrapper.visible {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }

/* Optional: add slight delay between cards */
.pricing-card:nth-child(1) .card-animation-wrapper {
    transition-delay: 0.1s;
}

.pricing-card:nth-child(2) .card-animation-wrapper {
    transition-delay: 0.25s;
}

.pricing-card:nth-child(3) .card-animation-wrapper {
    transition-delay: 0.4s;
}


.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 360px;
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 1.5rem;
    padding: 1.25rem 1rem 1rem 1rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(.25,.8,.25,1);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(.25,.8,.25,1);
    cursor: default;
    transform-style: preserve-3d;
}

    .pricing-card::after {
        content: "";
        position: absolute;
        left: -180%;
        top: 0;
        width: 140%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255,255,255,0.0) 40%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.0) 60%);
        transform: skewX(-25deg);
        transition: 0.6s;
    }

    .pricing-card:hover::after {
        left: 180%;
    }

    .pricing-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

.level-title {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 0;
    line-height: 1.4 !important;
}

.golden-level {
    color: #D4A741;
}

.platinum-level {
    color: #768191;
}

.diamond-level {
    color: #4EBDFF;
}

.golden-card {
    background: #FBF8EF;
    border: 1px solid #A87C24;
}

.platinum-card {
    background: linear-gradient(180deg,rgba(246, 247, 250, 1) 0%, rgba(227, 230, 235, 1) 100%);
    border-color: #8E949C;
}

.diamond-card {
    background: linear-gradient(135deg,rgba(244, 251, 255, 1) 0%, rgba(221, 242, 250, 1) 100%);
    border-color: #64B5D9;
}

.golden-callout {
    background: #FFF8E4;
    border: 1px solid #D5A638;
    color: #5B471B;
}

.platinum-callout {
    background: rgba(245, 248, 255, .45);
    border: 1px solid #B8BDC6;
    color: #454B54;
}

.diamond-callout {
    background: rgba(221, 242, 250, .45);
    border: 1px solid #A9CFE5;
    color: #3B4650;
}

.level-subtitle {
    font-size: 16px;
    color: #777777;
    margin-bottom: .5rem;
    font-weight: 600;
}

.featured-callout {
    border-radius: 10px;
    padding: .5rem;
    max-width: 90%;
    font-size: 17px;
    font-weight: 800;
    margin: 1rem auto;
}

.features-list {
    list-style: none;
    text-align: right;
    margin-top: 1rem;
    padding: 0 1rem;
}

    .features-list li {
        font-size: 1rem;
        font-weight: 600;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

.checkmark {
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .pricing-card {
        max-width: 100%;
        width: 100%;
    }

    .level-title {
        font-size: 26px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-container {
        gap: 24px;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

.licensing-desc-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.licensing-desc-section {
    margin-bottom: 1rem;
}

/* Illustration + Text: Side by side */
.licensing-desc-content-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0;
}

.licensing-desc-text-content {
    flex: 1;
}

    .licensing-desc-text-content h1 {
        font-size: 2rem;
        font-weight: 800;
        background: linear-gradient(to right, #7BA3FF, #2B74FA);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin: 0 0 .5rem 0;
        text-align: right;
    }

    .licensing-desc-text-content p {
        font-size: 1.15rem;
        color: #444;
        text-align: justify;
    }

.licensing-desc-illustration {
    flex-shrink: 0;
    width: 15rem;
}

    .licensing-desc-illustration img {
        display: block;
        margin: auto;
    }

/* Feature cards: Single horizontal row, full width container, RTL */
.licensing-desc-features-fullwidth {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    padding: 2rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .licensing-desc-features-fullwidth::-webkit-scrollbar {
        display: none;
    }

.licensing-desc-feature-card {
    flex: 0 0 auto;
    width: 8.5rem;
    background: #EBF2FF;
    border: .1rem solid #2B74FA;
    border-radius: 16px;
    padding: 1.2rem 1rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #2B74FA;
    cursor: default;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /*white-space: nowrap;*/
}

    .licensing-desc-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(123, 163, 255, 0.15);
    }

/* Section 1: Illustration on left */
.licensing-desc-multi-club .licensing-desc-content-row {
    flex-direction: row-reverse;
}

.licensing-desc-text-content p {
    text-align: justify;
    margin-right: 0;
    margin-left: auto;
}

.licensing-desc-feature-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .licensing-desc-content-row {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .licensing-desc-text-content h1 {
        text-align: center;
    }

    .licensing-desc-text-content p {
        text-align: center !important;
        margin: 0 auto !important;
        max-width: none;
    }

    .licensing-desc-illustration {
        max-width: 10rem;
        margin: 0 auto;
    }

    .licensing-desc-multi-club .licensing-desc-content-row {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .licensing-desc-content-row {
        gap: 2rem;
    }

    .licensing-desc-wrapper {
        padding: 2rem 1rem;
    }

    .licensing-desc-text-content h1 {
        font-size: 1.75rem;
    }

    .licensing-desc-text-content p {
        font-size: 1rem;
    }

    .licensing-desc-feature-card {
        width: 8.5rem;
        font-size: 0.9rem;
        padding: 1rem 0.8rem;
    }

        .licensing-desc-feature-card:hover {
            transform: translateY(0);
            box-shadow: none;
        }

    .licensing-desc-illustration {
        max-width: 7.5rem;
    }

    .licensing-desc-features-fullwidth {
        gap: 1rem;
        justify-content: flex-start;
    }
}

.request-card {
    background-color: #F6F9FF;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 32px;
    padding-bottom: 3rem;
    margin: auto;
    position: relative;
    border: .1rem solid #558BFF;
}

.upper-section {
    display: flex;
    gap: 24px;
}

.dropdowns-section {
    flex: .9;
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.dropdown-container {
    flex: 1.5;
    display: flex;
    gap: 16px;
}

.dropdowns-submit {
    align-self: stretch;
}

.inputs-section {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.dropdown-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

select,
input[type="text"],
input[type="tel"] {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0 16px;
    font-size: .8rem;
    background-color: #ffffff;
    appearance: none;
    margin: .25rem 0;
    direction: rtl;
}

select {
    cursor: pointer;
    padding-left: 40px;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095.1c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.9z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: left 16px top 50%;
    background-size: 12px auto;
}

input[type="tel"]::placeholder,
input[type="text"]::placeholder {
    color: #a0a0a0;
}

.submit-button {
    width: 100%;
    height: 48px;
    background-color: #3a82f6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 4px;
}

    .submit-button:hover {
        background-color: #2a72e6;
    }

.request-card-error {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    color: #ec1855;
    bottom: .75rem;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .upper-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .inputs-section {
        grid-template-columns: 1fr;
    }

    .dropdown-container {
        flex-direction: column;
        gap: 24px;
    }
}

.faq-section {
    padding: 4rem 0 3rem 0;
}

.faq-container {
    width: 85%;
    min-height: 33.5rem;
    background: #F4F4F4;
    border-radius: 2rem;
    display: flex;
    justify-content: space-evenly;
    margin: 2rem auto;
    padding: 2rem;
    direction: ltr;
    max-width: 1400px;
}

.faq-img-container {
    margin: auto;
}

.faq-questions-container {
    width: 55%;
    direction: rtl;
}

@media screen and (max-width: 700px) {
    .faq-container {
        display: block;
    }

    .faq-questions-container {
        width: 100%;
    }
}

.faq-item {
    background-color: #fff;
    color: #222;
    border-radius: 1rem;
    box-shadow: 0 .25rem .5rem 0 rgb(0,0,0,0.25);
    margin: 1.25rem 0;
    font-size: 1.1rem;
}

.faq-question {
    padding: 1.25rem 1.25rem 1.25rem 5rem;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

    .faq-question::after {
        content: "\002B";
        font-size: 2rem;
        position: absolute;
        left: 1.25rem;
        transition: 0.2s;
    }

    .faq-question.active::after {
        transform: rotate(45deg);
    }

.faq-answer-container {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.faq-answer {
    font-size: 1rem;
    padding: 0 1.25rem 1.25rem;
    line-height: 1.5rem;
    font-weight: 200;
}

.faq-question.active ~ .faq-answer {
    height: fit-content;
}

.faq-mobile-img-container {
    display: none;
    margin: auto;
    padding-bottom: 1rem;
}

    .faq-mobile-img-container > img {
        max-height: 10rem;
        margin: auto;
        display: block;
    }

.faq-img-container {
    display: block;
}

@media screen and (max-width: 700px) {
    .faq-section {
        padding: 2rem 0 0 0;
    }

    .faq-container {
        width: 95%;
        padding: .5rem 1rem;
        border-radius: 1rem;
    }

    .faq-mobile-img-container {
        display: block;
    }

    .faq-img-container {
        display: none;
    }

    .faq-item {
        border-radius: .5rem;
    }

    .faq-question {
        font-size: .9rem;
        padding: .75rem .75rem .75rem 2.5rem;
    }

    .faq-answer {
        font-size: .8rem;
    }

    .faq-question::after {
        font-size: 1.25rem;
        left: 1rem;
    }
}

.about-crm-container {
    text-align: center;
    width: 85%;
    margin: 0 auto;
}

.about-crm-tabs-container {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    background-color: transparent;
    border-bottom: .125rem #222;
    overflow: hidden;
    position: relative;
}

    .about-crm-tabs-container nav {
        position: relative;
        block-size: 50px;
        inline-size: 80%;
        display: flex;
        align-items: end;
        justify-content: start;
        gap: 2rem;
        width: 100%;
        padding: .5rem 0;
        margin-top: 1rem;
        font-weight: 500;
        color: #222;
    }

        .about-crm-tabs-container nav::after {
            content: '';
            position: absolute;
            background: silver;
            inline-size: 100%;
            height: 1px;
            bottom: 0;
            filter: blur(0.01px);
        }

        .about-crm-tabs-container nav > label {
            position: relative;
            display: flex;
            block-size: 100%;
            /* inline-size: 100%; */
            text-align: center;
            line-height: 50px;
            cursor: pointer;
            transition: all 300ms ease;
            /* width: 20%; */
            justify-content: center;
            filter: saturate(0);
            padding: 0 1rem;
        }

#videos:checked ~ .tab-list .videos,
#blogs:checked ~ .tab-list .blogs {
    filter: saturate(1);
    color: black;
    font-weight: 700;
}

.about-crm-content-container {
    display: block;
}

    .about-crm-content-container .content {
        display: none;
        margin-block-end: 20px;
        height: 27rem;
    }

#videos:checked ~ .about-crm-content-container .content-1 {
    display: block;
}

#blogs:checked ~ .about-crm-content-container .content-2 {
    display: block;
}

.about-crm-cards-container::-webkit-scrollbar {
    display: none;
}

.about-crm-cards-outer-container {
    width: 100%;
    height: 30rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-crm-cards-inner-container {
    width: 85vw;
    max-width: 100%;
    height: 30rem;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    white-space: nowrap;
    -webkit-transform: translate3d(0, 0, 0);
    overscroll-behavior-x: contain;
    pointer-events: auto;
}

.about-crm-card {
    display: inline-flex;
    flex-direction: column;
    background: #f4f4f4;
    color: #222;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1rem;
    width: 20rem;
    text-align: justify;
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
}

.about-crm-card-img {
    display: block;
    height: 12rem;
    margin: 0 auto;
    border-radius: .5rem;
}

.about-crm-card-title {
    margin: 1rem 0;
    display: block;
    font-weight: 900;
    font-size: 1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.about-crm-card-desc {
    font-weight: 300;
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
    min-height: 6.125rem;
    white-space: break-spaces;
}

.about-crm-card-link {
    display: block;
    margin-top: .5rem;
    text-decoration: none;
}

    .about-crm-card-link:hover {
        color: #222;
    }

.tab-list .slider-4 {
    position: absolute;
    block-size: 3px;
    background: #e10547;
    border-radius: 1rem;
    inline-size: 7rem;
    z-index: 1;
    inset-inline-start: 0;
    inset-block-end: -1.5px;
    transition: all 300ms;
    filter: blur(0.4px);
}

#videos:checked ~ .tab-list .slider-4 {
    inset-inline-start: 0;
}

#blogs:checked ~ .tab-list .slider-4 {
    inset-inline-start: 8rem;
}

@media screen and (max-width: 700px) {
    .about-crm-content-container {
        padding-top: 0;
    }

        .about-crm-content-container .content {
            height: 24rem;
        }

    .about-crm-cards-outer-container,
    .about-crm-cards-inner-container {
        height: 24.5rem;
    }

    .about-crm-card {
        width: 15rem;
        line-height: 1rem;
    }

    .about-crm-card-img {
        height: 9rem;
    }

    .about-crm-card-title {
        font-size: .9rem;
    }

    .about-crm-card-desc {
        font-size: .7rem;
    }

    .about-crm-card-link {
        font-size: .7rem;
    }

    .about-crm-tab-title {
        font-size: 1rem;
    }

    .tab-list .slider-4 {
        inline-size: 5.5rem;
    }

    #videos:checked ~ .tab-list .slider-4 {
        inset-inline-start: 0rem;
    }

    #blogs:checked ~ .tab-list .slider-4 {
        inset-inline-start: 6.5rem;
    }

    #footer2 .copyright {
        padding-bottom: 50px;
    }
}

.faq-section .crm-facilities-title {
    text-align: center;
}
