/* 1405/04/01 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* ==========================================================================
   Category Slider
   ========================================================================== */

#slider {
    position: relative;
    z-index: 1;
    margin: 10px 0 40px;
}
#slider-image {
    position: relative;
    height: 465px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    list-style: none;
    border-radius: 10px;
}
.category-slide {
    position: absolute;
    inset: 0;

    box-sizing: border-box;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
            opacity 300ms ease,
            visibility 300ms ease;
}


.category-slide.is-active {
    z-index: 1;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ==========================================================================
   Hero Image
   ========================================================================== */

.category-slide .hero-image {
    position: absolute;
    inset: 0;
}


.category-slide .hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
            to left,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.42) 45%,
            rgba(0, 0, 0, 0.10) 100%
    );
}


.category-slide .hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
     * سوژه سمت چپ تصویر حفظ می‌شود.
     * در صورت نیاز به Crop، برش از سمت راست انجام می‌شود.
     */
    object-position: left center;
}


/* ==========================================================================
   Hero Content
   ========================================================================== */

.category-slide .hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-sizing: border-box;

    width: min(680px, 70%);
    height: 100%;

    padding-inline: 40px;
}


.category-slide .hero-title {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}


.category-slide .hero-description1 {
    margin: 0 0 10px;

    color: #eef2f7;

    font-size: 25px;
    line-height: 1.8;
    font-weight: 600;
}


.category-slide .hero-description2 {
    max-width: 620px;

    margin: 0;

    color: #eef2f7;

    font-size: 13px;
    line-height: 2;
}


/* ==========================================================================
   Hero Features
   ========================================================================== */

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    width: min(620px, 100%);

    margin: 22px 0 0;
    padding: 0;

    list-style: none;
}


.hero-feature {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    min-width: 0;

    padding-inline: 18px;

    color: #eef2f7;

    text-align: center;
}


/* Divider */

.hero-feature:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 5px;
    left: 0;

    width: 1px;
    height: 58px;

    background-color: rgba(255, 255, 255, 0.25);
}


/* Icon */

.hero-feature-icon {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    fill: none;

    stroke: #3b82f6;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Text */

.hero-feature span {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;

    white-space: normal;
    text-wrap: balance;
}


/* ==========================================================================
   CTA
   ========================================================================== */

.category-slide .category-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: fit-content;

    margin-top: 28px;
    padding-inline: 26px;
}


.category-cta .icon-arrow {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   Autoplay Button
   ========================================================================== */

.slider-autoplay-toggle {
    position: absolute;
    z-index: 5;

    top: 18px;
    left: 18px;

    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    padding: 0;

    color: #ffffff;
    background: rgba(0, 0, 0, 0.40);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    cursor: pointer;

    transition:
            background-color 200ms ease,
            border-color 200ms ease;
}


.slider-autoplay-toggle:hover {
    background-color: rgba(0, 0, 0, 0.65);
}


.slider-autoplay-toggle:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}


.slider-autoplay-toggle svg {
    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.slider-autoplay-toggle .play-icon {
    display: none;
}


.slider-autoplay-toggle[aria-pressed="true"] .pause-icon {
    display: none;
}


.slider-autoplay-toggle[aria-pressed="true"] .play-icon {
    display: block;
}


/* ==========================================================================
   Navigation
   ========================================================================== */

#slider-nav {
    width: 100%;

    margin-top: 10px;
}


.slider-nav-list {
    display: flex;

    padding: 0;
    margin: 0;

    overflow: hidden;
    list-style: none;
}


.slider-nav-list > li {
    flex: 1;
    min-width: 0;

    border-left: 1px solid #eef2f7;
}


.slider-nav-list > li:last-child {
    border-left: 0;
}


.slider-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-sizing: border-box;

    width: 100%;
    min-height: 92px;

    padding: 12px 10px;

    color: inherit;
    background: transparent;

    border: 2px solid transparent;
    border-bottom-width: 6px;
    border-radius: 16px;

    font: inherit;
    text-align: center;

    cursor: pointer;

    transition:
            color 200ms ease,
            background-color 200ms ease,
            border-color 200ms ease;
}


.slider-nav-button span {
    line-height: 1.8;
}


.slider-nav-button:hover {
    background-color: #f8fafc;
}


.slider-nav-button.is-active {
    color: #2563eb;
    background-color: #f6f9ff;

    border-color: #2563eb;
    border-bottom-color: #2563eb;

    font-weight: 700;
}


.slider-nav-button:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: -3px;
}


/* ==========================================================================
   Navigation Icons
   ========================================================================== */

.category-icon {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   <= 992px
   ========================================================================== */

@media (max-width: 992px) {

    #slider-image {
        height: 440px;
    }


    .category-slide .hero-content {
        width: min(640px, 78%);

        padding-inline: 32px;
    }


    .category-slide .hero-description1 {
        font-size: 23px;
    }


    .hero-features {
        width: min(580px, 100%);

        margin-top: 18px;
    }


    .hero-feature {
        padding-inline: 12px;
    }


    .hero-feature-icon {
        width: 34px;
        height: 34px;
    }


    .hero-feature span {
        font-size: 11.5px;
    }


    .category-slide .category-cta {
        margin-top: 22px;
    }


    .slider-nav-button {
        min-height: 86px;

        gap: 7px;

        padding-inline: 8px;
    }


    .category-icon {
        width: 36px;
        height: 36px;
    }

}


/* ==========================================================================
   <= 768px
   ========================================================================== */

@media (max-width: 768px) {

    #slider {
        margin-bottom: 30px;
    }


    #slider-image {
        height: 440px;
    }


    .category-slide .hero-image::after {
        background: linear-gradient(
                to left,
                rgba(0, 0, 0, 0.78) 0%,
                rgba(0, 0, 0, 0.58) 60%,
                rgba(0, 0, 0, 0.30) 100%
        );
    }


    .category-slide .hero-content {
        width: 88%;

        padding-inline: 25px;
    }


    .category-slide .hero-title {
        font-size: 17px;
    }


    .category-slide .hero-description1 {
        font-size: 22px;
        line-height: 1.7;
    }


    .category-slide .hero-description2 {
        font-size: 13px;
        line-height: 1.9;
    }


    .hero-features {
        width: min(560px, 100%);

        margin-top: 18px;
    }


    .hero-feature {
        padding-inline: 10px;
    }


    .hero-feature-icon {
        width: 32px;
        height: 32px;
    }


    .hero-feature span {
        font-size: 11px;
    }


    .category-slide .category-cta {
        margin-top: 20px;
    }


    /*
     * Horizontal touch navigation
     */

    .slider-nav-list {
        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;

        -webkit-overflow-scrolling: touch;
    }


    .slider-nav-list > li {
        flex: 0 0 165px;

        scroll-snap-align: start;
    }


    .slider-nav-button {
        min-height: 82px;
    }


    .category-icon {
        width: 34px;
        height: 34px;
    }

}


/* ==========================================================================
   <= 480px
   ========================================================================== */

@media (max-width: 480px) {

    #slider {
        margin-top: 8px;
        margin-bottom: 25px;
    }


    #slider-image {
        height: 560px;

        border-radius: 8px;
    }


    .category-slide .hero-content {
        width: 94%;

        padding-inline: 18px;
    }


    .category-slide .hero-title {
        margin-bottom: 6px;

        font-size: 16px;
        line-height: 1.6;
    }


    .category-slide .hero-description1 {
        margin-bottom: 6px;

        font-size: 19px;
        line-height: 1.7;
    }


    .category-slide .hero-description2 {
        font-size: 13px;
        line-height: 1.9;
    }


    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: min(360px, 100%);

        row-gap: 18px;

        margin-top: 18px;
    }


    .hero-feature {
        padding-inline: 8px;
    }


    /*
     * در چیدمان 2×2:
     * آیتم دوم انتهای ردیف اول است.
     */

    .hero-feature:nth-child(2)::after {
        display: none;
    }


    .hero-feature-icon {
        width: 32px;
        height: 32px;
    }


    .hero-feature span {
        font-size: 12px;
        line-height: 1.7;
    }


    .category-slide .category-cta {
        min-height: 44px;

        margin-top: 18px;
        padding-inline: 20px;
    }


    .slider-autoplay-toggle {
        top: 12px;
        left: 12px;

        width: 44px;
        height: 44px;
    }


    .slider-nav-list > li {
        flex-basis: 150px;
    }


    .slider-nav-button {
        min-height: 78px;

        padding: 10px 7px;

        font-size: 12px;
    }


    .category-icon {
        width: 31px;
        height: 31px;
    }

}


/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .category-slide,
    .slider-nav-button {
        transition: none;
    }


    .slider-autoplay-toggle {
        display: none;
    }

}




/*---------aboutUs----------*/
/*SEO : done 1405/04/13*/
/*HTML : done 1405/04/13*/
/*UI $ UX : done 1405/04/13*/
/*CSS : done 1405/04/13*/

/* ==========================================================================
   About Us - Home
   ========================================================================== */

#aboutUs-index {
    margin-block: 40px;
}


/* ==========================================================================
   Main About
   ========================================================================== */

#aboutUs-index .aboutUs-main {
    display: grid;
    grid-template-columns:
            minmax(0, 1.1fr)
            minmax(320px, 1fr);

    align-items: stretch;
    gap: 30px;

    padding: 20px;
}


.aboutUs-content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


/* ==========================================================================
   Title
   ========================================================================== */

#aboutUs-index .section-title {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 0;
}


#aboutUs-index .section-title-icon {
    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    fill: none;

    stroke: #2563eb;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   Text
   ========================================================================== */

.aboutUs-description {
    margin: 0 0 12px;

    font-size: 14px;
    font-weight: 700;
    line-height: 2;
}


.aboutUs-text {
    margin: 0 0 8px;

    line-height: 2.2;

    text-align: start;
}


/* ==========================================================================
   More Button
   ========================================================================== */

.aboutUs-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    align-self: flex-end;

    margin-top: auto;
}


.btn-icon {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   Image
   ========================================================================== */

.aboutUs-image {
    min-width: 0;
    overflow: hidden;

    border-radius: 10px;
}


.aboutUs-image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 380px;

    object-fit: cover;

    filter:
            contrast(1.05)
            saturate(1.05);
}


/* ==========================================================================
   Statistics
   ========================================================================== */

.statistics {
    margin-top: 20px;
}


.statistics-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;

    padding: 0;
    margin: 0;

    list-style: none;
}


.statistics-item {
    display: flex;
    align-items: center;
    gap: 16px;

    min-width: 0;

    padding: 28px 22px;
}


/* ==========================================================================
   KPI Icons
   ========================================================================== */

.kpi-icon {
    display: grid;
    place-items: center;

    flex: 0 0 72px;

    width: 72px;
    height: 72px;

    color: #2563eb;
    background-color: #f6f9ff;

    border-radius: 50%;
}


.kpi-icon svg {
    width: 42px;
    height: 42px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================================
   KPI Content
   ========================================================================== */

.kpi-content {
    min-width: 0;

    text-align: start;
}


.kpi-value {
    display: block;

    margin-bottom: 8px;

    font-size: clamp(1.7rem, 2.2vw, 2.37rem);
    font-weight: 700;
    line-height: 1.1;

    white-space: nowrap;
}


.kpi-content p {
    margin: 0;

    color: #64748b;

    font-size: 12px;
    line-height: 1.8;
}


/* ==========================================================================
   Services CTA
   ========================================================================== */

.about-services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    min-height: 120px;

    margin: 20px 0;
    padding: 24px 32px;
}


.about-services-cta__content {
    display: flex;
    align-items: center;
    gap: 20px;

    min-width: 0;
}


.about-services-cta__icon {
    display: grid;
    place-items: center;

    flex: 0 0 72px;

    width: 72px;
    height: 72px;

    color: #2563eb;
    background-color: #f6f9ff;

    border-radius: 50%;
}


.about-services-cta__icon svg {
    width: 42px;
    height: 42px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.about-services-cta__content p {
    max-width: 700px;

    margin: 0;

    line-height: 2;

    text-align: start;
}


.about-services-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex: 0 0 auto;

    white-space: nowrap;
}


/* ==========================================================================
   <= 992px
   ========================================================================== */

@media (max-width: 992px) {

    #aboutUs-index .aboutUs-main {
        grid-template-columns:
                minmax(0, 1.1fr)
                minmax(280px, 0.9fr);

        gap: 24px;

        padding: 18px;
    }


    .aboutUs-text {
        line-height: 2;
    }


    .aboutUs-image img {
        min-height: 360px;
    }


    .statistics-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .statistics-item {
        padding: 24px;
    }


    .about-services-cta {
        gap: 20px;

        padding-inline: 24px;
    }

}


/* ==========================================================================
   <= 768px
   ========================================================================== */

@media (max-width: 768px) {

    #aboutUs-index {
        margin-block: 30px;
    }


    #aboutUs-index .aboutUs-main {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 18px;
    }


    .aboutUs-image {
        order: -1;
    }


    .aboutUs-image img {
        height: auto;
        min-height: 0;

        aspect-ratio: 3 / 2;
    }


    .aboutUs-description {
        font-size: 13.5px;
    }


    .aboutUs-text {
        font-size: 13px;
        line-height: 2;
    }


    .aboutUs-more {
        margin-top: 14px;
    }


    .statistics-list {
        gap: 14px;
    }


    .statistics-item {
        gap: 14px;

        padding: 20px 16px;
    }


    .kpi-icon {
        flex-basis: 64px;

        width: 64px;
        height: 64px;
    }


    .kpi-icon svg {
        width: 36px;
        height: 36px;
    }


    .about-services-cta {
        align-items: stretch;

        gap: 20px;

        padding: 22px;
    }


    .about-services-cta__content {
        gap: 16px;
    }


    .about-services-cta__icon {
        flex-basis: 64px;

        width: 64px;
        height: 64px;
    }


    .about-services-cta__icon svg {
        width: 36px;
        height: 36px;
    }


    .about-services-cta__content p {
        font-size: 13px;
    }

}


/* ==========================================================================
   <= 480px
   ========================================================================== */

@media (max-width: 480px) {

    #aboutUs-index {
        margin-block: 25px;
    }


    #aboutUs-index .aboutUs-main {
        gap: 18px;

        padding: 14px;
    }


    .aboutUs-image img {
        aspect-ratio: 4 / 3;
    }


    .aboutUs-description {
        margin-bottom: 8px;

        font-size: 13px;
    }


    .aboutUs-text {
        font-size: 12.5px;
        line-height: 1.95;
    }


    .aboutUs-more {
        min-height: 44px;
    }


    /* Statistics */

    .statistics-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }


    .statistics-item {
        min-height: 96px;

        padding: 16px 18px;
    }


    .kpi-icon {
        flex-basis: 60px;

        width: 60px;
        height: 60px;
    }


    .kpi-icon svg {
        width: 34px;
        height: 34px;
    }


    .kpi-value {
        font-size: 1.75rem;
    }


    .kpi-content p {
        font-size: 12px;
    }


    /* Services CTA */

    .about-services-cta {
        flex-direction: column;
        align-items: stretch;

        gap: 18px;

        min-height: 0;

        padding: 20px 18px;
    }


    .about-services-cta__content {
        align-items: flex-start;
    }


    .about-services-cta__icon {
        flex-basis: 56px;

        width: 56px;
        height: 56px;
    }


    .about-services-cta__icon svg {
        width: 32px;
        height: 32px;
    }


    .about-services-cta__content p {
        flex: 1;

        font-size: 12.5px;
        line-height: 1.9;
    }


    .about-services-cta__button {
        width: 100%;
        min-height: 44px;
    }

}

