body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}
/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Validation Messages */
.validation-message,
.validation-error {
    color: #dc2626 !important;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Radzen Validation Messages */
.rz-message-error {
    color: #dc2626 !important;
}

.rz-field-error .rz-inputtext,
.rz-field-error .rz-dropdown,
.rz-field-error .rz-numeric {
    border-color: #dc2626 !important;
}

/* Dialog Animations and Transitions */
.rz-dialog {
    animation: dialogSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rz-dialog-overlay {
    animation: overlayFadeIn 0.3s ease-out !important;
    transition: all 0.3s ease-out !important;
}

.rz-dialog-content {
    animation: contentScaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Dialog Animations */
@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes contentScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dialog Hover Effects */
.rz-dialog:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Button Hover Animations */
.rz-button {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rz-button:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.rz-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Form Field Animations */
.rz-inputtext,
.rz-dropdown,
.rz-numeric,
.rz-textbox {
    transition: all 0.2s ease !important;
}

.rz-inputtext:focus,
.rz-dropdown:focus,
.rz-numeric:focus,
.rz-textbox:focus {
    transform: scale(1.02) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Card Hover Effects */
.rz-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rz-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Progress Bar Animations */
.rz-progressbar {
    transition: all 0.3s ease !important;
}

.rz-progressbar-value {
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Alert Animations */
.rz-alert {
    animation: alertSlideIn 0.3s ease-out !important;
    transition: all 0.3s ease !important;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 60px;
}

/* Mobile body padding adjustment */
@media (max-width: 992px) {
    body {
        padding-top: 55px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 45px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 40px;
    }
}

/* Quitar padding en páginas de admin */
body:has(.admin-layout) {
    padding-top: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

    .logo h1 span {
        color: #3498db;
    }

.logo p {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.3;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo p {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 6px 0;
    }
    
    .header .container {
        padding: 0 12px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .logo p {
        font-size: 10px;
    }
}


/* Categories */
.categories {
    padding: 60px 0;
    background-color: #fff;
}

    .categories .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

/* Hero Search Section */
.hero-search-section {
    background-color: #fff;
    padding: 40px 0 60px 0;
}

.search-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 45px 60px;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 1px solid #f1f2f6;
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.filter-icon {
    color: #3498db;
    font-size: 24px;
}

.main-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    line-height: 1.1;
}

.subtitle {
    font-size: 0.95rem;
    color: #7f8c8d;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.search-row {
    display: flex;
    gap: 20px;
    align-items: end;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field-large {
    flex: 2;
    min-width: 300px;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-icon {
    color: #3498db;
    font-size: 16px;
}

/* Custom Radzen Input Styles */
.search-input {
    width: 100% !important;
    height: 52px !important;
    border: 2px solid #e1e8ed !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: #fff !important;
    padding: 0 16px !important;
    color: #2c3e50 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.search-input:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
    background: #fff !important;
}

.search-input:hover {
    border-color: #bdc3c7 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

/* Radzen DropDown specific styles */
.search-input .rz-dropdown {
    border: none !important;
    background: transparent !important;
    height: 100% !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
}

.search-input .rz-dropdown:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Radzen TextBox specific styles */
.search-input .rz-inputtext {
    border: none !important;
    background: transparent !important;
    height: 100% !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    padding: 0 !important;
}

.search-input .rz-inputtext:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Placeholder styles */
.search-input .rz-inputtext::placeholder {
    color: #95a5a6 !important;
    font-weight: 400 !important;
    font-size: 15px !important;
}

.search-input .rz-dropdown .rz-dropdown-label {
    color: #95a5a6 !important;
    font-weight: 400 !important;
    font-size: 15px !important;
}

/* Dropdown arrow */
.search-input .rz-dropdown-trigger {
    color: #7f8c8d !important;
    font-size: 18px !important;
}

/* Radzen Dropdown Panel */
.rz-dropdown-panel {
    border: 2px solid #e1e8ed !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    background: #fff !important;
    margin-top: 4px !important;
}

.rz-dropdown-panel .rz-dropdown-item {
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid #f8f9fa !important;
}

.rz-dropdown-panel .rz-dropdown-item:hover {
    background: #f8f9fa !important;
    color: #3498db !important;
}

.rz-dropdown-panel .rz-dropdown-item.rz-state-selected {
    background: #e3f2fd !important;
    color: #2980b9 !important;
    font-weight: 600 !important;
}

/* Radzen TextBox specific improvements */
.search-input .rz-inputtext::placeholder {
    color: #95a5a6 !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    opacity: 1 !important;
}

/* Focus states for better accessibility */
.search-input:focus-within {
    border-color: #3498db !important;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px) !important;
}

.search-input-group {
    display: flex;
    gap: 12px;
    align-items: end;
}

.search-input-text {
    flex: 1;
}

/* Estilos específicos para RadzenButton */
.search-button,
.search-button.rz-button,
.search-button.rz-button-primary {
    height: 52px !important;
    padding: 0 32px !important;
    background: #3498db !important;
    border: 2px solid #3498db !important;
    border-radius: 26px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
}

.search-button:hover,
.search-button.rz-button:hover,
.search-button.rz-button-primary:hover {
    background: #2980b9 !important;
    border-color: #2980b9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.35) !important;
}

.search-button:active,
.search-button.rz-button:active,
.search-button.rz-button-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3) !important;
}

/* Efecto shimmer para el botón */
.search-button::before,
.search-button.rz-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.search-button:hover::before,
.search-button.rz-button:hover::before {
    left: 100%;
}

.property-type-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-type-dropdown {
    max-width: 400px;
}

/* Entry Types Selection within Search Form */
.entry-types-selection {
    margin-bottom: 30px;
}

.entry-types-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.carousel-btn {
    background: #f8f9fa !important;
    border: 2px solid #e1e8ed !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    color: #7f8c8d !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}

.carousel-btn:hover {
    background: #3498db !important;
    border-color: #3498db !important;
    color: white !important;
    transform: scale(1.1) !important;
}

.carousel-btn:active {
    transform: scale(0.95) !important;
}

.carousel-btn .rz-button-icon {
    margin: 0 !important;
    font-size: 16px !important;
}

.entry-types-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.entry-types-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
}

.entry-type-slide {
    flex-shrink: 0;
    width: 280px;
}

/* Properties Results Section */
.properties-results {
    padding: 40px 0 60px 0;
    background-color: #fff;
}

.results-header {
    text-align: center;
    margin-bottom: 50px;
}

.results-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    position: relative;
}

.results-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.results-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
    margin: 0;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Mobile listing grid adjustments */
@media (max-width: 768px) {
    .listing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .listing-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 8px;
    }
}

/* Listings */
.listings {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 80px;
        height: 3px;
        background-color: #3498db;
        margin: 15px auto 0;
    }

.filter-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

    .filter-options select {
        padding: 10px 15px;
        border-radius: 5px;
        border: 1px solid #ddd;
        background-color: #fff;
    }

    .filter-options button {
        background-color: #3498db;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

        .filter-options button:hover {
            background-color: #2980b9;
        }

.property-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    width: 100%;
}

    .property-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        border-color: rgba(52, 152, 219, 0.2);
    }

/* Mobile property card adjustments */
@media (max-width: 768px) {
    .property-card {
        border-radius: 12px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    }
    
    .property-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 576px) {
    .property-card {
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .property-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

    .carousel-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
    }

        .carousel-dots .dot.active {
            background-color: white;
        }

.property-info {
    padding: 25px;
}

    .property-info h3 {
        margin-bottom: 12px;
        color: #2c3e50;
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.3;
        transition: color 0.3s ease;
    }

    .property-card:hover .property-info h3 {
        color: #3498db;
    }

.property-location {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-description {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #7f8c8d;
    font-size: 14px;
}

    .property-details span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.property-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f2f6;
}

    .property-price p {
        font-size: 1.4rem;
        font-weight: 800;
        color: #2c3e50;
        margin: 0;
    }

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

    .whatsapp-btn:hover {
        background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }

.email-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

    .email-btn:hover {
        background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    }

.contact-btn-disabled {
    background: #bdc3c7;
    color: #7f8c8d;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

    .view-all button {
        background-color: #3498db;
        color: white;
        padding: 12px 30px;
        border-radius: 5px;
        font-weight: 500;
        transition: background-color 0.3s;
    }

        .view-all button:hover {
            background-color: #2980b9;
        }

/* Services */
.services {
    padding: 60px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 14px;
}

.service-card button {
    background-color: #3498db;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

    .service-card button:hover {
        background-color: #2980b9;
    }

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
}

    .testimonial.active {
        display: block;
    }

    .testimonial p {
        font-size: 18px;
        font-style: italic;
        color: #34495e;
        margin-bottom: 20px;
        position: relative;
    }

        .testimonial p::before,
        .testimonial p::after {
            content: '"';
            font-size: 24px;
            color: #3498db;
        }

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .testimonial-author img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 10px;
        border: 3px solid #3498db;
    }

    .testimonial-author h4 {
        color: #2c3e50;
        margin-bottom: 5px;
    }

    .testimonial-author span {
        color: #7f8c8d;
        font-size: 14px;
    }

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
}

    .slider-controls span {
        background-color: rgba(52, 152, 219, 0.7);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: white;
        transition: all 0.3s;
    }

        .slider-controls span:hover {
            background-color: rgba(52, 152, 219, 1);
        }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

    .slider-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #bdc3c7;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .slider-dots .dot.active {
            background-color: #3498db;
        }

/* Contact */
.contact {
    padding: 60px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

    .contact-info h3 {
        margin-bottom: 20px;
        color: #2c3e50;
        font-size: 1.5rem;
    }

    .contact-info p {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #34495e;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #3498db;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }

        .social-links a:hover {
            background-color: #2980b9;
        }

.contact-form {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

    .contact-form h3 {
        margin-bottom: 20px;
        color: #2c3e50;
        font-size: 1.5rem;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #3498db;
            outline: none;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.contact-form button {
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

    .contact-form button:hover {
        background-color: #2980b9;
    }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

    .modal.active {
        display: flex;
    }

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s;
}

    .close-modal:hover {
        color: #e74c3c;
    }

.modal h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.modal p {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.modal a {
    color: #3498db;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col p {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #bdc3c7;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .footer-bottom p {
        color: #bdc3c7;
        font-size: 14px;
        margin-bottom: 10px;
    }

.footer-links {
    display: flex;
    gap: 15px;
}

    .footer-links a {
        color: #bdc3c7;
        font-size: 14px;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: #3498db;
        }

/* Responsive */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-search-section {
        padding: 20px 0;
    }

    .search-card {
        padding: 30px 20px;
        margin: 0;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .main-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-top: 8px;
        letter-spacing: 0.8px;
    }

    .search-form {
        gap: 30px;
    }

    .entry-types-selection {
        margin-bottom: 30px;
    }

    .entry-types-carousel {
        gap: 15px;
        padding: 0 5px;
    }

    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 16px !important;
        background: #fff !important;
        border: 2px solid #e1e8ed !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .carousel-btn:hover {
        background: #3498db !important;
        border-color: #3498db !important;
        color: white !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3) !important;
    }

    .entry-type-slide {
        width: 220px;
    }

    .entry-types-slider {
        gap: 15px;
        padding: 10px 0;
    }

    .search-row {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .search-field,
    .search-field-large {
        min-width: unset;
        width: 90%;
        max-width: 400px;
    }

    .field-label {
        font-size: 0.8rem;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .search-input {
        height: 50px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        border: 2px solid #e1e8ed !important;
        transition: all 0.3s ease !important;
        padding: 0 16px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }

    .search-input:focus {
        border-color: #3498db !important;
        box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        transform: translateY(-1px) !important;
    }

    .search-input:hover {
        border-color: #bdc3c7 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    }

    .search-input-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .search-button,
    .search-button.rz-button,
    .search-button.rz-button-primary {
        width: 100% !important;
        height: 50px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 25px !important;
        background: #3498db !important;
        border: 2px solid #3498db !important;
        box-shadow: 0 4px 20px rgba(52, 152, 219, 0.25) !important;
        transition: all 0.3s ease !important;
    }

    .search-button:hover,
    .search-button.rz-button:hover,
    .search-button.rz-button-primary:hover {
        background: #2980b9 !important;
        border-color: #2980b9 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 25px rgba(52, 152, 219, 0.35) !important;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .search-box {
        flex-direction: column;
    }

        .search-box input {
            border-radius: 30px;
            margin-bottom: 10px;
        }

        .search-box button {
            border-radius: 30px;
            width: 100%;
        }

    .listing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .results-title {
        font-size: 1.8rem;
    }

    .results-subtitle {
        font-size: 1rem;
    }

    .results-header {
        margin-bottom: 30px;
    }

    .testimonial-slider {
        padding: 0 30px;
    }

    .slider-controls {
        display: none;
    }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-text {
        font-size: 1.2rem !important;
        padding: 10px !important;
    }
    
    .search-card {
        padding: 20px 15px !important;
        margin: 0 5px !important;
    }
    
    .main-title {
        font-size: 1.4rem !important;
    }
    
    .subtitle {
        font-size: 0.75rem !important;
    }
    
    .property-info {
        padding: 15px !important;
    }
    
    .property-info h3 {
        font-size: 1.1rem !important;
    }
    
    .property-price p {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-search-section {
        padding: 15px 0;
    }

    .search-card {
        padding: 25px 18px;
        margin: 0;
        border-radius: 16px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    }

    .main-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        letter-spacing: 0.6px;
    }

    .search-form {
        gap: 25px;
    }

    .entry-types-selection {
        margin-bottom: 25px;
    }

    .entry-types-carousel {
        gap: 12px;
        padding: 0 3px;
    }

    .carousel-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 14px !important;
        background: #fff !important;
        border: 2px solid #e1e8ed !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    }

    .carousel-btn:hover {
        background: #3498db !important;
        border-color: #3498db !important;
        color: white !important;
        transform: scale(1.05) !important;
        box-shadow: 0 3px 12px rgba(52, 152, 219, 0.25) !important;
    }

    .entry-type-slide {
        width: 200px;
    }

    .entry-types-slider {
        gap: 12px;
        padding: 8px 0;
    }

    .search-row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .search-field,
    .search-field-large {
        min-width: unset;
        width: 90%;
        max-width: 350px;
    }

    .search-input-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .field-label {
        font-size: 0.75rem;
        margin-bottom: 6px;
        font-weight: 700;
    }

    .search-input {
        height: 48px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
        padding: 0 14px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    }

    .search-input:focus {
        border-color: #3498db !important;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1), 0 3px 12px rgba(0, 0, 0, 0.06) !important;
        transform: translateY(-1px) !important;
    }

    .search-input:hover {
        border-color: #bdc3c7 !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
    }

    .search-button,
    .search-button.rz-button,
    .search-button.rz-button-primary {
        height: 48px !important;
        font-size: 14px !important;
        border-radius: 24px !important;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .filter-options {
        flex-direction: column;
    }

        .filter-options select,
        .filter-options button {
            width: 100%;
        }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .results-title {
        font-size: 1.6rem;
    }

    .results-subtitle {
        font-size: 0.9rem;
    }

    .results-header {
        margin-bottom: 25px;
    }

    .listing-grid {
        gap: 15px;
    }

    .property-info {
        padding: 20px;
    }

    .property-info h3 {
        font-size: 1.2rem;
    }

    .property-price p {
        font-size: 1.2rem;
    }
}
