.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;
}
.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 .project-single {
    display: flex;
    flex-direction: column;
    height: 540px;
}
.portfolio .homes-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.portfolio .project-single {
    height: 540px;
    display: flex;
    flex-direction: column;
}
.portfolio .project-inner.project-head {
    flex: 0 0 auto;
}
.portfolio .homes-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio .homes-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}
/* FindHouses Template Custom CSS */

/* ========================================
   General Styles
======================================== */
:root {
    --color-primary: #ff385c;
    --color-secondary: #27ae60;
    --color-dark: #2c3e50;
    --color-light: #ecf0f1;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #2c3e50;
    font-weight: 700;
    margin: 0 0 15px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #e31e45;
}

img {
    max-width: 100%;
    height: auto;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================
   Header Styles
======================================== */
#header-container {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 999;
}

#header {
    padding: 15px 0;
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.left-side {
    display: flex;
    align-items: center;
    gap: 30px;
}

#logo img {
    height: 40px;
    width: auto;
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

#navigation ul li a {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    display: block;
}

#navigation ul li a:hover {
    color: var(--color-primary);
}

.right-side .sign-in a {
    color: #fff;
    background: var(--color-primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.right-side .sign-in a:hover {
    background: #e31e45;
}

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

.header-image h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
}

.header-image p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.teh-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-white {
    background: #fff;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #667eea;
}

.play-btn {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-circle {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    animation: pulse 2s infinite;
}

.btn-circle.animation-short {
    animation-delay: 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.play-icon {
    position: relative;
    z-index: 2;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon i {
    color: #667eea;
    font-size: 20px;
    margin-left: 5px;
}

/* ========================================
   Section Titles
======================================== */
.sec-title {
    text-align: center;
    margin-bottom: 50px;
}

.sec-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sec-title h2 span {
    color: var(--color-primary);
}

.sec-title p {
    font-size: 16px;
    color: #666;
}

/* ========================================
   Sections
======================================== */
.rec-pro {
    padding: 80px 0;
}

.bg-white {
    background: #fff;
}

.bg-white-2 {
    background: #f7f8fa;
}

/* ========================================
   Popular Places
======================================== */
.visited-cities .img-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    margin-bottom: 20px;
    height: 250px;
}

.visited-cities .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visited-cities .img-box:hover img {
    transform: scale(1.1);
}

.visited-cities .img-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px;
    color: #fff;
}

.visited-cities .img-box-content h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.visited-cities .img-box-content span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.visited-cities .starts {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.visited-cities .starts li {
    color: #ffd700;
    font-size: 12px;
}

/* ========================================
   Featured Properties
======================================== */
.portfolio .project-single {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.portfolio .project-single:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.portfolio .project-head {
    position: relative;
    overflow: hidden;
}

.portfolio .homes-img {
    position: relative;
    display: block;
    overflow: hidden;
}

.portfolio .homes-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio .project-single:hover .homes-img img {
    transform: scale(1.1);
}

.portfolio .homes-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.portfolio .homes-tag.featured {
    left: auto;
    right: 20px;
    background: #27ae60;
}

.portfolio .homes-tag.rent {
    background: #3498db;
}

.portfolio .button-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.portfolio .project-single:hover .button-effect {
    opacity: 1;
}

.portfolio .button-effect .btn {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.portfolio .button-effect .btn:hover {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
}

.portfolio .homes-content {
    padding: 30px;
}

.portfolio .homes-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.portfolio .homes-content h3 a {
    color: #2c3e50;
}

.portfolio .homes-content h3 a:hover {
    color: var(--color-primary);
}

.portfolio .homes-address {
    color: #666;
    font-size: 14px;
}

.portfolio .homes-address i {
    color: var(--color-primary);
    margin-right: 5px;
}

.portfolio .homes-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    gap: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.portfolio .homes-list li {
    font-size: 14px;
    color: #666;
}

.portfolio .homes-list li i {
    color: var(--color-primary);
    margin-right: 5px;
}

.portfolio .price-properties {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio .price-properties .title a {
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 800;
}

.portfolio .compare {
    display: flex;
    gap: 15px;
}

.portfolio .compare a {
    width: 35px;
    height: 35px;
    background: #f7f8fa;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.portfolio .compare a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ========================================
   Why Choose Us
======================================== */
.how-it-works .serv {
    margin-bottom: 30px;
}

.how-it-works .serv-flex {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.how-it-works .serv-flex:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.how-it-works .art-1 img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.how-it-works .art-1 h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.how-it-works .service-text-p p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ========================================
   Team / Agents
======================================== */
.team .team-block {
    margin-bottom: 30px;
}

.team .team-wrap {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team .team-wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team .team-wrap:hover .team-img img {
    transform: scale(1.1);
}

.team .team-content {
    padding: 25px 20px;
    text-align: center;
}

.team .team-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team .team-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.team .team-socials ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team .team-socials a {
    width: 35px;
    height: 35px;
    background: #f7f8fa;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.team .team-socials a:hover {
    background: var(--color-primary);
    color: #fff;
}

.team .team-info span a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
}

/* ========================================
   Testimonials
======================================== */
.testimonials .singleJobClinet {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 15px;
    min-height: 300px;
}

.testimonials .singleJobClinet p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonials .detailJC {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonials .detailJC span {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonials .detailJC img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonials .detailJC h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #2c3e50;
}

.testimonials .detailJC p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active {
    background: var(--color-primary);
    width: 30px;
    border-radius: 10px;
}

/* ========================================
   Footer
======================================== */
.first-footer {
    background: #2c3e50;
    color: #fff;
}

.first-footer .top-footer {
    padding: 80px 0 40px;
}

.first-footer h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
}

.first-footer p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.first-footer .logo img {
    height: 40px;
    margin-bottom: 20px;
}

.first-footer .contactus ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.first-footer .contactus li {
    margin-bottom: 15px;
}

.first-footer .contactus .info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.first-footer .contactus i {
    color: var(--color-primary);
    font-size: 18px;
    margin-top: 3px;
}

.first-footer .contactus p {
    margin: 0;
}

.first-footer .navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.first-footer .navigation li {
    margin-bottom: 10px;
}

.first-footer .navigation a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.first-footer .navigation a:hover {
    color: #fff;
    padding-left: 5px;
}

.first-footer .twitter-widget .single-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.first-footer .twitter-widget .icon-holder i {
    color: var(--color-primary);
    font-size: 18px;
}

.first-footer .twitter-widget h5 {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

.first-footer .twitter-widget h5 a {
    color: var(--color-primary);
}

.first-footer .twitter-widget h4 {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    margin: 0;
}

.first-footer .newsletters .email {
    position: relative;
    margin-top: 20px;
}

.first-footer .newsletters input[type="email"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.first-footer .newsletters input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.first-footer .newsletters input[type="submit"] {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 10px 25px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.first-footer .newsletters input[type="submit"]:hover {
    background: #e31e45;
}

.second-footer {
    background: #222;
    padding: 20px 0;
}

.second-footer .sd-f {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.second-footer p {
    margin: 0;
    color: rgba(255,255,255,0.5);
}

.second-footer .netsocials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.second-footer .netsocials a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.second-footer .netsocials a:hover {
    background: var(--color-primary);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 991px) {
    #navigation {
        display: none;
    }
    
    .header-image h1 {
        font-size: 36px;
    }
    
    .sec-title h2 {
        font-size: 28px;
    }
    
    .visited-cities .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .team .team-block {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .second-footer .sd-f {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .header-image {
        padding: 60px 0;
    }
    
    .header-image h1 {
        font-size: 28px;
    }
    
    .rec-pro {
        padding: 50px 0;
    }
    
    .visited-cities .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .portfolio .homes-img img {
        height: 300px;
    }
    
    .team .team-block {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Flaticon classes (placeholders for actual icon fonts) */
.flaticon-bed:before { content: "🛏️"; }
.flaticon-bathtub:before { content: "🚿"; }
.flaticon-square:before { content: "📏"; }
.flaticon-compare:before { content: "↔️"; }
.flaticon-share:before { content: "📤"; }
.flaticon-heart:before { content: "❤️"; }
