/* =========================================================
   PropCountry — Frontend styles (Bootstrap 5.3.8 base)
   ========================================================= */
:root {
    --brand: #f58220;
    --brand-600: #e06d0c;
    --brand-50: #fff4ea;
    --brand-100: #ffe3c8;
    --ink: #16171b;
    --ink-2: #2b2d33;
    --muted: #6b6f7a;
    --line: #e9e6e1;
    --soft: #faf7f3;
    --white: #fff;
    --ready: #15803d;
    --uc: #1d4ed8;
    --pre: #9333ea;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(22, 23, 27, .06);
    --shadow: 0 10px 30px -10px rgba(22, 23, 27, .18);
    --shadow-lg: 0 24px 60px -20px rgba(22, 23, 27, .30);
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-color: var(--ink-2);
    --bs-link-color-rgb: 245, 130, 32;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--bs-body-font-family); color: var(--ink-2); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
a { text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
img { max-width: 100%; }
.text-brand { color: var(--brand) !important; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .6rem 1.15rem; }
.btn-sm { padding: .42rem .8rem; font-size: .84rem; border-radius: 8px; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; border-radius: 12px; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); background: #fff; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-post { display: inline-flex; align-items: center; gap: .4rem; background: var(--ink); color: #fff; border: 0; }
.btn-post:hover { background: var(--brand); color: #fff; }
.badge-free { background: #22c55e; color: #fff; font-size: .62rem; font-weight: 800; padding: .18rem .4rem; border-radius: 5px; letter-spacing: .04em; }
.btn-link-dark { color: var(--ink); font-size: 1.15rem; padding: .45rem .6rem; }
.btn-link-dark:hover { color: var(--brand); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #c9cad0; font-size: .8rem; padding: .45rem 0; }
.topbar a, .topbar span { color: #c9cad0; }
.topbar a:hover { color: var(--brand); }
.topbar i { color: var(--brand); margin-right: .25rem; }
.topbar .sep { width: 1px; height: 12px; background: #3d3f46; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); z-index: 1030; transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header .navbar { padding: .55rem 0; }
.navbar-brand img { height: 46px; width: auto; }
.navbar-toggler { border: 1px solid var(--line); padding: .3rem .55rem; font-size: 1.5rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }
.site-header .nav-link { color: var(--ink); font-weight: 600; font-size: .94rem; padding: .6rem .85rem !important; }
.site-header .nav-link:hover, .site-header .nav-link.show { color: var(--brand); }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; }
.site-header .dropdown-item { border-radius: 8px; font-weight: 500; padding: .5rem .85rem; font-size: .92rem; }
.site-header .dropdown-item:hover { background: var(--brand-50); color: var(--brand-600); }
.mega-menu { padding: 1.4rem 1.6rem !important; }
.mega-menu h6 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .7rem; font-weight: 700; }
.mega-menu a { display: block; color: var(--ink-2); font-size: .92rem; padding: .32rem 0; font-weight: 500; }
.mega-menu a:hover { color: var(--brand); transform: translateX(3px); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-actions .btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .site-header .nav-link { padding: .6rem .6rem !important; font-size: .9rem; } .navbar-brand img { height: 40px; } }
.btn-login { border-color: var(--line); color: var(--ink); }
.btn-login:hover { background: var(--ink); border-color: var(--ink); }

@media (min-width: 1200px) {
    .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    .mega-menu { width: 640px; left: 50% !important; transform: translateX(-30%); }
    .site-header .dropdown-menu { animation: dropIn .18s ease-out; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(6px) translateX(var(--tx, 0)); } }
@media (min-width: 1200px) { .mega-menu { --tx: -30%; } }

@media (max-width: 1199.98px) {
    .offcanvas-xl { width: 320px !important; }
    .offcanvas-body { display: flex; flex-direction: column; }
    .site-header .navbar-nav { margin: 0 !important; }
    .site-header .nav-link { padding: .8rem .25rem !important; border-bottom: 1px solid var(--line); }
    .site-header .dropdown-menu { border: 0; box-shadow: none; padding: .25rem 0 .5rem .75rem; }
    .mega-menu { padding: .5rem 0 .75rem .75rem !important; }
    .mega-menu .row { --bs-gutter-y: .75rem; }
    .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1.25rem; }
    .nav-actions .btn { justify-content: center; }
    .navbar-brand img { height: 38px; }
}

/* ---------- Generic sections ---------- */
.section { padding: 84px 0; }
.bg-soft { background: var(--soft); }
.bg-dark-soft { background: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand-600); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .55rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow.light { color: var(--brand); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.sec-head h2, .sec-head-center h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .35rem; }
.sec-head p { color: var(--muted); margin: 0; max-width: 560px; }
.sec-head-center { margin-bottom: 2.5rem; }
.sec-head-center .eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.link-arrow { color: var(--ink); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow.light { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 120px; color: #fff; background: linear-gradient(100deg, rgba(14, 15, 19, .9) 0%, rgba(14, 15, 19, .62) 55%, rgba(14, 15, 19, .35) 100%), var(--hero-img) center/cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .15)); pointer-events: none; }
.hero-copy { max-width: 720px; }
.hero-kicker { display: inline-flex; gap: .45rem; align-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: .4rem .85rem; border-radius: 50px; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); }
.hero-kicker i { color: var(--brand); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.08; margin: 1.1rem 0 1rem; }
.hero h1 span { color: var(--brand); }
.hero-copy p { font-size: 1.1rem; color: rgba(255, 255, 255, .82); max-width: 600px; }

.search-panel { margin-top: 2.2rem; max-width: 1060px; }
.search-tabs { gap: .3rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.search-tabs::-webkit-scrollbar { display: none; }
.search-tabs .nav-link { white-space: nowrap; background: rgba(255, 255, 255, .14); color: #fff; border: 0; border-radius: 12px 12px 0 0; font-weight: 600; font-size: .9rem; padding: .7rem 1.1rem; backdrop-filter: blur(6px); }
.search-tabs .nav-link i { margin-right: .25rem; }
.search-tabs .nav-link:hover { background: rgba(255, 255, 255, .25); }
.search-tabs .nav-link.active { background: #fff; color: var(--brand-600); }
.search-form { background: #fff; border-radius: 0 16px 16px 16px; padding: .6rem; display: flex; align-items: stretch; box-shadow: var(--shadow-lg); }
.sf-field { display: flex; align-items: center; gap: .5rem; padding: 0 1rem; border-right: 1px solid var(--line); min-height: 54px; }
.sf-field i { color: var(--brand); font-size: 1.05rem; }
.sf-field input, .sf-field select { border: 0; outline: 0; background: transparent; width: 100%; font-weight: 500; color: var(--ink); font-size: .95rem; font-family: inherit; }
.sf-field select { cursor: pointer; }
.sf-city { flex: 0 0 200px; }
.sf-query { flex: 1 1 auto; }
.sf-type { flex: 0 0 165px; }
.sf-budget { flex: 0 0 150px; border-right: 0; }
.sf-btn { flex: 0 0 auto; padding: 0 1.8rem; border-radius: 12px; font-size: 1rem; display: inline-flex; align-items: center; gap: .45rem; }
.popular { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; }
.popular span { color: rgba(255, 255, 255, .7); font-weight: 600; }
.popular a { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); padding: .28rem .75rem; border-radius: 50px; }
.popular a:hover { background: var(--brand); border-color: var(--brand); }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 2.8rem; margin-top: 2.8rem; }
.hero-stats strong { display: inline; font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats strong::after { content: "+"; color: var(--brand); }
.hero-stats span { display: block; color: rgba(255, 255, 255, .72); font-size: .88rem; font-weight: 500; }
.hero-stats span::before { content: ''; }

@media (max-width: 991.98px) {
    .hero { padding: 60px 0 100px; }
    .search-form { flex-wrap: wrap; border-radius: 0 14px 14px 14px; gap: .35rem; }
    .sf-field { border: 1px solid var(--line); border-radius: 10px; min-height: 50px; }
    .sf-city, .sf-type, .sf-budget { flex: 1 1 calc(33.33% - .35rem); }
    .sf-query { flex: 1 1 100%; order: -1; }
    .sf-btn { flex: 1 1 100%; justify-content: center; min-height: 50px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; }
}
@media (max-width: 575.98px) {
    .hero { padding: 40px 0 90px; }
    .hero-copy p { font-size: .98rem; }
    .sf-city { flex: 1 1 100%; }
    .sf-type, .sf-budget { flex: 1 1 calc(50% - .35rem); }
    .sf-field { padding: 0 .75rem; }
    .search-tabs .nav-link { padding: .6rem .85rem; font-size: .84rem; }
    .hero-stats strong { font-size: 1.5rem; }
    .popular a:nth-child(n+5) { display: none; }
}

/* ---------- Categories ---------- */
.cat-section { margin-top: -56px; position: relative; z-index: 2; padding-bottom: 72px; }
.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .6rem; border: 1px solid var(--line); }
.cat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.15rem .5rem; border-radius: 12px; color: var(--ink); }
.cat-item strong { font-size: .88rem; font-weight: 700; line-height: 1.2; }
.cat-item small { color: var(--muted); font-size: .74rem; }
.ci-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.45rem; margin-bottom: .2rem; transition: .25s; }
.cat-item:hover { background: var(--soft); }
.cat-item:hover .ci-icon { background: var(--brand); color: #fff; transform: translateY(-3px) rotate(-4deg); }
@media (max-width: 991.98px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575.98px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); padding: .35rem; }
    .cat-item { padding: .8rem .2rem; }
    .cat-item strong { font-size: .72rem; }
    .cat-item small { display: none; }
    .ci-icon { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 12px; }
}

/* ---------- Chip filter ---------- */
.chip-filter { display: flex; gap: .4rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: .3rem; max-width: 100%; }
.chip-filter::-webkit-scrollbar { display: none; }
.chip-filter button { border: 0; background: transparent; padding: .45rem 1rem; border-radius: 50px; font-weight: 600; font-size: .85rem; color: var(--muted); white-space: nowrap; transition: .2s; }
.chip-filter button:hover { color: var(--ink); }
.chip-filter button.active { background: var(--ink); color: #fff; }
.sec-actions { max-width: 100%; }

/* ---------- Project card ---------- */
.project-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: .3s; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pc-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .pc-media img { transform: scale(1.06); }
.pc-media::after { content: ''; position: absolute; inset: 55% 0 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.pc-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: .35rem; z-index: 1; flex-wrap: wrap; }
.pc-badges span { font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 6px; color: #fff; }
.status.st-ready { background: var(--ready); }
.status.st-uc { background: var(--uc); }
.status.st-prelaunch { background: var(--pre); }
.pc-badges .featured { background: var(--brand); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: .2s; }
.fav:hover { color: #e11d48; transform: scale(1.08); }
.fav.on { color: #e11d48; }
.fav.on i::before { content: "\f415"; }
.pc-type { position: absolute; left: 12px; bottom: 12px; z-index: 1; color: #fff; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); padding: .2rem .6rem; border-radius: 6px; backdrop-filter: blur(4px); }
.pc-body { padding: 1.1rem 1.15rem .6rem; flex: 1; }
.pc-dev { font-size: .78rem; font-weight: 700; color: var(--brand-600); text-transform: uppercase; letter-spacing: .04em; }
.pc-body h3 { font-size: 1.18rem; margin: .3rem 0 .2rem; }
.pc-body h3 a { color: var(--ink); }
.pc-body h3 a:hover { color: var(--brand); }
.pc-loc { color: var(--muted); font-size: .87rem; margin-bottom: .6rem; }
.pc-price { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: .6rem; }
.pc-price small { color: var(--muted); font-weight: 500; }
.pc-meta { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .3rem; font-size: .85rem; color: var(--ink-2); }
.pc-meta i { color: var(--muted); width: 18px; display: inline-block; }
.pc-rera { display: flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; color: var(--ready); background: #ecfdf3; border: 1px dashed #86efac; padding: .4rem .6rem; border-radius: 8px; }
.pc-rera span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-foot { display: flex; gap: .5rem; padding: .85rem 1.15rem 1.15rem; }
.pc-foot .btn { flex: 1; }

/* ---------- Swiper ---------- */
.swiper { padding: 6px 4px 10px !important; margin: -6px -4px 0; }
.swiper-slide { height: auto; }
.slider-nav { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.slider-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: .2s; }
.slider-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.slider-nav .swiper-pagination { position: static; width: auto !important; display: flex; gap: 2px; }
.swiper-pagination-bullet { width: 8px; height: 8px; background: #cfcbc4; opacity: 1; transition: .25s; }
.swiper-pagination-bullet-active { width: 26px; border-radius: 6px; background: var(--brand); }

/* ---------- Post band ---------- */
.post-band { background: radial-gradient(circle at 85% 20%, rgba(245, 130, 32, .25), transparent 45%), linear-gradient(135deg, #16171b, #24262d); }
.post-band h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.step { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1.4rem 1.1rem; color: #fff; transition: .3s; }
.step:hover { background: rgba(245, 130, 32, .12); border-color: rgba(245, 130, 32, .45); transform: translateY(-4px); }
.step span { position: absolute; top: 12px; right: 14px; font-size: 2.2rem; font-weight: 800; color: rgba(255, 255, 255, .08); line-height: 1; }
.step i { font-size: 1.6rem; color: var(--brand); }
.step h4 { color: #fff; font-size: 1rem; margin: .8rem 0 .3rem; }
.step p { color: rgba(255, 255, 255, .6); font-size: .83rem; margin: 0; }
@media (max-width: 767.98px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Listing card ---------- */
.listing-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: .3s; }
.listing-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.lc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.lc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.listing-card:hover .lc-media img { transform: scale(1.06); }
.lc-by { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 6px; }
.lc-by.owner { background: #0f766e; }
.lc-verified { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--ready); font-size: .72rem; font-weight: 700; padding: .28rem .55rem; border-radius: 6px; }
.lc-body { padding: 1rem 1.15rem .4rem; flex: 1; }
.lc-price { font-size: 1.35rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.lc-price small { font-size: .82rem; color: var(--muted); font-weight: 500; }
.lc-sub { font-size: .8rem; color: var(--muted); margin-bottom: .55rem; }
.lc-body h3 { font-size: 1rem; margin: 0 0 .15rem; font-weight: 700; }
.lc-body h3 a { color: var(--ink); }
.lc-body h3 a span { color: var(--muted); font-weight: 500; }
.lc-body h3 a:hover { color: var(--brand); }
.lc-loc { color: var(--muted); font-size: .85rem; margin-bottom: .7rem; }
.lc-specs { list-style: none; padding: .65rem 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.lc-specs i { color: var(--brand); margin-right: .2rem; }
.lc-note { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); padding-top: .6rem; }
.lc-foot { display: flex; gap: .5rem; padding: .75rem 1.15rem 1.15rem; }

/* ---------- Cities ---------- */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.city-tile { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.city-tile.big { grid-column: span 2; grid-row: span 2; }
.city-tile:last-child { grid-column: span 2; }
.city-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.city-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .05) 60%); }
.city-tile:hover img { transform: scale(1.08); }
.ct-info { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; color: #fff; }
.ct-info h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .15rem; }
.city-tile.big .ct-info h3 { font-size: 1.8rem; }
.ct-info span { font-size: .82rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.ct-info span i { color: var(--brand); }
@media (max-width: 991.98px) { .city-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 575.98px) { .city-grid { grid-auto-rows: 140px; gap: .65rem; } .city-tile.big { grid-row: span 1; } .city-tile.big .ct-info h3 { font-size: 1.3rem; } .ct-info h3 { font-size: 1rem; } }

/* ---------- Commercial ---------- */
.com-card { display: block; background: #1f2026; border: 1px solid #2d2f36; border-radius: var(--radius); overflow: hidden; height: 100%; color: #fff; transition: .3s; }
.com-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: .9; transition: .5s; }
.com-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(245, 130, 32, .45); }
.com-card:hover img { opacity: 1; }
.com-body { padding: 1.4rem 1.2rem 1.2rem; position: relative; }
.com-icon { position: absolute; top: -24px; right: 1.2rem; width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.25rem; box-shadow: 0 8px 20px -6px rgba(245, 130, 32, .6); }
.com-body h3 { color: #fff; font-size: 1.15rem; margin-bottom: .4rem; }
.com-body p { color: rgba(255, 255, 255, .6); font-size: .86rem; margin-bottom: 1rem; }
.com-foot { display: flex; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .6); border-top: 1px solid #2d2f36; padding-top: .8rem; }
.com-foot strong { color: var(--brand); }

/* ---------- Developers ---------- */
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.dev-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.dev-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.dev-card:hover > i { color: var(--brand); transform: translateX(3px); }
.dev-card > i { color: var(--muted); transition: .2s; }
.dev-logo { flex: 0 0 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: #fff; background: var(--dev); letter-spacing: -.02em; }
.dev-card h3 { font-size: .98rem; margin: 0 0 .1rem; }
.dev-card p { font-size: .78rem; color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .dev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .dev-grid { grid-template-columns: 1fr; } }

/* ---------- Budget + EMI ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; }
.budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.25rem; }
.budget-grid a { position: relative; display: flex; flex-direction: column; padding: 1rem; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); }
.budget-grid small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.budget-grid strong { font-size: 1.15rem; }
.budget-grid i { position: absolute; right: .85rem; bottom: .9rem; color: var(--brand); opacity: 0; transition: .2s; }
.budget-grid a:hover { background: var(--brand-50); border-color: var(--brand-100); }
.budget-grid a:hover i { opacity: 1; }
.bhk-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.bhk-pills a { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 50px; color: var(--ink); font-weight: 600; font-size: .88rem; }
.bhk-pills a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.emi-row { margin-top: 1.25rem; }
.emi-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.emi-row output { color: var(--brand-600); font-weight: 800; }
.form-range::-webkit-slider-thumb { background: var(--brand); }
.form-range::-moz-range-thumb { background: var(--brand); }
.form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(245, 130, 32, .25); }
.emi-result { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: .75rem; margin-top: 1.6rem; }
.emi-result > div { background: var(--soft); border-radius: 12px; padding: .9rem 1rem; }
.emi-result small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }
.emi-result span { font-weight: 700; color: var(--ink); }
.emi-result .er-main { background: var(--ink); }
.emi-result .er-main small { color: rgba(255, 255, 255, .6); }
.emi-result .er-main strong { color: var(--brand); font-size: 1.35rem; }
@media (max-width: 575.98px) {
    .panel { padding: 1.4rem; }
    .budget-grid { grid-template-columns: repeat(2, 1fr); }
    .emi-result { grid-template-columns: 1fr 1fr; }
    .emi-result .er-main { grid-column: span 2; }
}

/* ---------- Why us ---------- */
.why-card { height: 100%; padding: 1.8rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .3s; }
.why-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.why-card > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-50); color: var(--brand); font-size: 1.5rem; margin-bottom: 1.1rem; }
.why-card h3 { font-size: 1.08rem; }
.why-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testi { height: 100%; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; position: relative; }
.testi::before { content: '\201C'; position: absolute; right: 1.4rem; top: .2rem; font-size: 5rem; font-weight: 800; color: var(--brand-100); line-height: 1; font-family: Georgia, serif; }
.testi .stars { color: #f59e0b; font-size: .9rem; margin-bottom: .9rem; display: flex; gap: 2px; }
.testi blockquote { color: var(--ink-2); font-size: .95rem; line-height: 1.65; flex: 1; margin-bottom: 1.3rem; }
.testi figcaption { display: flex; align-items: center; gap: .8rem; }
.testi figcaption strong { display: block; color: var(--ink); }
.testi figcaption small { color: var(--muted); font-size: .8rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* ---------- Blog ---------- */
.blog-card { display: block; height: 100%; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.bc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.blog-card:hover .bc-media img { transform: scale(1.06); }
.bc-media span { position: absolute; left: 12px; top: 12px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 6px; }
.bc-body { padding: 1.2rem; }
.bc-body small { color: var(--muted); font-size: .8rem; }
.bc-body h3 { font-size: 1.05rem; line-height: 1.4; margin: .45rem 0 .8rem; }
.blog-card:hover h3 { color: var(--brand-600); }

/* ---------- Enquiry ---------- */
.enquiry-box { background: radial-gradient(circle at 0% 100%, rgba(245, 130, 32, .35), transparent 50%), var(--ink); border-radius: 24px; padding: 3rem; }
.enquiry-box h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.enquiry-form .form-control, .enquiry-form .form-select { min-height: 52px; border-radius: 10px; border: 1px solid #34363e; background-color: #22242a; color: #fff; }
.enquiry-form .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23aaa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.enquiry-form .form-select option { color: var(--ink); background: #fff; }
.enquiry-form .form-control::placeholder { color: #8b8e98; }
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(245, 130, 32, .25); }
@media (max-width: 575.98px) { .enquiry-box { padding: 1.75rem 1.25rem; border-radius: 18px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0f1013; color: #a3a6b0; padding-top: 0; font-size: .9rem; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--brand); border-radius: 20px; padding: 2rem 2.4rem; transform: translateY(-50%); margin-bottom: -1rem; box-shadow: 0 20px 50px -20px rgba(245, 130, 32, .6); }
.footer-cta h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.45rem; }
.footer-cta h3 span { background: #fff; color: var(--brand-600); padding: 0 .4rem; border-radius: 6px; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.footer-cta .btn-post { background: var(--ink); }
.footer-cta .btn-post:hover { background: #fff; color: var(--ink); }
.footer-main { padding-bottom: 2.5rem; }
.site-footer h6 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer .col-6 a, .site-footer .col-md-3 a { display: block; color: #a3a6b0; padding: .28rem 0; }
.site-footer a:hover { color: var(--brand); }
.footer-contact li { margin-bottom: .45rem; }
.footer-contact i { color: var(--brand); margin-right: .45rem; }
.footer-contact a { color: #a3a6b0; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: #1c1d22; color: #fff; display: grid; place-items: center; }
.socials a:hover { background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid #23252b; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom .small { max-width: 620px; color: #6f727c; }
.footer-credit { border-top: 1px solid #23252b; padding: .9rem 0 1.1rem; text-align: center; font-size: .78rem; color: #8b8e97; }
.footer-credit a { color: var(--brand); font-weight: 600; }
.footer-credit a:hover { color: #fff; }
@media (max-width: 767.98px) {
    .footer-cta { padding: 1.5rem; transform: translateY(-40%); }
    .footer-cta h3 { font-size: 1.2rem; }
    .footer-cta .btn { width: 100%; }
}

/* ---------- Floating / mobile nav ---------- */
.wa-float { position: fixed; right: 18px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 25px -8px rgba(37, 211, 102, .7); z-index: 1034; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.to-top { position: fixed; right: 24px; bottom: 88px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; z-index: 1040; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }
.mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--muted); font-size: .68rem; font-weight: 600; padding: .25rem 0; }
.mobile-nav a i { font-size: 1.2rem; }
.mobile-nav a.active { color: var(--brand); }
.mobile-nav a.post i { width: 46px; height: 46px; margin-top: -24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(245, 130, 32, .7); border: 4px solid #fff; }
@media (max-width: 991.98px) {
    body { padding-bottom: 66px; }
    .wa-float { bottom: 82px; width: 48px; height: 48px; font-size: 1.4rem; }
    .to-top { bottom: 140px; right: 21px; }
    .section { padding: 60px 0; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
#enquiry { padding-bottom: 130px; }
@media (max-width: 767.98px) { #enquiry { padding-bottom: 110px; } }
@media (max-width: 575.98px) {
    .navbar-brand { margin-right: .5rem; }
    .navbar-brand img { height: 32px; }
    .site-header .btn-post.btn-sm { padding: .38rem .6rem; font-size: .8rem; }
    .navbar-toggler { font-size: 1.3rem; padding: .2rem .45rem; }
}
.pc-foot .btn, .lc-foot .btn { white-space: nowrap; padding-left: .5rem; padding-right: .5rem; }

/* ---------- Compact cards ---------- */
.pc-badges { top: 10px; left: 10px; }
.pc-badges span { font-size: .66rem; padding: .22rem .5rem; }
.fav { width: 32px; height: 32px; top: 8px; right: 8px; font-size: .85rem; }
.pc-type { font-size: .7rem; left: 10px; bottom: 10px; }
.pc-body { padding: .8rem .9rem .4rem; }
.pc-dev { font-size: .7rem; }
.pc-body h3 { font-size: 1.02rem; margin: .2rem 0 .1rem; }
.pc-loc { font-size: .8rem; margin-bottom: .4rem; }
.pc-price { font-size: 1.08rem; margin-bottom: .4rem; }
.pc-meta { font-size: .78rem; gap: .15rem; margin-bottom: .55rem; }
.pc-rera { font-size: .7rem; padding: .3rem .5rem; }
.pc-foot { padding: .6rem .9rem .9rem; gap: .4rem; }

.lc-by, .lc-verified { font-size: .66rem; padding: .22rem .5rem; }
.lc-body { padding: .75rem .9rem .3rem; }
.lc-price { font-size: 1.12rem; }
.lc-price small { font-size: .74rem; }
.lc-sub { font-size: .72rem; margin-bottom: .35rem; }
.lc-body h3 { font-size: .9rem; }
.lc-loc { font-size: .78rem; margin-bottom: .5rem; }
.lc-specs { font-size: .74rem; gap: .3rem .7rem; padding: .5rem 0; }
.lc-note { font-size: .72rem; padding-top: .45rem; }
.lc-foot { padding: .55rem .9rem .9rem; gap: .4rem; }
.pc-foot .btn, .lc-foot .btn { font-size: .76rem; padding-top: .35rem; padding-bottom: .35rem; }

/* 4-column testimonials & blog */
.testi { padding: 1.3rem; }
.testi::before { font-size: 4rem; right: 1rem; }
.testi .stars { font-size: .8rem; margin-bottom: .6rem; }
.testi blockquote { font-size: .84rem; line-height: 1.6; margin-bottom: 1rem; }
.testi figcaption strong { font-size: .9rem; }
.testi figcaption small { font-size: .74rem; }
.avatar { width: 40px; height: 40px; font-size: .85rem; }
.bc-body { padding: .9rem 1rem 1rem; }
.bc-body small { font-size: .74rem; }
.bc-body h3 { font-size: .94rem; margin: .35rem 0 .6rem; }
.bc-body .link-arrow { font-size: .84rem; }
.bc-media span { font-size: .66rem; padding: .22rem .5rem; }

/* Centered slider controls */
.slider-nav { position: relative; justify-content: center; }
.slider-nav .link-arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0 !important; }
@media (max-width: 767.98px) {
    .slider-nav { flex-wrap: wrap; }
    .slider-nav .link-arrow { position: static; transform: none; flex: 1 1 100%; justify-content: center; margin-top: .25rem !important; }
}

/* Side-arrow slider (testimonials) */
.side-slider { position: relative; padding: 0 8px; }
.side-slider .swiper-slide { height: auto; }
.side-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow); transition: .2s; }
.side-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.side-arrow.prev { left: -18px; }
.side-arrow.next { right: -18px; }
.side-arrow.swiper-button-disabled { opacity: .4; pointer-events: none; }
@media (max-width: 1399.98px) { .side-arrow.prev { left: -10px; } .side-arrow.next { right: -10px; } }
@media (max-width: 575.98px) { .side-arrow { width: 38px; height: 38px; font-size: .95rem; } .side-arrow.prev { left: -6px; } .side-arrow.next { right: -6px; } }

/* ---------- Compact hero ---------- */
.hero { padding: 54px 0 96px; }
.hero-kicker { font-size: .76rem; padding: .32rem .75rem; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: .8rem 0 .7rem; }
.hero-copy p { font-size: .98rem; margin-bottom: 0; }
.search-panel { margin-top: 1.6rem; max-width: 980px; }
.search-tabs .nav-link { font-size: .84rem; padding: .55rem .95rem; }
.search-form { padding: .45rem; }
.sf-field { min-height: 46px; padding: 0 .85rem; }
.sf-field input, .sf-field select { font-size: .9rem; }
.sf-btn { padding: 0 1.5rem; font-size: .94rem; }
.popular { margin-top: .8rem; font-size: .8rem; }
.popular a { padding: .22rem .65rem; }
.hero-stats { margin-top: 1.8rem; gap: 2.2rem; }
.hero-stats strong { font-size: 1.55rem; }
.hero-stats span { font-size: .8rem; }
.cat-section { margin-top: -50px; }
@media (max-width: 991.98px) { .hero { padding: 44px 0 90px; } .sf-field { min-height: 46px; } .sf-btn { min-height: 46px; } }
@media (max-width: 575.98px) { .hero { padding: 32px 0 84px; } .hero-stats strong { font-size: 1.35rem; } }

/* ---------- Compact categories ---------- */
.cat-section { padding-bottom: 48px; }
.cat-grid { padding: .4rem; border-radius: 14px; }
.cat-item { padding: .75rem .4rem; gap: .2rem; border-radius: 10px; }
.ci-icon { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 11px; margin-bottom: .15rem; }
.cat-item strong { font-size: .8rem; }
.cat-item small { font-size: .68rem; }
@media (max-width: 575.98px) { .cat-section { padding-bottom: 36px; } .ci-icon { width: 38px; height: 38px; font-size: 1rem; } .cat-item strong { font-size: .7rem; } }

/* ---------- Smaller header buttons ---------- */
@media (min-width: 1200px) {
    .nav-actions { gap: .4rem; }
    .nav-actions .btn-login, .nav-actions .btn-post { font-size: .82rem; padding: .42rem .8rem; border-radius: 8px; }
    .nav-actions .btn-post .badge-free { font-size: .58rem; padding: .14rem .35rem; }
    .nav-actions .btn-link-dark { font-size: 1.05rem; padding: .35rem .5rem; }
}

/* ---------- Headings −4px ---------- */
.hero h1 { font-size: calc(clamp(1.9rem, 3.6vw, 2.9rem) - 4px); }
.sec-head h2, .sec-head-center h2 { font-size: calc(clamp(1.6rem, 2.6vw, 2.3rem) - 4px); }
.post-band h2 { font-size: calc(clamp(1.6rem, 2.8vw, 2.4rem) - 4px); }
.enquiry-box h2 { font-size: calc(clamp(1.5rem, 2.6vw, 2.1rem) - 4px); }
.panel h2.h3 { font-size: calc(1.3rem + .6vw - 4px); }
@media (min-width: 1200px) { .panel h2.h3 { font-size: calc(1.75rem - 4px); } }
.footer-cta h3 { font-size: calc(1.45rem - 4px); }
.city-tile.big .ct-info h3 { font-size: calc(1.8rem - 4px); }
@media (max-width: 767.98px) { .footer-cta h3 { font-size: calc(1.2rem - 4px); } }
@media (max-width: 575.98px) { .city-tile.big .ct-info h3 { font-size: calc(1.3rem - 4px); } }

/* ---------- Smaller eyebrow labels ---------- */
.eyebrow { font-size: .66rem; letter-spacing: .1em; gap: .4rem; margin-bottom: .4rem; }
.eyebrow::before, .sec-head-center .eyebrow::after { width: 18px; }

/* Post band CTA: orange on dark */
.post-band .btn-post { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -10px rgba(245, 130, 32, .65); }
.post-band .btn-post:hover { background: #fff; color: var(--ink); }

/* ---------- Mobile horizontal-scroll fix ---------- */
html, body { overflow-x: clip; }
@media (max-width: 991.98px) { .post-band .row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; } }
.footer-contact li.d-flex i { margin-top: .2rem; flex-shrink: 0; }
