html{
    background-color: #20232c;
     /* #2a2185; */
    color: #fff;

}
.hero-container {
    background-image: url("images/hero1.webp"); /* Background image path */
    background-size: cover;
    background-position: center;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero {
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    padding: 30px;
    border-radius: 10px;
    width: 80%; /* Adjust width as needed */
    max-width: 800px; /* Restrict max width */
}

.home-hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.search-input, .dropdown, .search-button {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
}

.search-input, .dropdown {
    flex: 1;
    min-width: 250px;
}

.search-button {
    background-color: #1E73BE; /* Button color */
    color: white;
    cursor: pointer;
}

.search-button:hover {
    background-color: #1E73BE; /* Hover color */
}
.featured-rentals{
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.featured-rentals p{
    font-size: 1.2rem;
}
.property-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 2-column grid on larger screens */
    gap: 20px;
    padding: 20px;
}

.indiv-property {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
}

.indiv-property:hover {
    transform: scale(1.05); /* Slightly enlarges on hover */
}

.indiv-property a{
    text-decoration: none;
    color: #fff;
}
.indiv-property img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 25px;
    width: 500px;
    height: 250px; /* Adjust height */
    position:relative;
    
}

.property-details {
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.property-name{
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    margin: 10px 0;
}
.property-price {
    font-size: 1.2rem;
    color: #1E73BE;
    background-color:#fff;
    font-weight: bold;
    margin: 10px 0;
    border-radius:25px;
}

.property-category, .property-location {
    font-size: 1rem;
    color: #fff;
    margin: 5px 0;
}

.add-to-cart-button {
    background-color: #1E73BE;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    position:absolute;
    top:20%;
    right:5%;
}

.add-to-cart a{
    text-decoration:none;
    color:#fff;
}

.add-to-cart-button:hover {
    background-color: #ff4500; /* Darker hover color */
}
.more-properties{
    background-color:#1E73BE;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    margin-left:auto;
    margin-right:auto;
    display:block;
}
.more-properties a{
    text-decoration:none;
    color:#fff;
}
.service-intro{
    padding-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.service-intro-img{
    max-width: 5%;
}
.service-container{
    display: grid;
    grid-template-columns: repeat(3, 1.5fr);
    gap: 10px;
    
}
.service-img{
    max-width: 90%;
    border-radius: 25px;
}
.indiv-service{
    text-align: center;
    border-radius: 25px;
    border: 1px solid white;
    padding: 5px;

}
.indiv-service p{
    padding-left: 20px;
    padding-right: 20px;
}
.how-it-works {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.how-it-works p {
    margin-bottom: 40px;
}
.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.step {
    text-align: left;
}

.number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}
.search-by-location {
    text-align: center;
    margin-top: 50px;
    position: relative;
    max-width: 95%;
}

.search-by-location h2 {
    font-size: 2rem;
}
.location-header{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
}
.see-all {
    font-size: 1rem;
    padding: 5px;
    border-radius:25px;
    background-color: #1E73BE;
    color:#fff;
}
.see-all a{
    text-decoration:none;
    color:#fff;
}

.location-grid {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-left: 20px;
}

.location-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.location-card img {
    width: 400px;
    height: 200px;
    display: block;
    border-radius: 10px;
}

.location-name {
    position: absolute;
    bottom: 20px;
    left: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.discover-by-amenities {
    text-align: center;
    max-width: 800px;
    margin: 50px auto;
}

.discover-by-amenities h2 {
    font-size: 2rem;
}

.discover-by-amenities p {
    margin-top: 10px;
}
.amenities{
    display: inline-flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.indiv-amenity{
    background-color: #fff;
    color: black;
}
.indiv-amenity img{
    max-width: 20%;
    color: #fff;
}
.indiv-amenity a{
    text-decoration: none;
    color: black;
}
.more-btn{
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
/*tablet*/
@media screen and (max-width:962px) {
    .property-container{
        grid-template-columns: repeat(2,1fr);
    }
    .service-container{
        grid-template-columns: repeat(2,1fr);
    }
    .location-grid{
        grid-template-columns: repeat(2,1fr);
    }
}
/*phone*/
@media screen and (max-width:550px) {
    .featured-rentals{
        flex-direction: column;
    }
    .property-container{
        grid-template-columns: repeat(1,1fr);
    }
    .service-container{
        grid-template-columns: repeat(1,1fr);
    }
    .steps{
        grid-template-columns: repeat(1,1fr);
    }
    .location-grid{
        grid-template-columns: repeat(1,1fr);
    }
    .location-header{
        flex-direction:column;
    }
}

/*Property.html*/
.property-intro{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
}
.book{
    padding: 2px;
    border-radius: 25px;
    width: 100px;
    height: 60px;
}

/* Gallery Styles */
.property-gallery {
    display: flex;
    width: 100%;
    height: 100vh;
}

.major-photo {
    flex: 1;
    margin-right: 5px;
}

.major-photo img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    border-radius: 25px;
    cursor: pointer;
}

.minor-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    flex: 1;
    height: 100%;
}

.minor-photos img {
    width: 100%;
    height: 45vh;
    object-fit: cover;
    border-radius: 25px;
    cursor: pointer;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox .prev, .lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    color: white;
    font-size: 30px;
    font-weight: bold;
    padding: 16px;
    transition: 0.3s;
    user-select: none;
}

.lightbox .prev {
    left: 0;
}

.lightbox .next {
    right: 0;
}

.about-property{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 50px;
    margin-right: 50px;
}
.about-div{
    padding: 10px;
    width: 900px;
}
.about-div p{
    font-size: 1.2rem;
}
.contact-div{
    text-align: center;
    margin-top: 50px;
    width: 400px;
    border: 1px solid white;
    padding: 10px;
    border-radius: 25px;
}
.contact-div input{
    width: 320px;
    border-radius: 25px;
    padding: 7px;
}
.submit-btn{
    width: 200px;
    padding: 15px;
    font-size: 1rem;
    border-radius: 25px;
}
.amenity-about {
    display: flex;
    gap: 20px; /* Space between each amenity */
    justify-content: space-evenly;
    align-items: center;
}

.amenity-about span {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.amenity-about img {
    width: 50px; /* Adjust icon size */
    height: 50px;
    margin-bottom: 5px; /* Space between image and text */
}

.amenity-about p {
    margin: 0;
    font-size: 14px; /* Adjust text size */
}

.property-map-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 500px;
    max-width: 800px;
    height: 400px;
    border: 2px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*tablet*/
@media screen and (max-width:962px) {
    .property-gallery{
        flex-direction: column;
        height: 200vh;
    }
    .major-photo img{
        height: 110vh;
    }
    .minor-photos img{
        width: 95%;
        height: 40vh;
    }
    .about-property{
        flex-direction: column;
        margin-left: 5px;
        margin-right: 5px;
    }
    .about-div{
        width: auto;
    }
    .contact-div{
        width: auto;
        display: block;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    .property-map-container{
        height: 300px;
        width: auto;
    }
}
/*phone*/
@media screen and (max-width:550px) {
    .property-gallery{
        height: 350vh;
    }
    .minor-photos{
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(1,1fr);
    }
    .major-photo img{
        height: 70vh;
    }
    .minor-photos img{
        height: 70vh;
    }
    .about-container{
        margin-top: 30px;
    }
    .property-map-container{
        width: 200px;
    }
}
/*All-properties*/
.search-properties{
    margin: 10px;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.search-input-prop, .dropdown-prop, .search-button-prop {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
}

.search-input-prop, .dropdown-prop {
    flex: 1;
    min-width: 200px;
}

.search-button-prop {
    background-color: #1E73BE; /* Button color */
    color: white;
    cursor: pointer;
}

.search-button-prop:hover {
    background-color: #1E73BE; /* Hover color */
}
.property-type{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 10px;
    margin-right: 10px;
}
.property-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px;
}

.property-card {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.property-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.property-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.property-info h3 {
    font-size: 1.4em;
    margin-bottom: 8px;
    font-weight: bold;
}

.property-info .location,
.property-info .price,
.property-info .details {
    font-size: 1em;
    margin-bottom: 5px;
    font-weight: 300;
}

.property-info .price {
    font-weight: bold;
    color: #ffd700; /* Gold for emphasis */
}
.btn-container{
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.btn-container button{
    padding: 5px;
    border-radius: 25px;
    margin: 5px;
}
.more-type-btn{
    padding: 10px 20px;
    background-color: #6c63ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.more-type-btn a{
    text-decoration: none;
    color: var(--white);
}
/*tablet*/
@media screen and (max-width:962px) {
    .property-grid{
        grid-template-columns: repeat(2,1fr);
    }
}
/*phone*/
@media screen and (max-width:550px) {
    .property-grid{
        grid-template-columns: repeat(1,1fr);
    }
}
/*About.html*/
.about-container, .about-container1, .about-container2, .about-container3{
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about-hero1{
    width: 600px;
    height: 500px;
    border-radius: 25px;
    margin-top:20px;
}
.about-intro{
    margin: 50px;
    margin_top:30px;
    padding: 10px;
}
.about-container, .about-container1, .about-container2, .about-container3 p{
    font-size: 1.5rem;
}
.about-hero2{
    width: 600px;
    height: 450px;
    border-radius: 25px;
}
.about-intro2, .about-intro3{
    margin: 10px;
    padding: 10px;
}
.about-intro2 h3{
    font-size: 2.2rem;
    font-weight: bold;
}
.about-intro3 h3{
    font-size: 1.8rem;
    font-weight: bold;
}
.contact-container{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 20px;
    margin-left: 50px;
    margin-right: 50px;
}
.contact-intro{
    text-align: center;
    margin-top: 80px;
    padding: 10px;
    margin-left: 30px;
    margin-right: 30px;
}
.contact-intro h2{
    font-size: 2.2rem;
}
.contact-intro p{
    font-size: 1.2rem;
}
.contact-form{
    width: 500px;
    margin: 10px;
}
.contact-form input {
    width: 350px;
    padding: 7px;
    font-size: 1rem;
    border-radius: 25px;
    text-align: center;
}
.contact-form label{
    font-size: 1.2rem;
}
.contact-form textarea{
    border-radius: 25px;
    padding: 10px;
}
.submit-btn{
    text-align: center;
    width: 350px;
    padding: 10px;
    font-size: 1.5rem;
    background-color: rgb(91, 74, 30);
    color: #fff;
}

/*tablet*/
@media screen and (max-width:962px) {
    .about-container{
        flex-direction: column-reverse;
        margin-left: 10px;
        margin-right: 10px;
    }
    .about-container img{
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .about-container1{
        flex-direction: column;
        margin-left: 10px;
        margin-right: 10px;
    }
    .about-container1 img{
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .about-container2{
        flex-direction: column-reverse;
        margin-left: 10px;
        margin-right: 10px;
    }
    .about-container2 img{
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .about-container3{
        flex-direction: column;
        margin-left: 10px;
        margin-right: 10px;
    }
    .about-container3 img{
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .about-intro, .about-intro2, .about-intro3{
        margin: 10px;
    }
}
/*phone*/
@media screen and (max-width:550px) {
    .about-hero1, .about-hero2{
        width: 400px;
        height: 300px;
    }
    .contact-container{
        flex-direction: column;
        margin-top: 0;
        margin-left: 10px;
        margin-right: 10px;
    }
    .contact-intro{
        margin-top: 5px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .contact-form{
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}
/*Contact page*/
.contact-img{
    border-radius: 25px;
    position: relative;
    width: 100%;
    height: 400px;
    object-fit: cover; /* Ensures the image covers the container without distortion */
    z-index: 1; /* Places the image behind the card */
    opacity: 0.7;
}
.contact-card {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 2; /* Ensures the card is above the background */
    max-width: 400px;
}

.contact-card h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
}

.contact-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
}
.contact-cont{
    margin: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.contact-call, .contact-message, .contact-socials{
    text-align: center;
    width: 350px;
    padding: 5px;
}
.contact-cont h2{
    font-size: 2rem;
    color: lightblue;
}
.contact-cont p{
    font-size: 1.2rem;
}
.office-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.office-img{
    width: 50%;
    border-radius: 25px;
}
.map-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: 400px;
    border: 2px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.office-details{
    padding: 10px;
    margin: 10px;
}
.office-details p{
    font-size: 1.2rem;
}
.office-details a{
    text-decoration: none;
    color: #fff;
}
.address-info{
    padding: 20px;
    margin-top: 50px;
    margin-left: 20px;
}
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #00d9ff;
}

.info-item h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #00d9ff;
}

.info-item p {
    margin: 5px 0 0;
    color: #ccc;
}

.contact-form1 {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: #2a2d3e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form1 h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-form1 input,
.contact-form1 textarea {
    width: 90%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #444;
    border-radius: 5px;
    background: #333;
    color: #fff;
}

.contact-form1 textarea {
    height: 100px;
    resize: none;
}

.contact-form1 button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    color: #fff;
    background: #00d9ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form1 button:hover {
    background: #00aacc;
}
/*phone*/
@media screen and (max-width:550px) {
    .contact-cont{
        flex-direction: column;
        text-align: center;
    }
    .contact-call, .contact-message, .contact-socials{
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .office-container{
        flex-direction: column;

    }
    .office-img{
        width: 90%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .map-container{
        width: 450px;
        height: 450px;
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/*favorite */
.favorite-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 10px;
}
.favorite-container a{
    color:#fff;
    text-decoration:none;
}
.favorite-item{
    width: 400px;
    height: 550px;
    border: 1px solid white;
    border-radius: 25px;
}
.favorite-item img{
    max-width: 100%;
    height: 70%;
    border-radius: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.favorite-info div{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.fav-book{
    padding: 10px;
    font-size: 1.2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #1E73BE;
    color: #fff;
    border-radius: 25px;
    border: transparent;
}
.fav-icons{
    width: 30px;
}
.favorite-info span{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
/*phone*/
@media screen and (max-width:962px) {
    .favorite-container{
        grid-template-columns: repeat(2,1fr);
    }
    .favorite-item{
        width: 350px;
    }
}
/*phone*/
@media screen and (max-width:550px) {
    .favorite-container{
        grid-template-columns: repeat(1,1fr);
    }
    .favorite-item{
        width: auto;
        margin: 5px;
    }
}

/*studios*/
.studio-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px;
}

.indiv-studio{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.indiv-studio img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media screen and (max-width:962px){
    .studio-container{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width:550px) {
    .studio-container{
        grid-template-columns: repeat(1,1fr);
    }
}

/*bedsitters*/
.bedsitter-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px;
}

.indiv-bedsitter{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.indiv-bedsitter img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media screen and (max-width:962px){
    .bedsitter-container{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width:550px) {
    .bedsitter-container{
        grid-template-columns: repeat(1,1fr);
    }
}

/*1&2bedrooms*/
.bed-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px;
}

.indiv-bed{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.indiv-bed img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media screen and (max-width:962px){
    .bed-container{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width:550px) {
    .bed-container{
        grid-template-columns: repeat(1,1fr);
    }
}