/* title */
.mobile-title {
    display: none;
}

.title-section {
    margin-top: 82px;

    background-image:
        url("../img/title_group.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.title-mobile-image {
    display: none;
}

.title-main-div {
    padding-top: 150px;
    padding-bottom: 174px;
}

.title-main-div-logo {
    width: 163px;
    height: 70px;

    margin-bottom: 5PX;
}

.title-title {
    width: 770px;
    font-weight: 800;
    font-size: 52px;
    line-height: 1.24405;

    margin-bottom: 28px;
}

.title-span {
    color: var(--primary);
}

.title-text {
    font-size: 19px;
    width: 602px;

    margin-bottom: 38px;
}

/* about */

.about-section {
    position: relative;
    padding-top: 20px;
    padding-bottom: 120px;
}

.about-abs-div {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-title-text-1 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    width: 509px;

    margin-bottom: 10px;
}

.about-text-1 {
width: 509px;

margin-bottom: 10px;
}

.about-text-2 {
    width: 509px;
    margin-bottom: 40px;
}

.about-title-text-2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    width: 509px;

    margin-bottom: 10px;
}

.about-text-3 {
    width: 509px;
    margin-bottom: 50px;
}

.about-text-4 {
    width: 509px;
}

.about-btn {
    margin-bottom: 25px;
}

.about-img {
    width: 400px;
    height: 600px;
}

.about-img {
    margin-top: -300px;
}

.about-decor-1 {
    position: absolute;
    left: 0;
    top: 0;

    z-index: -1;
}

.about-decor-2 {
    position: absolute;
    right: 0;
    top: 0;

    z-index: -1;
}

/* Benefits */
/* Choose */

.choose-section {
    padding-top: 0px;
}

.choose-head-div {
    margin-bottom: 100px;
}

.choose-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    text-align: center;

    margin-bottom: 15px;
}

.choose-text {
    width: 583px;
    margin: 0 auto;
    text-align: center;
}

.choose-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.choose-item-img {
    margin: 0 auto;
    margin-bottom: 15px;
}

.choose-item {
    width: 248px;
}

.choose-item-title {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.02em;
    text-align: center;
    margin-bottom: 10px;
}

.choose-item-text {
    width: 248px;
}

/* Progress */

.progress-section {
    padding-bottom: 160px;
    padding-top: 200px;
}

.progress-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 200px;
    row-gap: 90px;

    align-items: center;
    justify-content: center;

    padding-top: 60px;
    padding-bottom: 140px;
}

.progress-item {
    width: 373px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-item-img {
    margin-right: 25px;
}

.progress-item-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;

    margin-bottom: 5px;
}

.progress-btn-div {
    display: flex;
    justify-content: center;
}

/* Gallery */

.gallery-section {
    padding-bottom: 140px;
}

.gallery-text-div-1 {

    margin-bottom: 30px;
}

.gallery-title-text {
    font-weight: 700;
    font-size: 24px;
    line-height: 1;

    margin-bottom: 5px;
}

.gallery-text-text {
    width: 590px;
}

.gallery-img {
    width: 50%;
}

.gallery-img-div-1 {
    display: flex;
    justify-content: center;
}

.gallery-text-div-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.gallery-text-text-right {
    text-align: right;
}

.gallery-img-div-2 {
    display: flex;
    margin-bottom: 50px;
}

.gallery-text-div-3 {
    margin-bottom: 100px;
}

.gallery-btn-div {
    display: flex;
    justify-content: center;
}

/* video */

.video-section {
    padding-bottom: 120px;
}

.video-head-div {
    margin-bottom: 60px;
}

.video-iframe-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-iframe-div iframe {
    width: 560px;
    height: 315px;
}

/* Attention */

.attention-section {
    padding-bottom: 120px;
}

.attention-blue-div {
    background-color: var(--primary);
    margin-top: 60px;

    padding: 20px 30px;

    margin-bottom: 35px;
}

.attention-blue-div-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;

    margin-bottom: 15px;
}

.attention-blue-div-text {
    margin-bottom: 5px;
}

.attention-text {
    margin-bottom: 100px;
}

.attention-btn-div {
    display: flex;
    justify-content: center;
}

/* Contact */

.contact-container {
    display: flex;
    justify-content: space-between;

    padding-bottom: 160px;
    padding-top: 200px;
}

.contact-left-div {
    width: 480px;
}

.contact-title {
    font-weight: 700;
    font-size: 44px;
    line-height: 1.25;

    margin-bottom: 15px;
}

.contact-text {
    margin-bottom: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-input {
    height: 60px;
    background-color: var(--bg-second);

    padding-left: 20px;

    border: 1px solid var(--bg-main);

    color: var(--text-main);
}

.contact-input-textarea {
    height: 180px;
    background-color: var(--bg-second);

    padding-left: 20px;
    padding-top: 20px;

    border: 1px solid var(--bg-main);

    color: var(--text-main);
}

.contact-submit-btn {
    height: 50px;

    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: var(--text-main);
    padding: 13px 50px;
    font-weight: 600;

    text-align: center;

    transition: all 0.2s;
}

.contact-submit-btn:hover {
    background-color: var(--primary-hover);
    border: 2px solid var(--primary-hover);
}

.contact-img {
    width: 480px;
    height: 615px;

    filter: brightness(70%);
}

/* QA */

.qa-section {
    padding-bottom: 60px;
}

.faq {
    margin-top: 60px;
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 10px;
    margin-left: 10px;
}

.qa-question {
    font-weight: 700;
    cursor: pointer;
    padding: 15px;
    margin: 10px;
    transition: all 0.3s;
    border: 1px solid var(--primary);
}

.qa-question:hover {
    background-color: var(--primary);
}




/* =============== */
/* Adaptive css */
/* ====================== */




/* Tablet */
@media (min-width:751px) and (max-width:1366px),
       (min-device-width:751px) and (max-device-width:1366px) {

    /* Title */
        .title-section {
            background-position: center 24%;
        }
    
        .title-main-div-logo {
            display: none;
        }
    
        .title-main-div {
            padding-top: clamp(36px, 5vw, 70px);
            padding-bottom: clamp(56px, 8vw, 96px);
        }
    
        .title-title {
            font-weight: 800;
            font-size: clamp(38px, 5vw, 48px);
            line-height: 1.08;
            width: min(100%, 640px);
            margin-bottom: 16px;
        }
    
        .title-text {
            font-size: 18px;
            width: min(100%, 560px);
        }

        /* about */

        .about-abs-div {
            margin-top: 60px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: stretch;

            gap: 24px;
        }

        .about-text-div {
            flex: 1 1 auto;
            min-width: 0;
        }

        .about-title-text-1,
        .about-text-1,
        .about-text-2,
        .about-title-text-2,
        .about-text-3,
        .about-text-4 {
            width: 100%;
        }

        .about-img {
            width: clamp(260px, 35vw, 380px);
            height: clamp(420px, 50vw, 560px);
            margin-top: 0;
            border-radius: 20px;
            object-fit: cover;
        }

        /* Choose */

        .choose-list {
            flex-wrap: wrap;
            justify-content: center;
            row-gap: 56px;
            column-gap: 44px;
        }

        /* Contact */

        .contact-container {
            display: grid;
            grid-template-columns: minmax(0, 1fr) clamp(280px, 34vw, 420px);
            align-items: start;
            column-gap: 20px;

            padding-bottom: 96px;
            padding-top: 110px;
        }

        .contact-left-div {
            width: auto;
            max-width: none;
        }

        .contact-container > div:not(.contact-left-div),
        .contact-container > .contact-right-div,
        .contact-container > .najem-contact-media,
        .contact-container > .housing-buy-contact-media {
            width: 100%;
            min-width: 0;
            height: clamp(320px, 34vw, 460px);
            overflow: hidden;
            border-radius: 20px;
        }

        .contact-text {
            margin-bottom: 30px;
        }

        .contact-form {
            gap: 20px;
        }

        .contact-input-textarea {
            height: 150px;
        }

        .contact-map {
            width: min(100%, 900px);
            height: clamp(280px, 34vw, 360px);

            margin-top: 70px;
        }

        .contact-img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            margin-top: 0;
        }
}




/* mobile */
@media (max-width:750px), (max-device-width:750px) {

    /* title */

    .mobile-title {
        display: block;
        width: 100%;
    }

    .title-section {
        background-image:
            url("");
    }

    .title-main-div {
        padding-top: 36px;
        padding-bottom: 56px;
    }

    .title-main-div-logo {
        display: none;
    }

    .title-title {
        font-weight: 800;
        font-size: 35px;
        line-height: 1;

        width: 100%;

        margin-bottom: 28px;
    }

    .title-span {
        color: var(--primary);
    }

    .title-text {
        font-size: 19px;
        width: 100%;

        margin-bottom: 28px;
    }

    /* about */

    .about-title-text-1 {
        font-weight: 700;
        font-size: 24px;
        line-height: 1;
        width: 100%;

        margin-bottom: 10px;
    }

    .about-text-1 {
        width: 100%;

        margin-bottom: 10px;
    }

    .about-text-2 {
        width: 100%;
        margin-bottom: 40px;
    }

    .about-title-text-2 {
        font-weight: 700;
        font-size: 24px;
        line-height: 1;
        width: 100%;

        margin-bottom: 10px;
    }

    .about-text-3 {
        width: 100%;
        margin-bottom: 50px;
    }

    .about-text-4 {
        width: 100%;
    }

    .about-btn {
        margin-bottom: 25px;
    }

    .about-img {
        width: 100%;
        height: 100%;
    }

    /* choose */

    .choose-list {
        flex-direction: column;
        align-items: center;
        gap: 42px;
    }

    .choose-item {
        width: 100%;
        max-width: 340px;
    }

    .choose-item-text {
        width: 100%;
    }

    /* gellary */

    .gallery-img-div-1 {
        flex-direction: column;
    }

    
    .gallery-img-div-2 {
        flex-direction: column;
    }

    .gallery-img {
        width: 100%;
    }

    .gallery-text-text {
        width: 100%;
    }

    /* video*/

    .video-iframe-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    .video-iframe-div iframe {
        width: 100%;
        max-width: 560px;
        height: auto;
        aspect-ratio: 16 / 9;
        display: block;
    }

    /* Contact */

    .contact-container {
        display: flex;
        flex-direction: column;
        align-items: center;

        padding-top: 100px;
    }

    .contact-container > div:not(.contact-left-div) {
        display: none;
    }

    .contact-map {
        width: 100%;
        height: 250px;

        margin-top: 100px;
    }

    .contact-left-div {
        width: 100%;
    }

    .contact-input {
        height: 60px;
        background-color: var(--bg-second);

        padding-left: 20px;

        border: 1px solid var(--bg-three);

        color: var(--text-main);
    }

    .contact-img {
        display: none;
    }

    /* QA */
    .faq {
        margin-top: 35px;
    }

    .qa-question {
        margin: 8px 0;
        padding: 12px;
    }

    .qa-answer {
        margin-left: 0;
        padding: 0 6px;
    }
}
.gallery-img-div-1 .gallery-img {
    display: block;
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
}
