.hero-section {
    background: url('https://assets.cdn.filesafe.space/4cSe1RjcSAPLL2TM51z7/media/69b1764dc2389c1699484386.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0;
    position: relative;
    padding-bottom: 150px; /* Added padding to make space for the blue bar */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 20px;
}

.realtor-title {
    font-size: 1.2rem;
    font-style: italic;
}

.search-form {
    background: none;
    padding: 20px;
    border-radius: 10px;
}

.search-form .form-control,
.search-form .form-select,
.search-form .btn {
    height: 48px; /* You can adjust this value */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* For the dropdown buttons, we need to adjust the text alignment */
.search-form .dropdown .form-select {
    justify-content: flex-start;
}

.search-form .form-control,
.search-form .form-select {
    height: 48px; /* Or any other height that you prefer */
    margin-bottom: 10px;
}

.city-results-container {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 1000;
    width: calc(100% - 30px);
    max-height: 300px; /* Set a maximum height for the container */
    overflow-y: auto;  /* Add a vertical scrollbar when content overflows */
}

.city-result-item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333; /* Set a base text color */
    border-bottom: 1px solid #eee; /* Add a separator line */
}

.city-result-item:hover {
    background-color: #f0f0f0;
}

.city-result-item div {
    display: block; /* Change from flex to block */
}

.city-result-item i {
    margin-right: 10px;
    color: #666;
}

.city-result-item small {
    margin-left: 10px;
    color: #888;
}

.city-result-info {
    display: flex;
    align-items: center;
    width: 100%;
}

.city-details {
    flex-grow: 1;
    margin-left: 10px;
}

.city-line, .county-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.city-name {
    font-weight: bold;
}

.zip-code {
    font-weight: bold;
}

.county-line {
    font-size: 0.9em;
    color: #888;
}

.btn-more-options {
    display: flex;
    justify-content: center;
    background-color: #0064a7;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    margin-top: 3em;
    font-size: 0.9rem;
}

.btn-more-options:hover {
    background-color: #00538c; /* A slightly darker shade for hover effect */
    color: white;
}

.btn-more-options i {
    margin-left: 8px;
}

.blue-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Adjust height as needed */
    background-color: #005f9f;
    z-index: 1;
}

.property-card {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    color: white;
}

.property-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.property-card-text {
    transition: transform 0.3s ease;
}

.property-card:hover .property-card-text {
    transform: scale(1.1);
}

.testimonials-section {
    background: #0065a8;
    color: white;
    padding: 60px 0;
}

.testimonials-section h2 {
    margin-bottom: 40px;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.star-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-content cite {
    font-weight: bold;
    font-style: normal;
}

.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
    width: 5%;
}

.testimonials-section .carousel-control-prev-icon,
.testimonials-section .carousel-control-next-icon {
    background-size: 50%;
}

@media (min-width: 992px) {
    .search-form .form-control,
    .search-form .form-select {
        margin-bottom: 0;
    }
}

.navbar {
    position: absolute;
    width: 100%;
    background: transparent !important;
    z-index: 10;
}

.navbar-brand img {
    height: 50px;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

#our-listings {
    background-color: #f8f9fa;
}

.listing-box {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    background-color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
}

.listing-box:hover {
    opacity: 0.8;
    cursor: pointer;
}

.listing-box-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.listing-box-image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #005f9f;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.listing-box-title {
    padding: 20px;
    background-color: #005f9f;
    color: white;
}

.listing-box-title h2, .listing-box-title h3 {
    margin: 0;
}

.listing-box-title h2 a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.listing-box-title h3 {
    font-size: 1.2rem;
    font-weight: normal;
}

.listing-box-content {
    padding: 20px;
    flex-grow: 1;
}

.listing-box-content dl {
    margin: 0;
}

.listing-box-content dt, .listing-box-content dd {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.listing-box-content dt {
    width: 30%;
    font-weight: bold;
    color: #666;
}

.listing-box-content dd {
    width: 65%;
    text-align: right;
    color: #333;
    font-weight: 500;
}

.owl-item {
    display: flex;
}

.owl-theme .owl-nav {
    margin-top: 10px;
}

.owl-theme .owl-nav [class*='owl-'] {
    color: #fff;
    font-size: 14px;
    margin: 5px;
    padding: 4px 7px;
    background: #333;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: #005f9f;
    color: #FFF;
    text-decoration: none;
}

#our-listings .owl-nav .owl-prev,
#our-listings .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    border-radius: 0;
    width: 30px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

#our-listings .owl-nav .owl-prev {
    left: -3em;
}

#our-listings .owl-nav .owl-next {
    right: -3em;
}
