/* --- Slick Track Width for 3 Columns --- */
.slick-slider .slick-track {
    min-width: 1020px;
    width: auto !important;
}
/* --- Slick Slide One Line Fix --- */
.slick-slider .slick-track {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
}
.slick-slide {
    float: none !important;
    display: flex !important;
    height: auto !important;
}
/* --- Property Slider Card Width Fix --- */
.portfolio .agents-grid {
    width: 340px;
    min-width: 340px;
    max-width: 340px;
    margin: 0 10px;
}
.portfolio .slick-lancers {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    overflow-x: auto;
    gap: 0;
}
/* --- Property Slider Card Height Fix --- */
.portfolio .slick-lancers {
    display: flex;
    align-items: stretch;
}
.portfolio .agents-grid {
    display: flex;
    height: 100%;
}
.portfolio .project-single {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    max-height: 540px;
}
.portfolio .project-inner.project-head {
    flex: 0 0 auto;
}
.portfolio .homes-img {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
}
.portfolio .homes-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.portfolio .homes-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}
/* Home Page Property Card Fix */

:root {
    --color-primary: #1a73e8;
    --color-secondary: #34a853;
    --color-dark: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="10%" cy="50%" r="100" fill="rgba(255,255,255,0.1)"/><circle cx="80%" cy="20%" r="120" fill="rgba(255,255,255,0.08)"/><circle cx="90%" cy="80%" r="80" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.search-box {
    max-width: 900px;
    margin: 0 auto;
}

/* Property Card */
.property-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

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

.property-card:hover img {
    transform: scale(1.05);
}

/* Feature Box */
.feature-box {
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

/* Footer */
.footer {
    background: #1a1a1a;
}

.footer a:hover {
    color: var(--color-primary) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .search-box {
        padding: 1.5rem !important;
    }
    
    .display-3 {
        font-size: 2rem;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

/* Badge styles */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Card improvements */
.card {
    border-radius: 8px;
    overflow: hidden;
}

/* Pagination */
.pagination .page-link {
    color: var(--color-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.hd-white a.button.border, a.button{
    width:160px;
}