/* main page responsive styles */
@media screen and (min-width: 1400px) and (max-width: 1920px) {
    .news-swiper-heading {
        margin-bottom: 145px;
    }
}

@media screen and (max-width: 1300px) {
    .main-project-intro, .projects-img-swiper {
        width: 50%;
    }

    .news-swiper-slide {
        padding: 100px 50px 110px;
    }

    .customer-heading {
        margin-left: 64px;
        margin-right: 10px;
    }

    .common-heading, .main-project-heading,
    .contact-heading {
        margin-left: 50px;
    }
}

@media screen and (max-width: 1260px) {
    .shop-card.swiper-slide { width: 370px !important; }
}

@media screen and (max-width: 1224px) {
    .news-blogs-grid {
        grid-template-columns: repeat(2, 320px);
        justify-content: center;
    }

    .menu { gap: 10px; }
}

@media screen and (max-width: 1200px) {
    .project-slide {
        padding: 100px 10px 0 64px;
    }

    .brand-contact {
        > div {
            flex-direction: column;
            gap: 15px;
        }
        span { max-width: unset; }
    }
}

@media screen and (max-width: 1023px) {
    .main-project-slide {
        flex-direction: column-reverse;
    }

    .main-project-intro, .projects-img-swiper {
        width: 100%;
    }

    .projects-img-swiper {
        height: 30%;
    }

    .main-project-intro {
        height: 70%;
        padding: 61px 36px 55px 64px;
    }

    .main-project-intro-desc {
        max-width: unset;
    }

    .main-project-intro::before {
        background: rgba(26, 26, 26, 0.7);
    }

    .building-materials-intro {
        width: 65%;
    }

    .projects-container, .about-us-container, 
    .materials-container {
        flex-direction: column;
    }

    .project-swiper, .project-images,
    .about-us-content, .about-us-decor,
    .materials-content, .materials-bg {
        width: 100%;
    }

    .project-desc {
        max-width: unset;
        min-height: 250px;
        max-height: unset;
    }

    .project-slide {
        padding: 137px 64px 0;
        height: unset !important;
    }

    .about-us-content, .materials-content {
        padding: 137px 64px 50px;
    }

    .about-us-text, .materials-text {
        max-width: unset;
    }

    .about-us-decor {
        min-height: 400px;
        padding-left: 0;
        justify-content: center;
    }

    .about-us-decor::after {
        background-image: url('../images/about-us-bg1.png'); 
    }

    .about-us-decor::before, 
    .materials-bg::before {
        width: 127px;
    }

    .materials-bg {
        height: 400px;
    }

    .customer-review-content {
        margin: 0 64px;
        width: unset;
        gap: 10px;
    }

    .customer-review-swiper {
        max-width: calc(100% - 132px);
        margin: 0 !important;
    }

    .customer-review-container {
        padding-bottom: 50px;
    }

    .news {
        flex-direction: column;
        gap: 50px;
    }

    .current-news, .other-news {
        width: 100%;
    }

    .news-preview .news-image {
        width: 300px;
    }

    .news-preview .main-news-title {
        width: calc(100% - 300px);
    }

    .other-news > div {
        flex-direction: row;
    }

    .floor-project {
        flex-direction: column-reverse;
        justify-content: unset;
    }

    .current-floor-project {
        display: none;
    }

    .current-floor-flats {
        display: flex;
        flex-direction: column;
    }

    .floors > ul {
        grid-template-columns: repeat(13, 1fr);
    }

    .project-container {
        padding-bottom: 50px;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-page {
        margin-top: 0;
        justify-content: unset;
    }

    .menu, header .lang-btns {
        display: none;
    }

    .toggle-menu-btn1 { display: block; margin-right: 30px; } 

    .shop-grid {
        grid-template-columns: repeat(2, 370px);
        justify-content: center;
    }

    .shop-footer .footer-content {
        gap: 20px;
        padding-right: 0;
    }

    .current-shop {
        flex-direction: column;
        align-items: center;
    }

    .product-desc { width: 560px; }

    .contact-item:nth-child(2) a {
        max-width: unset;
    }
}

@media screen and (max-width: 980px) {
    .apartment {
        gap: unset;
        justify-content: space-between;
    }

    .apartment > img:first-child {
        z-index: 4;
    }
}

@media screen and (max-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 862px) {
    .news-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-footer .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .shop-footer .footer-contact {
        margin-left: 0;
    }
}

@media screen and (max-width: 767px) {
    .main-content {
        overflow: initial;
        margin: 104px 0 0 0;
    }

    .main-page-mobile {
        display: flex;
        flex-direction: column;
        margin-top: 104px;
    }

    .main-page-container, .social-links {
        display: none;
    }

    .chat {
        top: 190px;
        right: 35px;
        bottom: unset;
    }

    .sidenav {
        flex-direction: row;
        width: 100%;
        height: 104px;
        padding: 0 35px;
    }

    .lang-btns {
        flex-direction: row;
    }

    .logo {
        margin-left: 56px;
    }

    .sidemenu {
        background: var(--secondary-color);
        flex-direction: column;
        align-items: unset;
        padding: 93px 35px 52px;
        top: 104px;
        height: calc(100% - 104px);
        overflow-y: auto;
        z-index: 4;
    }

    .sidemenu hr {
        border-color: rgb(255, 255, 255, 0.13);
        display: block;
        opacity: 1;
        margin: 0 -35px;
    }

    .sidemenu.active {
        left: 0;
        top: 104px;
        width: 100%;
    }
    
    .sidemenu ul {
        margin-bottom: 30px;
        padding-left: 28px;
    }

    .sidemenu li:hover {
        padding-left: unset;
    }

    .mobile-call-request, .mobile-social-links {
        display: flex;
    }

    .mobile-call-request {
        background: rgba(255, 255, 255, 0.38);
        border: none;
        border-radius: 26px;
        display: flex;
        align-items: center;
        font: 16px 'BPG Arial 2009';
        line-height: 18px;
        width: 322px;
        height: 46px;
        margin: 55px 0;
        position: relative;
    }

    .mobile-call-request div {
        background: var(--primary-color);
        border-radius: 50%;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
    }

    .mobile-call-request span {
        color: white;
        position: absolute;
        left: 50%;
        transform: translateX(-50%)
    }

    .mobile-social-links {
        flex-direction: column;
        gap: 20px;
        padding: 44px 0 0 28px;
    }

    .mobile-social-links p:first-child {
        color: white;
        font: 14px 'BPG LE Studio 02 Caps';
        line-height: 19px;
        margin-bottom: 0;
    }

    .mobile-social-links div {
        display: flex;
        gap: 20px;
    }

    .mobile-social-links .social-link div {
        font-size: 14px;
        width: 37px;
        height: 37px;
    }

    .mobile-social-links .social-link div:hover {
        background: var(--primary-color);
    }

    .main-project-mobile {
        background-image: url(../images/main-building.png);
        background-size: cover;
        background-position: 65%;
        background-repeat: no-repeat;
        width: 100%;
        height: calc(100vh - 104px);
        position: relative;
    }
    
    .choose-floor {
        background: rgba(27, 38, 24, 0.7);
        color: white;
        font: 20px 'BPG LE Studio 02 Caps';
        line-height: 20px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 75px;
        padding: 0 35px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 68px;
    }

    .choose-floor p {
        margin-bottom: 0;
    }

    .floor-swiper-cont {
        background: var(--primary-color);
        display: flex;
        align-items: center;
        padding: 0 35px;
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 68px;
    }

    .floor-slide {
        display: flex !important;
        justify-content: center;
        align-items: center;
        height: 30px !important;
        width: 30px !important;
    }

    .floor-slide.active {
        background: var(--secondary-color);
        border-radius: 50%;
    }  

    .floor-slide a {
        color: white;
        text-decoration: none;
        font: 16px 'BPG LE Studio 02 Caps';
        line-height: 18px;
    }

    .mobile-call-request1 {
        border-radius: 22px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        overflow: hidden;
        width: 332px;
        top: 159px;
        left: 35px;
        transition: all 0.3s ease;
        z-index: 3;
    }
    
    .mobile-call-request1 > div {
        background: var(--primary-color);
        border-radius: 50%;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        position: relative;
        z-index: 1;
    }
    
    .mobile-call-request1 p {
        font: 16px 'BPG Arial 2009';
        line-height: 18px;
        opacity: 0;
        transform: translateX(-100%);
        margin: 0;
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        white-space: nowrap; 
        padding-left: 40px;
    }
    
    .mobile-call-request1:hover p {
        opacity: 1;
        transform: translateX(0);
    }
    
    .mobile-call-request1:hover {
        background: #F3F3F3;
    }

    .search {
        top: 218px;
        left: 35px;
        width: 46px;
        height: 46px;
    }

    .search-filter {
        top: 104px;
        height: 100%;
    }

    .main-project-slide {
        height: 100%;
    }
    
    .building-materials-slide {
        min-height: 748px;
    }

    .building-materials-intro {
        background: none;
        width: 100%;
        position: unset;
        min-height: 100%;
        position: relative;
        z-index: 1;
        padding-top: 137px;
    }

    .building-materials-slide::before {
        background: rgba(27, 38, 24, 0.8);
        content: '';
        width: 100%; 
        height: 100%;
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .building-materials-title {
        padding: 0;
    }

    .building-materials-title::before {
        width: 50px;
        left: -64px;
    }

    .building-materials-title::after {
        left: -14px;
    }

    .main-project-intro * {
        z-index: 1;
    }

    .news-swiper-slide {
        padding: 125px 0;
    }

    .news-swiper-heading::before {
        width: 50px;
        left: -45px
    }

    .news-swiper-heading::after {
        left: 0;
    }

    .news-swiper-heading a {
        display: none;
    }

    .see-all-mobile {
        color: var(--primary-color);
        text-decoration: none;
        font: 16px 'BPG LE Studio 02 Caps';
        line-height: 21px;
        width: 136px;
        margin: 64px auto 0;
    }

    .news-swiper-heading p {
        padding-left: 28px;
    }

    .projects-img-swiper {
        height: 400px;
    }

    .projects-img-swiper::after {
        width: 80px;
        height: 100%;
    }

    footer {
        padding: 125px 35px 76px 0;
    }

    footer::after {
        height: 100%;
        background-position-y: unset;
    }

    .footer-content {
        margin-left: 64px;
        gap: 10px;
    }

    .contact-item div {
        background: var(--primary-color);
    }

    .about-us-decor::after { 
        background-position-x: 60%;
    }

    .project-images::after,
    .about-us-decor::before {
        width: 80px;
    }

    .customer-review-content {
        margin: 0 35px;
    }

    .customer-heading {
        margin-bottom: 20px;
    }

    .customer-review-container {
        padding-top: 137px;
    }

    .customer-heading::before {
        left: -109px;
        width: 80px;
    }

    .customer-heading::after {
        left: -29px;
    }

    .news-blogs-container {
        padding-top: 137px;
    }

    .news-preview .main-news-title {
        font-size: 14px;
        line-height: 19px;
    }

    .project-container {
        padding-top: 137px;
    }

    .flat-area {
        font-size: 14px;
        line-height: 19px;
    }

    .call-request-1 {
        display: none;
    }

    .contact-container {
        padding-top: 137px;
    }

    .contact-page-items .contact-item span {
        font-size: 12px;
        line-height: 16px;
    }

    .contact-call .call {
        display: none;
    }
}

@media screen and (max-width: 650px) {
    .floors > ul {
        grid-template-columns: repeat(10, 1fr);
    }

    .apartment {
        flex-direction: column;
    }

    .apartment-details > div {
        flex-direction: row;
        align-items: center;
        margin-bottom: 10px;
    }

    .apartment-details > div::before, 
    .apartment-details > div::after {
        content: none;
    }

    .contact-page {
        gap: unset;
        justify-content: space-between;
    }
}

@media screen and (max-width: 600px) {
    .request-call-content .btn-close {
        color: var(--secondary-color);
        right: 30px;
    }

    .btn-close:hover {
        color: var(--primary-color) !important;
    }

    .footer-content {
        flex-direction: column;
        gap: 120px;
    }

    .policy-links {
        margin-bottom: 108px;
    }

    .review-button {
        width: 25px;
        height: 25px;
    }

    .review-button img {
        transform: scale(0.7);
    }

    .customer-review-swiper {
        max-width: calc(100% - 70px);
    }

    .customer-heading {
        font-size: 14px;
        line-height: 19px;
    }

    .news-blogs-grid {
        grid-template-columns: repeat(1, 320px);
    }

    .other-news > div {
        flex-direction: column;
        align-items: center;
    }

    .other-news > div .news-card {
        width: 320px;
    }

    .news-preview .news-image {
        width: 250px;
    }

    .news-preview .main-news-title {
        width: calc(100% - 250px);
    }

    .floor-flat {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .floor-flat > div {
        margin-top: 0;
    }

    .floor-flat > div::before, 
    .floor-flat > div::after {
        content: none;
    }

    .contact-page {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .contact-call > img {
        max-width: 250px;
    }

    .shop-grid { grid-template-columns: repeat(1, 370px); }
    .shop-container {
        &::after { left: -130px; }
        &::before { right: -130px; }
    }

    .product-images, .product-swiper, .product-desc {
        width: 100%;
    }

    .product-swiper, .product-slide img {
        height: 250px;
    }
}

@media screen and (max-width: 550px) {
    .common-btn div {
        font-size: 9px;
        width: 25px;
        height: 25px;
    }

    .common-btn {
        font-size: 12px;
        line-height: 16px;
    }

    .common-btn1 {
        font-size: 10px;
        line-height: 13px;
    }

    .common-heading {
        flex-direction: column;
        align-items: flex-end;
    }

    .common-heading, .contact-heading {
        margin-left: auto;
        max-width: 200px;
    }

    .main-project-heading {
        margin-left: auto;
        max-width: 250px;
    }

    .common-heading::before,
    .main-project-heading::before,
    .contact-heading::before {
        width: 300px;
        left: -325px;
    }

    .go-back1:hover span {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .news-preview {
        flex-direction: column;
    }

    .news-preview .news-image, 
    .news-preview .main-news-title {
        width: 100%;
    }

    .news-image img {
        height: 300px;
    }

    .news-preview .main-news-title {
        height: unset;
        padding: 20px 28.5px;
    }

    .floors > ul {
        grid-template-columns: repeat(6, 1fr);
    }

}

@media screen and (max-width: 450px) {
    .lang-btns a {
        font-size: 7px;
        line-height: 12px;
        width: 36px;
        height: 18px;
    }

    .logo {
        margin-left: 15px;
    }

    .request-call-title {
        font-size: 14px;
        line-height: 19px;
    }

    .projects-img-swiper {
        height: 225px;
    }

    .main-project-intro-title {
        margin: 0 0 30px 45px;
    }

    .building-materials-intro {
        padding: 137px 35px 0 64px;
    }

    .materials-bg {
        height: 300px;
    }

    .materials-bg::before {
        width: 80px;
    }

    .customer-review-container {
        min-height: unset;
    }

    .review-content {
        padding: 23px 10px;
    }

    .review-content > img:first-child {
        margin-bottom: 20px;
        transform: scale(0.7);
    }

    .review-text, .author {
        font-size: 11px !important;
        line-height: 14px !important;
    }

    .review-logo {
        width: 50px;
        height: 50px;
    }

    .review-logo img {
        width: 15px;
        height: 15px;
    }

    .review-content {
        margin-top: -29px;
    }

    .news-image img {
        height: 200px;
    }

    .go-back, .share span {
        font-size: 10px;
        line-height: 13px;
    }

    .share {
        gap: 10px;
    }

    .share div, .share a {
        background: var(--primary-color);
        width: 15px;
        height: 15px;
    }

    .share div i, .share a i {
        font-size: 7px;
    }

    .go-back1 div {
        font-size: 10px;
        width: 25px;
        height: 25px;
    }

    .main-project-heading::before {
        top: 13px;
    }

    .main-project-heading::after {
        top: 11px;
    }

    .apartment > img:first-child {
        max-width: unset;
        width: 100%;
    }

    .apartment-details > div > span:first-child {
        font-size: 12px;
        line-height: 16px;
    }

    .apartment-details > div > span:last-child {
        font-size: 14px;
        line-height: 19px;
    }
    
    .shop-grid { grid-template-columns: repeat(1, 1fr); } 
    .shop-img { height: 200px; }
    .toggle-menu-btn1 { margin-right: 0; }

    .shop-logo img { width: 160px; }
    .shop-footer { padding: 50px 30px; }

    .shop-head {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 30px;
    }

    .shop-head .select2-container {
        min-width: 100% !important;
    } 

    .product-swiper, .product-slide img {
        height: 200px;
    } 
}

@media screen and (max-width: 392px) {
    .mobile-call-request {
        font-size: 14px;
        line-height: 19px;
        width: 100%;
    }

    .mobile-social-links {
        padding-left: 0;
    }

    .mobile-call-request1 {
        width: 250px;
    }

    .mobile-call-request1 p {
        padding-left: 10px;
    }

    .search-filter {
        width: 100%;
        right: -100%;
    }

    .request-call-title {
        font-size: 12px;
        line-height: 16px;
    }

    .see-more {
        width: 100%;
    }

    .news-swiper-heading p, .building-materials-title {
        font-size: 16px;
        line-height: 19px;
    }

    .footer-content {
        margin-left: 35px;
    }

    .materials-heading {
        font-size: 14px;
        line-height: 19px;
    }

    .news-blogs-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .other-news > div .news-card {
        width: 100%;
    }
}