        /* Estilos generales */
        :root {
            --primary-color: #2B405F;
            --secondary-color: #51A0D3;
            --dark-color: #787E87;
            --light-color: #CCCCCC;
            --accent-color: #2B405F;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        
        
        .bg-primary { background-color: var(--primary-color) !important; }
        .text-primary { color: var(--primary-color) !important; }
        .btn-primary { 
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        .btn-outline-primary {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }
        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* Estilos para el menú desplegable */
        .dropdown-submenu {
            position: relative;
        }
        
        .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-top: -1px;
            margin-left: .1rem;
        }
        
        .dropdown-submenu:hover .dropdown-menu {
            display: block;
        }
        
        /* Flechas personalizadas */
        .dropdown-submenu > a:after {
            display: inline-block;
            margin-left: 0.5em;
            vertical-align: middle;
            content: "\F285";
            font-family: 'bootstrap-icons';
            border: none !important;
            transition: transform 0.2s;
            color: #51A0D3;
        }
        
        .navbar-nav > .dropdown > .dropdown-toggle:after {
            display: inline-block;
            margin-left: 0.5em;
            vertical-align: middle;
            content: "\F282";
            font-family: 'bootstrap-icons';
            border: none !important;
        }
        
        .navbar-nav > .dropdown.show > .dropdown-toggle:after {
            transform: rotate(180deg);
        }
        
        /* Estilo para items activos */
        .nav-item.active > .nav-link,
        .nav-item.active > .dropdown-toggle {
            color: white !important;
            background-color: rgba(255, 255, 255, 0.15);
        }
        
        .dropdown-menu .active-menu-item {
            background-color: rgba(43, 64, 95, 0.1);
            font-weight: 500;
            border-left: 3px solid var(--primary-color);
        }
        
        .dropdown-menu .active-menu-item > a {
            color: var(--primary-color) !important;
        }
        
        @media (max-width: 991.98px) {
            .dropdown-submenu > a:after {
                content: "\F285";
            }
            
            .dropdown-submenu.show > a:after {
                transform: rotate(180deg);
            }
        }

        /* Elimina cualquier superposición en móvil */
        @media (max-width: 991.98px) {
            .hero-section::before,
            .carousel::before {
                display: none !important;
            }
            
            .navbar {
                position: relative !important;
                z-index: 10000 !important;
            }
        }

.section-title {
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.realtor-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Hero section */
.hero-section {
    margin-top: -72px; /* Compensar la altura de la navbar */
    padding-top: 72px;
}

.search-overlay {
    z-index: 10;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rating {
    font-size: 1.5rem;
}

.testimonial-text {
    position: relative;
    font-style: italic;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        margin-top: -56px;
        padding-top: 56px;
    }
    
    .search-overlay {
        position: relative;
        margin-top: 20px;
    }
}

/* Hero Section Small */
.hero-section-small {
    padding: 80px 0;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

/* Property Cards Enhancements */
.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Sticky Sidebar */
.sticky-top {
    position: sticky;
    z-index: 1000;
}

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

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .sticky-top {
        position: static;
    }
}

/* Property Detail Styles */
.property-main-image {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.property-gallery-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.property-gallery-thumb:hover {
    border-color: var(--primary-color);
}

.property-gallery-thumb.active {
    border-color: var(--primary-color);
}

.object-fit-cover {
    object-fit: cover;
}

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

.similar-property-card:hover {
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .sticky-top {
        position: static;
    }
    
    .hero-section-small {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .property-main-image {
        height: 300px !important;
    }
    
    .basic-info {
        justify-content: start !important;
        gap: 1rem !important;
        margin-top: 1rem;
    }
}

/* Estilos para el panel de filtros compacto */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
    color: inherit;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 0.5rem 0;
}

.filter-badge {
    font-size: 0.65rem;
    padding: 0.25em 0.4em;
}

.list-group-item {
    padding: 0.35rem 0;
    background: transparent;
}

.list-group-item.active {
    background: transparent;
    color: var(--bs-primary);
    font-weight: 500;
}

.attribute-options {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.alert-info .badge {
    font-size: 0.9rem;
    padding: 0.35em 0.65em;
    display: inline-flex;
    align-items: center;
}

.alert-info .badge a {
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert-info .badge a:hover {
    opacity: 1;
}

.breadcrumb {
    --bs-breadcrumb-divider-color: var(--light-color);
    --bs-breadcrumb-item-active-color: var(--light-color);
}

.text-primary {
    color: #51A0D3 !important;
}

/* Realtors Page Styles */
.realtor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.realtor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.realtor-experience-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.search-form .input-group {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-form .btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.filter-form .form-select {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
    height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .realtor-card {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .search-form, .filter-form {
        margin-bottom: 1rem;
    }
}

/* Realtor Profile Styles */
.realtor-profile-image {
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-badge {
    position: absolute;
    left: -30px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.timeline-content {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    position: relative;
}

.timeline-content:after {
    content: '';
    position: absolute;
    left: -10px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .sticky-top {
        position: static;
    }
    
    .realtor-profile-image {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section-small .breadcrumb {
        justify-content: center;
    }
    
    .hero-section-small .text-md-end {
        text-align: center !important;
        justify-content: center;
    }
}

/* Blog Page Styles */
.blog-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

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

.blog-post-card .card-img-top-container {
    position: relative;
    overflow: hidden;
}

.blog-post-card .card-img-overlay-top {
    position: absolute;
    top: 10px;
    left: 10px;
}

.blog-search-form .input-group {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.blog-search-form .btn {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: #f8f9fa;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag-cloud .tag:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .blog-post-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-section-small h1 {
        font-size: 2rem;
    }
}
