:root {
  /* Primary Colors */
  --raffaut-yellow: #FFB238;
  --primary-gray: #191D1D;
  --darker-gray: #131616;
  --lighter-gray: #2C2C2C;

  /* Additional Colors (if needed) */
  --accent-color: #007BFF; /* Adjust as per your design */
  --success-color: #28A745;
  --error-color: #DC3545;
}

#hero{
  background-image: url(/assets/images/realestate/bdthero.png);
}

.heroLeft{
  flex: 1;
  position: relative;
  padding: 0;
}

.heroLeft p{
  transform: rotate(-90deg);
  position: absolute;
  right: 0px;
  bottom: -130px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--raffaut-yellow);
}

.herocontent{
  width: 60%;
}

#propertydetails{
  max-width: 1100px;
  margin: auto;
  margin-top: 6rem;
}

.proimages img{
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.propertytext{
  display: flex;
  gap: 90px;
  margin-top: 5rem;
}

.propertytext p{
  width: 60%;
}

.left-child{
  display: flex;
width: 349px;
padding: 76px 32px;
flex-direction: column;
align-items: left;
gap: 30px;
flex-shrink: 0;
border-radius: 50px;
background: #F4F0EC;
}

.innerchild{
  display: flex;
  align-items: center;
  gap: 20px;
}

.innerchild h5{
  color: #000;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
letter-spacing: 0.16px;
}

.innerchild img{
  max-width: 40px;
}

.left-child h3{
  font-size: 1.9rem;
  color: var(--darker-gray);
  font-weight: 500;
  line-height: 40px;
}

#subscribe{
  margin-top: 6rem;
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {
  #hero {
    background-position: center; /* Adjust as needed */
    padding: 2rem;
    height: auto;
  }

  .herocontentParent {
    flex-direction: column-reverse;
  }

  .herocontent {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .herocontent h1,
  .herocontent h2 {
    font-size: 1.5rem;
    width: 80%;
    margin: auto;
  }

  .herocontent p {
    width: 90%;
    margin: 1rem auto 2rem;
  }

  .heroLeft {
    display: none; /* Hide the rotated text on mobile */
  }

  .menu {
    display: none; /* Hide the menu on mobile, use a mobile-friendly menu icon instead */
  }
}

/* Tablet Styles */
@media only screen and (min-width: 601px) and (max-width: 1024px) {

  #hero{
    height: 85vh;
  }
  .herocontent {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items if needed */
    text-align: center; /* Center align text if needed */
    padding: 0;
    margin: 0;
  }

  .herocontent h1,
  .herocontent h2 {
    font-size: 1.8rem;
  }

  .herocontent p{
    width: 70%;
    margin-bottom: 0;
  }

  .heroLeft p {
    display: none;
  }

  .contactbtn{
    margin-bottom: 5rem;
  }
}
@media only screen and (max-width: 600px) {
  #propertydetails {
    margin: 1rem auto; /* Adjust margin */
    padding: 2rem; /* Add padding */
  }

  .proimages img {
    width: 100%; /* Full width for images */
    height: auto; /* Height auto to maintain aspect ratio */
    margin-bottom: 1rem; /* Margin between images */
  }

  .propertytext {
    display: flex;
    flex-direction: column; /* Stack text and contact info vertically */
    align-items: center; /* Center-align items */
  }

  .propertytext p {
    width: 100%; /* Full width for text */
    text-align: justify; /* Justify text for better readability */
    font-size: 0.9rem; /* Adjust font size */
    margin-top: 1rem; /* Margin top for text */
  }

  .left-child {
    width: 100%; /* Full width for contact info */
    padding: 60px 60px; /* Padding adjustment */
    margin-top: 1rem; /* Margin top for contact info */
  }

  .innerchild img {
    width: 30px; /* Adjust icon size */
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #propertydetails {
    max-width: 1100px;
    margin: 2rem auto; /* Adjust margin */
    padding: 2rem; /* Padding adjustment */
  }

  .proimages img {
    width: 45%; /* Adjust image width */
    height: auto; /* Height auto to maintain aspect ratio */
    margin-bottom: 1rem; /* Margin between images */
  }

  .propertytext {
    display: flex;
    flex-direction: row; /* Side-by-side layout for text and contact info */
    gap: 30px; /* Gap between text and contact info */
    align-items: start; /* Align items to start */
  }

  .propertytext p {
    width: 60%; /* Adjust width for text */
    text-align: justify; /* Justify text */
    font-size: 1rem; /* Adjust font size */
  }

  .left-child {
    width: 35%; /* Adjust width for contact info */
    padding: 30px; /* Padding adjustment */
  }

  .innerchild img {
    width: 35px; /* Adjust icon size */
  }
}
