/* ===== Global Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f7f9fc;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: #0066cc;
    text-decoration: none;
}

    a:hover {
        color: #004a99;
        text-decoration: underline;
    }

/* ===== Container & Layout ===== */
.page-container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* ===== Search Bar ===== */
.search-bar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

    .search-bar select,
    .search-bar input,
    .search-bar button {
        padding: 0.7rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        min-width: 150px;
    }

.btn-search {
    background: #00a86b;
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

    .btn-search:hover {
        background: #007a4f;
    }
/* ===== Property Display ===== */
.property-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .property-display {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .property-display {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1281px) {
    .property-display {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1536px) {
    .property-display {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* ===== Property Display Card ===== */
.property-displaycard {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .property-displaycard:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .property-displaycard img {
        width: 100%;
        max-height: 45vh;
    }

/* ===== Property Grid ===== */
.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1281px) {
    .property-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1536px) {
    .property-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===== Property Card ===== */
.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .property-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .property-card img {
        width: 100%;
        max-height: 25vh;
    }

.property-info {
    padding: 1rem;
}

    .property-info h3 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #003366;
        margin-bottom: 0.5rem;
    }

    .property-info .desc {
        font-size: 0.90rem;
        color: #555;
        margin-bottom: 0.75rem;
        display: block;
        overflow: hidden;
        overflow-wrap: break-word;
        max-height: 20vh;
    }

    .property-info .price {
        font-weight: bold;
        color: #00a86b;
        font-size: 1rem;
    }

    .property-info a {
        display: inline-block;
        margin-top: 0.75rem;
        color: #0077cc;
        font-weight: 500;
    }

    .property-info .btn-explore {
        display: inline-block;
        margin-top: 0.75rem;
        color: #0077cc;
        font-weight: 500;
    }

/* ===== CTA Section ===== */
.cta-section {
    background: #003366;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-section a {
        background: #00a86b;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 6px;
        display: inline-block;
        margin-top: 1rem;
    }

        .cta-section a:hover {
            background: #007a4f;
        }

/* ===== Footer ===== */
.site-footer {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}
/**/
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".jpg"] {
    width: 94%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}
