/* ===================================================
   DreamProperty - Main Stylesheet
   ===================================================*/

/* ---- Variables ---- */
:root {
    --green: #2d7a2d;
    --green-light: #3a9c3a;
    --green-dark: #1e5c1e;
    --yellow: #c8a227;
    --yellow-light: #f5c842;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8fdf8;
    --bg-section: #f4f9f4;
    --white: #ffffff;
    --border: #e0ede0;
    --card-shadow: 0 4px 24px rgba(45,122,45,0.10);
    --card-hover: 0 8px 36px rgba(45,122,45,0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --font: 'Poppins', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font); color: var(--text-dark); background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--green-dark); color: #cde7cd; font-size: 13px; }
.top-bar a { color: #cde7cd; }
.top-bar a:hover { color: #fff; }
.top-social { width: 26px; height: 26px; background: rgba(255,255,255,.15); border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }

/* ===== NAVBAR ===== */
.main-navbar { background: #fff; box-shadow: 0 2px 16px rgba(45,122,45,.10); padding: 0; z-index: 1000; }
.brand-logo { display: flex; align-items: center; gap: 8px; }
.brand-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--green), var(--green-light));
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--green); letter-spacing: -.5px; }
.navbar-nav .nav-link { font-weight: 500; font-size: 14px; color: var(--text-dark); padding: 20px 14px; border-bottom: 3px solid transparent; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--green); border-bottom-color: var(--green); }
.btn-list-property { background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff; font-weight: 600; font-size: 13px; padding: 8px 18px; border-radius: 6px; border: none; }
.btn-list-property:hover { background: var(--green-dark); color: #fff; }
.call-now-box { display: flex; align-items: center; gap: 8px; background: var(--bg-light);
    border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; }
.call-icon { width: 32px; height: 32px; background: var(--green); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.call-now-box small { font-size: 10px; color: var(--text-muted); display: block; line-height: 1; }
.call-number { font-size: 13px; font-weight: 700; color: var(--green); }
.dropdown-menu { border: none; box-shadow: 0 8px 30px rgba(0,0,0,.12); border-radius: var(--radius-sm); min-width: 180px; }
.dropdown-item:hover { background: var(--bg-section); color: var(--green); }

/* ===== HERO SECTION ===== */
.hero-section { position: relative; min-height: 650px; background: #063828; overflow: hidden; }
.hero-carousel-inner, #heroCarousel, #heroCarousel .carousel-item { min-height: 650px; height: 100%; }
.hero-slide { position: relative; min-height: 650px; width: 100%; height: 100%; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transition: transform 6s ease; }
#heroCarousel .carousel-item.active .hero-bg { transform: scale(1.05); }
.hero-bg::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6, 56, 40, 0.72) 0%, rgba(11, 107, 80, 0.65) 50%, rgba(6, 56, 40, 0.82) 100%); z-index: 1; }

.hero-content-center { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.hero-title { font-size: clamp(32px, 5.5vw, 54px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 4px; text-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.hero-highlight { color: #F4B942; font-size: clamp(34px, 6vw, 58px); margin-bottom: 12px; font-weight: 800; text-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.hero-subtitle { color: rgba(255,255,255,.92); font-size: clamp(15px, 2vw, 18px); margin: 0 auto 28px; max-width: 650px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }

/* Centered Search Console Box */
.hero-search-box-center { background: rgba(255, 255, 255, 0.96); border-radius: 16px; 
    padding: 20px 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38); max-width: 1020px; margin: 0 auto; backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.4); text-align: left; }
.hero-search-box-center .search-field { flex: 1; min-width: 140px; }
.search-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 2px; }
.search-select { border: none; background: transparent; font-size: 14px; font-weight: 600; color: var(--text-dark); width: 100%; cursor: pointer; outline: none; padding: 2px 0; }
.search-field-wrap { border-right: 1px solid var(--border); padding-right: 18px; margin-right: 14px; }
.search-field-wrap:last-of-type { border-right: none; }
.search-field-icon { color: var(--green); font-size: 18px; margin-right: 10px; }
.btn-search-property { background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff; font-weight: 700; font-size: 15px; padding: 13px 30px; border-radius: var(--radius-sm); border: none; white-space: nowrap; box-shadow: 0 4px 16px rgba(11,107,80,0.35); transition: all .3s ease; }
.btn-search-property:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(11,107,80,0.5); }

/* Hero carousel dots */
.carousel-indicators [data-bs-target] { 
    width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); margin: 0 5px; border: none; }
.carousel-indicators .active { background: #F4B942; transform: scale(1.2); }

/* ===== SECTION COMMON ===== */
.section-title { font-size: 22px; font-weight: 700; color: var(--text-dark); position: relative; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--green); border-radius: 2px; margin-top: 6px; }
.section-subtitle { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* ===== PROPERTY CATEGORIES ===== */
.categories-section { background: #fff; padding: 40px 0 30px; }
.category-card { text-align: center; cursor: pointer; transition: all .25s; }
.category-icon-wrap { width: 72px; height: 72px; background: var(--bg-section); border: 2px solid var(--border);
    border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
    transition: all .25s; font-size: 28px; color: var(--green); }
.category-card:hover .category-icon-wrap { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(45,122,45,.25); }
.category-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.category-card:hover .category-name { color: var(--green); }

/* ===== PROPERTY CARDS ===== */
.properties-section { background: var(--bg-section); padding: 40px 0; }
.prop-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); transition: all .3s; border: 1px solid var(--border); }
.prop-card:hover { box-shadow: var(--card-hover); transform: translateY(-4px); }
.prop-img-wrap { position: relative; overflow: hidden; height: 200px; }
.prop-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prop-card:hover .prop-img-wrap img { transform: scale(1.06); }
.prop-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 4px; color: #fff; background: var(--green); text-transform: uppercase; letter-spacing: .5px; }
.prop-badge.ready { background: var(--yellow); color: #fff; }
.prop-badge.rent { background: #0d6efd; }
.prop-body { padding: 14px 16px; }
.prop-title { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop-location { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.prop-location i { color: var(--green); font-size: 11px; }
.prop-price { font-size: 18px; font-weight: 800; color: var(--green); margin-bottom: 6px; }
.prop-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.prop-meta span { display: flex; align-items: center; gap: 4px; }
.prop-meta i { color: var(--green); }
.btn-view-details { width: 100%; background: transparent; color: var(--green); border: 2px solid var(--green);
    border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; padding: 7px; transition: all .2s; }
.btn-view-details:hover { background: var(--green); color: #fff; }

/* ===== TRENDING/FREQUENTLY SEARCHED ===== */
.trending-section { background: #fff; padding: 40px 0; }
.trending-scroll-wrap { position: relative; }
.trending-scroll { display: flex; gap: 18px; overflow-x: hidden; scroll-behavior: smooth; padding-bottom: 4px; }
.trending-card { min-width: 180px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--card-shadow); border: 1px solid var(--border); flex-shrink: 0; cursor: pointer; transition: all .25s; background: #fff; }
.trending-card:hover { transform: translateY(-3px); box-shadow: var(--card-hover); }
.trending-img { height: 120px; overflow: hidden; position: relative; }
.trending-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.trending-card:hover .trending-img img { transform: scale(1.08); }
.trending-body { padding: 10px 12px; }
.trending-title { font-size: 13px; font-weight: 700; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trending-loc { font-size: 11px; color: var(--text-muted); }
.trending-price { font-size: 13px; font-weight: 800; color: var(--green); }
.trending-searches { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; gap: 3px; margin-top: 2px; }
.trending-searches i { color: var(--yellow); }
.scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 36px; height: 36px;
    background: #fff; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 14px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: all .2s; }
.scroll-btn:hover { background: var(--green); color: #fff; }
.scroll-btn.prev { left: -18px; }
.scroll-btn.next { right: -18px; }

/* ===== SERVICES SECTION (3 PER ROW ELEGANT CARDS) ===== */
.services-section {
    background: #ffffff;
    padding: 75px 0;
}
.service-card-v2 {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 26px;
    box-shadow: 0 10px 30px rgba(11, 107, 80, 0.07);
    border: 1px solid rgba(11, 107, 80, 0.12);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, #0B6B50, #F4B942);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.service-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(11, 107, 80, 0.16);
    border-color: #0B6B50;
}
.service-card-v2:hover::before {
    opacity: 1;
}
.service-card-icon-box {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #e8f5f0 0%, #cde7cd 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #0B6B50;
    margin-bottom: 22px;
    transition: all 0.35s ease;
}
.service-card-v2:hover .service-card-icon-box {
    background: linear-gradient(135deg, #0B6B50 0%, #13855f 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 107, 80, 0.3);
    transform: scale(1.05);
}
.service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f1e1a;
    margin-bottom: 10px;
}
.service-card-desc {
    font-size: 13px;
    color: #6e877d;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}
.service-card-footer {
    margin-top: auto;
}
.service-link {
    font-size: 13px;
    font-weight: 700;
    color: #0B6B50;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease;
}
.service-link:hover {
    color: #F4B942;
}
.service-link i {
    transition: transform 0.25s ease;
}
.service-link:hover i {
    transform: translateX(4px);
}

/* Old service card compatibility */
.service-card { text-align: center; padding: 30px 20px; background: #fff; border-radius: var(--radius);
    box-shadow: var(--card-shadow); border: 1px solid var(--border); transition: all .3s; height: 100%; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover); border-color: var(--green); }
.service-icon-wrap { width: 70px; height: 70px; background: linear-gradient(135deg, var(--bg-section), #e8f5e8);
    border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 26px; color: var(--green); transition: all .3s; }
.service-card:hover .service-icon-wrap { background: var(--green); color: #fff; border-color: var(--green); }
.service-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.service-desc { font-size: 13px; color: var(--text-muted); }

/* ===== PROCESS SECTION (ELEGANT UI) ===== */
.process-section {
    background: linear-gradient(180deg, #f7faf8 0%, #edf5f1 100%);
    padding: 85px 0;
    position: relative;
}
.process-badge-label {
    display: inline-block;
    background: rgba(11, 107, 80, 0.1);
    color: #0B6B50;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
}
.process-flow-wrapper {
    overflow-x: auto;
    padding: 25px 10px;
    scrollbar-width: none;
}
.process-flow-wrapper::-webkit-scrollbar { display: none; }
.process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 900px;
}
.process-card-step {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 18px 22px;
    text-align: center;
    position: relative;
    flex: 1;
    max-width: 175px;
    box-shadow: 0 10px 30px rgba(11, 107, 80, 0.08);
    border: 1px solid rgba(11, 107, 80, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-card-step::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 4px;
    background: linear-gradient(90deg, #0B6B50, #F4B942);
    border-radius: 0 0 4px 4px;
    transition: all 0.35s ease;
}
.process-card-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 107, 80, 0.18);
    border-color: #0B6B50;
}
.process-card-step:hover::before {
    left: 10%; right: 10%;
}
.process-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    position: relative;
}
.process-icon-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0B6B50 0%, #13855f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(11, 107, 80, 0.3);
    transition: all 0.35s ease;
}
.process-card-step:hover .process-icon-inner {
    background: linear-gradient(135deg, #F4B942 0%, #d4991a 100%);
    box-shadow: 0 10px 25px rgba(244, 185, 66, 0.45);
    transform: rotate(6deg) scale(1.06);
}
.process-step-num {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F4B942;
    color: #0f1e1a;
    border: 2px solid #ffffff;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
}
.process-card-step:hover .process-step-num {
    background: #0B6B50;
    color: #ffffff;
}
.process-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f1e1a;
    line-height: 1.3;
}
.process-desc {
    font-size: 11px;
    color: #6e877d;
    line-height: 1.5;
    margin: 0;
}

/* Arrow Connector */
.process-arrow-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 55px;
    flex-shrink: 0;
    width: 55px;
}
.process-arrow {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}
.arrow-dot.start {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0B6B50;
    margin-right: -2px;
}
.arrow-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #0B6B50 0%, #13855f 80%, #F4B942 100%);
    border-radius: 2px;
}
.arrow-head {
    color: #F4B942;
    font-size: 13px;
    margin-left: -5px;
}

/* ===== STATS / COUNTER ===== */
.stats-section { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); padding: 60px 0; }
.stat-box { text-align: center; color: #fff; }
.stat-number { font-size: 42px; font-weight: 800; line-height: 1; color: var(--yellow-light); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 4px; }
.stat-sub { font-size: 12px; color: rgba(255,255,255,.65); }

/* ===== TESTIMONIALS (3 PER ROW SLIDER) ===== */
.testimonials-section { background: #f8faf9; padding: 60px 0 40px; }
.testimonial-carousel-wrap,
#testimonialCarousel .carousel-inner,
#testimonialCarousel .carousel-item { min-height: auto !important; height: auto !important; }
.testi-card { background: #ffffff; border-radius: 20px; padding: 26px 22px; box-shadow: 0 8px 25px rgba(11,107,80,0.07); border: 1px solid rgba(11,107,80,0.1); transition: all 0.35s ease; height: 100%; position: relative; }
.testi-card:hover { transform: translateY(-5px); box-shadow: 0 14px 35px rgba(11,107,80,0.14); border-color: #0B6B50; }
.testi-stars { color: #F4B942; font-size: 14px; }
.testi-text { font-size: 13px; color: #3a4f47; font-style: italic; line-height: 1.65; margin-bottom: 14px; min-height: 54px; }
.testi-avatar { width: 42px; height: 42px; background: linear-gradient(135deg, #0B6B50, #13855f); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 700; font-size: 16px; flex-shrink: 0; box-shadow: 0 4px 10px rgba(11,107,80,0.2); }
.testi-author { font-weight: 700; font-size: 14px; color: #0f1e1a; }
.testi-location { font-size: 11px; color: #6e877d; }
.testimonial-carousel-wrap .carousel-indicators { position: relative; margin-top: 20px; margin-bottom: 0; }

/* ===== CONTACT SECTION ===== */
.contact-section { background: #fff; padding: 50px 0; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-icon { width: 44px; height: 44px; background: var(--bg-section); border: 2px solid var(--border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--green); flex-shrink: 0; }
.contact-info-text { font-size: 14px; }
.contact-info-text strong { display: block; font-weight: 700; margin-bottom: 2px; }
.contact-form .form-control { border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 10px 14px; font-size: 14px; color: var(--text-dark); background: var(--bg-light); }
.contact-form .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,122,45,.12); background: #fff; }
.contact-form .form-label { font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.btn-send { background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff; font-weight: 700; padding: 12px 40px; border-radius: var(--radius-sm); border: none; font-size: 15px; }
.btn-send:hover { background: var(--green-dark); color: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; height: 280px; box-shadow: var(--card-shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ===== FOOTER ===== */
.main-footer { background: #0d240d !important; color: #cde7cd !important; width: 100% !important; clear: both !important; margin-top: auto !important; position: relative !important; z-index: 10 !important; }
.footer-top { padding: 50px 0 30px !important; }
.footer-heading { color: #ffffff !important; font-weight: 700 !important; font-size: 14px !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 16px !important; position: relative !important; padding-bottom: 8px !important; }
.footer-heading::after { content: '' !important; position: absolute !important; bottom: 0 !important; left: 0 !important; width: 30px !important; height: 2px !important; background: #3a9c3a !important; }
.footer-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-links li { margin-bottom: 8px !important; }
.footer-links a { color: #9dc89d !important; font-size: 13px !important; transition: color .2s !important; display: flex !important; align-items: center !important; gap: 6px !important; text-decoration: none !important; }
.footer-links a:hover { color: #f5c842 !important; padding-left: 4px !important; }
.footer-about { font-size: 13px !important; color: #9dc89d !important; line-height: 1.7 !important; }
.footer-social { display: flex !important; gap: 10px !important; }
.social-btn { width: 34px !important; height: 34px !important; background: rgba(255,255,255,.1) !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important; color: #cde7cd !important; font-size: 14px !important; transition: all .2s !important; }
.social-btn:hover { background: #2d7a2d !important; color: #fff !important; }
.newsletter-form .form-control { background: rgba(255,255,255,.1) !important; border: 1px solid rgba(255,255,255,.2) !important; color: #fff !important; font-size: 13px !important; border-radius: 8px 0 0 8px !important; }
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.5) !important; }
.newsletter-form .form-control:focus { background: rgba(255,255,255,.15) !important; border-color: #3a9c3a !important; box-shadow: none !important; color: #fff !important; }
.btn-primary-green { background: #2d7a2d !important; color: #fff !important; border: none !important; font-size: 12px !important; font-weight: 600 !important; border-radius: 0 8px 8px 0 !important; }
.btn-primary-green:hover { background: #3a9c3a !important; color: #fff !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08) !important; background: #071507 !important; width: 100% !important; }
.footer-copy { font-size: 13px !important; color: #7daa7d !important; }

/* ===== SECTION HEADER ROW ===== */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.btn-view-all { background: transparent; color: var(--green); border: 2px solid var(--green);
    border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; padding: 6px 16px; transition: all .2s; }
.btn-view-all:hover { background: var(--green); color: #fff; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 50px 0 30px; color: #fff; }
.page-hero h1 { font-size: 32px; font-weight: 800; }
.breadcrumb-item { font-size: 13px; }
.breadcrumb-item a { color: rgba(255,255,255,.75); }
.breadcrumb-item.active { color: var(--yellow-light); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ===== ALERT MESSAGES ===== */
.alert-success-custom { background: #e8f5e8; border: 1px solid var(--green); color: var(--green-dark); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; }

/* ===== PROPERTY LISTING PAGE ===== */
.filter-sidebar { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 20px; border: 1px solid var(--border); }
.filter-sidebar .form-label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.filter-sidebar .form-select, .filter-sidebar .form-control { font-size: 13px; border-color: var(--border); }
.filter-sidebar .form-select:focus, .filter-sidebar .form-control:focus { border-color: var(--green); box-shadow: none; }
.btn-filter { width: 100%; background: var(--green); color: #fff; border: none; border-radius: var(--radius-sm); padding: 10px; font-weight: 600; font-size: 14px; }
.btn-filter:hover { background: var(--green-dark); color: #fff; }
.btn-reset { width: 100%; background: transparent; color: var(--text-muted); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 8px; font-size: 13px; margin-top: 8px; }

/* ===== PROPERTY DETAIL PAGE ===== */
.detail-gallery { border-radius: var(--radius); overflow: hidden; }
.detail-main-img { width: 100%; height: 380px; object-fit: cover; }
.detail-thumb { width: 100%; height: 90px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 3px solid transparent; transition: border .2s; }
.detail-thumb.active, .detail-thumb:hover { border-color: var(--green); }
.detail-price { font-size: 30px; font-weight: 800; color: var(--green); }
.detail-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.detail-meta-item i { color: var(--green); width: 20px; }
.detail-meta-item strong { margin-right: 4px; }
.contact-agent-card { background: var(--bg-section); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }

/* ===== ABOUT PAGE ===== */
.about-img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); position: relative; }
.about-badge { position: absolute; bottom: 20px; left: 20px; background: var(--green);
    color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.about-feature-icon { width: 40px; height: 40px; background: var(--bg-section); border: 2px solid var(--border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 16px; flex-shrink: 0; }

/* ===== ADMIN PANEL ===== */
.admin-body { font-family: var(--font); background: #f0f4f0; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--green-dark); min-height: 100vh; position: fixed; top: 0; left: 0; z-index: 100; overflow-y: auto; }
.admin-sidebar-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar .nav-link { color: rgba(255,255,255,.75); padding: 10px 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; transition: all .2s; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.admin-sidebar .nav-link i { width: 18px; }
.admin-sidebar .nav-section { padding: 10px 20px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.4); font-weight: 700; }
.admin-main { margin-left: 250px; }
.admin-topbar { background: #fff; padding: 14px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.06); display: flex; justify-content: space-between; align-items: center; }
.admin-content { padding: 24px; }
.admin-card { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 1px solid #e8e8e8; }
.stat-card { padding: 24px; display: flex; align-items: center; gap: 16px; }
.stat-card-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.stat-card-icon.green { background: #e8f5e8; color: var(--green); }
.stat-card-icon.blue { background: #e8f0fe; color: #1a73e8; }
.stat-card-icon.orange { background: #fef3e2; color: #f57c00; }
.stat-card-icon.red { background: #fce8e6; color: #d93025; }
.stat-card-num { font-size: 28px; font-weight: 800; color: var(--text-dark); }
.stat-card-label { font-size: 13px; color: var(--text-muted); }
.admin-table { width: 100%; font-size: 14px; }
.admin-table th { background: var(--bg-section); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); padding: 12px 16px; border: none; }
.admin-table td { padding: 12px 16px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.admin-table tr:last-child td { border-bottom: none; }
.badge-active { background: #e8f5e8; color: var(--green); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-inactive { background: #fce8e6; color: #d93025; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.btn-admin-edit { background: #e8f0fe; color: #1a73e8; border: none; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.btn-admin-delete { background: #fce8e6; color: #d93025; border: none; border-radius: 6px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.btn-admin-add { background: var(--green); color: #fff; border: none; border-radius: 8px; padding: 8px 18px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.btn-admin-add:hover { background: var(--green-dark); color: #fff; }
.admin-form-card { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 28px; }
.admin-form-card .form-label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.admin-form-card .form-control, .admin-form-card .form-select { font-size: 14px; border-color: var(--border); border-radius: var(--radius-sm); }
.admin-form-card .form-control:focus, .admin-form-card .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,122,45,.12); }
.btn-admin-save { background: var(--green); color: #fff; border: none; border-radius: var(--radius-sm); padding: 10px 30px; font-size: 15px; font-weight: 700; }
.btn-admin-save:hover { background: var(--green-dark); color: #fff; }

/* ===== LOGIN PAGE ===== */
.admin-login-page { min-height: 100vh; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%); display: flex; align-items: center; justify-content: center; }
.login-card { background: #fff; border-radius: 20px; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.login-card .form-control { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; border-color: var(--border); }
.login-card .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,122,45,.12); }
.btn-login { background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; border: none;
    border-radius: var(--radius-sm); padding: 12px; font-size: 16px; font-weight: 700; width: 100%; }
.btn-login:hover { background: var(--green-dark); color: #fff; }

/* ===== PLACEHOLDER IMAGES ===== */
.prop-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #c8e6c8, #a5d6a5); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--green); }

/* ===== MOBILE CALL BUTTON (in navbar) ===== */
.mobile-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    transition: background 0.2s;
}
.mobile-call-btn:hover { background: var(--green-dark); color: #fff; }

/* ===== RESPONSIVE ===== */
/* ===== ADMIN SIDEBAR OVERLAY (mobile/tablet) ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1040;
}
.sidebar-overlay.active { display: block; }

@media (max-width: 1023px) {
    /* Tablet + Mobile: sidebar hidden off-canvas */
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100vh;
        z-index: 1050;
        transition: left 0.3s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
    }
    .admin-sidebar.sidebar-open {
        left: 0;
    }
    .admin-main {
        margin-left: 0 !important;
    }
    #sidebarToggle {
        display: inline-flex !important;
    }
}
@media (min-width: 1024px) {
    /* Desktop: sidebar always visible */
    .admin-sidebar {
        left: 0 !important;
        transition: none;
    }
    .admin-main { margin-left: 250px; }
    #sidebarToggle { display: none !important; }
    .sidebar-overlay { display: none !important; }
}
@media (max-width: 991px) {
    .navbar-nav .nav-link { padding: 10px 12px; border-bottom: none; }
    .process-card-step::after { display: none; }
    .hero-content-center { padding: 30px 12px; }
    .hero-search-box-center { padding: 16px 14px; }
    .hero-search-box-center .d-flex { flex-wrap: wrap; }

    /* Mobile nav dropdown — full width */
    #navbarNav { background: #fff; border-top: 1px solid var(--border); padding: 8px 0 16px; }
    #navbarNav .navbar-nav .nav-link { padding: 11px 20px; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 15px; }
    #navbarNav .navbar-nav .nav-link:last-child { border-bottom: none; }
    #navbarNav .dropdown-menu { box-shadow: none; border: none; background: var(--bg-section); border-radius: 0; padding: 4px 0 4px 12px; }
    #navbarNav .d-flex.align-items-center { padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
    #navbarNav .btn-list-property { width: 100%; text-align: center; }
}
@media (max-width: 767px) {
    .hero-section { min-height: 700px; }
    .hero-slide { min-height: 700px; }
    .hero-content-center { align-items: center; padding: 24px 12px; }
    .hero-search-box-center { padding: 14px 14px; }
    .hero-search-box-center form.d-flex { flex-direction: column !important; gap: 12px !important; }
    .search-field-wrap { border-right: none !important; border-bottom: 1px solid var(--border); padding-right: 0 !important; margin-right: 0 !important; padding-bottom: 10px; width: 100%; }
    .search-field-wrap:last-of-type { border-bottom: none; }
    .btn-search-property { width: 100%; justify-content: center; }

    /* Process section mobile — 2-column grid, no horizontal scroll */
    .process-flow-wrapper { overflow-x: visible; padding: 16px 0; }
    .process-flow {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        min-width: unset;
        justify-items: center;
        align-items: start;
    }
    .process-card-step { max-width: 100%; width: 100%; }
    .process-arrow-wrap { display: none; }

    /* Testimonials mobile */
    .testi-card { padding: 22px 18px; }
    .testi-text { min-height: unset; }

    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .stats-section { text-align: center; }

    /* Trending section mobile */
    .trending-scroll-wrap { padding: 0 8px; }
    .trending-scroll { overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
    .trending-card { min-width: 150px; }
    .scroll-btn { display: none; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 28px; }
    .hero-highlight { font-size: 32px; }
    .stat-number { font-size: 32px; }
    .detail-main-img { height: 250px; }
    .process-badge-label { font-size: 11px; padding: 5px 14px; }
    .section-title { font-size: 20px; }

    /* Single column process steps on very small phones */
    .process-flow {
        grid-template-columns: 1fr;
    }
    .process-card-step { max-width: 340px; }

    /* Trending: full-width scroll with thinner cards */
    .trending-card { min-width: 140px; }
    .trending-img { height: 100px; }
}

/* Badge Custom Colors */
.prop-badge.badge-sale { background: linear-gradient(135deg, #198754, #20c997); color: #fff; }
.prop-badge.badge-rent { background: linear-gradient(135deg, #0d6efd, #0dcaf0); color: #fff; }
.prop-badge.badge-lease { background: linear-gradient(135deg, #ff9900, #ffc107); color: #000; font-weight: 800; }
.cursor-pointer { cursor: pointer; }

/* ===== HORIZONTAL REAL-TIME ANIMATED PROCESS SECTION (EXECUTIVE THEME - #266B26 ACCENT) ===== */
.process-section-horizontal {
    background: linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
    padding: 85px 0 90px;
    position: relative;
    overflow: hidden;
    color: #0f172a;
}

.process-section-horizontal::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(38, 107, 38, 0.1) 0%, rgba(38, 107, 38, 0.04) 50%, rgba(0,0,0,0) 75%);
    pointer-events: none;
}

/* Live Status Badge Header */
.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 185, 66, 0.12);
    border: 1px solid rgba(244, 185, 66, 0.4);
    color: #F4B942;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
}
.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #F4B942;
    border-radius: 50%;
    box-shadow: 0 0 10px #F4B942;
    animation: liveDotPulse 1.5s infinite;
}
@keyframes liveDotPulse {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(244, 185, 66, 0.7); }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 0 8px rgba(244, 185, 66, 0); }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(244, 185, 66, 0); }
}

.section-title-emerald {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 1px;
}
.section-title-emerald span {
    color: #F4B942;
    background: linear-gradient(135deg, #F4B942 0%, #D99F2B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.section-subtitle-emerald {
    color: #475569;
    font-size: 14.5px;
    max-width: 650px;
    margin: 8px auto 0;
}

/* Horizontal Pipeline Track Container */
.horizontal-pipeline-wrapper {
    position: relative;
    margin-top: 55px;
    padding: 30px 10px;
}

/* Solid Line Track Base & Animated Laser Beam */
.pipeline-track-base {
    position: absolute;
    top: 80px;
    left: 5%;
    right: 5%;
    height: 8px;
    background: #5BC0F3;
    border-radius: 8px;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 14px rgba(91, 192, 243, 0.6);
}
.pipeline-track-active {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #5BC0F3, #8be0ff, #5BC0F3);
    opacity: 1;
}
.pipeline-laser-beam {
    position: absolute;
    top: 0;
    left: -20%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ffffff, #5BC0F3, transparent);
    box-shadow: 0 0 15px #5BC0F3, 0 0 25px #ffffff;
    animation: laserScan 2.8s infinite linear;
}
@keyframes laserScan {
    0% { left: -30%; }
    100% { left: 110%; }
}

/* Horizontal Steps Flex Layout */
.horizontal-steps-flex {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 16px;
}

/* Individual Horizontal Step Card */
.horizontal-step-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

/* Pipeline Node Container & Radar Ring */
.pipeline-node-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    z-index: 3;
}
.step-badge-num {
    font-size: 11px;
    font-weight: 900;
    color: #ffffff;
    background: #266B26;
    padding: 2px 9px;
    border-radius: 12px;
    margin-bottom: 6px;
    box-shadow: 0 2px 10px rgba(38, 107, 38, 0.35);
    letter-spacing: 0.5px;
}
.pipeline-node-orb {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 3px solid #266B26;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #266B26;
    position: relative;
    box-shadow: 0 10px 25px rgba(38, 107, 38, 0.16), inset 0 0 15px rgba(38, 107, 38, 0.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

/* Radar Pulse Ring around Orb */
.node-radar-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(91, 192, 243, 0.5);
    border-radius: 50%;
    animation: radarPulse 2s infinite ease-out;
}
@keyframes radarPulse {
    0% { transform: scale(0.85); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.horizontal-step-card:hover .pipeline-node-orb {
    transform: scale(1.15) translateY(-5px);
    border-color: #5BC0F3;
    background: linear-gradient(135deg, #5BC0F3 0%, #0284C7 100%);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(91, 192, 243, 0.4), 0 0 20px rgba(91, 192, 243, 0.5);
}

.live-signal-badge {
    margin-top: 10px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #266B26;
    background: #ffffff;
    border: 1px solid rgba(38, 107, 38, 0.25);
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    white-space: nowrap;
}

/* Step Content Card */
.step-card-body {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 20px 16px;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.35s ease;
}
.horizontal-step-card:hover .step-card-body {
    background: #ffffff;
    border-color: rgba(38, 107, 38, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(38, 107, 38, 0.15);
}
.step-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.step-card-desc {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Real-time Data Packets (Pulsing Orbs Moving Between Steps) */
.realtime-data-connector {
    position: absolute;
    top: 80px;
    right: -25px;
    width: 50px;
    height: 10px;
    z-index: 2;
    pointer-events: none;
}
.data-packet {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #5BC0F3;
    border-radius: 50%;
    box-shadow: 0 0 8px #5BC0F3, 0 0 12px #8be0ff;
    opacity: 0;
}
.data-packet.p1 { animation: packetMove 2s infinite ease-in-out 0s; }
.data-packet.p2 { animation: packetMove 2s infinite ease-in-out 0.6s; }
.data-packet.p3 { animation: packetMove 2s infinite ease-in-out 1.2s; }

@keyframes packetMove {
    0% { left: -10px; opacity: 0; transform: translateY(-50%) scale(0.5); }
    30% { opacity: 1; transform: translateY(-50%) scale(1.2); }
    80% { opacity: 1; transform: translateY(-50%) scale(1); }
    100% { left: 45px; opacity: 0; transform: translateY(-50%) scale(0.5); }
}

/* Responsive Touch Horizontal Scroll on Mobile/Tablet */
@media (max-width: 991px) {
    .horizontal-pipeline-wrapper {
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    .horizontal-steps-flex {
        min-width: 900px;
        gap: 20px;
    }
    .pipeline-track-base, .persons-moving-track {
        min-width: 900px;
        left: 20px;
        right: 20px;
    }
}

/* ===== 2-PERSON ANIMATED WORKFLOW LEGEND & CONTROLLER ===== */
.persons-legend-wrap {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    flex-wrap: wrap;
    justify-content: center;
}
.legend-person {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #0f172a;
}
.avatar-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.buyer-legend .avatar-badge {
    background: linear-gradient(135deg, #266B26, #1b4f1b);
}
.agent-legend .avatar-badge {
    background: linear-gradient(135deg, #266B26, #1b4f1b);
}
.legend-connector {
    color: #94a3b8;
    font-size: 14px;
}
.btn-play-flow {
    background: linear-gradient(135deg, #266B26, #1b4f1b);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(38, 107, 38, 0.3);
    transition: all 0.3s ease;
}
.btn-play-flow:hover, .btn-play-flow.active {
    background: #F5C842;
    color: #0f172a;
    box-shadow: 0 6px 20px rgba(245, 200, 66, 0.4);
}

/* Moving Avatars Track directly on the Green Line (y = 80px) */
.persons-moving-track {
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 80px;
    z-index: 5;
    pointer-events: none;
}

/* Lottie Characters walking ON TOP of Green Line */
.lottie-character {
    position: absolute;
    top: 16px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: left 0.8s cubic-bezier(0.34, 1.25, 0.64, 1);
    transform: translateX(-50%);
}
.buyer-character { z-index: 6; }
.advisor-character { z-index: 7; }

/* Speech Bubbles Communication Effect */
.character-chat-bubble {
    position: absolute;
    top: -32px;
    background: #ffffff;
    border: 1.5px solid #266B26;
    color: #0f172a;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 9.5px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 4px;
    animation: chatFloat 2.2s infinite ease-in-out alternate;
}
.character-chat-bubble i {
    color: #266B26;
}
.character-chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #266B26 transparent;
    display: block;
    width: 0;
}

@keyframes chatFloat {
    0% { transform: translateY(0) scale(0.95); opacity: 0.85; }
    50% { transform: translateY(-4px) scale(1.05); opacity: 1; }
    100% { transform: translateY(0) scale(0.95); opacity: 0.85; }
}

/* SVG Walking Figure & Lottie Leg Animations */
.svg-walking-figure {
    animation: bodyBob 0.6s infinite ease-in-out alternate;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
.figure-shadow {
    fill: rgba(15, 23, 42, 0.4);
    animation: shadowPulse 0.6s infinite ease-in-out alternate;
}

/* Leg & Arm Walking Cycle Keyframes (Lottie Style) */
.leg-front {
    transform-origin: 32px 45px;
    animation: legWalkFront 0.6s infinite ease-in-out alternate;
}
.leg-back {
    transform-origin: 28px 45px;
    animation: legWalkBack 0.6s infinite ease-in-out alternate;
}
.arm-front {
    transform-origin: 32px 28px;
    animation: armSwingFront 0.6s infinite ease-in-out alternate;
}
.arm-back {
    transform-origin: 28px 28px;
    animation: armSwingBack 0.6s infinite ease-in-out alternate;
}

@keyframes bodyBob {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}
@keyframes legWalkFront {
    0% { transform: rotate(-24deg); }
    100% { transform: rotate(24deg); }
}
@keyframes legWalkBack {
    0% { transform: rotate(24deg); }
    100% { transform: rotate(-24deg); }
}
@keyframes armSwingFront {
    0% { transform: rotate(20deg); }
    100% { transform: rotate(-20deg); }
}
@keyframes armSwingBack {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}
@keyframes shadowPulse {
    0% { transform: scaleX(1); opacity: 0.5; }
    100% { transform: scaleX(0.65); opacity: 0.2; }
}


/* Character Labels under feet */
.lottie-label {
    font-size: 8.5px;
    font-weight: 900;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 10px;
    margin-top: 1px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.buyer-tag { background: #5BC0F3; }
.advisor-tag { background: #266B26; }

/* Active Step Highlight */
.horizontal-step-card.active-step .pipeline-node-orb {
    transform: scale(1.18) translateY(-6px);
    border-color: #F5C842;
    background: linear-gradient(135deg, #5BC0F3 0%, #0284C7 100%);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(91, 192, 243, 0.45), 0 0 25px rgba(245, 200, 66, 0.6);
}
.horizontal-step-card.active-step .step-card-body {
    background: #ffffff;
    border-color: #5BC0F3;
    box-shadow: 0 18px 45px rgba(91, 192, 243, 0.25);
    transform: translateY(-6px);
}
.person-action-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(38, 107, 38, 0.08);
    color: #266B26;
    font-weight: 700;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(38, 107, 38, 0.15);
}
.horizontal-step-card.active-step .person-action-pill {
    background: #F5C842;
    color: #0f172a;
    border-color: #F5C842;
}

.completion-crown {
    position: absolute;
    top: -12px;
    font-size: 16px;
    color: #F5C842;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    animation: crownGlow 1.5s infinite alternate;
}
@keyframes crownGlow {
    0% { transform: scale(0.9); }
    100% { transform: scale(1.2); }
}

/* ===================================================
   Property Detail Page Styles (Matching Reference & Theme)
   =================================================== */
.prop-detail-wrapper {
    background: var(--bg-light, #f8fdf8);
    padding-bottom: 60px;
}

/* Gallery Box */
.prop-detail-gallery-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border, #e0ede0);
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.prop-main-gallery-view {
    position: relative;
    width: 100%;
    height: 480px;
    background: #0d1b15;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prop-main-gallery-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #1a1a2e;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.1);
    color: var(--green);
}

.gallery-nav-prev { left: 16px; }
.gallery-nav-next { right: 16px; }

.gallery-counter-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.gallery-thumb-item {
    width: 90px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-item:hover, .gallery-thumb-item.active {
    border-color: var(--yellow, #c8a227);
    opacity: 1;
    transform: translateY(-2px);
}

/* Sidebar Cards */
.prop-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border, #e0ede0);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin-bottom: 24px;
}

/* Asking Price Box (Dark theme) */
.asking-price-card {
    background: #1c2620;
    color: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    margin-bottom: 24px;
}

.asking-price-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #a0aec0;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.asking-price-value {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.asking-price-badge {
    display: inline-block;
    background: #f5c842;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 14px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.btn-call-owner {
    background: #00c2e0;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.25s ease;
    text-decoration: none;
}
.btn-call-owner:hover {
    background: #00a4bd;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 194, 224, 0.35);
}

.btn-whatsapp-chat {
    background: #198754;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    width: 100%;
    margin-bottom: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
}
.btn-whatsapp-chat:hover {
    background: #146c43;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.35);
}

.asking-price-meta {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}

/* Detail Section Cards */
.prop-detail-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border, #e0ede0);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin-bottom: 24px;
}

.prop-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border, #e0ede0);
}

.prop-card-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--green, #2d7a2d);
    border-radius: 2px;
}

/* Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
}
@media (max-width: 768px) {
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

.spec-item {
    border-left: 3px solid var(--green, #2d7a2d);
    padding-left: 14px;
}

.spec-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted, #6c757d);
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.spec-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark, #1a1a2e);
}

/* Legal Documents List */
.doc-item-row {
    background: var(--bg-section, #f4f9f4);
    border: 1px solid var(--border, #e0ede0);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.doc-item-row:last-child { margin-bottom: 0; }

.doc-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.doc-icon {
    width: 44px;
    height: 44px;
    background: #e2f0e2;
    color: var(--green, #2d7a2d);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.doc-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark, #1a1a2e);
    margin: 0;
}

.doc-access {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-doc-view {
    background: linear-gradient(135deg, var(--green, #2d7a2d), var(--green-light, #3a9c3a));
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-doc-view:hover {
    background: var(--green-dark, #1e5c1e);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Safety Tips Box */
.safety-tips-card {
    background: #fcf9f0;
    border: 1px solid #f0e6c8;
    border-radius: 16px;
    padding: 22px;
}
.safety-tips-title {
    font-size: 16px;
    font-weight: 700;
    color: #7a5c1e;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.safety-tips-list {
    padding-left: 20px;
    margin: 0;
    color: #5a4b2a;
    font-size: 13px;
    line-height: 1.6;
}
.safety-tips-list li {
    margin-bottom: 10px;
}
.safety-tips-list li:last-child {
    margin-bottom: 0;
}




