.hero .carousel {
    width: 100%;
    height: calc(100vh - 75px);
    position: relative;
    overflow-x: hidden;
}

.hero .carousel .list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: max-content;
    display: flex;
    transition: 1s;
}

.hero .carousel .list .item {
    width: 100vw;
    position: relative;
}

.hero .carousel .list video,
.hero .carousel .list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .carousel .buttons {
    position: absolute;
    bottom: 10%;
    right: 5%;
    display: flex;
    gap: 20px;
}

.hero .carousel .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: rgb(var(--background));
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.hero .carousel .dots {
    position: absolute;
    bottom: 10px;
    color: rgb(var(--background));
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.hero .carousel .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: rgb(var(--foreground));
    margin: 20px;
    border-radius: 20px;
    transition: width 1s;
    cursor: pointer;
}

.hero .carousel .dots li.active {
    width: 30px;
    background-color: rgb(var(--primary));
}

.hero .carousel .list .item .content {
    position: absolute;
    height: 100%;
    top: 0%;
    padding-right: 30%;
    padding-left: 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(
        to right,
        rgba(28, 29, 32, 0.9),
        transparent
    );
    color: rgb(var(--overlay_text));
}

.hero .carousel .list .item .content .features p {
    display: flex;
    gap: 1rem;
}

.hero .carousel .list .item .content .title {
    font-size: 4rem;
    line-height: 1.3em;
    font-weight: bold;
    margin-bottom: 24px;
}

.hero .carousel .list .item .content .description {
    line-height: 1.5em;
}

.hero .carousel .list .item .content .price {
    margin: 20px 0;
    font-size: 2rem;
}

.hero .carousel .list .item .content .features,
.hero .carousel .list .item .content .title,
.hero .carousel .list .item .content .description,
.hero .carousel .list .item .content .price,
.hero .carousel .list .item .content .button {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 0.5s linear 1 forwards;
}

@keyframes showContent {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.hero .carousel .list .item .content .title {
    animation-delay: 0.7s;
}
.hero .carousel .list .item .content .description {
    animation-delay: 0.9s;
}
.hero .carousel .list .item .content .price {
    animation-delay: 1.1s;
}
.carousel .list .item .content .button {
    animation-delay: 1.3s;
}

.featured {
    background-color: rgb(var(--background));
}

.featured .properties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding-top: 2rem;
}

.featured .button {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.featured .re-btn_cta {
    background-color: rgb(var(--background));
    color: rgb(var(--primary));
    border: 2px solid rgb(var(--primary));
}

.featured .re-btn_cta-ripple span {
    border: 2px solid rgb(var(--primary));
    background-color: rgb(var(--primary));
}

.featured .re-btn_cta-title span::after {
    color: rgb(var(--secondary));
}

.about {
    background-color: rgb(var(--background));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
    padding-bottom: 8rem;
}

.about .left {
    height: 100%;
    position: relative;
    display: flex;
    justify-content: end;
}

.about .left img {
    position: absolute;
    height: auto;
    border-radius: 20px;
    border: 8px solid rgb(var(--background));
}

.about .left img:first-child {
    position: static;
    width: 50%;
    height: auto;
}

.about .left img:nth-child(2) {
    width: 75%;
    top: 50%;
    right: 30%;
}

.about .left img:last-child {
    top: 10%;
    right: 45%;
    border-radius: 50%;
    width: 300px;
}

.about .sec-heading,
.about .sec-title {
    text-align: left;
}

.about .underline {
    justify-content: start;
}

.about .right > p {
    line-height: 2;
}

.about .right .description {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.about .right .description .experience {
    padding: 2rem;
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 20px;
    gap: 10px;
}

.about .right .description .experience span:first-child {
    font-size: 5rem;
    font-weight: 600;
}

.about .right .description .experience span:last-child {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.5;
}

.about .right .description .checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about .right .description .checklist .item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about .right .description .checklist .item i {
    color: rgb(var(--primary));
}

.service {
    padding-top: 80px;
}

/* blogs */
.blogs {
    background-color: rgb(var(--background));
}

.blogs .swiper-wrapper {
    padding-bottom: 50px;
    height: auto;
    padding-top: 30px;
}

.blogs .swiper-wrapper .item img {
    object-fit: cover;
    width: 100%;
    height: 24rem;
    border-radius: 6px;
}

.blogs .swiper-wrapper .item .details {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blogs .swiper-wrapper .item .title {
    font-weight: 700;
    color: rgb(var(--text_color));
    font-size: 1.4rem;
    transition: all 0.3s;
    line-height: 1.5;
}

.blogs .swiper-wrapper .item .title:hover {
    color: rgb(var(--primary));
}

.blogs .swiper-wrapper .item .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blogs .swiper-wrapper .item .info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgb(var(--foreground_text_color_alt));
}

.blogs .swiper-wrapper .item .details-btn {
    color: rgb(var(--primary));
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
}

.subscribe {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.subscribe .content .sec-title {
    color: rgb(var(--overlay_text));
}

.subscribe .email_input {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subscribe .email_input input {
    padding: 1rem 4rem 1rem 1.5rem;
    width: 400px;
    min-width: auto;
    font-size: 1.1rem;
    border-radius: 30px;
    outline: 0;
    border: 0;
}

.subscribe .email_input span {
    position: relative;
    transform: translateX(calc(-100% - 5px));
    padding: 0.9rem;
    border-radius: 50%;
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
    cursor: pointer;
}

.contact {
    background-color: rgb(var(--background));
}

.contact .sec-heading,
.contact .sec-title {
    text-align: left;
}

.contact .underline {
    justify-content: start;
}

.contact .wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: 30px;
}

.contact .wrapper .details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact .wrapper .details h4 {
    text-transform: uppercase;
    color: rgb(var(--foreground_text_color_alt));
    margin-bottom: 0.8rem;
}

.contact .wrapper .details p {
    margin-bottom: 0.8rem;
}

.contact .wrapper .details .contact_details p:last-child {
    line-height: 2;
}

.contact .wrapper .follow .social {
    display: flex;
    gap: 1.5rem;
    font-size: 1.3rem;
    margin-top: 1.8rem;
}

.contact .wrapper .follow .social a {
    color: rgb(var(--text_color));
}

.contact .wrapper .contact_form {
    grid-column: span 2 / span 2;
}

.contact .wrapper .contact_form form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact .wrapper .contact_form form > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact .wrapper .contact_form form .message {
    grid-column: span 2 / span 2;
}

.contact .wrapper .contact_form form label {
    font-weight: 600;
}

.contact .wrapper .contact_form form input,
.contact .wrapper .contact_form form textarea {
    padding: 1rem;
    border-radius: 5px;
    outline: 0;
    border: 1px solid rgba(var(--border_color), 0.2);
    background-color: rgb(var(--background));
    font-size: 1rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    transition: all 0.3s;
}

.contact .wrapper .contact_form form input:focus,
.contact .wrapper .contact_form form textarea:focus {
    border: 1px solid rgb(var(--primary));
}

.contact .wrapper .contact_form form button {
    background-color: rgb(var(--primary));
    color: rgb(var(--secondary));
    border: 0;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
}

@media only screen and (max-width: 1330px) {
    .about {
        gap: 40px;
    }
}

@media only screen and (max-width: 1280px) {
    .featured .properties {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .about .left {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .contact .wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 40px;
    }
    .hero .carousel .buttons button {
        width: 40px;
        height: 40px;
    }
    .hero .carousel .buttons {
        gap: 14px;
    }
}

@media only screen and (max-width: 500px) {
    .about .right .description {
        flex-direction: column;
    }
    .about .right .description .experience {
        width: 100%;
        padding: 1rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
}
