:root {
            --primary-blue: #0f2766;
            --primary-dark: #121e3d;
            --accent-red: #e11d48;
            --accent-red-hover: #be123c;
            --text-dark: #1f2937;
            --text-muted: #6b7280;
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --border-color: #e2e8f0;
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            font-family: 'Cairo', sans-serif;
            background-color: var(--bg-white);
            color: var(--text-dark);
            overflow-x: hidden;
}

        .flag-icon {
            width: 20px;
            height: 14px;
            border-radius: 2px;
            object-fit: cover;
        }

        /* Hero / Title Section */
        .page-title {
            color: var(--primary-blue);
            font-weight: 800;
            font-size: 32px;
            margin-top: 20px;
            margin-bottom: 30px;
            text-align: center;
        }

        /* Search Bar styling matches the mockup exactly */
        .search-container {
            max-width: 1100px;
            margin: 0 auto 30px;
            padding: 0 15px;
        }

        .search-card {
            background: var(--bg-white);
            border-radius: 100px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
            padding: 10px 24px;
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
        }

        .search-col {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 12px;
            border-left: 1px solid #f1f5f9;
            padding-left: 10px;
        }

        .search-col:last-of-type {
            border-left: none;
        }

        .search-col-icon {
            font-size: 20px;
            color: #94a3b8;
        }

        .search-col-info {
            display: flex;
            flex-direction: column;
            text-align: right;
        }

        .search-col-title {
            font-size: 13px;
            font-weight: 800;
            color: #0f172a;
        }

        .search-col-placeholder {
            font-size: 12px;
            color: #94a3b8;
            font-weight: 500;
            margin-top: 2px;
        }

        .btn-refresh {
            background: none;
            border: none;
            font-size: 18px;
            color: #94a3b8;
            cursor: pointer;
            transition: var(--transition-smooth);
            padding: 8px;
        }

        .btn-refresh:hover {
            color: var(--primary-blue);
            transform: rotate(45deg);
        }

        .btn-search-round {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--primary-blue);
            color: var(--bg-white);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            transition: var(--transition-smooth);
            flex-shrink: 0;
        }

        .btn-search-round:hover {
            background-color: var(--primary-dark);
            transform: scale(1.05);
        }

        /* Filter Pills */
        .filter-pills-container {
            max-width: 1100px;
            margin: 0 auto 40px;
            padding: 0 15px;
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .pill-btn {
            background-color: #f1f5f9;
            color: #475569;
            border: none;
            border-radius: 100px;
            padding: 8px 24px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition-smooth);
        }

        .pill-btn:hover {
            background-color: #e2e8f0;
            color: var(--primary-blue);
        }

        .pill-btn.active {
            background-color: var(--primary-blue);
            color: var(--bg-white);
        }

        /* Responsive Grid & Cards */
        .properties-section {
            max-width: 1100px;
            margin: 0 auto 50px;
            padding: 0 15px;
        }

        .property-grid-card {
            background: var(--bg-white);
            border-radius: 16px;
            overflow: hidden;
            transition: var(--transition-smooth);
            height: 100%;
            border: 1px solid #f1f5f9;
            display: flex;
            flex-direction: column;
        }

        .property-grid-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
        }

        .property-img-wrapper {
            position: relative;
            height: 200px;
            overflow: hidden;
            border-radius: 16px;
        }

        .property-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition-smooth);
        }

        .property-grid-card:hover .property-img {
            transform: scale(1.05);
        }

        .property-rating-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background-color: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(4px);
            color: var(--bg-white);
            padding: 2px 8px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 4px;
            z-index: 2;
        }

        .property-rating-badge i {
            color: #fbbf24;
        }

        .property-card-badge {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background-color: var(--accent-red);
            color: var(--bg-white);
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 10px;
            font-weight: 700;
            z-index: 2;
        }

        .property-img-dots {
            position: absolute;
            bottom: 12px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 4px;
            z-index: 2;
        }

        .img-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
        }

        .img-dot.active {
            background-color: var(--bg-white);
            width: 12px;
            border-radius: 30px;
        }

        .property-card-body {
            padding: 16px 8px 16px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            text-align: right;
        }

        .property-title-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .property-card-title {
            font-size: 15px;
            font-weight: 800;
            color: #0f172a;
            margin: 0;
        }

        .property-card-price {
            font-size: 13px;
            font-weight: 800;
            color: var(--accent-red);
        }

        .property-card-price span {
            font-size: 11px;
            color: #94a3b8;
            font-weight: 500;
        }

        .property-card-location {
            font-size: 12px;
            color: #94a3b8;
            font-weight: 500;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .property-card-location i {
            color: #cbd5e1;
        }

        .property-card-specs {
            display: flex;
            gap: 12px;
            font-size: 11px;
            color: #64748b;
            font-weight: 700;
            border-top: 1px solid #f1f5f9;
            padding-top: 12px;
            margin-top: auto;
        }

        .property-card-specs span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .property-card-specs i {
            color: #94a3b8;
        }

        /* Pagination style matches mockup */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin: 40px 0 60px;
        }

        .page-circle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            color: #475569;
            background-color: #f1f5f9;
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .page-circle:hover {
            background-color: #e2e8f0;
            color: var(--primary-blue);
        }

        .page-circle.active {
            background-color: var(--primary-blue);
            color: var(--bg-white);
        }

        /* Footer styling custom elements */
        footer {
            background-color: #ffffff;
            border-top: 1px solid var(--border-color);
            padding: 60px 0 30px;
            color: var(--text-dark);
        }

        footer h5 {
            color: var(--primary-blue);
            font-size: 16px;
            font-weight: 800;
            margin-bottom: 20px;
        }

        footer ul li {
            margin-bottom: 10px;
        }

        footer ul li a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: var(--transition-smooth);
        }

        footer ul li a:hover {
            color: var(--accent-red);
        }

        .footer-text {
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 600;
            line-height: 1.6;
        }

        /* Responsive Mobile Overrides for Properties / Explore Page */
        @media (max-width: 767.98px) {
            .page-title {
                font-size: 24px;
                margin-top: 10px;
                margin-bottom: 20px;
            }

            .search-container {
                padding: 0 10px;
            }

            .search-card {
                flex-direction: column;
                border-radius: 20px;
                padding: 16px;
                gap: 12px;
            }

            .search-col {
                width: 100%;
                border-left: none !important;
                border-bottom: 1px solid #f1f5f9;
                padding-left: 0;
                padding-bottom: 10px;
            }

            .search-col:last-of-type {
                border-bottom: none;
            }

            .btn-search-round {
                width: 100%;
                border-radius: 12px;
                height: 46px;
            }

            .filter-pills-container {
                justify-content: flex-start;
                overflow-x: auto;
                flex-wrap: nowrap;
                padding-bottom: 10px;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
            }

            .pill-btn {
                flex-shrink: 0;
            }

            .pagination-container {
                flex-wrap: wrap;
                gap: 6px;
                margin: 30px 0 40px;
            }
        }
