.homepage-wrapper section.first-section {
    min-height: 100vh;
    background: #443939;
    background: linear-gradient(180deg, rgba(68, 57, 57, 1) 0%, rgba(102, 93, 93, 1) 100%);
}

.homepage-wrapper section.first-section .content-wrapper {
    min-height: 100vh;
}

.homepage-wrapper section.first-section .text-wrapper {
    padding-top: 40vh;
}

.homepage-wrapper section.first-section .description {
    max-width: 528px;
    line-height: 20.8px;
    margin-right: 22px;
    margin-left: 15px;
}

.homepage-wrapper section.first-section .background-lines {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.homepage-wrapper section.first-section .background-lines path {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.homepage-wrapper section.first-section .background-lines path:nth-of-type(1) {
  animation-delay: 0s;
}

.homepage-wrapper section.first-section .background-lines path:nth-of-type(2) {
  animation-delay: 0.5s;
}

.homepage-wrapper section.first-section .background-lines path:nth-of-type(3) {
  animation-delay: 1s;
}

.homepage-wrapper section.first-section .background-lines path:nth-of-type(4) {
  animation-delay: 1.5s;
}

.homepage-wrapper section.second-section {
    padding: 152px 0px 54px;
}

.homepage-wrapper section.second-section h2.section-title {
    width: 50%;
}

.homepage-wrapper section.second-section .desc-rows {
    width: 42%;
}

.homepage-wrapper section.second-section .desc-rows .row {
    padding-bottom: 40px;
    border-bottom: 1px solid #D6E6FA;
}

.homepage-wrapper section.second-section .desc-rows .row:not(:first-child) {
    padding-top: 40px;
}

.homepage-wrapper section.second-section .desc-rows .row h2 {
   width: 35%; 
}

.homepage-wrapper section.second-section .desc-rows .row:has(h2) p.description {
    width: 57.25%;
    font-size: 12px;
    line-height: 15.6px;
}

.homepage-wrapper section.second-section .cta-button {
    margin-top: 57px;
    margin-left: auto;
}

.homepage-wrapper .lower-part-wrapper {
    background: #443939;
    background: linear-gradient(180deg, rgba(68, 57, 57, 1) 0%, rgba(38, 38, 38, 1) 20%);
}

.homepage-wrapper section.third-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 107px 0px 67px;
}

.homepage-wrapper section.third-section .content-wrapper {
    max-width: 446px;
    text-align: center;
    padding: 0;
}

.homepage-wrapper section.third-section h2 {
    width: 81%;
    margin: 0px auto 45px;
}

.homepage-wrapper section.third-section .cta-button {
    margin: 67px auto 0px;
}

.homepage-wrapper section.third-section .circle {
    position: absolute;
    top: 50%;
    height: 100%;
    width: auto;
    transition: .6s ease-in-out;
}

.homepage-wrapper section.third-section .left-circle.circle {
    left: 0%;
    transform: translate(-70%, -50%);
}

.homepage-wrapper section.third-section .right-circle.circle {
    right: 0%;
    transform: translate(70%, -50%);
}

.homepage-wrapper section.third-section.animate .left-circle.circle {
    left: 55%;
}

.homepage-wrapper section.third-section.animate .right-circle.circle {
    right: 55%;
}

.homepage-wrapper section.fourth-section {
    padding: 141px 0px 150px;
}

.homepage-wrapper section.fourth-section .image-gallery-swiper {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.homepage-wrapper section.fourth-section .image-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-wrapper section.fourth-section .image-gallery-swiper .custom-pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: absolute;
  bottom: 30px;
  width: 100%;
  z-index: 10;
}

.homepage-wrapper section.fourth-section .image-gallery-swiper .custom-pagination .bar {
  width: 70px;
  height: 2px;
  background: #D6E6FA4D;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.homepage-wrapper section.fourth-section .image-gallery-swiper .custom-pagination .bar .fill {
  height: 100%;
  width: 0%;
  background: #D6E6FA;
  transition: width 0s linear;
}

.homepage-wrapper section.fifth-section {
    padding: 75px var(--gap) 128px;
    gap: 0px 50px;
}

.homepage-wrapper section.fifth-section .rotating-circle {
    width: 50%;
    max-width: 640px;
    aspect-ratio: 1;
    position: relative;
}

.homepage-wrapper section.fifth-section .rotating-circle .content-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
    transition: transform 0.3s ease-out;
    z-index: 2;
    transform-origin: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
}

.homepage-wrapper section.fifth-section .rotating-circle .circle-mask img {
    border-radius: 50%;
    width: 67%;
    aspect-ratio: 1;
    z-index: 2;
    margin: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
}

.homepage-wrapper section.fifth-section .rotating-circle .category-option {
    position: absolute;
    cursor: pointer;
    text-align: center;
    width: 100%;
    opacity: 0.3;
}

.homepage-wrapper section.fifth-section .rotating-circle .category-option.selected {
    opacity: 1;
    pointer-events: none;
}

.homepage-wrapper section.fifth-section .rotating-circle .category-option .curve-line {
    width: 100%;
    height: auto;
}

.homepage-wrapper section.fifth-section .rotating-circle .category-option:nth-child(1) { 
    top: -2%;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
}

.homepage-wrapper section.fifth-section .rotating-circle .category-option:nth-child(2) {
    bottom: 30%;
    left: -35%;
    transform: translate(0, 50%) rotate(240deg);
}   

.homepage-wrapper section.fifth-section .rotating-circle .category-option:nth-child(3) {
    bottom: 30%;
    right: -35%;
    transform: translate(0, 50%) rotate(120deg);
}

.homepage-wrapper section.fifth-section .rotating-circle .category-option .category-title {
    font-size: clamp(12px, 1.75vw, 20px);
    font-family: 'Aeonik-Regular';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.homepage-wrapper section.fifth-section .rotating-circle .circle-mask {
    height: 100%;
}

.homepage-wrapper section.fifth-section .right-side {
    width: 50%;
    max-width: 464px;
    position: relative;
}

.homepage-wrapper section.fifth-section .right-side .category-row.selected {
    position: relative;
    opacity: 1;
}

.homepage-wrapper section.fifth-section .right-side .category-row {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    transition: 0.3s all;
}

.homepage-wrapper section.fifth-section .right-side .description {
    margin-top: 40px;
    margin-bottom: 71px;
}

.homepage-wrapper section.fifth-section .right-side .cta-button {
    margin-top: auto;
}

.homepage-wrapper section.sixth-section {
    padding: 67px 0 15px;
}

.homepage-wrapper section.sixth-section .section-title {
    text-align: center;
    margin-bottom: 50px;    
}

.homepage-wrapper .sixth-section svg.arc-line {
    transform: scaleX(-1);
}

.homepage-wrapper .sixth-section.animate svg.desktop path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0.66;
}

.homepage-wrapper .sixth-section.animate svg.mobile path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0.6;
}

.homepage-wrapper .sixth-section.animate svg path {
    animation: draw 3s ease-in-out forwards;
}

.homepage-wrapper section.sixth-section .featured-prorperties-wrapper {
    margin-top: -130px;
}

.homepage-wrapper section.sixth-section .featured-prorperties-wrapper .view-all {
    margin-top: -14px;
}

.homepage-wrapper section.seventh-section {
    height: 90vh;
    position: relative;
}

.homepage-wrapper section.seventh-section .content-wrapper {
    text-align: center;
    max-width: 550px;
}

.homepage-wrapper section.seventh-section .content-wrapper .caption {
    margin-bottom: 50px;
}

.homepage-wrapper section.seventh-section .content-wrapper > .button-wrapper.cta-button {
    margin: 35px auto 0px;
}

.homepage-wrapper section.seventh-section .left-side-curve {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 50%;
    height: auto;
}

.homepage-wrapper section.seventh-section .right-side-curve {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 50%;
    height: auto;
}

.homepage-wrapper section.seventh-section.animate .left-side-curve .fade-line,
.homepage-wrapper section.seventh-section.animate .right-side-curve .fade-line {
    opacity: 0;
    animation: seventhFadeIn 1s ease forwards;
}

.homepage-wrapper section.seventh-section .left-side-curve .fade-line.delay-0 { animation-delay: 0s; }
.homepage-wrapper section.seventh-section .left-side-curve  .fade-line.delay-1 { animation-delay: 0.5s; }
.homepage-wrapper section.seventh-section .left-side-curve  .fade-line.delay-2 { animation-delay: 1s; }
.homepage-wrapper section.seventh-section .left-side-curve  .fade-line.delay-3 { animation-delay: 1.5s; }
.homepage-wrapper section.seventh-section .left-side-curve  .fade-line.delay-4 { animation-delay: 2s; }
.homepage-wrapper section.seventh-section .left-side-curve  .fade-line.delay-5 { animation-delay: 2.5s; }
.homepage-wrapper section.seventh-section .left-side-curve  .fade-line.delay-6 { animation-delay: 3s; }
.homepage-wrapper section.seventh-section .left-side-curve .fade-line.delay-7 { animation-delay: 3.5s; }

.homepage-wrapper section.seventh-section .right-side-curve .fade-line.delay-0 { animation-delay: 0s; }
.homepage-wrapper section.seventh-section .right-side-curve .fade-line.delay-1 { animation-delay: 0.5s; }

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes seventhFadeIn {
    to { opacity: 1; }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (min-width: 1920px) {
    .homepage-wrapper section.sixth-section .featured-prorperties-wrapper {
        margin-top: 0px;
    }
}

@media screen and (max-width: 767px) {
    .homepage-wrapper section.first-section .content-wrapper {
        display: flex;
        align-items: center;
    }
    
    .homepage-wrapper section.first-section .description {
        margin: 50px 0px 0px 0px;
        max-width: 78vw;
    }

    .homepage-wrapper section.first-section .text-wrapper {
        align-items: start;
    }

    .homepage-wrapper section.first-section .text-wrapper {
        padding-top: 0px;
    }

    .homepage-wrapper section.second-section {
        padding: 89px 0px 99.5px;
    }

    .homepage-wrapper section.second-section h2.section-title {
        width: 100%;
    }

    .homepage-wrapper section.second-section .desc-rows {
        width: 100%;
        margin-top: 75px;
    }

    .homepage-wrapper section.second-section .desc-rows .row {
        padding-bottom: 57px;
    }

    .homepage-wrapper section.second-section .desc-rows .row:not(:first-child) {
        padding-top: 27px;
    }

    .homepage-wrapper section.second-section .desc-rows .row h2 {
        width: 100%;
        margin-bottom: 27px;
    }

    .homepage-wrapper section.second-section .desc-rows .row:has(h2) p.description {
        width: 100%;
        font-size: 14px;
        line-height: 18.2px;
    }

    .homepage-wrapper section.second-section .cta-button {
        margin-top: 27px;
        margin-left: 0;
    }

    .homepage-wrapper section.third-section .content-wrapper {
        padding: 0 var(--gap);
    }

    .homepage-wrapper section.third-section h2 {
        width: 67.5%;
        margin: 0px auto 47px;
    }

    .homepage-wrapper section.third-section p {
        font-size: 16px;
    }

    .homepage-wrapper section.third-section .cta-button {
        margin: 37px auto 0px;
    }

    .homepage-wrapper section.third-section {
        margin: 99.5px 0px 68px;
    }

    .homepage-wrapper section.fourth-section {
        padding: 49px 0px 46px;
    }

    .homepage-wrapper section.fourth-section .image-gallery-swiper {
        height: 75vh;
    }

    .homepage-wrapper section.fifth-section {
        padding: 73px var(--gap) 50px;
        gap: 72px 50px;
        overflow: hidden;
    }

    .homepage-wrapper section.fifth-section .rotating-circle {
        width: 100%;
    }

    .homepage-wrapper section.fifth-section .right-side {
        width: 100%;
        max-width: unset;
    }

    .homepage-wrapper section.fifth-section .right-side .description {
        margin-top: 45px;
        margin-bottom: 0px;
        font-size: 16px;
        text-wrap: balance;
    }

    .homepage-wrapper section.fifth-section .right-side .cta-button {
        margin: 80px auto;
    }

    .homepage-wrapper section.sixth-section {
        padding: 67px 0 83.5px;
    }

    .homepage-wrapper section.sixth-section .section-title {
        margin-bottom: 27px;
    }

    .homepage-wrapper section.sixth-section .featured-prorperties-wrapper {
        margin-top: 0;
    }

    .homepage-wrapper section.sixth-section .featured-prorperties-wrapper .view-all {
        margin: 32px auto 0px;
    }

    .homepage-wrapper section.seventh-section {
        height: 59vh;
    }

    .homepage-wrapper section.seventh-section .content-wrapper {
        margin: 83.5px auto auto;
    }

    .homepage-wrapper section.seventh-section .left-side-curve {
        max-width: 50%;
    }

    .homepage-wrapper section.seventh-section .right-side-curve {
        max-width: 30%;
    }
}