/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #ffffff;
    color: #222;
    line-height: 1.6;
}

/* ========== NAVBAR ========== */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 8px;
    color: #555 !important;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #0057ff !important;
}

.navbar .btn-primary {
    border-radius: 25px;
    font-weight: 600;
    padding: 8px 18px;
}

/* ========== HERO SECTION ========== */
.hero-section {
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #222;
}

.hero-section p {
    font-size: 1.05rem;
    color: #666;
    margin-top: 10px;
}

.hero-section .btn-lg {
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
}

.hero-section img {
    border-radius: 20px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========== FEATURED LISTINGS ========== */
.bg-light {
    background-color: #f8f9fc !important;
}

.card {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 18px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.card-text {
    font-size: 0.9rem;
    color: #777;
}

.card .btn {
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========== CALL TO ACTION ========== */
.bg-primary {
    background-color: #0057ff !important;
}

.bg-primary h2 {
    font-size: 1.9rem;
    font-weight: 700;
}

.bg-primary p {
    font-size: 1rem;
    opacity: 0.9;
}

.bg-primary .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 22px;
}

/* ========== FOOTER ========== */
footer {
    background-color: #121212;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

footer p {
    font-size: 0.9rem;
    color: #bbb;
}

footer a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0057ff;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section img {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .card-img-top {
        height: 180px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }
}