/* =============================================
   Homepage content styles — home-content.css
   ============================================= */

/* ===== Banner / Hero fixes ===== */

/* Give the banner enough height for all content */
.home-banner .slider-item {
    min-height: 480px !important;
    padding-top: 110px !important;
    padding-bottom: 50px !important;
}

/* Tighten hero description spacing */
.hero-descr {
    margin-top: 0.5rem;
}

.hero-descr p {
    margin-bottom: 0;
    font-size: 16px;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
}

/* ===== Latest listings section ===== */
.home-listings {
    background: #f8fbff;
    border-top: 1px solid #e8f0e9;
}

/* Hero quick-links row */
.hero-quicklinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.hero-quicklinks__label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-right: 0.1rem;
    white-space: nowrap;
}

.hero-quicklinks__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.42rem 1rem;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, transform 0.15s;
    white-space: nowrap;
    line-height: 1.3;
}

.hero-quicklinks__chip:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-quicklinks__chip i {
    font-size: 11.5px;
}

.hero-quicklinks__chip--cta {
    background: #11b730;
    border-color: #11b730;
    color: #fff;
}

.hero-quicklinks__chip--cta:hover {
    background: #0ea829;
    border-color: #0ea829;
    color: #fff;
}

/* ===== Stats bar ===== */
.home-stats-bar {
    background: #fff;
    border-bottom: 1px solid #e9f0ea;
    box-shadow: 0 2px 12px rgba(17,183,48,0.06);
}

.home-stats-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.home-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 2.5rem;
    text-align: center;
}

.home-stat-item__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #11b730;
    line-height: 1.1;
}

.home-stat-item__label {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-stat-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* ===== Section header ===== */
.home-section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d2a18;
    margin-bottom: 0.5rem;
}

.home-section-header p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 0;
}

/* ===== How it works ===== */
.home-how {
    background: #f8fbf8;
    border-top: 1px solid #e8f0e9;
    border-bottom: 1px solid #e8f0e9;
}

.how-step {
    background: #fff;
    border: 1px solid #e4ede5;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    transition: box-shadow 0.2s;
}

.how-step:hover {
    box-shadow: 0 8px 28px rgba(17,183,48,0.10);
}

.how-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #11b730;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.how-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0d2a18;
    margin-bottom: 0.6rem;
}

.how-step p {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.how-step__link {
    font-size: 13.5px;
    color: #11b730;
    font-weight: 600;
    text-decoration: none;
}

.how-step__link:hover {
    text-decoration: underline;
}

.home-cta-btn {
    display: inline-block;
    background: #11b730;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.home-cta-btn:hover {
    background: #0d9926;
    color: #fff;
    transform: translateY(-1px);
}

/* ===== Categories section ===== */
.home-cats {
    background: #fff;
}

/* ===== About section ===== */
.home-about {
    background: #f8fbf8;
    border-top: 1px solid #e8f0e9;
    border-bottom: 1px solid #e8f0e9;
}

.home-about__text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d2a18;
    margin-bottom: 1rem;
}

.home-about__text p {
    color: #374151;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0.9rem;
}

.home-about__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-about__link {
    display: inline-flex;
    align-items: center;
    background: #ecfdf3;
    color: #0d4a2a;
    border: 1px solid #bbf0c9;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.home-about__link:hover {
    background: #d1f5e0;
    color: #0d4a2a;
}

.home-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.home-feature-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ecfdf3;
    color: #11b730;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: 2px;
}

.home-feature-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d2a18;
    margin-bottom: 0.25rem;
}

.home-feature-item p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ===== FAQ section ===== */
.home-faq {
    background: #fff;
}

.faq-list {
    border: 1px solid #e4ede5;
    border-radius: 14px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e8f0e9;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.5rem;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #0d2a18;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.15s;
    line-height: 1.5;
}

.faq-question:hover {
    background: #f8fbf8;
}

.faq-question[aria-expanded="true"] {
    background: #f0f9f4;
    color: #11b730;
}

.faq-icon {
    flex-shrink: 0;
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: #11b730;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.2rem;
    background: #f0f9f4;
}

.faq-answer.is-open {
    display: block;
}

.faq-answer p {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 0;
}

.faq-answer p a {
    color: #11b730;
    font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .home-banner .slider-item {
        padding-bottom: 40px !important;
    }

    .home-stats-bar__inner {
        gap: 0;
    }

    .home-stat-item {
        padding: 0.5rem 1.5rem;
    }

    .home-stat-divider {
        height: 32px;
    }

    .how-step {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 767px) {
    .home-banner .slider-item {
        min-height: 420px !important;
        padding-top: 90px !important;
        padding-bottom: 36px !important;
    }

    .home-section-header h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 575px) {
    .home-banner .slider-item {
        min-height: 380px !important;
        padding-top: 80px !important;
        padding-bottom: 32px !important;
    }

    .home-stats-bar__inner {
        flex-wrap: wrap;
        gap: 0;
        padding: 0.5rem 0;
    }

    .home-stat-divider {
        display: none;
    }

    .home-stat-item {
        width: 50%;
        padding: 0.6rem 0.5rem;
        border-bottom: 1px solid #f0f4f0;
    }

    .home-stat-item:nth-child(odd) {
        border-right: 1px solid #f0f4f0;
    }

    .home-stat-item__value {
        font-size: 1.4rem;
    }

    .home-about__text h2,
    .home-section-header h2 {
        font-size: 1.3rem;
    }

    .hero-quicklinks {
        gap: 0.45rem;
    }

    .hero-quicklinks__chip {
        padding: 0.35rem 0.75rem;
        font-size: 12.5px;
    }
}
