* {
    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;
    
}



/* Navbar */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
  
  }
  
  
  .logo img {
    width: 190px;
    height: 70px;
    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 {
    width: 100%;
    height: 40px;
    position: absolute;
    display: flex;
    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;
  
  }





/* 🔽 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 {
        width: 100%;
        margin: 10px 0;
        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;
        justify-content: center;
        padding: 15px 0;
    }

    .sell-property button {
        width: 90%;
        max-width: 280px;
        font-size: 18px;
    }

    #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: block;
            width: 100%;
            margin: 10px 0;
            padding: 0 10px;
        }

        .search-bar input {
            width: 100%;
        }

        .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;
        }

        .search-bar {
            display: block;
        }

        .nav-items ul {
            width: 100%;
            padding-left: 10px;
            text-align: left;

        }

        .nav-items ul li a {
            padding: 10px 0;
            display: block;
        }
    }
}


