:root {
    --primary-color: #003580;
    --primary-dark: #00224f;
    --primary-light: #0057b8;
    --secondary-color: #febb02;
    --success-color: #008009;
    --warning-color: #ff8000;
    --danger-color: #cc0000;
    --dark-color: #262626;
    --light-color: #f5f5f5;
    --gray-100: #fafafa;
    --gray-200: #e7e7e7;
    --gray-300: #d4d4d4;
    --gray-400: #bdbdbd;
    --gray-500: #6b6b6b;
    --gray-600: #525252;
    --gray-700: #333333;
    --gray-800: #262626;
    --gray-900: #1a1a1a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.25);
    --header-height: 70px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--gray-800);
    overflow-x: hidden;
    direction: rtl;
}

.main-content {
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
}

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

/* Dots */
.dots {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
}

.dots .dot-top-right {
    position: absolute;
    width: 180px;
    height: 180px;
    top: 20px;
    right: 20px;
    background-image: radial-gradient(var(--primary-color) 3px, transparent 3px);
    background-size: 22px 22px;
    opacity: 0.35;
    border-radius: 12px;
}

.dots .dot-bottom-left {
    position: absolute;
    width: 160px;
    height: 160px;
    bottom: 20px;
    left: 20px;
    background-image: radial-gradient(var(--secondary-color) 3px, transparent 3px);
    background-size: 22px 22px;
    opacity: 0.35;
    border-radius: 12px;
}

.dots .container {
    position: relative;
    z-index: 5;
}

/* section header */
.header-warrpar {
    position: relative;
    width: 100%;
    background: linear-gradient(120deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-warrpar .wave {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,218.7C672,224,768,160,864,138.7C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    opacity: 0.4;
}

.header-warrpar-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.header-warrpar-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.header-warrpar-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
}

.logo {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo a {
    transition: all 0.3s ease;
}

.logo img {
    height: 60px;
    width: 100%;
}

.logo a:hover {
    transform: scale(1.05);
}

/* Navigation */
.nav-section {
    display: flex;
    align-items: center;
}

.nav-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-items li {
    margin: 0 12px;
    position: relative;
}

.nav-items a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: block;
}

.nav-items a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    right: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-items a:hover {
    color: var(--primary-light);
}

.nav-items a:hover:before {
    width: 100%;
}

.icons-section {
    display: flex;
    align-items: center;
}

.header-icon {
    color: var(--white);
    font-size: 20px;
    margin-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
}

.header-icon:hover {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.header-auth-pill {
    position: relative;
    border-radius: 999px;
    padding-inline: 0.85rem 1.4rem;
    padding-block: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 55%),
        rgba(15, 23, 42, 0.8);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.55);
    cursor: pointer;
    text-decoration: none;
}

.header-auth-pill::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(251, 191, 36, 0.6));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.25s ease;
}

.header-auth-pill:hover::before {
    opacity: 1;
}

.header-auth-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.75);
}

.header-auth-avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary-color), #ffed4e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.header-auth-avatar i {
    font-size: 0.95rem;
}

.header-auth-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: right;
}

.header-auth-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

.header-auth-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.header-auth-menu {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    padding: 0.35rem 0;
    min-width: 200px;
}

.header-auth-menu .dropdown-item {
    font-size: 0.9rem;
    padding-block: 0.55rem;
}

.header-auth-menu .dropdown-item i {
    font-size: 0.9rem;
}

.header-auth-menu .dropdown-item:hover {
    background-color: rgba(0, 53, 128, 0.06);
}

.favorite-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-user-wrapper {
    position: relative;
    margin-inline-start: 0.35rem;
}



.header-user-wrapper .user-icon i {
    font-size: 0.95rem;
}

.header-user-wrapper .user-icon.dropdown-toggle::after {
    display: none;
}

.header-user-dropdown {
    padding: 0.75rem 0.85rem 0.8rem;
    min-width: 240px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%),
        #0f172a;
}

.header-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.3rem 0.7rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    margin-bottom: 0.45rem;
}

.header-user-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary-color), #ffed4e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.header-user-avatar-circle i {
    font-size: 1.1rem;
}

.header-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.header-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e5e7eb;
}

.header-user-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

.header-user-role-badge--light {
    background: rgba(148, 163, 184, 0.2);
    color: #e5e7eb;
}

.header-user-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-user-link {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #e5e7eb;
    padding: 0.45rem 0.4rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    text-align: right;
    cursor: pointer;
}

.header-user-link i {
    font-size: 0.9rem;
}

.header-user-link:hover {
    background: rgba(148, 163, 184, 0.16);
}

.header-user-link--primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #fff;
}

.header-user-link--primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.header-user-link--danger {
    color: #fecaca;
}

.header-user-link--danger:hover {
    background: rgba(248, 113, 113, 0.18);
}

.search-container {
    background: var(--primary-light);
    padding: 20px 0;
    display: none;
    animation: slideDown 0.4s ease;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.search-form {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.h-300 {
    height: 350px !important;
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    outline: none;
}

.search-btn {
    background: var(--primary-light);
    color: var(--white);
    border: none;
    padding: 0 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

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

/*  Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--primary-color);
    z-index: 1040;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

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

.sidebar-header {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-light);
}

.sidebar-header img {
    height: 50px;
    width: 100%;
}

.user-info {
    padding: 22px 22px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 60%),
        rgba(15, 23, 42, 0.35);
}

.user-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), #facc15);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    color: var(--primary-dark);
    font-size: 2rem;
    font-weight: 800;
}

.user-name {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 3px;
    font-weight: 700;
}

.user-email {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    direction: ltr;
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

.user-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.user-panel-link i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.user-panel-link:hover {
    background: rgba(15, 23, 42, 0.9);
}

.sidebar-close {
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

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

.mobile-nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-items li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-items li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-items a {
    display: block;
    padding: 18px 25px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.mobile-nav-items a i {
    color: var(--secondary-color);
    margin-left: 15px;
    font-size: 18px;
    width: 25px;
    text-align: center;
}

.mobile-nav-items a:hover {
    padding-right: 35px;
    color: var(--gold-color);
}

.logout-btn {
    display: block;
    width: calc(100% - 50px);
    margin: 25px;
    padding: 15px;
    background: var(--danger-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.logout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* hero */
.hero-section {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    padding: 2.5rem 0 3.5rem;
}

.hero-section .hero-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 53, 128, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(254, 187, 2, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 87, 184, 0.02) 0%, transparent 70%);
    z-index: 0;
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-section .hero-top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.hero-section .hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(0, 53, 128, 0.08) 0%, rgba(0, 87, 184, 0.05) 100%);
    border: 1px solid rgba(0, 53, 128, 0.15);
    color: var(--primary-color);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.hero-section .hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.15);
}

.hero-section .hero-badge svg {
    width: 22px;
    height: 22px;
}

.hero-section .hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 1.6rem;
    letter-spacing: -0.5px;
}

.hero-section .hero-title .highlight {
    background: linear-gradient(135deg, #003580 0%, #0057b8 50%, #00a0e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-section .hero-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 2.2rem;
    max-width: 90%;
}

.hero-section .hero-stats {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 0.5rem;
}

.hero-section .stat-item {
    text-align: right;
    position: relative;
}

.hero-section .stat-item::after {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(0, 53, 128, 0.2), transparent);
}

.hero-section .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-section .stat-label {
    font-size: 1.05rem;
    color: var(--gray-600);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.hero-section .hero-images {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-section .main-image {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 40px -12px rgba(0, 53, 128, 0.18),
        0 0 0 1px rgba(0, 53, 128, 0.08);
    z-index: 1;
    border: 4px solid var(--white);
    margin-inline: auto;
}

.hero-section .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-section .main-image:hover img {
    transform: scale(1.08);
}

.hero-section .floating-image {
    position: absolute;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.15),
        0 0 0 3px var(--white),
        0 0 0 4px rgba(0, 53, 128, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatImage 8s ease-in-out infinite;
    cursor: pointer;
}

.hero-section .floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-section .floating-image:hover {
    transform: scale(1.15) translateY(-10px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 3px var(--white),
        0 0 0 5px rgba(0, 53, 128, 0.15);
    z-index: 10;
}

.hero-section .floating-image:hover img {
    transform: scale(1.1);
}

.hero-section .floating-1 {
    width: 150px;
    height: 150px;
    top: -25px;
    left: -12px;
    z-index: 2;
    animation-delay: 0s;
}

.hero-section .floating-2 {
    width: 160px;
    height: 160px;
    bottom: -30px;
    right: -70px;
    z-index: 2;
    animation-delay: 2s;
}

.hero-section .trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(0, 53, 128, 0.08);
}

.hero-section .badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-600);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.hero-section .badge-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-section .badge-item svg {
    width: 32px;
    height: 32px;
    color: #10b981;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-section .badge-item:hover svg {
    transform: scale(1.1);
}

/* Properties Section */
.properties-section {
    padding: 60px 0;
}

.properties-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.properties-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.properties-content {
    width: 100%;
}

.properties-filters {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.properties-filters::before,
.properties-filters::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.properties-filters::before {
    inset-inline-start: -40px;
    inset-block-start: -40px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.20), transparent 70%);
}

.properties-filters::after {
    inset-inline-end: -70px;
    inset-block-end: -70px;
    width: 190px;
    height: 190px;
    background: radial-gradient(circle at center, rgba(250, 204, 21, 0.24), transparent 75%);
}

.filters-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-item label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.filter-item select,
.filter-item input[type="number"] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--gray-300);
    font-size: 0.95rem;
    color: #0f172a;
    background-color: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    appearance: none;
}

.filter-item select:focus,
.filter-item input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
    transform: translateY(-1px);
}

.filter-item select:hover,
.filter-item input[type="number"]:hover {
    border-color: var(--gray-400);
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-start;
}

.filter-actions .btn-primary,
.filter-actions .btn-secondary {
    padding: 0.65rem 1.3rem;
    font-size: 0.95rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.filter-actions .btn-secondary {
    border: 1px solid var(--gray-100);
}

.properties-page .properties-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

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

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

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

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-type {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.property-info {
    padding: 20px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.property-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.property-location {
    margin-bottom: 15px;
    color: var(--gray-600);
}

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

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--gray-200);
    padding-top: 15px;
}

.property-info .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.property-info .feature i {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.property-info .feature span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.load-more-container .btn-load {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* post-your-property */
.post-your-property {
    width: 95%;
    padding: 3rem;
    border-radius: 1rem;
    margin: 2rem auto;
    background: linear-gradient(to bottom, var(--primary-light) 0%, var(--primary-color) 55%, var(--primary-dark) 100%);
}

.post-your-property .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-your-property .container h2 {
    color: var(--white);
}

.post-your-property .container .post-property {
    padding: 8px 12px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
}

.post-your-property .container .post-property span {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    padding: 6px 12px;
}

.post-your-property .container p {
    color: var(--gray-300);
    margin: 30px 0;
}

.post-your-property .container img {
    height: 300px;
    width: auto;
}

/* CTA */
.cta {
    position: relative;
    padding: 80px 20px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    width: 95%;
    margin: 2rem auto;
    overflow: hidden;
}

.cta .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta .highlight {
    color: var(--secondary-color);
    background: linear-gradient(45deg, var(--secondary-color), #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.cta .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .cta-primary-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 234, 9, 0.3);
}

.cta .cta-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 234, 9, 0.4);
}

.cta .cta-secondary-btn {
    background: transparent;
    color: var(--white);
    padding: 12px 25px;
    border: 2px solid var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* FAQ */
.faq-section {
    padding: 80px 20px;
    background: var(--gray-100);
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-header-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-header-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--gray-100);
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 16px;
}

.faq-icon i {
    font-size: 2rem;
}

.faq-icon {
    color: var(--primary-light);
    transition: all 0.3s ease;
    min-width: 20px;
}

.faq-item.active .faq-question-text {
    color: var(--white) !important;
}

.faq-item.active .faq-question {
    background: linear-gradient(to bottom, var(--primary-light) 0%, var(--primary-color) 55%, var(--primary-dark) 100%);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--danger-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-text {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
    padding-top: 20px;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.faq-answer-text {
    animation: fadeIn 0.3s ease;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-light) 55%, var(--primary-dark) 100%);
    color: var(--gray-200);
    position: relative;
    padding-top: 3.5rem;
}

.footer .footer-top {
    position: relative;
    z-index: 1;
    padding-bottom: 2.5rem;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.9fr)) minmax(0, 1.1fr);
    gap: 2rem;
}

.footer .footer-brand {
    max-width: 320px;
}

.footer .footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer .footer-tagline {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.9;
    margin-bottom: 1.4rem;
}

.footer .footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer .footer-links ul,
.footer .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links li+li,
.footer .footer-contact li+li {
    margin-top: 1rem;
}

.footer .footer-links i {
    margin-left: 10px;
    color: var(--gray-100);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer .footer-links a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-300);
    transition: all 0.2s ease;
}

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

.footer .footer-contact li a {
    color: var(--gray-300) !important;
}

.footer .footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-300);
}

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

.footer .footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.footer .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    color: var(--gray-200);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer .footer-social a:hover i {
    color: var(--gray-100);
}

.footer .footer-social a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Apartment Detail Page */
.apartment-detail-page {
    padding: 2rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 40%, #f9fafb 100%);
}
.apartment-detail-header-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.8rem 1.8rem 1.6rem;
    margin-top: 1.2rem;
    margin-bottom: 2.2rem;
}
.apartment-detail-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
    gap: 1.8rem;
    align-items: stretch;
}

.apartment-header-image-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    order: 2;
}

.apartment-header-info-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
}

.apartment-detail-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.apartment-detail-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.apartment-detail-badge.badge-instant {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf3;
}

.apartment-detail-badge.badge-available {
    background: linear-gradient(135deg, #febb02, #f59e0b);
    color: #1f2933;
}

.apartment-detail-badge.badge-muted {
    background: rgba(15, 23, 42, 0.7);
    color: #e5e7eb;
}

/* Favorite */
.property-card .favorite-toggle,
.property-image .favorite-toggle {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.55);
    color: #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.2s ease;
    z-index: 3;
}

.property-card .favorite-toggle i,
.property-image .favorite-toggle i {
    font-size: 1.1rem;
}

.property-card .favorite-toggle:hover,
.property-image .favorite-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.5);
}

.property-card .favorite-toggle.is-favorite,
.property-image .favorite-toggle.is-favorite {
    background: rgba(239, 68, 68, 0.95);
    color: #fee2e2;
}

.property-card .favorite-toggle.is-favorite i,
.property-image .favorite-toggle.is-favorite i {
    color: #fee2e2;
}

.favorite-toggle-detail {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.55);
    color: #e5e7eb;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.2s ease;
}

.favorite-toggle-detail i {
    font-size: 1.3rem;
}

.favorite-toggle-detail:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.55);
}

.favorite-toggle-detail.is-favorite {
    background: rgba(239, 68, 68, 0.96);
    color: #fee2e2;
}

.favorite-toggle-detail.is-favorite i {
    color: #fee2e2;
}

.apartment-detail-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
}

.apartment-detail-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    opacity: 0.9;
}

.apartment-detail-location i {
    color: var(--secondary-color);
}


.apartment-header-stats {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.2rem;
}

.apartment-header-stat-item {
    display: flex;
    flex-direction: column;
}

.apartment-header-stat-item .stat-label {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.apartment-header-stat-item .stat-value {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--gray-800);
}

.apartment-detail-body {
    margin-top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
    gap: 2.2rem;
}

.apartment-detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.apartment-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.apartment-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.6rem;
}

.gallery-thumb {
    border: none;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.25);
    opacity: 0.96;
}

.apartment-detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.apartment-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: .5rem;
}

.apartment-detail-description {
    font-size: 0.97rem;
    line-height: 2;
    color: var(--gray-700);
}

.apartment-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.4rem;
}

.apartment-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.spec-item {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: #f9fafb;
}

.spec-item i {
    font-size: 1.1rem;
    color: var(--primary-light);
}

.spec-label {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.spec-value {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--gray-800);
}

.apartment-features-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-chip {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 53, 128, 0.05);
    border: 1px dashed rgba(0, 53, 128, 0.3);
    font-size: 0.85rem;
    color: var(--primary-dark);
}

.apartment-policy-text {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.apartment-map-card {
    padding-bottom: 1.2rem;
}

.apartment-map-frame-wrapper {
    margin-top: 0.6rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.apartment-map-frame-wrapper iframe {
    width: 100%;
    height: 320px;
    display: block;
}


.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.booking-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.booking-period {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-right: 0.25rem;
}

.booking-chip {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.08);
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 700;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.booking-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.booking-input-group label {
    font-size: 0.82rem;
    color: var(--gray-600);
}

.booking-input-group input,
.booking-input-group textarea {
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid var(--gray-200);
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
}

.booking-input-group input:focus,
.booking-input-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 1px rgba(0, 87, 184, 0.2);
}

.btn-booking-main {
    margin-top: 0.6rem;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: linear-gradient(to left, var(--primary-light), var(--primary-dark));
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-booking-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.booking-hint {
    margin-top: 0.7rem;
    font-size: 0.78rem;
    color: var(--gray-500);
}

.owner-card .owner-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.owner-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.owner-contact-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.9rem;
}

.owner-contact-btn i {
    margin-left: 0.4rem;
}

.owner-contact-btn span {
    font-size: 0.82rem;
    color: var(--gray-700);
}

.owner-phone {
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
}

.owner-whatsapp {
    background: rgba(22, 163, 74, 0.06);
    color: #15803d;
}
.empty-favorites {
    text-align: center;
    padding: 5rem 2rem;
    grid-column: 1/-1;
}

.empty-favorites-icon {
    font-size: 5rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    animation: emptyPulse 2s ease-in-out infinite;
}

.empty-favorites h3 {
    font-size: 1.5rem;
    color: #334155;
    margin-bottom: 0.75rem;
}

.empty-favorites p {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.remove-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.remove-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.apartment-detail-page .image-zoom {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.apartment-detail-page .image-zoom:hover {
    transform: scale(1.02);
}

.apartment-detail-page .gallery-thumb {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.apartment-detail-page .gallery-thumb:hover,
.apartment-detail-page .gallery-thumb.active {
    opacity: 1;
    transform: scale(1.05);
}

.apartment-detail-page .spec-item {
    transition: background-color 0.2s ease;
}

.apartment-detail-page .spec-item:hover {
    background-color: #f8fafc;
}

/*contact buttons */
.floating-contact {
    position: fixed;
    inset-inline-start: 18px;
    inset-block-end: 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    z-index: 1050;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn i {
    font-size: 1.4rem;
}

.floating-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, 0.35);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-btn--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: whatsappchatPulse 2.2s infinite;
}

.floating-btn--phone {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    animation: chatPulse 2.2s infinite;
}

.floating-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.55);
}

.floating-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

@keyframes chatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 23, 42, 0.7);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(15, 23, 42, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 23, 42, 0);
    }
}

@keyframes whatsappchatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@me

.properties-page .loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

.properties-page .empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 4rem 2rem;
}

.properties-page .empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.properties-page .empty-state p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}


/* Search Results */
.search-results-dropdown {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 50%;
    transform: translateX(50%);
    width: min(600px, 92vw);
    max-height: 60vh;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    z-index: 2000;
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(10px);
    display: none;
}

.search-results-list {
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.2rem;
    text-decoration: none;
    background: transparent;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: linear-gradient(90deg, rgba(0, 53, 128, 0.06), rgba(0, 87, 184, 0.03));
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.search-result-item img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.search-result-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.search-result-location {
    font-size: 0.86rem;
    color: var(--gray-600);
}

.search-result-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.search-no-results {
    padding: 1rem 1.2rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* Contact Page */
.contact-page .contact-options {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-page .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.contact-page .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-page .option-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.contact-page .option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-page .option-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.contact-page .option-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-page .option-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.contact-page .btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.contact-page .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-page .btn-secondary {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.contact-page .btn-secondary:hover {
    background: #e6a800;
}

.contact-page .contact-form-section {
    padding: 80px 0;
    background: linear-gradient(to left, var(--gray-100) 50%, var(--white) 50%);
}

.contact-page .form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.contact-page .form-info {
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-light) 55%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-page .form-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-page .form-info p {
    margin-bottom: 30px;
}

.contact-page .contact-details {
    margin-top: 30px;
}

.contact-page .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-page .contact-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.contact-page .contact-form {
    padding: 50px;
}

.contact-page .form-group {
    margin-bottom: 25px;
}

.contact-page .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.contact-page .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-page .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1);
}

.contact-page textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* About */
.about-page {
    background: #f8fafc;
}

.about-section {
    padding: 4rem 0;
}

.about-text {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

.about-text h2 {
    color: #2d5b8a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: #334155;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-right: 1rem;
}

.about-text h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, #2d5b8a, #1e3a5f);
    border-radius: 2px;
}

.about-text p {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.neighborhoods-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.neighborhood-tag {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
    transition: all 0.3s ease;
}

.neighborhood-tag:hover {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(3, 105, 161, 0.2);
}

.about-page .about-section {
    position: relative;
    z-index: 1;
}

.about-page .about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

.about-page .about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-page .about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    position: relative;
    padding-right: 20px;
    margin-bottom: 1.5rem;
}

.about-page .about-text h3:before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.about-page .about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: justify;
}

.about-page .features-section {
    padding: 5rem 0;
    background: var(--white);
}

.about-page .feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .3s ease-in-out all;
    height: 100%;
    border-top: 4px solid transparent;
}

.about-page .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--secondary-color);
}

.about-page .feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.about-page .feature-card:hover .feature-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.about-page .feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-page .feature-card p {
    color: var(--text-color);
}

/* Login */
.login-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-main .login-form-container {
    width: 100%;
    max-width: 450px;
}

.login-main .login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-main .card-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-main .card-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.login-main .card-header p {
    font-size: 1rem;
    color: #666;
}

.login-main .login-form {
    width: 100%;
}

.login-main .form-group {
    margin-bottom: 25px;
}

.login-main .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.login-main .form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.login-main .form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.login-main .form-group input::placeholder {
    color: #999;
}

.login-main .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.login-main .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.login-main .remember-me {
    display: flex;
    align-items: center;
}

.login-main .remember-me input[type="checkbox"] {
    width: auto;
    margin-left: 8px;
    margin-right: 8px;
}

.login-main .remember-me label {
    color: #666;
    font-size: 0.95rem;
    cursor: pointer;
}

.login-main .forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-main .forgot-password:hover {
    color: #764ba2;
}

.login-main .login-button {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-main .login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.login-main .login-button:active {
    transform: translateY(0);
}

.login-main .login-divider {
    background-color: #00224f;
    text-align: center;
    margin: 30px 0 !important;
    position: relative;
}

.login-main .login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e8ed;
}

.login-main .register-link {
    text-align: center;
    margin-top: 30px !important;
    color: #666;
    font-size: 0.95rem;
}

.login-main .register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-main .register-link a:hover {
    color: #764ba2;
}

.login-main .alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
}

.login-main .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-main .login-main {
    padding: 20px 15px;
}

.login-main .login-form-container {
    width: 100%;
    max-width: 450px;
}


.login-main .login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-main .card-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-main .card-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.login-main .card-header p {
    font-size: 1rem;
    color: #666;
}

.login-main .login-form {
    width: 100%;
}

.login-main .form-group {
    margin-bottom: 25px;
}

.login-main .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.login-main .form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.login-main .form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.login-main .form-group input::placeholder {
    color: #999;
}

.login-main .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.login-main .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.login-main .remember-me {
    display: flex;
    align-items: center;
}

.login-main .remember-me input[type="checkbox"] {
    width: auto;
    margin-left: 8px;
    margin-right: 8px;
}

.login-main .remember-me label {
    color: #666;
    font-size: 0.95rem;
    cursor: pointer;
}

.login-main .forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-main .forgot-password:hover {
    color: #764ba2;
}

.login-main .login-button {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-main .login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.login-main .login-button:active {
    transform: translateY(0);
}

.login-main .login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-main .login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e8ed;
}

.login-main .login-divider span {
    background: var(--white);
    padding: 0 20px;
    color: #999;
    font-size: 0.9rem;
}

.login-main .register-link {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 0.95rem;
}

.login-main .register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-main .register-link a:hover {
    color: #764ba2;
}

.login-main .alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
}

.login-main .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}


.apartment-detail-main-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    margin-bottom: 1rem;
}

.apartment-detail-main-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes emptyPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}
/* Responsive */
@media (max-width: 1024px) {
    .filters-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 2.5rem 0 3rem;
    }

    .hero-top {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3.5rem;
        margin-bottom: 3.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1.05rem;
        max-width: 100%;
        margin-inline: auto;
    }

    .main-image {
        height: 320px;
    }

    .floating-1 {
        width: 130px;
        height: 130px;
        top: -20px;
        left: -40px;
    }

    .floating-2 {
        width: 140px;
        height: 140px;
        bottom: -25px;
        right: -45px;
    }

    .hero-stats {
        gap: 3rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 2.5rem;
    }

    .footer .footer-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        row-gap: 2.2rem;
    }

    .apartment-detail-body {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .nav-items {
        display: none;
    }

    .logo {
        position: static;
        transform: none;
        justify-content: flex-start !important;
        margin-right: 15px;
    }

    .icons-section {
        justify-content: flex-start;
    }

    .header-container {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2.5rem 0 2.5rem;
    }

    .hero-section .hero-top {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .hero-section .hero-text {
        order: 1;
    }

    .hero-section .hero-images {
        order: 2;
    }

    .hero-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.3rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .main-image {
        height: 280px;
    }

    .floating-image {
        display: none;
    }

    .hero-stats {
        gap: 5rem;
        justify-content: center;
    }

    .stat-item {
        text-align: center;
    }

    .stat-item::after {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .trust-badges {
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.8rem 0 1rem;
    }

    .auth-buttons {
        display: none;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .properties-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .properties-sidebar {
        position: static;
    }

    .properties-filters {
        padding: 1.25rem 1.25rem;
        border-radius: 16px;
    }

    .footer {
        padding-top: 3rem;
    }

    .footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta {
        padding: 60px 15px;
    }

    .cta .cta-title {
        font-size: 2rem;
    }

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

    .cta .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta .cta-primary-btn,
    .cta .cta-secondary-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .faq-section {
        padding: 60px 15px;
    }

    .faq-header-title {
        font-size: 2rem;
    }

    .faq-header-subtitle {
        font-size: 1.1rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-answer-text {
        padding: 0 20px 20px;
        padding-top: 16px;
    }

    .about-page .about-text h2 {
        font-size: 2rem;
    }

    .about-page .about-text h3 {
        font-size: 1.5rem;
    }

    .contact-page .form-container {
        grid-template-columns: 1fr;
    }

    .contact-page .form-info {
        padding: 30px;
    }

    .contact-page .contact-form {
        padding: 30px;
    }

    .about-text {
        padding: 2rem 1.5rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-text h3 {
        font-size: 1.25rem;
    }

    .login-main {
        padding: 20px 15px;
    }

    .login-main .login-form-container {
        max-width: 420px;
    }

    .login-main .login-card {
        padding: 35px 24px;
        border-radius: 18px;
    }

    .login-main .card-header h2 {
        font-size: 1.8rem;
    }

    .floating-contact {
        inset-inline-start: 12px;
        inset-block-end: 16px;
        gap: 14px;
    }

    .floating-btn {
        width: 46px;
        height: 46px;
    }

    .floating-btn i {
        font-size: 1.25rem;
    }

    .properties-page .properties-grid,
    .apartment-detail-body {
        grid-template-columns: 1fr;
    }

    .apartment-detail-grid {
        grid-template-columns: 1fr;
    }

    .apartment-detail-header-grid {
        grid-template-columns: 1fr;
    }

    .apartment-header-image-col,
    .apartment-header-info-col {
        order: 0;
    }

    .apartment-detail-main-image {
        height: 260px;
    }

    .apartment-detail-card {
        padding: 1.4rem 1.4rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }

    .hero-top {
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
        margin: 20px !important;
    }

    .hero-badge svg {
        width: 18px;
        height: 18px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.2rem;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }

    .main-image {
        height: 300px;
        border-radius: 20px;
        border: 3px solid #ffffff;
    }

    .floating-1 {
        width: 95px;
        height: 95px;
        top: -15px;
        left: -28px;
    }

    .floating-2 {
        width: 105px;
        height: 105px;
        bottom: -20px;
        right: -32px;
    }

    .hero-stats {
        gap: 2rem !important;
        margin-top: 0;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    .stat-label {
        font-size: 0.95rem !important;
    }

    .hero-search {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .trust-badges {
        gap: 1.5rem !important;
        margin-top: 3rem !important;
    }

    .badge-item {
        font-size: 1rem;
    }

    .badge-item svg {
        width: 28px;
        height: 28px;
    }

    .filters-row {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        justify-content: stretch;
    }

    .filter-actions .btn-primary,
    .filter-actions .btn-secondary {
        width: 100%;
    }

    .post-your-property .container {
        flex-direction: column;
        text-align: center;
    }

    .post-your-property .container img {
        margin-top: 15px;
    }

    .footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer .footer-brand {
        max-width: none;
    }

    .search-results-dropdown {
        top: calc(var(--header-height) + 5px);
        width: 94vw;
        right: 50%;
        transform: translateX(50%);
        border-radius: 14px;
    }

    .search-result-item {
        padding-inline: 0.85rem;
    }

    .search-result-item img {
        width: 56px;
        height: 56px;
    }

    .cta .cta-title {
        font-size: 1.7rem;
    }

    .cta .cta-subtitle {
        font-size: 1rem;
    }

    .faq-header-title {
        font-size: 1.7rem;
    }

    .faq-header-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 16px;
    }

    .faq-question-text {
        font-size: 0.95rem;
        margin-right: 12px;
    }

    .faq-icon {
        font-size: 1.3rem;
    }

    .apartment-detail-page {
        padding-bottom: 3rem;
    }

    .apartment-detail-header-card {
        border-radius: 18px;
        padding: 1.3rem 1.3rem 1.2rem;
    }

    .apartment-detail-main-image-wrapper {
        margin-bottom: 0.8rem;
    }

    .apartment-detail-main-image {
        height: 220px;
    }

    .apartment-detail-title {
        font-size: 1.4rem;
    }

    .apartment-detail-card {
        padding: 1.25rem 1.2rem;
    }

    .gallery-thumb img {
        height: 70px;
    }
}

@media (min-width: 992px) {
    .menu-bars {
        display: none;
    }
}