/* Custom styles for transparent navbar */
.transparent-header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    transition: all 0.3s ease-in-out;
}

.solid-header {
    background-image: linear-gradient(to right, rgb(5, 37, 66) , rgb(29, 133, 201)) !important;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease-in-out;
}

/* Make sure the text is visible on transparent background */
.transparent-header .nav-holder a {
    color: #fff;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Ensure hero section background images cover properly */
.hero-section .bg {
    background-size: cover !important;
    background-position: center center !important;
    width: 100%;
    height: 100%;
    opacity: 1;
}

/* Hero image container styles */
.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-container .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: transform 0.5s ease;
}

/* Add a subtle zoom effect on page load */
.hero-image-container .bg:hover {
    transform: scale(1.05);
}

/* Make property cards clickable */
.property-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Styles for clickable property count badges */
.hc-counter {
    display: inline-block;
    text-decoration: none;
    color: #fff !important;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.hc-counter:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Make sure the badge is visible when active */
.half-carousel .slick-current.slick-active .hc-counter {
    opacity: 1;
    visibility: visible;
}

/* Fixed-height testimonial cards with scrollable text */
.text-carousel-item {
    height: 320px;
    display: flex;
    flex-direction: column;
}

.text-carousel-item-header {
    flex-shrink: 0;
}

.text-carousel-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
    max-height: 200px;
}

/* Custom scrollbar for testimonial content */
.text-carousel-content::-webkit-scrollbar {
    width: 6px;
}

.text-carousel-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.text-carousel-content::-webkit-scrollbar-thumb {
    background: rgba(10, 63, 104, 0.4);
    border-radius: 3px;
}

.text-carousel-content::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 63, 104, 0.6);
}

/* Responsive adjustments for testimonial cards */
@media only screen and (max-width: 1064px) {
    .text-carousel-item {
        height: 300px;
    }
    
    .text-carousel-content {
        max-height: 180px;
    }
}

@media only screen and (max-width: 768px) {
    .text-carousel-item {
        height: 280px;
    }
    
    .text-carousel-content {
        max-height: 160px;
    }
}

@media only screen and (max-width: 540px) {
    .text-carousel-item {
        height: 260px;
    }
    
    .text-carousel-content {
        max-height: 140px;
    }
}
