/* slider start */

.h-600px {
    height: 600px;
}

.slider {
    /*width: calc(100% - 8px);*/
    max-width: 1920px;
}

.slider .swiper {
    width: 100%;
    height: 100%;
}

.slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media screen and (max-width: 1536px) {
    .slider .swiper-slide img {
        height: 400px !important;
    }
}

@media screen and (max-width: 1280px) {
    .slider .swiper-slide img {
        height: 350px !important;
    }
}

@media screen and (max-width: 1024px) {
    .slider .swiper-slide img {
        height: 300px !important;
    }
}

@media screen and (max-width: 870px) {
    .slider .swiper-slide img {
        height: 250px !important;
    }
}

@media screen and (max-width: 768px) {
    .slider .swiper-slide img {
        height: 210px !important;
    }
}

@media screen and (max-width: 640px) {
    .slider .swiper-slide img {
        height: 170px !important;
    }

    .slider .swiper-button-next {
        display: none !important;
    }

    .slider .swiper-button-prev {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .slider .swiper-slide img {
        height: 150px !important;
    }
}

@media screen and (max-width: 420px) {
    .slider .swiper-slide img {
        height: 130px !important;
    }
}

@media screen and (max-width: 370px) {
    .slider .swiper-slide img {
        height: 110px !important;
    }
}

.slider .swiper {
    margin-left: auto;
    margin-right: auto;
}

.slider .swiper-wrapper {
    width: 100% !important;
}

.slider .swiper-button-next {
    color: #101010;
    left: 20px !important;
    background-color: #fff;
    padding: 1rem;
    border-radius: 100%;
    width: 1px !important;
    height: 1px !important;
}

.slider .swiper-button-prev {
    color: #101010;
    right: 20px !important;
    background-color: #fff;
    padding: 1rem;
    border-radius: 100%;
    width: 1px !important;
    height: 1px !important;
}

.slider .swiper-rtl .swiper-button-prev:after, .slider .swiper-rtl .swiper-button-next:after {
    font-size: 14px;
    font-weight: bold;
}

.slider .swiper-pagination {
    /*position: absolute !important;*/
    position: absolute !important;
    /*width: 20%;*/
    padding: 0;
    right: 0 !important;
    left: 0 !important;
    /*background-color: #a1a1a1;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    display: flex;
    justify-content: center;
}

.slider .swiper-pagination-bullet {
    /*background-color: #aaa3ad;*/
    /*background-color: #0a53be;*/
    background-color: #000000;
    opacity: 0.3;
    width: 5px;
    height: 5px;
}

.slider .swiper-pagination-bullet-active {
    background-color: #ffffff;
    opacity: 1;
    border-radius: 20px;
    width: 15px;
}

/* slider end */
/* start categories-top */

.filter-indigo {
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(747%) hue-rotate(210deg) brightness(90%) contrast(90%);
}

.special-persons {
    max-width: 1400px;
}

.special-persons-slider  .swiper-button-prev {
    color: #fff;
}

.special-persons-slider .swiper-button-next {
    color: #f1f1f1;
    left: 0 !important;
    background-color: #a4a4a4;
    padding: 1rem;
    border-radius: 100%;
    width: 1px !important;
    height: 1px !important;
}

.special-persons-slider .swiper-button-prev {
    color: #f1f1f1;
    right: 0 !important;
    background-color: #a4a4a4;
    padding: 1rem;
    border-radius: 100%;
    width: 1px !important;
    height: 1px !important;
}

.special-persons-slider .swiper-button-prev:after, .special-persons-slider .swiper-rtl .swiper-button-next:after {
    font-size: 14px;
    font-weight: bold;
}

.special-persons-slider .swiper {
    width: 100%;
    height: 100%;
}

.special-persons-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.special-persons-slider .swiper-slide img {
    display: block;
    /*width: 100%;*/
}

/* end categories-top */

/* start sanaye-pishro */

.sanaye-pishro {
    background-color: #f0f0f0;
}

.sanaye-pishro > section {
    max-width: 1400px;
    margin: 2rem auto;
    padding-bottom: 20px;
}

.sanaye-pishro .swiper {
    padding-bottom: 10px;
}

.sanaye-pishro .swiper-pagination {
    position: absolute !important;
    padding: 0;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
}

.sanaye-pishro .swiper-pagination-bullet {
    background-color: #000000;
    opacity: 0.3;
    width: 7px;
    height: 7px;
}

.sanaye-pishro .swiper-pagination-bullet-active {
    background-color: #3877de;
    opacity: 1;
    border-radius: 20px;
    width: 15px;
}

/* end sanaye-pishro */

/* start tarh */

.tarh {
    max-width: 1400px;
}

.tarh .swiper-slide {
    background-color: #eeeeee;
}

.tarh img {
    min-height: 150px;
}

.tarh .swiper-pagination {
    position: absolute !important;
    padding: 0;
    right: 0 !important;
    left: 0 !important;
    bottom: 5px !important;
    display: flex;
    justify-content: center;
}

.tarh .swiper-pagination-bullet {
    background-color: #000000;
    opacity: 0.3;
    width: 5px;
    height: 5px;
}

.tarh .swiper-pagination-bullet-active {
    background-color: #FFFFFF;
    opacity: 1;
    border-radius: 20px;
    width: 15px;
}

/* end tarh */

/* start gallery */

.gallery {
    max-width: 1400px;
    margin: 2rem auto;
}

.gallery > section {
    max-height: 549px;
}

.gallery #mySwiper1 {
    min-height: 300px;
}

.gallery #mySwiper2 {
    min-height: 200px;
}

.gallery #mySwiper3 {
    min-height: 100px;
}

.gallery #mySwiper4 {
    min-height: 100px;
}

.gallery #mySwiper5 {
    min-height: 100px;
}

.gallery #mySwiper6 {
    min-height: 100px;
}

.gallery #mySwiper7 {
    min-height: 200px;
}

@media screen and (max-width: 1200px) {
    .gallery > section {
        max-height: 500px;
    }
}

@media screen and (max-width: 1100px) {
    .gallery > section {
        max-height: 470px;
    }
}

@media screen and (max-width: 1023.5px) {
    .gallery > section {
        max-height: 700px;
    }
}

@media screen and (max-width: 912px) {
    .gallery > section {
        max-height: 630px;
    }
}

@media screen and (max-width: 840px) {
    .gallery > section {
        max-height: 580px;
    }
}

@media screen and (max-width: 780px) {
    .gallery > section {
        max-height: 530px;
    }
}

@media screen and (max-width: 720px) {
    .gallery > section {
        max-height: 490px;
    }
}

@media screen and (max-width: 670px) {
    .gallery > section {
        max-height: 450px;
    }
}

@media screen and (max-width: 639.5px) {
    .gallery > section {
        max-height: 1024px;
    }
}

@media screen and (max-width: 570px) {
    .gallery > section {
        max-height: 900px;
    }
}

@media screen and (max-width: 480px) {
    .gallery > section {
        max-height: 830px;
    }
}

@media screen and (max-width: 430px) {
    .gallery > section {
        max-height: 790px;
    }
}

@media screen and (max-width: 390px) {
    .gallery > section {
        max-height: 710px;
    }
}

@media screen and (max-width: 350px) {
    .gallery > section {
        max-height: 650px;
    }
}

@media screen and (max-width: 330px) {
    .gallery > section {
        max-height: 600px;
    }
}

@media screen and (max-width: 315px) {
    .gallery > section {
        max-height: 550px;
    }
}

@media screen and (max-width: 300px) {
    .gallery > section {
        max-height: 500px;
    }
}

@media screen and (max-width: 280px) {
    .gallery > section {
        max-height: 480px;
    }
}

@media screen and (max-width: 249.5px) {
    .gallery > section {
        max-height: 1200px;
    }

    .gallery .swiper {
        /*width: fit-content;*/
    }

    #mySwiper1 {
        height: 300px;
    }

    #mySwiper2 {
        height: 200px;
    }

    #mySwiper3 {
        height: 100px;
    }

    #mySwiper4 {
        height: 100px;
    }

    #mySwiper5 {
        height: 100px;
    }

    #mySwiper6 {
        height: 100px;
    }

    #mySwiper7 {
        height: 200px;
    }
}

.gallery #mySwiper3 .swiper-pagination , .gallery #mySwiper4 .swiper-pagination , .gallery #mySwiper5 .swiper-pagination , .gallery #mySwiper6 .swiper-pagination {
    position: absolute !important;
    padding: 0;
    right: 0 !important;
    left: 0 !important;
    bottom: 5px !important;
    display: flex;
    justify-content: center;
}

.gallery #mySwiper3 .swiper-pagination-bullet , .gallery #mySwiper4 .swiper-pagination-bullet , .gallery #mySwiper5 .swiper-pagination-bullet , .gallery #mySwiper6 .swiper-pagination-bullet {
    background-color: #000000;
    opacity: 0.3;
    width: 5px;
    height: 5px;
}

.gallery #mySwiper3 .swiper-pagination-bullet-active , .gallery #mySwiper4 .swiper-pagination-bullet-active , .gallery #mySwiper5 .swiper-pagination-bullet-active , .gallery #mySwiper6 .swiper-pagination-bullet-active {
    background-color: #FFFFFF;
    opacity: 1;
    border-radius: 20px;
    width: 15px;
}

.gallery #mySwiper1 .swiper-pagination , .gallery #mySwiper2 .swiper-pagination , .gallery #mySwiper7 .swiper-pagination {
    position: absolute !important;
    padding: 0;
    right: 5px !important;
    left: 0 !important;
    bottom: 0 !important;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.gallery #mySwiper1 .swiper-pagination-bullet , .gallery #mySwiper2 .swiper-pagination-bullet , .gallery #mySwiper7 .swiper-pagination-bullet {
    background-color: #000000;
    opacity: 0.3;
    width: 5px;
    height: 5px;
}

.gallery #mySwiper1 .swiper-pagination-bullet-active , .gallery #mySwiper2 .swiper-pagination-bullet-active , .gallery #mySwiper7 .swiper-pagination-bullet-active {
    background-color: #FFFFFF;
    opacity: 1;
    border-radius: 20px;
    height: 15px;
}

/*.grid-rows-7 {*/
/*    grid-template-rows:repeat(7,minmax(0,1fr)) !important;*/
/*}*/

/* end gallery */

/* start shoar */

.shoar {
    max-width: 1400px;
}

.shoar > section {
    /*background-color: #3c4b6d;*/
}

/* end shoar */

/* start shoar-next */

.shoar-next {
    max-width: 1400px;
    margin: 2rem auto;
}

.shoar-next > section {
    /*height: 300px;*/
    direction: ltr !important;
}

/* end shoar-next */

/* start moarefi */

.moarefi {
    background-color: #3c4b6d;
}

.moarefi > section {
    max-width: 1400px;
    margin: 2rem auto;
}

/* end moarefi */

/* start moshaveran */

.moshaveran {
    max-width: 1400px;
    margin: 2rem auto;
}

/* end moshaveran */


/* start moshaverann */

.moshaveran {
    max-width: 1400px;
    margin: 2rem auto;
}

.moshaveran  .swiper-button-prev {
    color: #fff;
}

.moshaveran .swiper-button-next {
    color: #f1f1f1;
    left: 0 !important;
    background-color: #a4a4a4;
    padding: 1rem;
    border-radius: 100%;
    width: 1px !important;
    height: 1px !important;
}

.moshaveran .swiper-button-prev {
    color: #f1f1f1;
    right: 0 !important;
    background-color: #a4a4a4;
    padding: 1rem;
    border-radius: 100%;
    width: 1px !important;
    height: 1px !important;
}

.moshaveran .swiper-button-prev:after, .moshaveran .swiper-rtl .swiper-button-next:after {
    font-size: 14px;
    font-weight: bold;
}

.moshaveran .swiper {
    width: 100%;
    height: 100%;
}

.moshaveran .swiper-slide {
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    position: relative;
}

.moshaveran .swiper-slide img {
    display: block;
    /*width: 100%;*/
}

.moshaveran .show-page a:hover {
    background-color: #393185;
    color: #fff;
}

/* end moshaveran */
/* Start Logo */

.logos-section {
    position: relative;
    width: 100%;
    height: 500px;
    background: #ffffff;
    overflow: hidden;
    /* GPU composite layer */
    will-change: transform;
}

.logos-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.logos-section .logo-node {
    position: absolute;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    will-change: transform;
    /* Animation: random float via CSS custom property */
    animation: floatY var(--dur, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.logos-section .logo-node img {
    max-width: 84px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    /* Start grayscale */
    filter: grayscale(1) opacity(0.55);
    transition: filter 0.35s ease;
    pointer-events: none;
    user-select: none;
}

.logos-section .logo-node:hover img {
    filter: grayscale(0) opacity(1);
}

.no-animation .logo-node {
    animation: none !important;
}

@keyframes floatY {
    0%, 100% { transform: translate(-50%, calc(-50% + 0px)); }
    50%       { transform: translate(-50%, calc(-50% - var(--lift, 2px))); }
}

.logos-section .center-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    /* Soft radial gradient halo for readability */
    padding: 36px 48px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 120% 120% at 50% 50%,
        rgba(255,255,255,1)   0%,
        rgba(255,255,255,0.97) 50%,
        rgba(255,255,255,0.0)  100%);
}

.logos-section .center-block .eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 14px;
}

.logos-section .center-block h2 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    color: #0f0f0f;
    line-height: 1.18;
    max-width: 480px;
    letter-spacing: -0.02em;
}

.logos-section .center-block h2 em {
    font-style: normal;
    color: #6366f1;
}

.logos-section .center-block p {
    margin-top: 14px;
    font-size: 15px;
    color: #6b7280;
    max-width: 360px;
    line-height: 1.65;
}

.logos-section .controls {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    display: flex;
    gap: 8px;
}

.logos-section .ctrl-btn {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    display: none;
}
.logos-section .ctrl-btn:hover { background: #f9fafb; border-color: #d1d5db; }
.logos-section .ctrl-btn.active { background: #6366f1; color: #fff; border-color: #6366f1; }

@media (max-width: 500px){
    .logos-section .center-block {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding:20px;
        width: 330px;
    }
}
/* end Logo */
