* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body {
    overflow-x: hidden;
    scrollbar-width: none;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 7% 15px 15%;
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 10;
    background-color: white;
    width: 100%;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.logo {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links a {
    text-decoration: none;
    font-size: 18px;
    color: black;
}

.nav-links a:hover {
    color: orangered;
}

.hero {
    background: url("../images/banner-01.jpg") no-repeat center center/cover;
    min-height: 120vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding: 13% 20% 18% 20%;
    color: white;
}

.hero p {
    display: inline-block;
    background: white;
    color: black;
    width: 18%;
    padding: 8px 14px;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
}

.hero p span {
    color: orangered;
}

.hero h1 {
    font-size: 50px;
    line-height: 80px;
    max-width: 500px;
}

.container-card {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 60px;
    padding: 80px 10%;
    align-items: start;
}

.card-image {
    flex: 0 0 360px;
}

.card-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.card-text {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.card-text h5 {
    color: rgb(187, 50, 125);
    letter-spacing: 1px;
}

.card-text h2 {
    font-size: 50px;
}

.accordion {
    width: 130%;
    max-width: 450px;
}

.item {
    border-bottom: 2px solid #ccc;
    border-radius: 10px;
}

.title {
    display: block;
    padding: 15px;
    background-color: #f7f7f7;
    cursor: pointer;
    font-weight: bold;
    border-radius: 10px;
}

.title:hover {
    background-color: #f7f7f7;
    color: orangered;
}

.content {
    padding: 15px;
    display: none;
    background-color: #f7f7f7;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked+.title+.content {
    display: block;
}

.details-section {
    flex: 0.1 0 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    height: 450px;
    margin-left: 100px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 20px 40px 20px;
    border-bottom: 1px solid #eee;
}

.info-text h3 {
    font-weight: bold;
}

.info-text p {
    color: gray;
}

.info-item:last-child {
    border-bottom: none;
}


/* ----------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* CONTAINER */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px 50px 20px;
}


/* VIDEO SECTION */

.villan {
    background: url("../images/video-bg.jpg") center/cover no-repeat;
    text-align: center;
    padding: 100px 0 180px;
    height: 400px;
}

.villan p {
    color: rgb(187, 50, 125);
    font-weight: bold;
    letter-spacing: 1px;
}

.villan h2 {
    color: white;
    font-size: 36px;
    margin-top: 15px;
}


/* VIDEO IMAGE */

.video-image {
    background: url("../images/video-frame.jpg") center/cover no-repeat;
    height: 420px;
    max-width: 900px;
    margin: 60px auto;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


/* PLAY BUTTON */

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 102, 0, 0.5);
    border-radius: 50%;
    position: relative;
}

.play-btn::before {
    content: "";
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-btn::after {
    content: "";
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);

    border-left: 16px solid orange;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}



/* STATS SECTION */

.strength {
    padding-top: 360px;
}


/* CARD WRAPPER */

.strength-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}


/* CARD */

.about {
    background: #f9e9e9;
    border-radius: 10px;
    padding: 25px 35px;
    text-align: center;
    position: relative;
    width: 220px;
    margin-bottom: 50px;
}

.about h2 {
    color: orangered;
    font-size: 30px;
    margin-bottom: 5px;
}

.about p {
    font-size: 14px;
}

.about .about-text {
    display: flex;
    column-gap: 20px;
}


/* ORANGE CIRCLE */

.circle-btn {
    width: 40px;
    height: 40px;
    background: orangered;
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: 100%;
    transform: translateX(-50%);
}

/* --------------------------------------------------------------------------------------------------------------------------------- */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}


/* section */

.deals {
    background: #f7f7f7;
    padding: 80px 0;
}


/* header */

.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.deals-title p {
    color: #e83e8c;
    font-weight: bold;
    padding-bottom: 20px;
}

.deals-title h2 {
    font-size: 36px;
}


/* buttons */

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-group button {
    padding: 12px 20px;
    border: none;
    background: black;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.btn-group button:hover {
    background: orangered;
}

/* main layout */

.deal-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;

}


/* left info */

.deal-info {
    background: white;
    padding: 25px;
    border-radius: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    font-size: 18px;
}

.info-row:last-child {
    border-bottom: none;
}


/* image */

.deal-image img {
    width: 100%;
    border-radius: 10px;
}


/* right content */

.deal-content h3 {
    margin-bottom: 15px;
}

.deal-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.visit-btn {
    background: black;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.visit-btn:hover {
    background: orangered;
}

/* -------------------------------------------------------------------------------------------------------------------------------- */

.properties {
    padding: 50px 20px 100px 20px;
}

.properties p {
    text-align: center;
    color: #ff6a2f;
    font-weight: bold;
    font-size: 18px;
}

.properties h2 {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 15px;
    font-size: 30px;
    font-weight: bold;
}

.properties-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.property-card {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 10px;
}

.property-card img {
    width: 100%;
    display: block;
    padding: 20px;
}

.property-text {
    padding: 20px;
}

.title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tag {
    background: #f4e3da;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 17px;
    margin-top: -15px;
    font-weight: bold;
}

.price {
    font-weight: bold;
    color: #ff6a2f;
    font-size: 20px;
    margin-top: -15px;
}

.property-text h6 {
    font-size: 18px;
    margin-top: 25px;
}

.details {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
    font-size: 18px;
}

.visit-btn {
    display: block;
    margin: auto;
    margin-top: 10px;
    padding: 15px 20px;
    border: none;
    background: black;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

/* ----------------------------------------------------------------------------------------------------------------------------------- */

.contact-section {
    padding: 120px 20px 80px;
    background: url("../images/contact-bg.jpg") center/cover no-repeat;
    text-align: center;

}

.contact-section p {
    color: #ff6a2f;
    font-weight: bold;
}

.contact-section h2 {
    color: white;
    margin-top: 10px;
}

/* WHITE SECTION */

.contact-content {
    margin-top: -80px;
    padding: 0px 20px 60px;
}

/* GRID */

.contact-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* MAP */

.map iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    border: 0;
}

/* FORM */

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    background: #f7f7f7;
    border-radius: 20px;
}

.contact-form textarea {
    height: 120px;
}

.contact-form button {
    width: 150px;
    padding: 12px;
    border: none;
    background: black;
    color: white;
    border-radius: 25px;
}

/* CONTACT BOXES */

.contact-info {
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    gap: 30px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 15px;
    width: 280px;
}

.info-box:hover {
    transform: scale(1.05);
}

/* ------------------------------------------------------------------------------------------------------------------------------ */

footer {
    background: black;
    color: white;
    padding: 20px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
}

.fa-square-facebook,
.fa-square-twitter,
.fa-linkedin,
.fa-square-instagram {
    font-size: 50px;
    color: white;
}

.fa-square-facebook:hover,
.fa-square-twitter:hover,
.fa-linkedin:hover,
.fa-square-instagram:hover {
    color: orangered;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a i {
    font-size: 40px;
    color: white;
}

.social-icons a i:hover {
    color: orangered;
}

/* -------------------- **************************Responsive **********************************-------------------------------------------------------- */

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width:480px) {

    /* NAVBAR */

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links a {
        font-size: 16px;
    }

    /* HERO */

    .hero {
        min-height: 80vh;
        padding: 140px 20px 40px;
    }

    .hero p {
        width: auto;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 45px;
    }

    /* FEATURED SECTION */

    .container-card {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .card-text h2 {
        font-size: 28px;
    }

    .accordion {
        width: 100%;
        max-width: 100%;
    }

    .details-section {
        width: 100%;
        margin-left: 0;
    }

    /* VIDEO SECTION */

    .video-image {
        height: 200px;
    }

    .villan h2 {
        font-size: 24px;
    }

    /* STATS */

    .strength-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .about {
        width: 100%;
        max-width: 280px;
    }

    /* DEALS */

    .deal-container {
        grid-template-columns: 1fr;
    }

    .deal-content {
        text-align: center;
    }

    .deals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-group {
        flex-wrap: wrap;
    }

    /* PROPERTIES */

    .properties-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* CONTACT */

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 100%;
        max-width: 320px;
    }

    /* MAP */

    .map iframe {
        height: 250px;
    }

    /* FOOTER */

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

}

/* ----------------------------------------------------------------------------------------------- */

/* ================= TABLET RESPONSIVE ================= */

@media (max-width:768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .nav-links {
        flex-direction: row;
        gap: 20px;
        width: 100%;
        margin-top: 10px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
    }

    .hero {
        margin-top: 100px;

    }

    .hero p {
        display: flex;
        width: 150px;
    }

    .container-card {
        flex-direction: column;
        padding: 60px 20px;
    }

    .card-text h2 {
        font-size: 32px;
    }

    .details-section {
        width: 80%;
    }


    .villan {
        padding: 80px 0 120px;
    }

    .villan h2 {
        font-size: 26px;
    }

    .video-image {
        height: 250px;
    }

    .strength-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .about {
        width: 90%;
        max-width: 280px;
    }

    /* Header section */

    .deals {
        padding: 60px 20px;
    }

    .deals-title h2 {
        font-size: 26px;
    }

    /* buttons */

    .btn-group {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }


    /* stack layout */

    .deal-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    /* full width elements */

    .deal-info,
    .deal-image,
    .deal-content {
        width: 100%;
    }


    /* image fix */

    .deal-image img {
        width: 100%;
        height: auto;
        display: block;
    }


    /* center content */

    .deal-content {
        text-align: center;
    }


    /* header alignment */

    .deals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-group {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .properties-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .property-cards {
        width: 100%;
        height: auto;
    }

    .property-cards img {
        width: 100%;
        padding: 15px;
    }

    #but {
        margin-left: 0;
        display: block;
        margin: 20px auto;
    }

    .title-price span {
        font-size: 16px;
    }

    .property-text h6 {
        font-size: 14px;
    }


    .contact-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .map {
        width: 100%;
    }

    .map iframe {
        width: 100%;
    }

    .contact-form {
        max-width: 100%;
        width: 100%;
    }

    .contact-info {
        margin-top: 40px !important;
        /* remove negative margin */
        margin-left: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .info-box {
        width: 100%;
        max-width: 350px;
    }

}