 

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top:4rem;
  list-style: none;
  text-decoration: none;
}

:root {
  --main-color: #2288ff;
  --second-color: #192f6a;
  --text-color: #314862;
  --bg-color: #fff;

  --box-shadow: 2px 2px 2px rgb(14 52 54 / 15%);
}
section{
    padding: 100px 0 250px;
}
img {
  width: 100%;
}
body {
  color: var();
}
.container {
  max-width: 3000px;
  min-width: 320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}
header {
  display: block;
  width: 100%;
  background: var(--bg-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content:space-between;
  padding: 20px 35px;
}

.logo {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
}
.logo .bx {
  font-size: 24px;
  color: var(--main-color);
}
.navbar{
  display: flex;
}
.navbar a{
  padding:  10px 20px;
  color: var(--text-color);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}
#homenavbar{
  padding-left: 230px;
}
.navbar :hover{
  color: blue;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    display: none;
}
#menu{
    display: none;
}
.btn-container {
  display: flex;
  gap: 10px;
}
.btn{
  padding:  8px 22px;
  background: var(--main-color);
  color: var(--bg-color);
  border-radius: 5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn:hover{
  background: #247ee6;
  background: linear-gradient(to bottom, #3990ff, #2b86f5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
}

.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home-text {
  max-width: 70%;
}

.home-text h1 {
  font-size: 48px;
  line-height: 1.2;
  padding-left: 35px;
}

.home-image {
  max-width: 50%;
}

.home-image img {
  width: 100%;
  border-radius: 10px;
  padding-top: 70px;
}
.home-text .buton {
  color: white;
  border-radius: 5rem;
  background: linear-gradient(to bottom, #2b86f5, #247ee6);
  padding: 8px 16px;
  margin-left: 35px;
  margin-top: 18px;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  height: 56px;
  width: 110px;
}

.home-text .buton:hover {
  background: linear-gradient(to bottom, #3990ff, #2b86f5);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}
.about{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(18px,auto));
  gap: 32px;
}
.about-imgage img{
  border-radius: 40px 0 40px 40px;
}
.about-text span{
  font-size:16px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--main-color);
}
.about-text h2{
  font-size: 20px;
  margin: 16px 0 16px;
}
.about-text p{
  font-size: 15px;
  margin: 16px 0 16px;
}
.sales{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,auto));
  gap:  40px;
}
.sales .box{
  padding: 20px;
  background: var(--bg-color);
  box-shadow:var(--box-shadow);
  text-align: center;
  border-radius: 32px;
}
.sales .box:hover{
  background-color: var(--main-color);
  color: var(--bg-color);
  transition:0.2s all  ;
}
.sales .box .bx{
  padding: 10px;
  border-radius: 50%;
  background: #f6f6f6;
  color: var(--main-color);
  font-size: 20px;
}
.sales .box h3{
  font-size: 18px;
  margin: 16px 0 16px;
}
.sales .box p{
  font-size: 14px;
}
/* <!--heading--> */
.heading{
  text-align: center;
  margin: 32px;
}
.heading span{
  font-weight: 500;
  color: var(--main-color);
}
.heading h2{
  font-size: 30px;
}
.heading p{
  font-size: 14px;
}

@media (min-width: 481px) {
  .properties-container2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .properties-container2 {
    grid-template-columns: repeat(1, 1fr);
  }
}
.featured-properties {
  padding: 50px;
  background-color: #f0f4f8;
}

.featured-properties h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--text-color);
}
#properties{
  padding: 50px;
}
#propertiesContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.property-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.property-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card img {
  width: 331.5px;
  height: 200px;
  object-fit: cover;
}

.property-details {
  padding: 15px;
}
/* <!--footer--> */
.newsletter{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 32px;
  justify-content: center;
  text-align: center;
}
.newsletter h2{
  font-size: 30px;
}
.newsletter form{
  background: rgb(55, 55, 55);
  background: var(--box-shadow);
  padding: 6px 10px;
  border: radius 80px;
  color: #2288ff;
  background-color: rgb(220, 220, 220);
  border-radius: 30px;
}
.newsletter form input{
  border: none;
  outline: none;
  font-size: 16px;
}
.newsletter #email-box{
  width:280px ;
  background-color: rgb(220, 220, 220);


}
.newsletter .btn{
  padding: 12px 34px;
  font-weight: 500;
  text-transform: uppercase;
}
.footer{
  background: var(--main-color);
  color: white;
  border-radius: 80px 0 0 0;
}
.footer-container{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,auto));
  gap: 32px;
}
.footer-container h2{
  font-size: 30px;
  font-weight: 500;
}
.footer-box{
  display: flex;
  flex-direction: column;
}
.footer-box h3{
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
}
.footer-box a{
  font-size: 14px;
  color: white;
  font-weight: 400;
  margin-bottom: 10px;
}
.footer-box a:hover{
  color:var(--second-color)
}
.Location a{
  color: white;
}
.Location a:hover{
  color: var(--second-color);
} 
.Contact a{
  color: white;
}
.Contact a:hover{
  color: var(--second-color);
}
.social a{
  font-size: 20px;
  margin-right: 16px;
  color: white;
}
.social a i:hover{
  color: var(--second-color);
}
.footer-box #location a{
  color: white;
}



.contact-details-button { 
  padding: 8px 16px; 
  font-size: 14px; 
  background-color: var(--main-color); 
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer; 
  margin: 0 auto; 
}

/* Contact Details Pop-up Styling */
.contact-details-popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.popup-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}