/* 
   WeHomes Custom Design System 
   Premium Real Estate Theme
*/

:root {
    /* Color Palette - Premium & Modern */
    --primary-color: #114483; /* Deep Navy */
    --secondary-color: #4176B8; /* Muted Rose/Terracotta */
    --accent-color: #E8C4C4; /* Soft Pink/Beige */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-800: #1f2937;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: var(--white-color);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    margin-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color:#000; }
.text-white { color: var(--white-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
}

.btn-outline:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* Header Styles */
.top-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: var(--secondary-color);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-label {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: var(--white-color);
    font-size: 14px;
    width: auto;
    height: auto;
    background: none;
}

.social-links a:hover {
    color: var(--secondary-color);
    background: none;
}

.main-header {
    background-color: transparent; /* Transparent background */
    box-shadow: none; /* No shadow initially */
    padding: 0px 0;
    position: absolute; /* Overlay on hero */
    top: auto; /* Let it flow after top header if needed, or adjust */
    width: 100%;
    z-index: 1000;
}

/* Ensure sticky behavior if needed, or just absolute for now */
.sticky-header {
    position: fixed;
    top: 0;
    background-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

/* Allow absolute positioning of the mobile toggle inside header */
.header-inner {
    position: relative;
}

.logo img {
    height: 70px; /* Adjust based on logo */
}

.header-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    color: #000;
    font-size: 18px;
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.icon-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

.icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.add-property-btn {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white-color);
}

.add-property-btn:hover {
    background-color: #00a881;
    border-color: #00a881;
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: #000!important; /* White text for transparent header */
    font-size: 16px;
    position: relative;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sticky-header .nav-link {
    color: var(--white-color); /* Maintain white text if background is dark */
}

.nav-link i {
    font-size: 12px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    width: 44px;
    height: 44px;
    background: transparent;
    border-radius: 8px;
}

/* Position the toggle to the left of the header (next to logo) */
@media (max-width: 991px) {
    .mobile-toggle {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1100;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* Make sure logo doesn't overlap the toggle on mobile */
    .logo { 
        margin-left: 0;
        margin-right: 56px; 
    }
    
    .top-header {
        display: none; /* Hide top header on mobile */
    }
    
    .main-header {
        background-color: var(--primary-color); /* Solid background on mobile */
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .add-property-btn {
        display: none; /* Hide property button on mobile */
    }

    .header-icons {
        display: flex;
        position: absolute;
        right: 70px; /* Position to the left of the toggle (16px + 44px width + spacing) */
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
    }

    .header-icons .icon-btn {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .nav-menu {
        display: none; /* Implement mobile menu later */
    }
    .mobile-toggle {
        display: flex;
    }
}

/* Mobile Sidebar Styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    bottom: 0; /* ensure it stretches to the bottom of the viewport */
    right: -100%;
    left: auto;
    width: 280px;
    max-width: 80vw;
    /* Use dynamic viewport height where supported and fall back to 100vh */
    height: 100dvh;
    min-height: 100vh;
    background-color: var(--white-color);
    z-index: 10001; /* ensure sidebar is above any page header z-index (e.g., index.php sets 9999) */
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-start;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--white-color);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.sidebar-nav {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.sidebar-menu li:hover {
    background-color: rgba(206, 119, 119, 0.05);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--secondary-color);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-link:hover {
    background-color: var(--gray-100);
    color: var(--secondary-color);
    padding-left: 24px;
}

.sidebar-link:hover::before {
    transform: scaleY(1);
}

.sidebar-link.sidebar-cta {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px;
    margin-top: auto;
    border-radius: 50px;
    text-align: center;
    padding: 14px 30px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(206, 119, 119, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-link.sidebar-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 119, 119, 0.4);
}

.sidebar-link.sidebar-cta::before {
    display: none;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10000; /* overlay should sit above the header but below the sidebar */
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sidebar-overlay.active {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 576px) {
    .mobile-sidebar {
        width: 75vw;
        max-width: 75vw;
    }
    
    .sidebar-header {
        padding: 16px;
    }
    
    .sidebar-link {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .sidebar-link:hover {
        padding-left: 20px;
    }
    
    .sidebar-link.sidebar-cta {
        margin: 16px;
        padding: 12px 24px;
        font-size: 14px;
    }

    /* On very small screens hide the top right CTA to avoid wrapping; CTA is available in sidebar */
    .header-action .btn {
        display: none;
    }

    /* Slightly reduce logo to make room for toggle */
    .logo img {
        height: 42px;
    }

    main {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    main {
        margin-top: 75px;
    }
}

/* Ensure toggle is definitely hidden on desktop viewports */
@media (min-width: 992px) {
    .mobile-toggle {
        display: none !important;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white-color);
    margin-top: -80px; /* Offset header height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(43, 58, 85, 0.7), rgba(43, 58, 85, 0.4));
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Hero CTA buttons wrapper for consistent spacing on mobile */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start; /* keep left alignment similar to design */
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 360px; /* prevent overly wide buttons on larger phones */
    }

    /* tighten hero content padding on very small screens */
    .hero-content { padding-left: 16px; padding-right: 16px; }
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-color);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-card {
    background: var(--white-color);
    padding: var(--spacing-md);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

/* Property Cards */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.property-card {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.property-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-details {
    padding: var(--spacing-md);
}

.property-price {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.property-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.property-location {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.property-meta {
    display: flex;
    gap: 15px;
    border-top: 1px solid var(--gray-200);
    padding-top: var(--spacing-sm);
    color: var(--gray-500);
    font-size: 0.9rem;
}

.property-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark-color);
    color: var(--gray-300);
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.widget-title {
    color: var(--white-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.footer-text {
    margin-bottom: var(--spacing-sm);
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 50px;
    border: none;
    outline: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
}

/* Breadcrumbs */
.breadcumb-wrapper {
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    position: relative;
    margin-top: -80px; /* Offset fixed header */
    margin-bottom: var(--spacing-lg);
    color: var(--white-color);
    text-align: center;
}

.breadcumb-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 58, 85, 0.7);
}

.breadcumb-content {
    position: relative;
    z-index: 1;
}

.breadcumb-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white-color);
}

.breadcumb-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.breadcumb-menu li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--accent-color);
}

.breadcumb-menu a:hover {
    color: var(--secondary-color);
}

/* Blog Layout */
.th-blog-wrapper {
    padding: var(--spacing-lg) 0;
}

.blog-single {
    margin-bottom: var(--spacing-lg);
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.blog-single:hover {
    box-shadow: var(--shadow-lg);
}

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

.blog-img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.blog-single:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--spacing-md);
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.blog-meta a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta i {
    color: var(--secondary-color);
}

.blog-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.blog-title a:hover {
    color: var(--secondary-color);
}

.blog-text {
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.th-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.th-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.th-btn.style-border2 {
    background-color: transparent;
    border: 2px solid var(--gray-200);
    color: var(--primary-color);
}

.th-btn.style-border2:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

/* Pagination */
.th-pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-lg);
}

.th-pagination a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white-color);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--primary-color);
}

.th-pagination a.active,
.th-pagination a:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.th-pagination .next-page, 
.th-pagination .prev-page {
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

/* Sidebar */
.sidebar-area {
    padding-left: var(--spacing-md);
}

.widget {
    background: var(--white-color);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
}

.widget_title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
}

.widget_title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 15px;
    padding-right: 50px;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    outline: none;
    transition: var(--transition-fast);
}

.search-form input:focus {
    border-color: var(--secondary-color);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-form button:hover {
    background-color: var(--secondary-color);
}

/* Categories Widget */
.widget_categories ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.widget_categories ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget_categories a {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    color: var(--gray-500);
}

.widget_categories a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.widget_categories span {
    background: var(--gray-100);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Recent Posts Widget */
.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post:last-child {
    margin-bottom: 0;
}

.recent-post .media-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.recent-post .media-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post .post-title {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.recent-post-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Tag Cloud */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tagcloud a {
    padding: 8px 20px;
    background: var(--gray-100);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.tagcloud a:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* Widget Banner */
.widget_banner {
    position: relative;
    overflow: hidden;
    padding: 40px 30px;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

.widget_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 58, 85, 0.85);
}

.widget-banner {
    position: relative;
    z-index: 1;
}

.widget-banner .logo {
    margin: 20px auto;
    max-width: 150px;
}

.widget-banner .title {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.widget-banner .subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 10px;
}

.widget-banner .link {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.widget-banner .link a {
    color: var(--white-color);
}

/* Blog Details Specific */
.blog-details blockquote {
    background: var(--gray-100);
    padding: 30px;
    border-left: 5px solid var(--secondary-color);
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--gray-800);
}

.blog-details blockquote cite {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
}

.checklist ul {
    margin: 20px 0;
}

.checklist li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.checklist li span {
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 10px;
}

.share-links {
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
    margin: 40px 0;
}

.share-links-title {
    font-weight: 700;
    margin-right: 15px;
    color: var(--primary-color);
}

.th-social.style2 a {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--gray-500);
}

.th-social.style2 a:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* Comments */
.th-comments-wrap {
    margin-bottom: 50px;
}

.comment-list {
    margin-top: 30px;
}

.th-comment-item {
    margin-bottom: 30px;
}

.th-post-comment {
    display: flex;
    gap: 20px;
}

.comment-avater img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
    background: var(--gray-100);
    padding: 25px;
    border-radius: 15px;
    position: relative;
}

.comment-content .name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.commented-on {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 15px;
}

.reply-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-weight: 600;
    color: var(--secondary-color);
}

.children {
    margin-left: 80px;
    margin-top: 30px;
}

/* Comment Form */
.th-comment-form {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 15px;
}

/* Fix Text Colors in Comment Form */
.th-comment-form .form-text,
.th-comment-form label,
.th-comment-form .form-control::placeholder {
    color: var(--primary-color);
}

.th-comment-form .form-control {
    color: var(--primary-color);
}

.form-title {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid var(--white-color);
    border-radius: 50px;
    background: var(--white-color);
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary-color);
}

textarea.form-control {
    border-radius: 20px;
    height: 150px;
}


/* Award Section */
.award-area-3 {
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.sec-bg-shape2-3 {
    position: absolute;
    top: 5%;
    left: 4%;
    z-index: -1;
    opacity: 0.1;
    max-width: 300px;
}

.award-title-wrap3 {
    margin-bottom: 40px;
}

.sub-title3 {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sec-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.sec-text {
    color: var(--gray-500);
    margin-bottom: 30px;
}

.award-experience-wrap {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.award-counter-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--white-color);
}

.award-counter-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.award-thumb1-1 {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.award-thumb1-1 img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.award-thumb1-1:hover img {
    transform: scale(1.05);
}

.award-wrap3 {
    background-color: var(--gray-100);
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
}

.client-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    height: 100px;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-card img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition-fast);
    opacity: 0.7;
}

.client-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Swiper Grid for Clients (Simple Grid Fallback) */
.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.swiper-slide {
    width: auto;
}

@media (max-width: 991px) {
    .sidebar-area {
        padding-left: 0;
        margin-top: var(--spacing-lg);
    }
    
    .breadcumb-title {
        font-size: 2.5rem;
    }
    
    .sec-title {
        font-size: 2rem;
    }
}


/* About Area 5 */
.about-area-5 {
    padding: var(--spacing-xl) 0;
}

.img-box5 {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
}

.img-box5 .img1 {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.img-box5 .img1 img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.img-box5:hover .img1 img {
    transform: scale(1.02);
}

.sec-bg-shape2-1 {
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 150px;
    height: 150px;
    z-index: -1;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.client-group-wrap {
    position: absolute;
    bottom: 50px;
    right: -30px;
    background: var(--white-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 200px;
    animation: jump 3s infinite ease-in-out;
}

@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.client-group-wrap .box-title {
    font-size: 1rem;
    margin: 0;
    color: var(--primary-color);
}

.client-group-wrap .counter-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.client-imgs {
    display: flex;
    padding-left: 15px;
}

/* About Content */
.title-area .sub-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-wrap2 {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.checklist.style5 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist.style5 li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--gray-800);
}

.checklist.style5 li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 15px;
}

.call-btn .icon-btn {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.call-btn:hover .icon-btn {
    background: var(--primary-color);
    transform: rotate(15deg);
}

.call-btn .btn-title {
    font-size: 0.9rem;
    margin: 0;
    color: var(--gray-500);
}

.call-btn .btn-text a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    /*margin-top: 40px;*/
    /*padding-top: 30px;*/
    /*border-top: 1px solid var(--gray-200);*/
}

.about-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-profile .avater img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.about-profile-name {
    font-size: 1.1rem;
    margin: 0 0 5px;
    color: var(--primary-color);
}

.about-profile .desig {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
}

.signature {
    opacity: 0.8;
}

@media (max-width: 991px) {
    .img-box5 {
        padding: 0;
        margin-bottom: 50px;
    }
    
    .client-group-wrap {
        right: 0;
    }
    
    .btn-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Team Area Styles */
.th-team.team-card.style3 {
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    margin-bottom: 30px;
}

.th-team.team-card.style3:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.th-team .img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.th-team .team-img img {
    width: 100%;
    height: 350px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.th-social-wrap {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    max-width: calc(100% - 40px); /* Prevent overflow */
}

.th-social {
    background: var(--white-color);
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    margin-right: 10px; /* Space between social and arrow */
}

.th-team:hover .th-social {
    opacity: 1;
    transform: translateX(0);
}

.th-social a {
    color: var(--primary-color);
    font-size: 14px; /* Slightly smaller to fit */
    transition: var(--transition-fast);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
}

.th-social a:hover {
    color: var(--white-color);
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Client Area Styles */
.client-area-1 {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.client-area-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.client-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    opacity: 0.7;
    filter: grayscale(100%);
    height: 100px;
}

.client-card img {
    max-height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.client-card:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.th-social-wrap .icon-btn {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.th-social-wrap .icon-btn:hover {
    background: var(--primary-color);
    transform: rotate(45deg);
}

.team-card-content {
    padding: 25px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white-color);
}

.team-card-content .box-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.team-card-content .box-title a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.team-card-content .box-title a:hover {
    color: var(--secondary-color);
}

.team-desig {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card-content .icon-btn {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.team-card-content .icon-btn:hover {
    background: var(--secondary-color);
}

.team-card-content .icon-btn img,
.team-card-content .icon-btn i {
    width: 20px;
    font-size: 18px; /* Adjust size for icon */
    color: var(--primary-color); /* Default color */
    filter: none; /* Remove filter for i tags */
    transition: var(--transition-fast);
}

.team-card-content .icon-btn:hover img,
.team-card-content .icon-btn:hover i {
    filter: brightness(0) invert(1); /* White on hover */
    color: var(--white-color); /* White on hover for i tags */
}

/* Slider Navigation for Team */
.slider-arrow.style6 {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-arrow.style6:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.slider-arrow.style6 img {
    width: 20px;
    filter: brightness(0) invert(1);
}

/* Testimonial Area Styles */
.testi-wrap2 {
    padding: 0 15px;
}

.testi-card.style2 {
    background: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    margin: 15px;
    transition: var(--transition-normal);
}

.testi-card.style2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testi-grid_review {
    color: #FFB800;
    margin-bottom: 20px;
    font-size: 14px;
}

.testi-grid_review i {
    margin-right: 3px;
}

.testi-card_text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body-color);
    margin-bottom: 30px;
    font-style: italic;
}

.testi-card_profile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.testi-card_profile .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testi-card_profile .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-card_profile-details {
    flex-grow: 1;
}

.testi-card_name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--title-color);
}

.testi-card_desig {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-icon {
    width: 40px;
    height: 40px;
    margin-right: auto;
}


/* About Image Styles */
/* About Image Styles */
.about-area-5 {
    padding-top: 40px !important; /* Reduce top padding */
}

.img-box5 .img1 img {
    width: 100%;
    max-width: 80%; /* Limit width */
    height: 300px; /* Reduced height */
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    display: block;
    margin: 0 auto; /* Center the image */
}

/* Property Card 2 (Grid View) */
.property-card2 {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--gray-200);
}

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

.property-card-thumb {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card2:hover .property-card-thumb img {
    transform: scale(1.1);
}

.img-shine {
    position: relative;
}

.img-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    display: block;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s;
    z-index: 1;
}

.property-card2:hover .img-shine::before {
    left: 125%;
}

.property-card-details {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.property-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.property-card-title a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.property-card-title a:hover {
    color: var(--secondary-color);
}

.property-card-price {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.property-card-location {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 0;
}

.btn-wrap .th-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Property Card Wrap (List View) */
.property-card-wrap {
    display: flex;
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

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

.property-card-wrap .property-thumb {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.property-card-wrap .property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card-wrap:hover .property-thumb img {
    transform: scale(1.1);
}

.property-card-wrap .property-card {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: none; /* Reset default card shadow */
    background: transparent;
}

.property-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-100);
    line-height: 1;
}

.property-card-subtitle {
    display: block;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.property-card-text {
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.property-card-price-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.property-ratting-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-500);
}

.star-ratting {
    color: #FFD700;
    font-weight: 700;
}

.property-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.property-card-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.property-card-meta img {
    width: 20px;
    height: auto;
}

.divider-line {
    width: 1px;
    height: 15px;
    background-color: var(--gray-300);
    display: block;
}

.property-btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-author-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.property-author-wrap img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.property-author-wrap a {
    font-weight: 600;
    color: var(--primary-color);
}

/* Button Styles */
.th-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    padding: 16px 35px;
    border-radius: 5px;
    border: none;
    transition: all 0.4s ease;
}

.th-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.style-border2 {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 5px;
}

.style-border2:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .property-card-wrap {
        flex-direction: column;
    }
    .property-card-wrap .property-thumb,
    .property-card-wrap .property-card {
        width: 100%;
    }
    .property-card-wrap .property-thumb {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .property-card-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .property-card-meta {
        flex-wrap: wrap;
    }
    .property-btn-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Bootstrap Grid Adjustments (if not already present) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(.5 * var(--bs-gutter-x));
    padding-left: calc(.5 * var(--bs-gutter-x));
    margin-top: var(--bs-gutter-y);
}
.gy-40 {
    --bs-gutter-y: 40px;
}
.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
}
.col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}
@media (max-width: 768px) {
    .col-md-6 {
        width: 100%;
    }
}
@media (max-width: 1200px) {
    .col-xl-4 {
        width: 50%;
    }
}

/* Property List View */
.property-card-wrap {
    display: flex;
    background: var(--white-color);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-normal);
    margin-bottom: 30px;
}

.property-card-wrap:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.property-card-wrap .property-thumb {
    width: 40%;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.property-card-wrap .property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-wrap:hover .property-thumb img {
    transform: scale(1.1);
}

.property-card-wrap .property-details {
    padding: 25px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .property-card-wrap {
        flex-direction: column;
    }
    .property-card-wrap .property-thumb {
        width: 100%;
        height: 250px;
    }
    .property-card-wrap .property-details {
        width: 100%;
    }
}

/* =========================================
   Modern Magazine Blog Design v3 - Minimalist & Refined
   ========================================= */

/* 1. Refined Blog Cards */
.blog-single {
    background: var(--white-color);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

.blog-img {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    position: relative;
    height: 280px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-single:hover .blog-img img {
    transform: scale(1.05);
}

/* Content Area */
.blog-content {
    padding: 35px;
}

/* Meta Data - Clean & Minimal */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-100);
}

.blog-meta a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.blog-meta a i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.blog-meta a:hover {
    color: var(--primary-color);
}

/* Typography */
.blog-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.blog-title a {
    background-image: linear-gradient(var(--primary-color), var(--primary-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s;
}

.blog-title a:hover {
    background-size: 100% 1px;
    color: var(--primary-color);
}

.blog-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 25px;
}

/* Button - Outline Style */
.th-btn.style-border2 {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.th-btn.style-border2:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* 2. Sidebar - Clean & Separated */
.sidebar-area .widget {
    background: var(--white-color);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    margin-bottom: 30px;
}

.widget_title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
}

.widget_title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

/* Search */
.search-form input {
    background: var(--gray-100);
    border: 1px solid transparent;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.search-form input:focus {
    background: var(--white-color);
    border-color: var(--gray-200);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.search-form button {
    background: var(--primary-color);
    border-radius: 6px;
    width: 45px;
    height: 45px;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
}

.search-form button:hover {
    background: var(--secondary-color);
}

/* Categories */
.widget_categories ul li {
    border-bottom: 1px solid var(--gray-100);
    padding: 12px 0;
}

.widget_categories a {
    font-weight: 500;
    color: var(--gray-500);
    font-size: 0.95rem;
}

.widget_categories a span {
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.widget_categories a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.widget_categories a:hover span {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* Recent Posts */
.recent-post {
    padding: 0;
    margin-bottom: 20px;
    border-radius: 0;
    background: transparent;
}

.recent-post:hover {
    background: transparent;
}

.recent-post .media-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.recent-post .post-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Tags */
.tagcloud a {
    background: var(--white-color);
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tagcloud a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: none;
    transform: translateY(-2px);
}

/* 3. Pagination - Minimalist */
.th-pagination ul {
    gap: 10px;
}

.th-pagination a {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    background: var(--white-color);
    border: 1px solid var(--gray-200);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none;
}

.th-pagination a.active,
.th-pagination a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    transform: none;
}

/* Property Overview Section */
.property-overview-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.property-overview-item {
    background: var(--white-color);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.property-overview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.overview-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(206, 119, 119, 0.1); /* Secondary color with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.property-overview-item:hover .overview-icon {
    background-color: var(--secondary-color);
}

.overview-icon i {
    font-size: 20px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.property-overview-item:hover .overview-icon i {
    color: var(--white-color);
}

.overview-details {
    display: flex;
    flex-direction: column;
}

.overview-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 2px;
    font-weight: 500;
}

.overview-value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-heading);
}

@media (max-width: 576px) {
    .property-overview-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .property-overview-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .overview-details {
        align-items: center;
    }
}




    /* ---- Gallery / Grid Improvements ---- */
    .row.gy-4 { align-items: stretch; }
    .property-gallery-card {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(12,18,26,0.08);
        background: #fff;
        transition: transform .35s ease, box-shadow .35s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .property-gallery-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12,18,26,0.12); }
    .property-gallery-card-img {
        width: 100%;
        flex: 1 1 auto;
        display: block;
        background: #f5f6f8;
    }
    .property-gallery-card-img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .6s cubic-bezier(.2,.8,.2,1);
    }
    .property-gallery-card:hover .property-gallery-card-img img { transform: scale(1.04); }

    /* Icon (magnify) button */
    .property-gallery-card .icon-btn {
        position: absolute;
        right: 14px;
        bottom: 14px;
        background: rgba(255,255,255,0.96);
        color: #0b1220;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(12,18,26,0.12);
        text-decoration: none;
        transition: transform .18s ease, box-shadow .18s ease;
    }
    .property-gallery-card .icon-btn i { font-size: 16px; }
    .property-gallery-card .icon-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(12,18,26,0.14); }

    /* Make gallery columns consistent by giving different min-heights for column sizes */
    .col-xl-5 .property-gallery-card-img { min-height: 380px; }
    .col-xl-7 .property-gallery-card-img { min-height: 260px; }

    /* Responsive adjustments */
    @media (max-width: 1199px) {
        .col-xl-5 .property-gallery-card-img,
        .col-xl-7 .property-gallery-card-img { min-height: 260px; }
    }
    @media (max-width: 767px) {
        .col-xl-5 .property-gallery-card-img,
        .col-xl-7 .property-gallery-card-img { min-height: 180px; }
        .property-gallery-card .icon-btn { right: 12px; bottom: 12px; width:40px; height:40px; }
    }

    /* Small polish for checklist / other elements so gallery feels cohesive */
    .checklist ul { gap: 6px; }

    /* New gallery grid layout */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 180px;
        gap: 20px;
        align-items: stretch;
    }
    .gallery-item { display:block; }

    /* Desktop arrangement: large left card spanning two rows, two stacked cards on the right */
    .gallery-item:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
    .gallery-item:nth-child(2) { grid-column: 8 / span 5; grid-row: 1 / span 1; }
    .gallery-item:nth-child(3) { grid-column: 8 / span 3; grid-row: 2 / span 1; }
    .gallery-item:nth-child(4) { grid-column: 11 / span 2; grid-row: 2 / span 1; }

    /* Ensure cards fill their grid area */
    .gallery-item .property-gallery-card { height: 100%; }

    /* Larger row heights for big screens */
    @media (min-width: 1200px) {
        .gallery-grid { grid-auto-rows: 260px; }
        .gallery-item:nth-child(1) { grid-row: 1 / span 2; }
    }

    /* Tablet: two columns */
    @media (max-width: 991px) {
        .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
        .gallery-item:nth-child(1) { grid-column: 1 / span 6; grid-row: 1 / span 1; }
        .gallery-item:nth-child(2) { grid-column: 1 / span 3; grid-row: 2 / span 1; }
        .gallery-item:nth-child(3) { grid-column: 4 / span 3; grid-row: 2 / span 1; }
        .gallery-item:nth-child(4) { grid-column: 1 / span 6; grid-row: 3 / span 1; }
    }

    /* Mobile: single column stacked */
    @media (max-width: 575px) {
        .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
        .gallery-item { grid-column: auto !important; grid-row: auto !important; }
        .gallery-item .property-gallery-card-img { min-height: 0; }
    }

/* Horizontal blog scroll for mobile view */
@media (max-width: 767px) {
    .blog-scroll {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 12px 12px 12px;
        scroll-snap-type: x mandatory;
    }

    .blog-scroll .th-blog,
    .blog-scroll .blog-single {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
        margin-bottom: 0; /* gap controls spacing */
    }

    .blog-scroll .blog-img {
        height: 160px;
        overflow: hidden;
    }

    .blog-scroll .blog-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* make sure the column doesn't add extra horizontal padding on mobile */
    .col-xxl-8.col-lg-7 { padding-right: 0; }
}

/* Fix Feature Card Button on Mobile - Always Visible */
@media (max-width: 991px) {
    .feature-card .feature-btn {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-top: 15px;
    }
}

/* Mobile Horizontal Property Scroll */
@media (max-width: 991px) {
    .mobile-property-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        column-gap: 20px;
     
    }
   
}

/* About Us Mobile Refactor */
.about-flex-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
}

@media (max-width: 991px) {
    /* Fix Property Card Overlap on Mobile */
    @media (max-width: 576px) {
        .property-card-footer {
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .property-card-footer > div {
            width: 100%;
            justify-content: space-between;
        }
        
        .property-author {
            margin-bottom: 5px;
        }
    }

    /* Fix Comment Section on Mobile */
    @media (max-width: 576px) {
        .th-post-comment {
            gap: 15px;
        }
        
        .comment-avater img {
            width: 50px;
            height: 50px;
        }
        
        .comment-content {
            padding: 15px;
        }
        
        .comment-content .name {
            font-size: 1rem;
            margin-bottom: 2px;
            padding-right: 50px; /* Space for reply button if absolute */
        }
        
        .commented-on {
            font-size: 0.75rem;
            margin-bottom: 10px;
        }
        
        .children {
            margin-left: 20px;
            margin-top: 20px;
        }
        
        .reply-btn {
            top: 15px;
            right: 15px;
            font-size: 0.85rem;
        }
    }
    .about-flex-row {
        flex-direction: column-reverse; /* Put Image (2nd child) on top */
        gap: 30px;
    }

    .about-flex-row > div {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}


/* =========================================
   Advanced Scroll Animations
   ========================================= */

/* Base class for all animated elements */
.th-animate {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth cubic-bezier */
}

/* 1. Fade Up (Standard for cards/text) */
.th-fade-up {
    transform: translateY(40px);
}
.th-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Fade Left (For side content) */
.th-fade-left {
    transform: translateX(-40px);
}
.th-fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* 3. Fade Right (For side content) */
.th-fade-right {
    transform: translateX(40px);
}
.th-fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* 4. Zoom In (For images/icons) */
.th-zoom-in {
    transform: scale(0.9);
}
.th-zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays for Grid Items */
.th-delay-100 { transition-delay: 0.1s; }
.th-delay-200 { transition-delay: 0.2s; }
.th-delay-300 { transition-delay: 0.3s; }
.th-delay-400 { transition-delay: 0.4s; }
.th-delay-500 { transition-delay: 0.5s; }
.th-delay-600 { transition-delay: 0.6s; }

/* Feature Card Button Animation */
.feature-card {
    position: relative;
    overflow: hidden; 
    padding-bottom: 30px; /* Standard padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    height: 100%; /* Ensure equal height */
}

.feature-btn {
    margin-top: 0;
    opacity: 0;
    max-height: 0; /* Animate height to avoid layout jump if possible, or use simple margin */
    transform: translateY(10px);
    transition: all 0.4s ease;
    visibility: hidden;
    /* Static position to ensure it stays below text */
    position: static; 
}

/* On hover, show button */
.feature-card:hover .feature-btn {
    opacity: 1;
    visibility: visible;
    margin-top: 20px; /* Add spacing on hover */
    max-height: 50px; /* Allow height for button */
    transform: translateY(0);
}

/* Lift card slightly on hover for effect */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================================
   Redesigned Property Cards
   ========================================= */

.property-card-new {
    background: var(--white-color);
    border-radius: 6px;
    overflow: hidden;
    /* Box shadow removed mostly, or very subtle as per image */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.property-img-wrap {
    position: relative;
    height: 350px; /* Increased from 250px */
    overflow: hidden;
}

.property-img-wrap .main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-new:hover .main-img {
    transform: scale(1.1);
}

/* Hanging Tag - For Rent / For Sell */
.hanging-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 15px; /* Adjust padding */
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    z-index: 2;
    text-transform: capitalize;
}

.hanging-tag.status-rent {
    background-color: var(--secondary-color); /* Use theme secondary color */
}

.hanging-tag.status-sell {
    background-color: var(--secondary-color); /* Use theme secondary color */
}

/* Simulated strings for hanging effect */
.tag-string-left, .tag-string-right {
    position: absolute;
    top: -15px; /* height of string */
    width: 2px; /* thickness */
    height: 15px;
    background-color: var(--secondary-color); /* Match theme secondary color */
    z-index: 1;
}
.tag-string-left { left: 10px; transform: rotate(-15deg); transform-origin: bottom; }
.tag-string-right { right: 10px; transform: rotate(15deg); transform-origin: bottom; }

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #00BFFF; /* Cyan/Blue */
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Hover Action Icons */
.card-action-icons {
    position: absolute;
    top: -50px; /* Start above viewport */
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transition: all 0.4s ease;
}

.property-card-new:hover .card-action-icons {
    top: 20px; /* Slide down to visible position */
    opacity: 1;
}

.property-card-new:hover .popular-badge {
    top: 70px; /* Move popular badge down when icons appear */
}

.action-icon-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(50, 50, 50, 0.85);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-icon-btn:hover {
    background-color: var(--secondary-color); /* Orange/project color */
    transform: scale(1.1);
}

/* Agent Avatar */
.agent-avatar-wrap {
    position: absolute;
    bottom: -15px; /* Overlap bottom edge */
    left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    z-index: 3;
    background: #fff; /* fallback */
}

.agent-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Star Rating */
.card-rating {
    position: absolute;
    bottom: 10px;
    right: 15px;
    z-index: 2;
    display: flex;
    gap: 3px;
    font-size: 0.8rem;
}

.text-warning { color: #FFA500; } /* Simple orange/gold */

/* Content */
.property-content-new {
    padding: 25px 20px 15px;
}

.property-title-new {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.property-title-new a {
    color: var(--title-color);
    transition: 0.3s;
}

.property-title-new a:hover {
    color: var(--secondary-color);
}

.property-location-new {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-price-new {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color); /* Use theme secondary color */
}

.price-label {
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
}

/* Footer Features */
.property-footer-new {
    border-top: 1px solid #eee;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.feature-icon-circle {
    width: 24px;
    height: 24px;
    background: #E0F7F4; /* Light teal bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 0.7rem;
}

/* Quick View Modal */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quick-view-content {
    background: var(--white-color);
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.quick-view-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.quick-view-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

.quick-view-inner {
    display: flex;
    flex-direction: column;
}

.quick-view-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details {
    padding: 40px;
}

.property-purpose-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #00A387;
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.quick-view-details h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--title-color);
}

.property-location-quick {
    color: #888;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-price-quick {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00A387;
    margin-bottom: 25px;
}

.property-features-quick {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item-quick {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #555;
}

.feature-item-quick i {
    color: #00A387;
    font-size: 1.2rem;
}

.property-desc-quick {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.view-full-btn {
    display: inline-block;
}

@media (max-width: 768px) {
    .quick-view-image {
        height: 250px;
    }
    
    .quick-view-details {
        padding: 25px;
    }
    
    .quick-view-details h2 {
        font-size: 1.5rem;
    }
    
    .property-features-quick {
        flex-direction: column;
        gap: 15px;
    }
}

/* Contact Info Item Styles */
.contact-item-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item-wrap:hover {
    background-color: var(--white-color);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-100);
    transform: translateY(-5px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.contact-item-wrap:hover .contact-info-icon {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: scale(1.1) rotate(360deg);
}

.contact-item-wrap h4, 
.contact-item-wrap p {
    transition: all 0.3s ease;
}

.contact-item-wrap:hover h4,
.contact-item-wrap:hover p,
.contact-item-wrap:hover .text-gray-500 {
    color: var(--primary-color) !important;
}

.feature-card p{
    color: #000;
}
