@import url('https://fonts.googleapis.com/css2?family=Public Sans:wght@400;500;600;700&display=swap');

body , html {
    background-color: white;
    overflow-x: hidden;
}h1,h2,h3,h4,h5,p,input,textarea,button{font-family: 'Public Sans', sans-serif!important;}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-top: 80px; /* Add padding for fixed header */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px 0;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    width: 100%;
    height: 45px;
}

.nav-button {
    padding: 8px 16px;
    border: 1px solid #777;
    border-radius: 20px;
    background: white;
    font-size: 14px;
    color: #000;
    margin-left: 10px;
    text-decoration: none;
}

.sign-up {
    color: #132544;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
}

.hero-section {
    position: relative;
    height: calc(90vh - 80px);
}

.hero-image {
    width: calc(100% - 80px); /* Add more padding from right and left */
    height: 100%;
    object-fit: cover;
    margin: 0 40px; /* Add margin to center the image */
    border-radius: 15px; /* Make the corners a little bit curved */
}

.search-overlay {
    position: absolute;
    left: 50%;
    top: 90%; /* Move the overlay further down */
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px;
    border-radius: 16px;
    width: 100%;
    max-width: 45%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.type-buttons, .transaction-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.type-buttons {
    flex: 1;
}
.transaction-buttons {
    flex: 2;
}

.type-btn {
    padding: 5px 11px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.type-btn.active {
    background: #132544;
    color: white;
    border: none;
}

.transaction-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.transaction-btn.active {
    background: #132544;
    color: white;
    border: none;
}

.search-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.search-input {
    flex: 1;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 17px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.filter-btn {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 80px;
}

.filter-btn::after {
    content: '';
    border-top: 5px solid #333;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    margin-left: 8px;
}

.filters-btn {
    padding: 10px 5px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    font-size: 14px;
    color: #333;
}
.homesearch .search-btn {
 display: block;
    margin: 0 auto;
    padding: 6px 19px;
    background: red;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 17px;
    cursor: pointer;
}
.clear-btn {
    background: transparent;
    border: none;
    color: #666;position: absolute;right:20%;
    cursor: pointer;
    font-size: 1.7rem;
    /* padding: 0 10px; */
}

.vertical-line {position:absolute;right:18%;
    border-left: 1px solid #ddd;
    height: 24px;
    margin: 0 10px;
}

.search-icon-btn {position: absolute;right:2%;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    padding: 0 10px;
}
.property-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.property-address {
    color: #666;
    font-size: 17px;
    margin-bottom: 10px;
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    color: #555;
}

.property-detail {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.property-detail i {
    margin-right: 3px;
}.property-info {
    padding: 15px;
}

@media (max-width: 830px) {.homesearch .search-btn {padding: 6px 12px;
    max-width: 40px;}.homesearch .search-btn span{display: none;}
    .search-input {
        flex: none;margin-bottom: 9%;}
    .search-icon-btn,.vertical-line,.clear-btn{display: none;}.search-container .search-input{width:100%}.type-btn{width:100%;margin-bottom: 1%;}
.search-container {
        flex-direction: row;
        gap: 8px;
    }
    .amenities-section{
        margin: 8px 0 !important;
    }
    .homes-grid {
           grid-template-columns: 1fr!important; /* Single column layout for mobile */
        }.mt-xs-5{margin-top: 3rem!important;}
        .logo-container{
            width: 21%;
        }.ready{display: none;}
        .search-overlay{
            top: 45%!important;
        }
}.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    position: absolute;
    top: 0;
    right: 100%;
    display: none;
}

.dropdown-submenu .dropdown-menu.show {
    display: block;  top: 0;
    right: 100%;
}
@media (max-width: 768px) {.search-input {
    font-size: 15px;
    padding: 10px 10px;}
    .justify-content-xs-between{justify-content: space-between;}
    .d-flex.gap-5{       
        flex-wrap: wrap;}
    body {
        padding-top: 60px; /* Adjust padding for fixed header on mobile */
    }

    .header {
        padding: 10px 0;
    }

    .logo {
        width: 60px;
        object-fit: contain;
    }

    .nav-button, .sign-up {
        font-size: 15px;
        padding: 8px 10px;
    }

    .hero-section {
        height: calc(105vh - 60px)
    }
   
    .hero-image {
        width: calc(100% - 40px); /* Adjust padding from right and left */
        margin: 0 20px; /* Adjust margin to center the image */
    }

    .search-overlay {
        padding: 16px;
        width: 40%;
    
    }.search-overlay.homesearch {
        padding: 16px;
        width: 100%;max-width: 82%;
    
    }
    .homesearch .search-input{border:1px solid #000}


    .type-buttons {
        display: flex;
        justify-content: space-between;
        gap: 4px;
        flex-direction: column;
        margin-bottom: 8px; /* Add margin to separate from transaction-buttons */
    }

    .transaction-buttons {
        display: flex;
        justify-content: space-evenly;
        gap: 4px;
    }
    
    .filters-btn{
        display: none;
    }

    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn, .filters-btn  {
        font-size: 16px;
        padding: 10px 16px;
        width: 100%;
    }
 .search-btn {
    font-size: 13px;
        padding: 6px 12px;
        width: 100%;
    }
    .search-overlay .justify-content-between {
        justify-content: space-between  !important; /* Remove space-between */
    }

 
    .homes-section {
   
        margin: 25px auto 0!important;
    }
}


/* Section CSS */
.amenities-section {


margin: 100px auto 0; /* Added top margin */
}


@media (max-width: 768px) {
.amenities-section {

padding-left: 20px; /* Add left padding for mobile view */

}

.amenities-grid {
grid-template-columns: 1fr; /* Single column layout for mobile */
}

    .hero-section {
        background-size: cover;
        background-image: url(../img/australia.jpg);
        background-position: bottom;
        background-position: right bottom;
        position: relative;
    }
}

.amenities-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
margin-bottom: 48px; /* Space between rows */
}

.amenities-grid.second-row {
margin-bottom: 0; /* Remove bottom margin from second row */
}

@media (max-width: 768px) {
.amenities-grid {
grid-template-columns: 1fr; /* Single column layout for mobile */
}
}

.amenity-card {
display: flex;
flex-direction: column;
gap: 16px;
}

.amenity-icon {
width: 32px;
height: 32px;
}

.amenity-title {
font-size: 20px;
font-weight: 500;
color: #222222;
margin: 0;
}

.amenity-description {
font-size: 16px;
color: #717171;
line-height: 1.5;
margin: 0;
}
.homes-section {

margin: 80px auto 0;

}

.homes-title {
font-size: 32px;
font-weight: 600;
color: #222222;
margin-bottom: 8px;
}

.homes-subtitle {
font-size: 16px;
color: #717171;
margin-bottom: 32px;
}

.homes-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 32px;
}.home-card:hover .carousel-control-prev,
.home-card:hover .carousel-control-next {display: inline-block;padding: 4px;}

.property-info {
    padding: 15px;
}.carousel-control-prev, .carousel-control-next {
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.8;
}#property_type .col-6{background: white;
min-height: 60px;
border: 1px solid #f7f7f7;} #property_type{ border: 1px solid #f7f7f7;
    padding: 19px;
    background: #ebe9e947;}@media (min-width: 991px) {#navbarDropdownMenuLink{display:none}}
.home-card:hover .carousel-control-prev-icon,
.home-card:hover .carousel-control-next-icon {
    width: 22px;
    height: 20px;}.carousel-control-next,.carousel-control-prev{display: none;}
.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6sease;
}.carousel-indicators .active{opacity:1}


.home-card {
width: 100%;
}
.select-type-label.active{border-bottom:2px solid #000!important;font-weight: 600;}
.home-image-container {
position: relative;
width: 100%;
 /* 3:2 aspect ratio */
border-radius: 7px;
overflow: hidden;
margin-bottom: 12px;
}.carousel-img{border-radius: 7px;}

.home-image {
position: absolute;
top: 0;
left: 0;
width: 400px;
height: 300px;
object-fit: cover;
}

.home-badge {
position: absolute;
top: 12px;
left: 12px;
background: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
}

.home-details {
padding: 0 4px;
}

.home-rating {
display: flex;
align-items: center;
gap: 4px;
font-size: 14px;
margin-bottom: 8px;
}

.star {
color: #222222;
}

.home-name {
font-size: 15px;
font-weight: 500;
color: #222222;
margin-bottom: 4px;
}

.home-description {
font-size: 14px;
color: #717171;
margin-bottom: 4px;
}

.home-specs, .home-dates {
font-size: 14px;
color: #717171;
margin-bottom: 4px;
}

.home-price {
font-size: 14px;
font-weight: 500;
color: #222222;
}

.explore-more {
padding: 8px 16px;
border: 1px solid #222222;
border-radius: 8px;
background: transparent;
font-size: 14px;max-width: 170px;
font-weight: 500;
cursor: pointer;
}

.explore-more:hover {
background: #f7f7f7;
}
.qa-section {
background-color: #fff;
}

.accordion-button {
padding: 1rem 0;
border: none;
background-color: #f5f2f2!important;
box-shadow: none;
}

.accordion-button:not(.collapsed) {
color: inherit;
background: none;
box-shadow: none;
}

.accordion-item {
border: none;
border-bottom: 1px solid #dee2e6;
}

.accordion-button::after {
width: 1rem;
height: 1rem;
background-size: 1rem;
}
.nav-button.active {
background: #132544;
color:#e0ff67
}
.user-type-btn {
    border-radius: 20px;
    padding: 8px 24px;
    border: 1px solid #ffffff;
    background-color: #fff;
    color: #132544;
    font-size: 14px;
    margin: 5px;
    cursor: pointer;
}
