* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-optical-sizing: auto;
    font-family: "Gill Sans", sans-serif;
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

.no-copy {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  
    cursor: default;
    padding: 20px;
    text-align: center;
  }
  

*:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
  }


/* Navbar */

nav {
    position: fixed;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    z-index: 999;
    top: 0px;

}


.logo img {
    width: 190px;
    height: 80px;
    margin-top: 10px;
    margin-left: 15px;
    background-size: contain;
}

.search-bar {
    display: flex;
    align-items: center;
    margin-left: 18px;
}

.search-bar input {
    width: 360px;
    padding: 10px;
    font-size: 18px;
    border: 2px solid #807B7B;
    border-radius: 20px;

}

.nav-items {
    display: flex;

}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    display: none;
}

.nav-items ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    text-align: center;



}

.nav-items ul li a {
    color: black;
    text-align: center;
    text-decoration: none;
    padding-right: 35px;
    font-size: 18px;


}

#login {
    font-size: 22px;
    color: #1A537B;
    padding-left: 18px;
    border-left: 2px solid black;
}

.sell-property {
    display: none;
    width: 100%;
    height: 40px;
    position: absolute;
    justify-content: flex-end;
    padding-right: 25px;
    background-color: white;
}

.sell-property button {
    width: 180px;
    background-color: #1A537B;
    color: white;
    border-radius: 22px;
    border: none;
    padding: 10px;
    font-size: 16px;
    transition: 0.2s ease-in;
}

#content {
    margin-top: 20px;
    padding: 20px;
    font-size: 22px;
}


/* EFFECTS */

.nav-items ul li a:before {
    content: "";
    position: absolute;
    margin-top: 25px;
    height: 3px;
    width: 3%;
    background-color: #1A537B;
    border-radius: 50px;
    transform: scaleX(0);
    transition: transform 0.2s linear;


}

.nav-items ul li a:hover::before {
    transform: scaleX(1);
}

.section-8-ctn-us,
.nav-items ul li a:hover {
    color: #1A537B;
}

.section-8-ctn-us,
.sell-property button:hover {
    background-color: whitesmoke;
    color: #1A537B;
    border: 2px solid #1A537B;
    cursor: pointer;
    font-weight: 500;

}

.div_header_top {
    height: 300px;
    width: 100%;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #1A537B;
    background-position: center;
    background-size: cover;
    object-fit: contain;
    background-image: url("pc_images/Projects/palm_olympeia/tinted_palm_olympeia.png");
}

.div_header_top h1 {
    color: white;
    font-size: 40px;
    font-weight: 600;
}

.div_header_top p {
    font-size: 20px;
    color: white;
    line-height: 30px;
}


.about,
.mission {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 30px;
}

.about img,
.mission img {
    width: 50%;
    border-radius: 10px;
}

.content {
    max-width: 50%;
}

.content h2 {
    text-align: start;
    font-size: 35px;
    padding-top: 3%;
}

.content h4 {
    text-align: start;
    font-size: 18px;
    font-weight: 400;
    margin-top: 1%;
}

.div_about_image {
    width: 50%;
    height: 100%;
    background-size: contain;
    object-fit: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("pc_images/icons/who_we_are_image.png");
}

#mission_image {
    background-image: url("pc_images/icons/our_mission_image.png");
}

.services {
    height: 400px;
    width: 100%;
    position: relative;
    background-color: whitesmoke
}

.services h2 {
    text-align: center;
    font-size: 30px;
    padding-top: 3%;
}


.grid {
    width: 100%;
    height: 80%;
    gap: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}



.card {
    height: 80%;
    width: 25%;
    gap: 20px;
    margin: 2%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

/* SECTION - 7  ---------Second Last Footer-------------------------------------------------------------------------------------------------------------------- */



#section-7 {
    width: 100%;
    height: 200px;
    background-color: white;
    overflow: hidden;

}

.div_second_last_footer {
    width: 100%;
    height: 100%;
    background-color: beige;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#dslf_left_footer {
    width: 70%;
    height: 100%;
    font-size: x-large;
    display: flex;
    padding-left: 3%;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    line-height: 40px;
}

#dslf_left_footer h4 {
    font-size: 18px;
}

#dslf_right_footer {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Footer ----------------------------------------------------------------------------------------------------------------------------------- */

.footer-bottom-content {
    width: 100%;
    height: 250px;
    background-color: black;
    margin-bottom: 0px;

}

#row-wise-footer-dividation-top {
    width: 100%;
    height: 80%;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;

}

#row-wise-footer-dividation-bottom {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid white;
}

.row-wise-footer-dividation h4 {
    color: white;
    font-size: 15px;
    font-weight: 400;
}



.footer-content-boxes {
    width: 20%;
    height: 100%;
    padding: 5px;
    color: white;

}

.footer-content-boxes h2 {
    font-weight: normal;
}

.footer-content-boxes h4 {
    color: white;
    margin-top: 10px;
    font-weight: 400;
    font-size: 15px;

}

.footer-content-boxes ul {

    margin-top: 10px;
    list-style-type: none;
}

.footer-bottom-content ul li a {
    text-decoration: underline;
    font-size: 18px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;


}

.footer-content-boxes i {
    margin-right: 10px;
    margin-top: 10px;
}

.footer-content-boxe-subscribe {
    margin-top: 20px;
}


.footer-content-boxe-subscribe input {
    margin-top: 10px;
    padding: 10px;
    font-size: 18px;
    border-radius: 12px;
    box-shadow: 0 0 0 2px #807B7B;
    border: none;
}


/* 🔽 Mobile Responsive Media Query */
@media (max-width: 768px) {
    nav {
        height: 50px;
        flex-direction: column;
        align-items: flex-start;

    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Gill Sans", sans-serif;
        scroll-behavior: smooth;
    }

    html,
    body {
        height: 100%;
        width: 100%;
    }

    body.noscroll {
        overflow: hidden;
    }


    .search-bar {
        display: none;

    }

    .logo {
        width: 80%;
    }

    .logo img {
        width: 60%;
        height: auto;
    }

    .nav-items {
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
        display: none;

    }



    .nav-items ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-items ul li {
        width: 100%;
        margin: 8px 0;
    }

    .nav-items ul li a {
        width: 100%;
        font-size: 18px;
        padding-left: 10px;
    }

    #login {
        border: none;
        padding-left: 0;
        margin-top: 10px;
    }

    .sell-property {
        display: none;
    }



    #content {
        font-size: 18px;
    }
}


/* =================== Mobile Responsive Styles - Section-1 =================== */
@media (max-width: 768px) {

    * {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        scroll-behavior: smooth;

    }

    html,
    body {
        height: 100%;
        width: 100%;
        margin: 0px;
    }

    /* WhatsApp Floating Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        text-align: center;
        font-size: 24px;
        bottom: 15px;
        right: 15px;

    }

    /* Review Floating Button */
    .review-float {
        width: 60%;
        height: 8%;
        bottom: 80px;
        left: 15px;
        padding: 10px 10px;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }


    .review-float h2 {
        font-size: 14px;
    }

    .phone-icon {
        display: inline-flex;
    }



    /* Responsive Styles */
    @media (max-width: 1024px) {
        .search-bar input {
            width: 250px;
        }

        .nav-items ul li a {
            padding-right: 20px;
            font-size: 16px;
        }
    }

    @media (max-width: 768px) {


        nav {
            flex-direction: column;
            align-items: center;
            height: auto;
        }

        .hamburger {
            display: block;
            font-size: 25px;
            cursor: pointer;
            user-select: none;
        }

        .logo {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 120px;
        }

        .logo img {
            width: 50%;
        }

        .search-bar {
            display: none;
        }

        .sell-property {
            display: none;
        }

        .nav-items {
            width: 100%;
            height: auto;
            display: block;
            flex-direction: column;
            background: white;
            overflow: hidden;
            justify-content: start;
            align-items: start;
        }


        #menuList {
            transition: all 0.5s;
        }

        .nav-items ul {
            width: 100%;
            padding-left: 10px;
            text-align: left;

        }

        .nav-items ul li a {
            padding: 10px 0;
            display: block;
        }
    }


    .div_header_top{
        margin-top: 100px;
    }

    .div_header_top h1 {
        font-size: 28px;
        text-align: center;
    }

    .div_header_top p {
        font-size: 16px;
        text-align: center;
        padding: 0 10px;
    }

    .about,
    .mission {
        flex-direction: column;
        height: auto;
    }

    .div_about_image,
    #mission_image {
        width: 100%;
        height: 200px;
    }

    .content {
        max-width: 100%;
        padding: 10px;
    }

    .services {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .grid {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .card {
        width: 90%;
        height: auto;
    }


    .footer-bottom-content {
        height: auto;
    }

    #row-wise-footer-dividation-top {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    #row-wise-footer-dividation-bottom {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .footer-content-boxes {
        width: 90%;
        text-align: center;
    }

    .footer-content-boxes ul {
        padding-left: 0;
    }

    .footer-content-boxes h4,
    .footer-content-boxes h2 {
        text-align: center;
    }

    @media (max-width: 768px) {

        /* Section 7 - Second Last Footer */


        #section-7 {
            width: 100%;
            height: 250px;
        }

        .div_second_last_footer {
            flex-direction: column;
            height: auto;
            padding: 20px 10px;
        }

        #dslf_left_footer,
        #dslf_right_footer {
            width: 100%;
            text-align: center;
            align-items: center;
            padding: 10px 0;
        }

        #dslf_left_footer h2 {
            font-size: 25px;
            text-align: start;
            line-height: 30px;

        }

        #dslf_left_footer h4 {
            line-height: 20px;
            text-align: start;
            margin-top: 10px;
        }
    }
}