/* Mobiles & Taplates Devices */
@media only screen and (max-width: 868px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .main .services, .main .news {
        padding: 64px 16px 24px;
    }

    .main .contact {
        padding: 24px 16px;
    }

    .main .sectionContent {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .main .sectionTitle {
        font-size: 38px;
        margin-bottom: 32px;
    }

    .main .sectionSubTitle {
        font-size: 24px;
        font-weight: normal;
    }

    .main .sectionText {
        font-size: 16px;
        margin-bottom: 24px;
    }

    /* ========== Header ========== */
    .nav {
        width: 100%;
        height: 50px;
        padding: 7px 10px;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .nav.active {
        height: 80vh;
        padding: 25px;
    }

    .nav .controlers {
        width: 100%;
    }

    
    .nav .headerControling {
        display: block;
    }

    .nav .navMenu,
    .nav .navClose {
        width: 30px;
    }

    .nav .navMenu {
        display: block;
    }

    .nav.active .navMenu {
        display: none;
    }

    .nav .navClose {
        display: none;
    }

    .nav.active .navClose {
        display: block;
    }

    .nav .navImg {
        width: 64px;
    }

    .nav ul {
        transform: translateX(250%);
        flex-direction: column;
        gap: 25px;
        margin-bottom: 125px;
        opacity: 0;
    }

    .nav.active ul {
        transform: translateX(0);
        opacity: 1;
    }

    .nav .dateTime {
        width: 100%;
        transform: translateX(-150%);
        opacity: 0;
    }

    .nav.active .dateTime {
        transform: translateX(0%);
        opacity: 1;
    }
    /* ========== End Header ========== */

    /* ========== Main Content ========== */
    /* ========== Hero ========== */
    .main .hero {
        justify-content: center;
        align-items: flex-start;
    }

    .main .hero .heroImg {
        height: 100%;
        width: unset;
        left: -90%;
    }

    .main .hero .heroContent {
        width: 90%;
        margin: 125px auto 0;
        transform: none;
    }

    .main .hero .heroContent img {
        width: 200px;
    }

    .main .hero .heroContent .heroMainText {
        font-size: 32px;
    }

    .main .hero .heroContent .heroSecondText {
        font-size: 18px;
    }

    .main .hero .pattern {
        display: none;
    }
    /* ========== End Hero ========== */
    
    /* ========== About ========== */
    .main .about {
        padding: 75px 16px 25px;
    }
    .main .about .aboutTitle {
        font-size: 32px;
        margin-bottom: 12px;
        font-weight: normal;
    }

    .main .about .aboutText {
        width: 100%;
        margin-bottom: 24px;
        font-size: 16px;
    }
    /* ========== End About ========== */
    
    /* ========== Services ========== */
    .main .services .column1 {
        width: 100%;
    }

    .main .services .column2 {
        width: 100%;
    }
    .main .services .column1 .forDesktop {
        display: none;
    }
    .swiper {
        width: 100%;
        height: fit-content;
    }
    
    /* for ios devices */
    @supports (-webkit-touch-callout: none) {
        .swiper {
            height: 80vh; 
        }
    }
    
    .swiper-slide {
        margin: auto;
    }
    
    .imagesPreview.active {
        width: 100vw;
        height: fit-content;
        left: -12px;
        transform: none;
    }
    
    .imagesPreview img {
        width: 100%;
    }
    
    .imagesPreview .close {
        top: 10px;
        right: 10px;
        border-radius: 50%;
        border: 3px solid var(--shiftColor);
    }
    /* ========== End Services ========== */
    
    /* ========== News ========== */
    .main .news .newsContent {
        width: 100%;
    }
}

/* Taplate Devices */
@media only screen and (868px < width < 1880px) {
    .nav {
        padding: 0 12px;
    }
    .nav ul {
        transform: unset;
    }
    .main .hero {
        /* align-items: flex-start; */
        padding: 50px 0 0;
    }
    .main .hero .heroContent {
        transform: translateX(100px);
    }
    .main .hero .pattern {
        display: none;
    }
    .main .hero .heroImg {
        height: 100%;
    }
    .main .about {
        padding: 75px 50px 25px;
    }
    .main .services, .main .news, .main .contact {
        padding: 70px 50px;
    }
    .main .services .column1 {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .main .services .servicesTitle {
        width: 100%;
    }

    .main .services .servicesText {
        width: 48%;
        margin-left: 20%;
    }

    .main .services .servicesText.socendText {
        width: 100%;
    }

    .main .services .column1 .forDesktop {
        display: block;
        width: 48%;
        margin-left: 4%;
    }

    .main .services .column1 .forSmallDevices {
        display: none;
    }

    .swiper {
        transform: translateY(-105px);
        width: 48%;
    }
}

/* Desktop Devices */
@media only screen and (min-width: 1880px) {
    .main .services {
        padding: 70px 350px 0;
    }

    .main .services .column1 {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .main .services .servicesTitle {
        width: 100%;
    }

    .main .services .servicesText {
        width: 48%;
        margin-left: 20%;
    }

    .main .services .servicesText.socendText {
        width: 100%;
    }

    .main .services .servicesText.socendText,
    .main .services .column1 .btn {
        /* transform: translateY(-852px); */
    }

    .main .services .column1 .forDesktop {
        display: block;
        width: 48%;
        margin-left: 4%;
    }

    .main .services .column1 .forSmallDevices {
        display: none;
    }

    .swiper {
        transform: translateY(-105px);
        width: 48%;
    }


}