:root {
    --green: #006b3f;
    --dark-green: #003f26;
    --gold: #f4c430;
    --light-bg: #f5f7f6;
    --dark-text: #16202a;
    --muted-text: #667085;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* NAVBAR */
.ministry-navbar {
    background: linear-gradient(90deg, var(--dark-green), var(--green));
    padding: 14px 0;
    z-index: 999;
}

.navbar-brand {
    font-size: 20px;
    font-weight: 800;
    color: #fff !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    margin-left: 10px;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.admin-link {
    background: var(--gold);
    color: #111 !important;
    border-radius: 30px;
    padding: 10px 22px !important;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    min-height: 620px;
    background-size: cover;
    background-position: center;
}

.hero-slide-1 {
    background-image: url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1600&q=80");
}

.hero-slide-2 {
    background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80");
}

.hero-slide-3 {
    background-image: url("https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1600&q=80");
}

.hero-overlay {
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(
        90deg,
        rgba(0, 63, 38, 0.96),
        rgba(0, 107, 63, 0.78),
        rgba(0, 0, 0, 0.35)
    );
    color: #fff;
}

.hero-content {
    max-width: 950px;
}

.hero-slider h1 {
    color: #fff !important;
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-slider p {
    color: #fff !important;
    font-size: 1.2rem;
    max-width: 760px;
    margin-bottom: 30px;
}

.hero-slider .badge {
    font-size: 15px;
    padding: 9px 15px;
    border-radius: 8px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    z-index: 20;
}

/* HOME SEARCH */
.home-search-section {
    background: var(--light-bg);
    padding: 35px 0 25px;
    position: relative;
    z-index: 5;
}

.home-search-box {
    background: #fff;
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* STATS */
.stats-section {
    background: var(--light-bg);
    padding: 35px 0 50px;
    margin: 0;
    position: relative;
    z-index: 2;
}

.new-stats {
    margin: 0;
}

.stat-card {
    background: #fff;
    padding: 28px 15px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.stat-card h3 {
    color: var(--green);
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.stat-card p {
    margin: 0;
    font-weight: 600;
    color: var(--dark-text);
}

/* SECTION TITLES */
.section-title {
    margin-bottom: 35px;
}

.section-title h2 {
    color: var(--dark-green);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.section-title p {
    color: var(--muted-text);
    font-size: 1.05rem;
}

/* CATEGORIES */
.category-section {
    padding: 75px 0;
    background: #fff;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f5f7f6;
    border-radius: 18px;
    padding: 22px;
    color: var(--dark-green);
    text-decoration: none;
    min-height: 90px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.category-card span {
    font-size: 32px;
}

.category-card strong {
    font-size: 16px;
}

.category-card:hover {
    background: var(--green);
    color: #fff;
    transform: translateY(-4px);
}

/* FEATURED LISTINGS */
.featured-section {
    padding: 80px 0;
    background: var(--light-bg);
    overflow: hidden;
}

.listing-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.listing-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollListings 35s linear infinite;
}

.listing-marquee:hover .listing-track {
    animation-play-state: paused;
}

.listing-slide-card {
    width: 330px;
    flex: 0 0 auto;
}

@keyframes scrollListings {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.listing-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.listing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.listing-body {
    padding: 22px;
}

.category-badge {
    display: inline-block;
    background: rgba(0, 107, 63, 0.1);
    color: var(--green);
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.listing-body h4 {
    font-weight: 900;
    color: var(--dark-green);
    font-size: 1.35rem;
}

.location {
    color: #777;
    font-weight: 700;
}

.verified-badge {
    font-size: 14px;
    color: var(--green);
    font-weight: 800;
}

/* PAGE HEADER */
.page-header {
    background: linear-gradient(90deg, var(--dark-green), var(--green));
    color: #fff;
    padding: 75px 0;
}

.page-header h1 {
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-header p {
    font-size: 1.1rem;
}

/* LISTINGS PAGE */
.listing-search {
    background: #ffffff;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* DETAILS PAGE */
.detail-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 90px;
}

.verified-large {
    background: rgba(0, 107, 63, 0.1);
    color: var(--green);
    padding: 15px;
    border-radius: 12px;
    font-weight: 900;
}

/* FOOTER */
.footer-section {
    background: var(--dark-green);
    color: #fff;
    padding: 45px 0 20px;
}

.footer-section a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--gold);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 15px;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .admin-link {
        display: inline-block;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .hero-slide,
    .hero-overlay {
        min-height: 540px;
    }

    .hero-content {
        text-align: center;
        margin: auto;
    }

    .hero-slider h1 {
        font-size: 2.4rem;
    }

    .hero-slider p {
        font-size: 1rem;
    }

    .home-search-section {
        padding: 25px 0;
    }

    .stat-card {
        padding: 22px 10px;
    }

    .category-card {
        display: block;
        text-align: center;
        padding: 18px;
    }

    .category-card span {
        display: block;
        margin-bottom: 8px;
    }

    .listing-slide-card {
        width: 285px;
    }

    .listing-card img {
        height: 190px;
    }
}

/* PREMIUM HOME IMPROVEMENTS */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: #111;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-title h4 {
    color: var(--dark-green);
    font-weight: 900;
    margin-bottom: 3px;
}

.search-title p {
    color: var(--muted-text);
    margin-bottom: 0;
}

.stat-icon {
    font-size: 34px;
    margin-bottom: 8px;
}

.premium-stat {
    border-top: 5px solid var(--green);
    transition: all 0.3s ease;
}

.premium-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.section-kicker {
    display: inline-block;
    color: var(--green);
    background: rgba(0, 107, 63, 0.1);
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-title h2::after {
    content: "";
    width: 90px;
    height: 4px;
    background: var(--gold);
    display: block;
    margin: 15px auto 0;
    border-radius: 20px;
}

.category-icon {
    font-size: 32px;
}

.tourism-banner {
    padding: 80px 0;
    background:
        linear-gradient(rgba(0, 63, 38, 0.88), rgba(0, 107, 63, 0.88)),
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.tourism-banner-content {
    max-width: 850px;
    text-align: center;
    margin: auto;
}

.tourism-banner-content span {
    display: inline-block;
    background: var(--gold);
    color: #111;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 900;
    margin-bottom: 18px;
}

.tourism-banner-content h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
}

.tourism-banner-content p {
    font-size: 1.1rem;
    margin-top: 15px;
}

.premium-listing-card {
    transition: all 0.35s ease;
}

.premium-listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.listing-image-wrap {
    position: relative;
}

.image-verified {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    color: var(--green);
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.gov-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e7f7ef;
    color: var(--green);
    border: 1px solid #b7e5cb;
    padding: 8px 13px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }

    .tourism-banner {
        padding: 60px 0;
    }

    .gov-badge {
        font-size: 12px;
        border-radius: 18px;
    }
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text small {
    font-size: 12px;
    font-weight: 600;
    color: #f3f4f6;
}

.brand-text strong {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

@media (max-width: 768px) {
    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-text small {
        font-size: 10px;
    }

    .brand-text strong {
        font-size: 14px;
    }
}