@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Bogle&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #FFB900;
    --secondary-color: #970404;
    --light-background: #f2efef;
    --light-color: #fff;
    --text-color: #222;
    --lighter-color: #e9e5e5;
    --font_family2: "Raleway", sans-serif;
    --lato: 'Lato', sans-serif;
    --font_size1: 1.5rem;
    --font_size2: 1.3rem;
    --font_size3: 1.2rem;
    --font_size4: 1.125rem;
    --font_size5: 1rem;
    --font_size6: 0.875rem;
    --font_size7: 0.75rem;
    --font_size8: 0.625rem;
    --font_size9: 0.5rem;
    --border-radiusm: 8px;
    --border-radiuss: 4px;
}

* {
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--lato);
    background: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
  background: #222;
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.logo {
  font-weight: bold;
  font-size: 22px;
  color: #000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 100px;
  margin: auto;
  position: fixed;       /* make it fixed */
  top: 0;
  left: 0;
  width: 86%;
  background: #fff;      /* ensure background covers */
  z-index: 1000;         /* keep it above everything */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* subtle shadow */

}
.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
}
.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--primary-color);
  transition: .3s ease;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 14px;  
  border: none;
  outline: none;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}

.dropdown .dropbtn:hover {
  color: var(--primary-color);
  transition: .3s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 5px 5px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #f4f4f4;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger button */
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}
.signup-btn {
  background: var(--primary-color);
  border: none;
  padding: 8px 15px;
  border-radius: 15px;
  cursor: pointer;
  color: var(--light-color);
}

.signup-btn:hover{
    background: var(--secondary-color);
    transition: .3s ease;
}

.signin-btn {
  background: transparent;
  border: none;
  padding: 8px 0;
  border-radius: 6px;
  cursor: pointer;
  color: #000;
  text-decoration: none;
}


/* Hero */
.hero_section {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: url(pictures/Background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero_section:after {
    content: '';
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #000;
    top: 0;
    left: 0;
    opacity: 0.3;
    position: absolute;
}

.hero_section .hero_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    flex-direction: column;
    gap: 16px;
}

.hero_section .hero_container .hero_text_container {
    width: 80%;
    display: flex;
     align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.hero_section .hero_container .hero_text_container .hero_text {
    color: var(--light-color);
    font-size: clamp(1.3em,4vw,4em);
    text-align: center;
}

.hero_section .hero_container .hero_text_container .hero_desc {
    color: var(--light-color);
    font-size: 16px;
    text-align: center;
}

.hero_section .hero_container .search_form_container .search_form .search_input_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 8px;
    outline: none;
    border: none;
    width: 100%;
}

.hero_section .hero_container .search_form_container .search_form .search_input_container label {
    font-size: 14px;
    font-family: 500;
}


.hero_section .hero_container .search_form_container .search_form .search_input_container .search_input {
    width: 100%;
    height: 40px;
    font-family: var(--lato);
    padding: 8px;
    outline: none;
    border: none;
    background: var(--lighter-color);
}

.hero_section .hero_container .search_form_container {
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.hero_section .hero_container .search_form_container .search_form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--light-color);
    width: 100%;
    padding: 24px;
    border-radius: 10px;
}

.hero_section .hero_container .search_form_container .search_form .search_form_btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 100%;
    height: 40px;
     outline: none;
    border: none;
    border-radius: 20px;
    font-family: var(--lato);
    margin-top: 16px;
    cursor: pointer;
    transition: all 0.5s linear;
}

.hero_section .hero_container .search_form_container .search_form .search_form_btn:hover {
    background-color: var(--secondary-color);
}

.hero_section .hero_container .search_form_container .search_type_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero_section .hero_container .search_form_container .search_type_container .search_type_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 24px;
}

.hero_section .hero_container .search_form_container .search_type_container .search_type_inner .search_type_btn{
background-color: var(--lighter-color);
padding: 16px;
border: none;
outline: none;
border-radius: 20px;
font-family: var(--lato);
padding: 8px 24px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s linear;
}

.hero_section .hero_container .search_form_container .search_type_container .search_type_inner .search_type_btn.active{
background-color: var(--primary-color);
color: var(--light-color);

}

.hero_section .hero_container .search_form_container .search_type_container .search_type_inner .search_type_btn:hover{
background-color: var(--primary-color);
color: var(--light-color);
cursor: pointer;
}


.featured_properties_section .featured_properties_container .title_container {
    text-align: center;
}



.title_container .subtitle {
    color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

.title_container .title {
    color: var(--text-color);
    font-size: clamp(1.3em,3vw,3em);
}

.featured_properties_section .featured_properties_container .content_container {
    width: 90%;
    height: 100%;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Featured Section */
.tab {
  overflow: hidden;
  border: none;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 8px;
  padding-top: 16px;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: rgb(227, 226, 226);
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 24px;
  transition: 0.3s;
  font-size: var(--font_size7);
  border-radius: 5px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: var(--primary-color);
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: var(--primary-color);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 24px 0;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
}

/* show tabcontent when it has the .active class */
.tabcontent.active {
  display: block;
}

/* fallback: if no .active present, show the first tab content */
.tabcontent:first-of-type {
  display: block;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}


.featured_properties_content_container {
display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: start;
  width: 100%;
}

.featured_properties_content_container .product_card {
      margin: 5px;
  width: 25%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.featured_properties_content_container .product_card  img {
     width: 100%;
  height: auto;
  border-radius: 10px;
}

.featured_properties_content_container .product_card  .text_container {
    width: 100%;
}

.featured_properties_content_container .product_card  .text_container p {
    width: 100%;
}

.featured_properties_section  {
  padding: 60px 0 ; 
}
/*featured content end*/



/* ===== HELP ===== */
.help { background: #D0F0FD; padding: 60px 20px; text-align: center; }
.help h2 { margin-bottom: 30px; }
.help-container { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.help-card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); width: 250px; text-decoration: none; color: #000;}
.help-card img { width: 100%; border-radius: 8px; margin-bottom: 10px; }
.help-card p { font-weight: bold; }
.help-card:hover {
    color: var(--primary-color);
}


.about_section {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    gap: 24px;
}

.about_section .title_container,.cities_container .title_container{
    text-align: center;
    margin-bottom: 24px;
}

.about_section .about_container .about_content_container,.about_section .about_container .about_row {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about_section .about_container .about_row {
    gap: 24px;
    background: var(--light-color);
}

.about_col {
    flex: 1;
    height: 100%;
}

.about_col .img_container {
    width: 100%;
    height: 100%;
    display: flex;
}

.about_col .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius:  0 50px 50px  0;
}

.about_col .text_container{
    width: 80%;
}

.about_col .text_container h4{
    font-size: clamp(1.2em,3vw,2em);
    color: var(--secondary-color);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.about_col .text_container .sub_desc{
    font-size: 14px;
    padding: 8px 0;
    color: var(--primary-color);
}
.about_col .text_container .desc{
    font-size: 16px;
    padding: 8px 0;
    line-height: 1.7;
}

/* Swiper styles */

.cities_container {
    padding : 40px 100px;
}

.cities_card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 32px 0;
}

.cities_card .img_container img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.cities_card h4 {
  font-size: 16px;
}

.cities_card p {
  margin: 0;
  font-size: 14px;
  color: #666;
}


.testimonial_section .testimonial_header, .blog-header{
    width: 100%;
    text-align: center;
    font-size: clamp(1.3em,3vw,3em);
    font-weight: 600;
    font-family: var(--poppins);
    margin-bottom: 16px;
}

.testimonial_section {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: var(--light-background);
    overflow: visible;
   flex-direction: column;
    gap: 24px;
}

.testimonial_container {
    width :100%;
    height: 100%;
    display: flex;
    gap: 16px;
}

.testimonial_container .title_container {
    width: 40%;
}

.testimonial_container .content_container {
    width: 50%;
    cursor: grab;
}

.testimonial_section {
  background: #f5f9fc;
  padding: 60px 100px;
  text-align: center;
  justify-content: center;
}

.testimonial_header_container {
    width : 100%;
}

.testimonial_header_container .subtitle {
    color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

.testimonial_header_container .title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.testimonial_card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-width: 350px;
  margin: auto;
}

.testimonial_text {
  font-size: 16px;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.6;
}

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

.testimonial_author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author_info h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.author_info p {
  margin: 0;
  font-size: 14px;
  color: #888;
}



.bio_container_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial_section .testimonial_subtitle, .blog-sub-heading {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 20px;
}

.title_container .test_img {
    border-radius: 20px;
}

.title_container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    
}


/* blog */
.blog_section {
    padding: 24px 0;
}
.blog_container {
    padding: 24px 100px;
    display: flex;
    gap: 32px;
}
.date_category_content {
    display: flex;
    font-family: var(--font_family2);
    font-size: var(--font_size8);
    font-weight: 200;
    gap: 8px;
    padding-top: 8px;
}

.blog_content_left {
    width: 100%;  
    display: flex;
    gap: 32px;
    padding: 0;
}

.blog_content img {
    width: 350px;
    height: 250px;
}

.blog_text_container .content_title {
    font-family: var(--lato);
    font-weight: 600;
    font-size: var(--font_size4);
    padding: 16px 0;
    width: 100%;
}

.blog_text_container .content_title:hover {
   color: var(--primary-color);
   cursor: pointer;
}

.blog_text_container .content_subtitle{
    font-family: var(--lato);
    font-weight: 300;
    font-size: var(--font_size6);
    width: 100%;
}

.blog_content_right .right_content {
    display: flex;
}

.blog_right {
    width: 100%;
    overflow: hidden;
}

.blog_content_right{
    width: 100%;
    padding: 0;
}

.blog_content_right .right_content img {
    width: 50%;
    height: 80px;
    border-radius: 10px;
}

.blog_text_container_right .content_title_right {
    font-family: var(--lato);
    font-weight: 600;
    font-size: var(--font_size6);
    padding: 8px 0;
    width: 100%;
}
.blog_text_container_right .content_title_right:hover {
   color: var(--primary-color);
   cursor: pointer;
}

.right_content {
    gap: 16px;
    width: 100%;
    margin: 0;
}

.blog_content_right {
    width: 100%;
}

.right_content .text_content {
    width: 300px;
}

 .header_content {
    width: 100%;
    padding: 24px 100px;
    align-items: center;
    display: flex;
    gap: 800px;
}

.header_content  .right_link {
    float: right;
}

 .blog_subtitle {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px 24px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 40px;
    margin-left: 100px;
}

.right_link {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.right_link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer {
    color: white;
    display: flex;
    gap: 120px;
    justify-content: center;
}

.footer .first {
    width: 30%;
}

.footer_desc {
    margin: 16px 0;
    font-family: var(--lato);
    font-weight: 300;
    line-height: 1.6;
    font-size: var(--font_size6);
}

.social_links .bx {
    font-size: 20px;
    margin-right: 8px;
}

.footer_logo {
  font-weight: bold;
  font-size: 22px;
  color: white;
}

.footer .second {
    display: flex;
    gap: 80px;
}

.footer .quick_links {
    font-family: var(--font_family2);
    font-size: var(--font_size5);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer .third {
    display: block;
}

.footer .third img {
   width: 50px;
   height: 50px;
   margin-right: 8px;
   border-radius: 5px;
}

.footer .links a {
    text-decoration: none;
    list-style: none;
    font-family: var(--lato);
    color: white;
}

.footer .links li {
    text-decoration: none;
    list-style: none;
    color: white;
    font-family: var(--lato);
    font-weight: 300;
    font-size: var(--font_size6);
}

.footer_section {
    background: #333;  padding: 60px 100px;
}

.copy_right {
    justify-self: center;
    color: white;
    font-weight: 200;
    font-family: var(--font_family2);
}



@media (max-width: 480px) {
    * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--lato);
    background: var(--light-color);
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  background: #222;
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.logo {
  font-weight: bold;
  font-size: 18px;
  color: #000;
}
.navbar {
  padding: 2px 24px;
  margin: auto;
}


.hero_section {
   padding-top: 0;
   padding-bottom: 40px;
}

    .hero_section .hero_container .search_form_container .search_form {
    display: block;
    justify-content: center;
    align-items: start;
    gap: 8px;
    outline: none;
    border: none;
    width: 100%;
}
.hero_section .hero_container .search_form_container .search_type_container .search_type_inner {
        gap: 8px;
}

.hero_section .hero_container .hero_text_container .hero_text {
    color: var(--light-color);
    font-size: clamp(1.4em,4vw,4em);
    text-align: center;
    line-height: 1.2;
}

.hero_section .hero_container .hero_text_container .hero_desc {
    color: var(--light-color);
    font-size: 12px;
    text-align: center;
}

 .tab {
    display: flex; 
    flex-wrap: wrap;                 /* keep buttons in a row */
    gap: 8px;
    padding: 8px 12px;        /* hide scrollbar on IE/Edge */
  }

  /* ensure buttons don't shrink and remain clickable */
  .tab button {
    flex: 0 0 auto;
    display: inline-block;
    margin: 0;
    padding: 8px 16px;
    white-space: nowrap;              /* keep label on single line */
    border-radius: 6px;
  }

  /* Optional: slightly enlarge active button for emphasis */
  .tab button.active {
    transform: scale(1.03);
  }

  .title_container .subtitle {
    font-size: 8px;
}
.featured_properties_content_container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 12px;
  }
  .featured_properties_content_container .product_card {
    flex: 0 0 86vw;   /* each card takes most of viewport width */
    width: 86vw;
    min-width: 86vw;
    border-radius: 10px;
  }

  /* hide native scrollbar visually */
  .featured_properties_content_container {
    scrollbar-width: none; /* Firefox */
  }
  .featured_properties_content_container::-webkit-scrollbar { display: none; } /* WebKit */


  .about_section .about_container .about_content_container,.about_section .about_container .about_row {
    display: block;
    align-items: center;
    justify-content: center;
}

.about_col .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.about_col {
    flex: 1;
    height: 100%;
}

.about_col .img_container {
    width: 100%;
    height: 100%;
    display: flex;
}

.about_col .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius:  0;
}

.about_col .text_container{
    width: 100%;
    padding: 16px 16px;
    text-align: center;
    justify-content: center;
}

.about_col .text_container h4{
    font-size: clamp(1.3em,3vw,2em);
    color: var(--secondary-color);
    line-height: 1.2;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.about_col .text_container .sub_desc{
    font-size: 16px;
    padding: 8px 0;
    color: var(--primary-color);
}
.about_col .text_container .desc{
    font-size: 12px;
    padding: 8px 0;
    line-height: 1.7;
}


/* ===== HELP ===== */
.help { background: #D0F0FD; padding: 32px 16px; text-align: center; }
.help h2 { margin-bottom: 16px; }
.help-container { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

    .swiper {
      width: 300px;
      height: 100%;
      justify-self: center;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: block;
      justify-content: center;
      align-items: center;
    }
    .swiper-wrapper {
        width: 1000px;
    }

    .testimonial_container {
    width: 100%;
    height: 100%;
    display:block;
    gap: 32px;
}

.cities_container {
    padding : 24px;
}

.bio_container {
    display: flex;
    gap: 8px;
}

.carousel-item .bio_container .bio .name_testifier {
     font-size: var(--font_size8);
    font-family: var(--lato);
    color: grey;
    font-weight: 300;
    word-spacing: 0.8px;
}

.bio_container_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial_section {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-background);
    overflow: visible;
  padding: 24px 24px;
   flex-direction: column;
    gap: 24px;
}

.testimonial_section .testimonial_header, .blog-heading {
    width: 100%;
    text-align: center;
    font-size: clamp(1.3em,3vw,3em);
    font-weight: 600;
    font-family: var(--poppins);
    margin-bottom: 16px;
}

.testimonial_section .testimonial_subtitle, .blog-sub-heading {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 20px;
}

.testimonial_container .title_container {
    width: 100%;
    margin-bottom: 24px;
}



.nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 360px;
    padding: 56px 18px 18px 18px; /* leave space for header */
    background: #ffffff;
    box-shadow: -8px 0 24px rgba(8, 12, 20, 0.12);
    transition: right 0.32s ease;
    z-index: 1400;
    overflow-y: auto;
  }

  /* opened state slides in */
  .nav-links.open {
    right: 0;
  }

  /* hide desktop nav inline list (in case) */
  .nav-links.inline { display: none; }

  /* show hamburger */
  .hamburger { display: inline-flex; align-items:left; }


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

  .nav-links a, .dropbtn {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
  }

  /* subtle backdrop when menu open */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
    transition: opacity .2s ease;
    opacity: 0;
    pointer-events: none;
  }
  .nav-backdrop.open { display: block; opacity: 1; pointer-events: auto; }



 .blog_subtitle {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px 24px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 40px;
    margin-left: 24px;
}


  .blog_container {
    padding: 24px;
    display: block;
    gap: 32px;
}
.date_category_content {
    display: block;
    font-family: var(--font_family2);
    font-size: var(--font_size8);
    font-weight: 200;
    gap: 8px;
    padding-top: 8px;
}

.blog_section {
    padding: 24px 0;
    overflow: hidden;
}

.blog_content_left {
    width: 100%;  
    display: block;
    gap: 32px;
    padding: 0;
}

 .header_content {
    width: 100%;
    padding: 24px 24px;
    align-items: center;
    display: flex;
    gap: 40px;
}

.blog .header_content h4 {
    font-size: var(--font_size6);
}

.right_link{
    font-size: var(--font_size7);
}

.blog .header_content .blog_subtitle {
    color: var(--primary-color);
}

.blog_content_left .blog_content {
    margin-bottom: 32px;
}

.blog_content img {
    width: 100%;
    height: 250px;
}

.date_category_content {
    display: flex;
    font-family: var(--font_family2);
    font-size: var(--font_size8);
    font-weight: 200;
    gap: 8px;
    width: 100%;
    padding-top: 8px;
}

.blog_content_right .right_content {
    display: block;
}

.blog_right {
    width: 100%;
}

.blog_content_right{
    width: 100%;
    padding: 0;
}

.blog_content_right .right_content img {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.blog_text_container_right .content_title_right {
    font-family: var(--lato);
    font-weight: 600;
    font-size: var(--font_size6);
    padding: 8px 0;
    width: 100%;
}
.blog_text_container_right .content_title_right:hover {
   color: var(--primary-color);
   cursor: pointer;
}

.blog_content_right {
    display: block;
}

.right_content .text_content {
    width: 300px;
}

.footer_logo {
  font-weight: bold;
  font-size: 22px;
  color: white;
}

.footer .second {
 visibility: hidden;
}

.footer .quick_links {
    visibility: hidden;
}

.footer .third {
    display: block;
    margin-top: -180px;
}

.footer .third img {
   width: 80px;
   height: 80px;
   margin-right: 8px;
   border-radius: 5px;
}

.footer .links a {
    text-decoration: none;
    list-style: none;
    font-family: var(--lato);
    color: white;
}

.footer .links li {
    text-decoration: none;
    list-style: none;
    color: white;
    font-family: var(--lato);
    font-weight: 300;
    font-size: var(--font_size6);
}

.copy_right {
    justify-self: center;
    color: white;
    font-weight: 200;
    font-family: var(--font_family2);
}

.footer {
    color: white;
    display: block;
    gap: 120px;
    justify-content: center;
}
.footer_section {
    background: #333;  padding: 24px;
    justify-content:center ;
        margin-bottom: 0;
}

.footer .first {
    width: 100%;
}


}



@media (min-width: 480px) and (max-width: 768px) {
    * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--lato);
    background: var(--light-color);
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  background: #222;
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.logo {
  font-weight: bold;
  font-size: 18px;
  color: #000;
}
.navbar {
  padding: 2px 24px;
  margin: auto;
}

.hero_section {
   padding-top: 60px;
   padding-bottom: 24px;
}

    .hero_section .hero_container .search_form_container .search_form {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 8px;
    outline: none;
    border: none;
    width: 100%;
}
.hero_section .hero_container .search_form_container .search_type_container .search_type_inner {
        gap: 8px;
}

.hero_section .hero_container .hero_text_container .hero_text {
    color: var(--light-color);
    font-size: clamp(1.4em,4vw,4em);
    text-align: center;
    line-height: 1.2;
}

.hero_section .hero_container .hero_text_container .hero_desc {
    color: var(--light-color);
    font-size: 12px;
    text-align: center;
}

 .tab {
    display: flex; 
    flex-wrap: wrap;                 /* keep buttons in a row */
    gap: 8px;
    padding: 8px 12px;        /* hide scrollbar on IE/Edge */
  }

  /* ensure buttons don't shrink and remain clickable */
  .tab button {
    flex: 0 0 auto;
    display: inline-block;
    margin: 0;
    padding: 8px 16px;
    white-space: nowrap;              /* keep label on single line */
    border-radius: 6px;
  }

  /* Optional: slightly enlarge active button for emphasis */
  .tab button.active {
    transform: scale(1.03);
  }

  .title_container .subtitle {
    font-size: 8px;
}
.featured_properties_content_container {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  width: 100%;
  }
.featured_properties_content_container .product_card {
      margin: 5px;
  width: 25%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

  /* hide native scrollbar visually */
  .featured_properties_content_container {
    scrollbar-width: none; /* Firefox */
  }
  .featured_properties_content_container::-webkit-scrollbar { display: none; } /* WebKit */


  .about_section .about_container .about_content_container,.about_section .about_container .about_row {
    display: block;
    align-items: center;
    justify-content: center;
}

.about_col .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.about_col {
    flex: 1;
    height: 100%;
}

.about_col .img_container {
    width: 100%;
    height: 100%;
    display: flex;
}

.about_col .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius:  0;
}

.about_col .text_container{
    width: 100%;
    padding: 16px 16px;
    text-align: center;
    justify-content: center;
}

.about_col .text_container h4{
    font-size: clamp(1.3em,3vw,2em);
    color: var(--secondary-color);
    line-height: 1.2;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.about_col .text_container .sub_desc{
    font-size: 16px;
    padding: 8px 0;
    color: var(--primary-color);
}
.about_col .text_container .desc{
    font-size: 12px;
    padding: 8px 0;
    line-height: 1.7;
}


/* ===== HELP ===== */
.help { background: #D0F0FD; padding: 24px 16px; text-align: center; }
.help h2 { margin-bottom: 16px; }
.help-container { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
padding : 24px 0;}

    .swiper {
      width: 480px;
      height: 100%;
      justify-self: center;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: block;
      justify-content: center;
      align-items: center;
    }
    .swiper-wrapper {
        width: 1000px;
    }

    .testimonial_container {
    width: 100%;
    max-width: 480px;
    height: 100%;
    display:block;
    gap: 32px;
}

.swiper-slide .carousel-item {
    text-align: left;
    align-items: center;
    background: white;
    box-shadow: #333;
    height: fit-content; 
    padding: 24px 24px;
    border-radius: 8px;
}

.carousel-item .bio_container .bio h4 {
    font-size: var(--font_size6);
    font-family: var(--poppins);
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.carousel-item .testimony {
    font-size: var(--font_size5);
    font-family: var(--lato);
    color: var(--text-color);
    font-weight: 300;
    margin-bottom: 16px;
}

.bio_container {
    display: flex;
    gap: 8px;
}

.carousel-item .bio_container .bio .name_testifier {
     font-size: var(--font_size8);
    font-family: var(--lato);
    color: grey;
    font-weight: 300;
    word-spacing: 0.8px;
}

.bio_container_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial_section {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-background);
    overflow: visible;
  padding: 24px 24px;
   flex-direction: column;
    gap: 24px;
}

.testimonial_section .testimonial_header, .blog-heading {
    width: 100%;
    text-align: center;
    font-size: clamp(1.3em,3vw,3em);
    font-weight: 600;
    font-family: var(--poppins);
    margin-bottom: 16px;
}

.testimonial_section .testimonial_subtitle, .blog-sub-heading {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 20px;
}

.testimonial_container .title_container {
    width: 100%;
    margin-bottom: 24px;
}



.nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 360px;
    padding: 56px 18px 18px 18px; /* leave space for header */
    background: #ffffff;
    box-shadow: -8px 0 24px rgba(8, 12, 20, 0.12);
    transition: right 0.32s ease;
    z-index: 1400;
    overflow-y: auto;
  }

  /* opened state slides in */
  .nav-links.open {
    right: 0;
  }

  /* hide desktop nav inline list (in case) */
  .nav-links.inline { display: none; }

  /* show hamburger */
  .hamburger { display: inline-flex; align-items:left; }


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

  .nav-links a, .dropbtn {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
  }

  /* subtle backdrop when menu open */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
    transition: opacity .2s ease;
    opacity: 0;
    pointer-events: none;
  }
  .nav-backdrop.open { display: block; opacity: 1; pointer-events: auto; }





  .blog_container {
    padding: 24px;
    display: flex;
}
.date_category_content {
    display: block;
    font-family: var(--font_family2);
    font-size: var(--font_size8);
    font-weight: 200;
    gap: 8px;
    padding-top: 8px;
}

.blog_section {
    padding: 24px 0;
    overflow: hidden;
}

.blog_content_left {
    width: 100%;  
    display: block;
    gap: 32px;
    padding: 0;
}

 .header_content {
    width: 100%;
    padding: 24px 24px;
    align-items: center;
    display: flex;
    gap: 300px;
}

.blog .header_content h4 {
    font-size: var(--font_size6);
}

.right_link{
    font-size: var(--font_size7);
}

.blog .header_content .blog_subtitle {
    color: var(--primary-color);
}

.blog_content_left .blog_content {
    margin-bottom: 32px;
}

.blog_content img {
    width: 100%;
    height: 200px;
}

.date_category_content {
    display: flex;
    font-family: var(--font_family2);
    font-size: var(--font_size8);
    font-weight: 200;
    gap: 8px;
    width: 100%;
    padding-top: 8px;
}

.blog_content_right .right_content {
    display: flex;
    width: 100%;
}

.blog_right {
    width: 100%;
}

.blog_content_right{
    width: 100%;
    padding: 0;
}

.blog_content_right .right_content img {
    width: 100px;
    height: 80px;
    border-radius: 5px;
}

 .blog_subtitle {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px 24px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 40px;
    margin-left: 24px;
}

.blog_text_container_right .content_title_right {
    font-family: var(--lato);
    font-weight: 600;
    font-size: var(--font_size7);
    padding: 8px 0;
    width: 100%;
}
.blog_text_container_right .content_title_right:hover {
   color: var(--primary-color);
   cursor: pointer;
}

.blog_content_right {
    display: block;
}

.right_content .text_content {
    width: 400px;
}

.footer_logo {
  font-weight: bold;
  font-size: 22px;
  color: white;
}

.footer .third {
    display: block;
}

.footer .third img {
   width: 50px;
   height: 50px;
   margin-right: 8px;
   border-radius: 5px;
}

.footer .links a {
    text-decoration: none;
    list-style: none;
    font-family: var(--lato);
    color: white;
}


.footer .links li {
    text-decoration: none;
    list-style: none;
    color: white;
    font-family: var(--lato);
    font-weight: 300;
    font-size: var(--font_size8);
}

.copy_right {
    justify-self: center;
    color: white;
    font-weight: 200;
    font-family: var(--font_family2);
}

.footer .second {
    gap: 24px;
}

.footer {
    color: white;
    display: flex;
    gap: 40px;
    justify-content: center;
}
.footer_section {
    background: #333;  padding: 24px;
    justify-content:center ;
        margin-bottom: 0;
}

.footer .first {
    width: 25%;
}


.footer .quick_links {
    font-family: var(--font_family2);
    font-size: var(--font_size6);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}



}

@media (min-width: 768px) and (max-width: 1032px) {
    * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--lato);
    background: var(--light-color);
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  background: #222;
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.logo {
  font-weight: bold;
  font-size: 18px;
  color: #000;
}
.navbar {
  padding: 2px 24px;
  margin: auto;
}

.hero_section {
   padding-top: 60px;
   padding-bottom: 24px;
}

    .hero_section .hero_container .search_form_container .search_form {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 8px;
    outline: none;
    border: none;
    width: 100%;
}
.hero_section .hero_container .search_form_container .search_type_container .search_type_inner {
        gap: 8px;
}

.hero_section .hero_container .hero_text_container .hero_text {
    color: var(--light-color);
    font-size: clamp(1.4em,4vw,4em);
    text-align: center;
    line-height: 1.2;
}

.hero_section .hero_container .hero_text_container .hero_desc {
    color: var(--light-color);
    font-size: 12px;
    text-align: center;
}

 .tab {
    display: flex; 
    flex-wrap: wrap;                 /* keep buttons in a row */
    gap: 8px;
    padding: 8px 12px;        /* hide scrollbar on IE/Edge */
  }

  /* ensure buttons don't shrink and remain clickable */
  .tab button {
    flex: 0 0 auto;
    display: inline-block;
    margin: 0;
    padding: 8px 16px;
    white-space: nowrap;              /* keep label on single line */
    border-radius: 6px;
  }

  /* Optional: slightly enlarge active button for emphasis */
  .tab button.active {
    transform: scale(1.03);
  }

  .title_container .subtitle {
    font-size: 8px;
}
.featured_properties_content_container {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  width: 100%;
  }
.featured_properties_content_container .product_card {
      margin: 5px;
  width: 25%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

  /* hide native scrollbar visually */
  .featured_properties_content_container {
    scrollbar-width: none; /* Firefox */
  }
  .featured_properties_content_container::-webkit-scrollbar { display: none; } /* WebKit */


  .about_section .about_container .about_content_container,.about_section .about_container .about_row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about_col .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.about_col {
    flex: 1;
    height: 100%;
}



.about_col .img_container {
    width: 100%;
    height: 100%;
    display: flex;
}

.about_col .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius:  0 50px 50px  0;
}

.about_col .text_container{
    width: 100%;
    padding: 16px 16px;
    text-align: center;
    justify-content: center;
}

.about_col .text_container h4{
    font-size: clamp(1.3em,3vw,2em);
    color: var(--secondary-color);
    line-height: 1.2;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.about_col .text_container .sub_desc{
    font-size: 16px;
    padding: 8px 0;
    color: var(--primary-color);
}
.about_col .text_container .desc{
    font-size: 12px;
    padding: 8px 0;
    line-height: 1.7;
}


/* ===== HELP ===== */
.help { background: #D0F0FD; padding: 0 16px; text-align: center; }
.help h2 { margin-bottom: 16px; }
.help-container { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

    .swiper {
      width: 100%;
      height: 100%;
      justify-self: center;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: block;
      justify-content: center;
      align-items: center;
      width: 1000px;
    }
    .swiper-wrapper {
        width: 100%;
    }

    .testimonial_container {
    width: 100%;
    max-width: 700px;
    height: 100%;
    display:block;
    gap: 32px;
}

.swiper-slide .carousel-item {
    text-align: left;
    align-items: center;
    background: white;
    box-shadow: #333;
    height: fit-content; 
    padding: 24px 24px;
    border-radius: 8px;
    width: 1000px;
}

.carousel-item .bio_container .bio h4 {
    font-size: var(--font_size6);
    font-family: var(--poppins);
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.carousel-item .testimony {
    font-size: var(--font_size5);
    font-family: var(--lato);
    color: var(--text-color);
    font-weight: 300;
    margin-bottom: 16px;
}

.bio_container {
    display: flex;
    gap: 8px;
}

.carousel-item .bio_container .bio .name_testifier {
     font-size: var(--font_size8);
    font-family: var(--lato);
    color: grey;
    font-weight: 300;
    word-spacing: 0.8px;
}

.bio_container_img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonial_section {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-background);
    overflow: visible;
  padding: 24px 24px;
   flex-direction: column;
    gap: 24px;
}

.testimonial_section .testimonial_header, .blog-heading {
    width: 100%;
    text-align: center;
    font-size: clamp(1.3em,3vw,3em);
    font-weight: 600;
    font-family: var(--poppins);
    margin-bottom: 16px;
}

.testimonial_section .testimonial_subtitle, .blog-sub-heading {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 20px;
}

.testimonial_container .title_container {
    width: 100%;
    margin-bottom: 24px;
}



.nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 360px;
    padding: 56px 18px 18px 18px; /* leave space for header */
    background: #ffffff;
    box-shadow: -8px 0 24px rgba(8, 12, 20, 0.12);
    transition: right 0.32s ease;
    z-index: 1400;
    overflow-y: auto;
  }

  /* opened state slides in */
  .nav-links.open {
    right: 0;
  }

  /* hide desktop nav inline list (in case) */
  .nav-links.inline { display: none; }

  /* show hamburger */
  .hamburger { display: inline-flex; align-items:left; }


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

  .nav-links a, .dropbtn {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
  }

  /* subtle backdrop when menu open */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
    transition: opacity .2s ease;
    opacity: 0;
    pointer-events: none;
  }
  .nav-backdrop.open { display: block; opacity: 1; pointer-events: auto; }





  .blog_container {
    padding: 24px;
    display: flex;
}
.date_category_content {
    display: block;
    font-family: var(--font_family2);
    font-size: var(--font_size8);
    font-weight: 200;
    gap: 8px;
    padding-top: 8px;
}

.blog_section {
    padding: 24px 0;
    overflow: hidden;
}

.blog_content_left {
    width: 100%;  
    display: block;
    gap: 32px;
    padding: 0;
}

 .header_content {
    width: 100%;
    padding: 24px 24px;
    align-items: center;
    display: flex;
    gap: 300px;
}

.blog .header_content h4 {
    font-size: var(--font_size6);
}

.right_link{
    font-size: var(--font_size7);
}

.blog .header_content .blog_subtitle {
    color: var(--primary-color);
}

.blog_content_left .blog_content {
    margin-bottom: 32px;
}

.blog_content img {
    width: 100%;
    height: 200px;
}

.date_category_content {
    display: flex;
    font-family: var(--font_family2);
    font-size: var(--font_size8);
    font-weight: 200;
    gap: 8px;
    width: 100%;
    padding-top: 8px;
}

.blog_content_right .right_content {
    display: flex;
    width: 100%;
}

.blog_right {
    width: 100%;
}

.blog_content_right{
    width: 100%;
    padding: 0;
}

.blog_content_right .right_content img {
    width: 100px;
    height: 80px;
    border-radius: 5px;
}

 .blog_subtitle {
     color: var(--primary-color);
    background: #fdfbf4;
    width: fit-content;
    align-self: center;
    padding: 8px 24px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    margin-top: 40px;
    margin-left: 24px;
}

.blog_text_container_right .content_title_right {
    font-family: var(--lato);
    font-weight: 600;
    font-size: var(--font_size7);
    padding: 8px 0;
    width: 100%;
}
.blog_text_container_right .content_title_right:hover {
   color: var(--primary-color);
   cursor: pointer;
}

.blog_content_right {
    display: block;
}

.right_content .text_content {
    width: 400px;
}

.footer_logo {
  font-weight: bold;
  font-size: 22px;
  color: white;
}

.footer .third {
    display: block;
}

.footer .third img {
   width: 50px;
   height: 50px;
   margin-right: 8px;
   border-radius: 5px;
}

.footer .links a {
    text-decoration: none;
    list-style: none;
    font-family: var(--lato);
    color: white;
}


.footer .links li {
    text-decoration: none;
    list-style: none;
    color: white;
    font-family: var(--lato);
    font-weight: 300;
    font-size: var(--font_size8);
}

.copy_right {
    justify-self: center;
    color: white;
    font-weight: 200;
    font-family: var(--font_family2);
}

.footer .second {
    gap: 24px;
}

.footer {
    color: white;
    display: flex;
    gap: 40px;
    justify-content: center;
}
.footer_section {
    background: #333;  padding: 24px;
    justify-content:center ;
        margin-bottom: 0;
}

.footer .first {
    width: 25%;
}


.footer .quick_links {
    font-family: var(--font_family2);
    font-size: var(--font_size6);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}



}



/* Mobile styles */
@media (max-width: 768px) {
    
  .navbar {
      width : 100%;
  }
    
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;          /* so it slides over content */
    top: 60px;                /* below navbar */
    right: 0;
    width: 220px;
    height: calc(100% - 60px);
    flex-direction: column;
    background: #fff;
    border-left: 1px solid #ddd;
    gap: 0;
    overflow-y: auto;
    padding-top: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-links.show {
    transform: translateX(0);
  }

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

  .nav-links a, 
  .dropdown .dropbtn {
    padding: 12px 20px;
    display: block;
    width: 100%;
  }

  /* Disable hover for mobile dropdowns */
  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown-content {
    position: relative;
    box-shadow: none;
    border-left: 3px solid var(--primary-color);
    display: none;
    padding-left: 10px;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .signup-btn {
    margin: 10px 20px;
  }
}

