* { box-sizing: border-box; border-radius: 0; }
html { font-size: 90%; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, Arial, sans-serif; color: #0f172a; overflow-x: hidden; }
.container { max-width: 1024px; margin: 0 auto; padding: 0 16px; }

/* Global Main Heading Style */
.main-heading {
    color: #991b1b !important;
    font-size: 2.5rem !important;
    margin-bottom: 24px;
    font-weight: 700;
}
.site-header { border-bottom: 1px solid #e2e8f0; background: linear-gradient(180deg, rgba(255,255,255,0.80) 0%, rgba(255,255,255,0.70) 100%); backdrop-filter: saturate(160%) blur(10px); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 10px 30px rgba(15,23,42,0.10); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.site-header .nav > nav { display: flex; align-items: center; gap: 8px; }
.logo a { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 36px; width: auto; display: block; }
.menu-toggle { display: none; }
nav a { margin-left: 6px; text-decoration: none; color: #0f172a; padding: 6px 10px; border-radius: 12px; position: relative; font-size: 0.9rem; }
nav a:not(.btn):hover { background: #f8fafc; }
nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: linear-gradient(90deg, #93c5fd 0%, #1e40af 100%); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; opacity: 0.7; }
nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Header CTA styling */
.site-header .nav > nav a.btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; line-height: 32px; padding: 0 14px; border-radius: 9999px; font-weight: 600; background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%); color: #ffffff; border: 1px solid #1e40af; box-shadow: 0 6px 14px rgba(29,78,216,0.18); font-size: 0.85rem; }
.site-header .nav > nav a.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(29,78,216,0.22); }
.site-header .nav > nav a.btn::after { content: none !important; }
.hero { padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; justify-items: center; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.hero .intro { text-align: center; max-width: 900px; }
.hero-surface { position: relative; width: 100%; max-width: none; margin: 0; padding: 24px 24px; background-image: url('/assets/img/bg1.jpg'); background-size: cover; background-position: center center; background-repeat: no-repeat; border: none; box-shadow: none; min-height: calc(100svh - 64px); min-height: calc(100vh - 64px); display: grid; align-content: center; justify-items: center; }
.hero-surface::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.30) 100%); }
.hero-surface > * { position: relative; z-index: 1; }
.hero .intro { margin-bottom: 16px; }
.hero h1 { font-size: 1.8rem; margin: 0 0 8px; color: #991b1b; }
.hero p { margin: 0 0 16px; color: #475569; }
.search-card { background: rgba(255,255,255,0.92); border: 1px solid #e2e8f0; border-radius: 24px; padding: 6px 10px; box-shadow: 0 8px 24px rgba(15,23,42,0.08); width: 100%; max-width: 820px; margin: 0 auto; }
.search-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 6px; align-items: end; justify-items: stretch; }

/* Make the search button fill its grid cell so all controls are equal width */
.search-row .btn { width: 100%; box-sizing: border-box; display: block; padding: 0 10px; text-align: center; height: 36px; line-height: 36px; font-size: 0.8125rem; }

/* Remove the decorative trailing glyph for the search button to avoid extra visual space */
.search-row .btn::after { content: none; }

/* Prevent grid children from forcing overflow (causes an apparent right-side gap).
	Ensure each grid item may shrink when space is constrained so columns stay equal. */
.search-row > * { min-width: 0; }



/* Ensure the final grid cell doesn't introduce inner spacing and the button fills it */
/* last-child special layout removed to keep all controls equal-width */
.select-wrap { position: relative; overflow: visible; }
.select-wrap select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 28px; height: 36px; font-size: 0.8125rem; }
.select-wrap input { height: 36px; font-size: 0.8125rem; }
.select-wrap::after { content: ""; position: absolute; right: 10px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #334155; border-bottom: 2px solid #334155; transform: translateY(-50%) rotate(45deg); pointer-events: none; }
/* prevent caret decoration on button wrapper */
.select-wrap.has-btn::after { display: none !important; }

.search-row > *:last-child::after { display: none !important; }
.select-wrap.enhanced select { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.select-wrap.enhanced::after { display: none; }
.cs { position: relative; z-index: 5; }
.cs.open { z-index: 6000; }
.cs-trigger { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; height: 36px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 9999px; background: #ffffff; color: #334155; cursor: pointer; font-size: 0.8125rem; }
.cs-trigger::after { content: ""; display: inline-block; width: 8px; height: 8px; border-right: 2px solid #334155; border-bottom: 2px solid #334155; transform: rotate(45deg); margin-left: 8px; }
.cs-options { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 10px 24px rgba(15,23,42,0.10); border-radius: 12px; max-height: 240px; overflow: auto; z-index: 5000; }
.cs.open .cs-options { display: block; }
.cs-option { padding: 10px 12px; font-size: 0.875rem; color: #334155; cursor: pointer; }
.cs-option:hover { background: #f8fafc; }
.cs-option.selected { background: #eff6ff; color: #1e40af; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { border: 1px solid #e2e8f0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: none; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); border-color: #93c5fd; }
.card img { width: 100%; height: 160px; object-fit: cover; object-position: center center; display: block; border-top-left-radius: 24px; border-top-right-radius: 24px; transition: transform .25s ease; }
.card:hover img { transform: scale(1.00); }
.card .body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card .body h2 { margin: 0; line-height: 1.3; font-size: 1.25rem; }
.card .body h3 { margin: 0; line-height: 1.3; font-size: 1.125rem; }
.card .body > * + * { margin-top: 8px; }
/* Nudge badges slightly upward to reduce vertical space */
.card .body .badge { margin-top: 2px; }
.card .body .badge.deal { margin-top: 2px; }
.badge { display: inline-block; font-size: 0.75rem; background: #e6f0ff; color: #1348d6; padding: 6px 12px; border-radius: 9999px; font-weight: 600; }
.btn { display: inline-block; height: 44px; padding: 0 18px; line-height: 44px; border-radius: 9999px; text-decoration: none; background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%); color: #ffffff; border: 1px solid #1e40af; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 6px 14px rgba(29,78,216,0.18); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.btn.sm { height: 34px; line-height: 34px; padding: 0 12px; font-size: 0.8125rem; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(29,78,216,0.22); }
.btn:active { filter: brightness(0.98); transform: translateY(0); box-shadow: 0 6px 14px rgba(29,78,216,0.18); }
.btn::after { content: "›"; display: inline-block; margin-left: 8px; transition: transform .15s ease; }
.btn:hover::after { transform: translateX(2px); }
.btn.secondary { background: linear-gradient(180deg, #64748b 0%, #475569 100%); color: #ffffff; border: 1px solid #334155; box-shadow: 0 6px 14px rgba(51,65,85,0.18); }
.btn.danger { background: #ef4444; }
.btn.success { background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%); border: 1px solid #15803d; box-shadow: 0 6px 14px rgba(21,128,61,0.18); }
.btn.call::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; background-size: contain; background-repeat: no-repeat; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><path d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6A19.79 19.79 0 012.08 4.18 2 2 0 014.06 2h3a2 2 0 012 1.72c.12.9.33 1.77.63 2.6a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.48-1.76a2 2 0 012.11-.45c.83.3 1.7.51 2.6.63A2 2 0 0122 16.92z'/></svg>"); vertical-align: middle; animation: call-vibrate 1.2s ease-in-out infinite; }
.btn.call::after { content: none; }
@keyframes call-vibrate { 0% { transform: translateX(0); } 20% { transform: translateX(-1px); } 40% { transform: translateX(1px); } 60% { transform: translateX(-1px); } 80% { transform: translateX(1px); } 100% { transform: translateX(0); } }
.btn.pulse { animation: cta-pulse 2.4s ease-in-out infinite; }
@keyframes cta-pulse {
  0% { transform: scale(1); box-shadow: 0 6px 14px rgba(29,78,216,0.18); }
  50% { transform: scale(1.03); box-shadow: 0 10px 22px rgba(29,78,216,0.24); }
  100% { transform: scale(1); box-shadow: 0 6px 14px rgba(29,78,216,0.18); }
}
@keyframes slide-right-sequence {
  0% { transform: translateX(-10px); opacity: 0; }
  5% { transform: translateX(0); opacity: 1; }
  20% { transform: translateX(10px); opacity: 0; }
  100% { transform: translateX(10px); opacity: 0; }
}

.anim-arrow {
  animation: slide-right-sequence 7.5s linear infinite;
  opacity: 0; /* Start hidden */
}

.anim-arrow-1 { animation-delay: 0s; }
.anim-arrow-2 { animation-delay: 1.5s; }
.anim-arrow-3 { animation-delay: 3.0s; }
.anim-arrow-4 { animation-delay: 4.5s; }
.anim-arrow-5 { animation-delay: 6.0s; }

.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.actions .btn { width: 100%; }
.actions.compact .btn { width: auto; }
.actions.split-65-35 { grid-template-columns: 65% 35%; }
.byline { font-size: 0.8125rem; color: #64748b; margin-top: 4px; margin-bottom: 8px; }
.title-row + .byline { margin-top: 6px; margin-bottom: 14px; }
/* Smaller buttons in admin area */
.admin .btn { height: 32px; line-height: 32px; padding: 0 10px; font-size: 0.75rem; }
input, select, textarea { width: 100%; padding: 10px; height: 40px; border: 1px solid #cbd5e1; border-radius: 9999px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 1px #0ea5e9 inset; }
label { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; color: #334155; letter-spacing: .04em; }
.row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
.section { padding: 32px 0; }
.featured-section { width: 87vw; margin-left: calc(-43.5vw + 50%); margin-right: calc(-43.5vw + 50%); }
.recommended-section { width: 87vw; margin-left: calc(-43.5vw + 50%); margin-right: calc(-43.5vw + 50%); padding-top: 0; }
.between-section { width: 87vw; margin-left: calc(-43.5vw + 50%); margin-right: calc(-43.5vw + 50%); padding: 6px 0 24px; }
.projects-section { width: 87vw; margin-left: calc(-43.5vw + 50%); margin-right: calc(-43.5vw + 50%); }
.projects-section .search-card { margin-bottom: 36px; }
.projects-section h1 { text-align: center; margin: 0 0 23px; font-size: 2rem; }
.projects-section { padding-top: 10px; }
.home .featured-section { padding-top: 12px; }
 
.detail-banner { width: 100%; margin: 0 0 16px; overflow: hidden; position: relative; min-height: 560px; }
.detail-banner img { width: 100%; height: 560px; object-fit: cover; border-radius: 0; display: block; }
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.detail-main h2 { margin: 0 0 8px; font-size: 1.625rem; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.title-row h2 { margin: 0; }
.enquire-btn { white-space: nowrap; }
.highlights { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 18px; }
.highlights .badge { font-size: 0.875rem; padding: 6px 12px; background: #e6f0ff; color: #1348d6; border: 1px solid #cfe0ff; border-radius: 9999px; }
.highlights .badge.deal { font-size: 0.875rem; padding: 6px 12px; }
.highlights .meta { font-size: 0.875rem; padding: 6px 12px; background: #e6f0ff; color: #1348d6; border: 1px solid #cfe0ff; border-radius: 9999px; display: inline-flex; align-items: center; gap: 8px; }
.highlights .meta.price { font-size: 0.875rem; }
.highlights .meta.location { font-size: 0.875rem; gap: 8px; }
.highlights .meta.location .icon.location { width: 20px; height: 20px; }
.detail-main > * + * { margin-top: 18px; }
.btn.xs { height: 28px; line-height: 28px; padding: 0 10px; font-size: 0.75rem; }
.address-block h3, .gallery-block h3, .pricing-block h3, .amenities-block h3 { margin: 16px 0 8px; font-size: 1.125rem; }
.summary-block h3, .highlights-block h3 { margin: 16px 0 8px; font-size: 1.125rem; }
.summary-block div { text-align: justify; }
.bullets { margin: 0; padding-left: 0; color: #334155; list-style: none; }
.bullets li { margin: 6px 0; }
ul, ol { margin: 0; padding-left: 0; list-style: none; }
.detail-sidebar { position: sticky; top: 80px; }
.amenities-list { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.shake { animation: call-vibrate 1.2s ease-in-out infinite; }
.city-suggestions { max-width: 1100px; margin: 50px auto 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.city-suggestions .chip { display: inline-flex; align-items: center; padding: 6px 10px; font-size: 0.8125rem; border: 1px solid #cbd5e1; border-radius: 9999px; background: #ffffff; color: #334155; text-decoration: none; }
.city-suggestions .chip:hover { background: #f8fafc; }
.city-suggestions .chip .icon { margin-right: 6px; width: 14px; height: 14px; }
.site-footer { border-top: 1px solid #e2e8f0; margin-top: 32px; padding: 24px 0; color: #334155; }
.table { width: 100%; border-collapse: collapse; }
.pricing-block .table { width: 100%; display: table; }
.pricing-block .table th, .pricing-block .table td { font-size: 0.9375rem; padding: 10px 8px; }
.table th, .table td { border-bottom: 1px solid #e2e8f0; padding: 10px; text-align: left; vertical-align: middle; }
.table tr:nth-child(even) { background: #f8fafc; }
.table th.center, .table td.center { text-align: center; }
/* Removed old .admin .chk wrapper to prevent checkbox layout conflicts */
/* Designed info section between Featured and Recommended */
.promo-between { display: grid; grid-template-columns: 25% 75%; gap: 15px; align-items: center; background: radial-gradient(120% 80% at 10% 50%, rgba(14,165,233,0.10) 0%, rgba(14,165,233,0) 60%), radial-gradient(120% 80% at 90% 50%, rgba(99,102,241,0.10) 0%, rgba(99,102,241,0) 60%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border: 1px solid #e2e8f0; border-radius: 24px; box-shadow: 0 10px 28px rgba(15,23,42,0.08); padding: 6px 10px 6px 6px; overflow: hidden; }
.promo-between .art { display: flex; align-items: center; justify-content: flex-start; }
.promo-between .art img { width: 100%; max-width: 140px; height: auto; display: block; border-radius: 0; box-shadow: none; position: relative; left: 100px; }
.promo-between .copy { align-self: center; text-align: left; position: relative; top: 0; left: -20px; }
.promo-between .copy h2 { margin: 0 0 8px; font-size: 1.5rem; color: #0f172a; text-align: left; }
.promo-between .copy p { margin: 0; color: #334155; font-size: 1rem; line-height: 1.6; text-align: left; }
.promo-between .copy .btn { margin-top: 10px; margin-bottom: 12px; animation: buzz 1.8s ease-in-out infinite; }
.admin .admin-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.admin .section h1 { font-weight: 700; letter-spacing: .02em; }
.admin textarea[name="description"], .admin textarea[name="amenities"] { resize: none; min-height: 140px; }
.admin form .grid { gap: 12px; }
.admin .table thead th { background: #f1f5f9; }
.admin td.feat-col { text-align: right; }
.admin td.feat-col input[type=checkbox] { width: 12px; height: 12px; vertical-align: middle; }
/* Keep checkboxes/radios at a normal native size (inputs rule above sets height for text inputs) */
.admin input[type="checkbox"],
.admin input[type="radio"] {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	padding: 0;
	vertical-align: middle;
	display: inline-block;
	appearance: checkbox;
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
	margin-right: 8px;
}
.admin .admin-panel { background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 8px 24px rgba(15,23,42,0.06); padding: 12px; }
.admin .table thead th { background: #f1f5f9; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .04em; color: #334155; }
.admin .table td { font-size: 0.875rem; }
.admin .actions { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; }
.images { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery-block .images { margin: 8px 0 20px; }
.images a { display: block; overflow: hidden; border-radius: 12px; }
.images img { width: 100%; height: 120px; object-fit: cover; transition: transform .25s ease; }
.images a:hover img { transform: none; }
/* Banner thumbnails layout (desktop) */
.banner-thumbs .images { grid-template-columns: repeat(6, 1fr); }
.banner-thumbs .images img { height: 110px; object-position: center; }
@media (min-width: 641px) {
  .banner-thumbs { margin-bottom: 32px; }
  .banner-thumbs .images img { height: 140px; object-fit: contain; background: #ffffff; display: block; }
  .site-header .nav > nav a:not(.btn) { font-size: 0.875rem; }
}
.lightbox { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(15,23,42,0.88); display: none; align-items: center; justify-content: center; z-index: 2000; opacity: 0; transition: opacity .2s ease; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 95vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 12px 36px rgba(15,23,42,0.45); transform: scale(0.96); transition: transform .2s ease; }
.lightbox.open img { transform: scale(1); }
.lightbox .close { position: absolute; top: 20px; right: 24px; width: 36px; height: 36px; border-radius: 9999px; border: 0; background: transparent; color: #ffffff; font-size: 1.25rem; line-height: 34px; text-align: center; cursor: pointer; }
.lightbox .close:hover { background: transparent; }
.lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 9999px; border: 0; background: transparent; color: #ffffff; font-size: 1.5rem; line-height: 42px; text-align: center; cursor: pointer; box-shadow: none; }
.lightbox .nav.prev { left: 24px; }
.lightbox .nav.next { right: 24px; }
.lightbox .nav:hover { background: transparent; }
.detail-banner .banner-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 9999px; border: 0; background: rgba(15,23,42,0.35); color: #ffffff; font-size: 1.5rem; line-height: 42px; text-align: center; cursor: pointer; box-shadow: none; }
.detail-banner .banner-nav.prev { left: 12px; }
.detail-banner .banner-nav.next { right: 12px; }
.detail-banner .banner-nav:hover { background: rgba(15,23,42,0.5); }
/* Vertical side CTA */
.side-cta { position: fixed; right: 0; top: 100px; transform: none; writing-mode: vertical-rl; text-orientation: sideways; white-space: nowrap; padding: 12px 12px; background: #991b1b; color: #ffffff; border: 1px solid #7f1d1d; border-top-left-radius: 0; border-bottom-left-radius: 0; box-shadow: 0 8px 18px rgba(127,29,29,0.25); font-weight: 600; font-size: 0.875rem; letter-spacing: .02em; cursor: pointer; z-index: 1400; animation: cta-pulse 2.4s ease-in-out infinite; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; display: block; line-height: 1.1; min-height: 180px; text-align: center; }
.side-cta .side-cta-text { display: inline-block; will-change: transform; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; backface-visibility: hidden; perspective: 1000px; font-weight: 500; font-size: 15px; line-height: 1.1; letter-spacing: 0.2px; -webkit-text-stroke: 0 transparent; text-shadow: 0 0 0.25px rgba(255,255,255,0.25); }
.side-cta:hover { filter: brightness(1.04); }
.admin .side-cta { display: none; }

/* Mobile adjustments */
@media (max-width: 640px) {
    .side-cta { display: none; }
    .city-suggestions { margin-top: 50px; gap: 6px; }
    .city-suggestions .chip { padding: 5px 10px; font-size: 0.75rem; }
    .city-suggestions .chip .icon { width: 12px; height: 12px; margin-right: 6px; }
  .detail-banner { margin-bottom: 0; min-height: 0; }
  .detail-banner img { border-radius: 0; height: 420px; }
  .detail-banner .banner-nav { display: none !important; }
  .banner-thumbs { margin-top: 0; }
  .banner-thumbs .images { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .banner-thumbs .images a { border-radius: 0; }
  .banner-thumbs .images img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
}
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); display: flex; align-items: center; justify-content: center; z-index: 3000; opacity: 0; transition: opacity .2s ease; }
.modal-overlay.open { opacity: 1; }
.modal-card { background: #fff; width: 100%; max-width: 500px; border-radius: 20px; box-shadow: 0 20px 48px rgba(15,23,42,0.24); padding: 18px 18px 20px; position: relative; transform: translateY(8px) scale(0.98); opacity: 0; transition: transform .22s ease, opacity .22s ease; }
.modal-card.open { transform: none; opacity: 1; }
.modal-card.zoom-loop { animation: zoomLoop 1.8s ease-in-out infinite; }
@keyframes zoomLoop { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }
.modal-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; bottom: -60px; background: radial-gradient(closest-side, rgba(99,102,241,0.30), rgba(99,102,241,0)); filter: blur(12px); z-index: -1; }
.modal-close { position: absolute; top: 8px; right: 12px; width: 36px; height: 36px; border-radius: 9999px; border: 0; background: transparent; color: #0f172a; font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; line-height: normal; text-align: center; cursor: pointer; transition: background-color .15s ease; z-index: 10; }
.modal-close:hover { background: rgba(15,23,42,0.08); }
.modal-card h3 { margin: 0 0 4px; font-size: 1.25rem; color: #0f172a; }
.modal-card p { margin: 0 0 8px; color: #64748b; }

.promo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; position: relative; }
.promo::before { content: ""; position: absolute; left: -8px; right: -8px; top: -6px; bottom: -6px; border-radius: 16px; background: radial-gradient(120% 80% at 15% 50%, rgba(14,165,233,0.10) 0%, rgba(14,165,233,0) 60%), radial-gradient(120% 80% at 85% 50%, rgba(99,102,241,0.10) 0%, rgba(99,102,241,0) 60%); z-index: -1; }
.promo .chip { display: inline-flex; align-items: center; font-size: 0.6875rem; padding: 6px 10px; border-radius: 9999px; background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.promo .chip.effect::before { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0)); transform: translateX(-100%); animation: slide-shine 2.2s linear infinite; }
.promo .chip.effect { animation: glowPulse 2.6s ease-in-out infinite; }
@keyframes slide-shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes glowPulse { 0% { box-shadow: 0 0 0 0 rgba(14,165,233,0.0); } 50% { box-shadow: 0 0 0 8px rgba(14,165,233,0.08); } 100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.0); } }

@keyframes buzz { 0% { transform: translate(0) rotate(0deg); } 10% { transform: translate(-0.5px, 0) rotate(-0.3deg); } 20% { transform: translate(0.5px, 0) rotate(0.3deg); } 30% { transform: translate(-0.6px, 0) rotate(-0.4deg); } 40% { transform: translate(0.6px, 0) rotate(0.4deg); } 50% { transform: translate(0) rotate(0deg); } 60% { transform: translate(-0.5px, 0) rotate(-0.3deg); } 70% { transform: translate(0.5px, 0) rotate(0.3deg); } 80% { transform: translate(-0.6px, 0) rotate(-0.4deg); } 90% { transform: translate(0.6px, 0) rotate(0.4deg); } 100% { transform: translate(0) rotate(0deg); } }
.lead-form .field { display: grid; gap: 6px; }
.lead-form input,
.lead-form textarea { border-radius: 14px; height: 42px; box-shadow: 0 6px 14px rgba(15,23,42,0.08); border: 1px solid #cbd5e1; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.lead-form textarea { height: auto; }
.lead-form .btn { width: 100%; background: linear-gradient(90deg, #6d28d9 0%, #2563eb 50%, #0ea5e9 100%); border: 1px solid #4338ca; box-shadow: 0 10px 24px rgba(37,99,235,0.24); background-size: 200% 100%; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-position .3s ease; }
.lead-form .btn:hover { background-position: 100% 0; filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(37,99,235,0.28); }
.lead-form input[name="name"] { padding-left: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 20c0-4 4-6 8-6s8 2 8 6'/></svg>"); background-repeat: no-repeat; background-position: 12px center; background-size: 18px 18px; }
.lead-form input[name="phone"] { padding-left: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><path d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6A19.79 19.79 0 012.08 4.18 2 2 0 014.06 2h3a2 2 0 012 1.72c.12.9.33 1.77.63 2.6a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.48-1.76a2 2 0 012.11-.45c.83.3 1.7.51 2.6.63A2 2 0 0122 16.92z'/></svg>"); background-repeat: no-repeat; background-position: 12px center; background-size: 18px 18px; }
.lead-form input[name="required_location"] { padding-left: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><path d='M12 21s-7-7.36-7-12a7 7 0 1114 0c0 4.64-7 12-7 12z'/><circle cx='12' cy='9' r='2.5'/></svg>"); background-repeat: no-repeat; background-position: 12px center; background-size: 18px 18px; }
.lead-form input[name="configuration"] { padding-left: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><rect x='3' y='4' width='18' height='16' rx='2'/><path d='M3 12h18'/></svg>"); background-repeat: no-repeat; background-position: 12px center; background-size: 18px 18px; }
.lead-form input[name="budget"] { padding-left: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><path d='M7 4h10M7 8h9a4 4 0 01-4 4H7m0 0l7 8'/></svg>"); background-repeat: no-repeat; background-position: 12px center; background-size: 18px 18px; }

.badge.deal { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; box-shadow: none; font-size: 0.6875rem; padding: 4px 10px; }
.
.promo .chip.deal { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.filters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.map { width: 100%; height: 360px; border: 0; }
.site-header + main { padding-top: 56px; }

/* Home page soft corner radius overrides */
.home .search-card,
.home .card { border-radius: 24px; }
.home input,
.home select,
.home textarea,
.home .btn { border-radius: 9999px; }
.home .card img { border-top-left-radius: 24px; border-top-right-radius: 24px; }
/* Home background override: remove hero background image and overlay */
.home .hero-surface { background: transparent !important; background-image: none !important; }
.home .hero-surface::before { display: none !important; }
.home .hero-surface { padding: 56px 16px 24px; min-height: auto; }
.home .hero .intro { margin-bottom: 12px; }
.home .search-card { position: relative; z-index: 10; background: rgba(255,255,255,0.96); border: 1px solid #e2e8f0; box-shadow: 0 20px 40px rgba(15,23,42,0.10); padding: 8px 12px; margin: 16px auto 0; max-width: 820px; }
.home .search-card::before { content: ""; position: absolute; inset: -8px -8px -12px -8px; border-radius: 32px; background: radial-gradient(120% 80% at 95% 10%, rgba(14,165,233,0.12) 0%, rgba(14,165,233,0) 60%), radial-gradient(120% 80% at 5% 90%, rgba(99,102,241,0.12) 0%, rgba(99,102,241,0) 60%); z-index: -1; }
.meta { display: flex; align-items: center; gap: 8px; color: #334155; font-size: 0.9375rem; flex-wrap: wrap; }
.meta.price { font-weight: 700; font-size: 1rem; }
.icon { width: 18px; height: 18px; display: inline-block; background-size: contain; background-repeat: no-repeat; }
.icon.location { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><path d='M12 21s-7-7.36-7-12a7 7 0 1114 0c0 4.64-7 12-7 12z'/><circle cx='12' cy='9' r='2.5'/></svg>"); }
.icon.config { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><rect x='3' y='4' width='18' height='16' rx='2'/><path d='M3 12h18'/></svg>"); }
.icon.price { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2'><path d='M7 4h10M7 8h9a4 4 0 01-4 4H7m0 0l7 8'/></svg>"); }
.home .card .btn.sm { height: 28px; line-height: 28px; padding: 0 12px; font-size: 0.75rem; box-shadow: 0 6px 14px rgba(29,78,216,0.18); }
.home .card .btn.sm:hover { filter: brightness(1.07); box-shadow: 0 8px 18px rgba(29,78,216,0.22); }
.home .card .btn.sm.secondary { background: #ffffff; color: #334155; border: 1px solid #cbd5e1; box-shadow: 0 4px 12px rgba(15,23,42,0.06); text-transform: none; letter-spacing: .02em; }
.home .card .btn.sm.secondary:hover { box-shadow: 0 6px 16px rgba(15,23,42,0.08); }
.home .card .btn.sm.secondary::after { content: none; }
/* Admin square UI overrides */
.admin .btn { border-radius: 0; }
.admin input,
.admin select,
.admin textarea { border-radius: 0; }
.admin .card,
.admin .admin-panel { border-radius: 0; }
.admin .images a,
.admin .images img { border-radius: 0; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .detail-banner img { height: 340px; }
  .featured-section, .projects-section, .recommended-section, .between-section { width: 100%; margin-left: 0; margin-right: 0; }
}

@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .detail-banner img { height: 260px; }
  .search-row { grid-template-columns: 1fr; }
  .card img { height: 160px; }
  .nav { height: 64px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid #cbd5e1; background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%); color: #0f172a; cursor: pointer; box-shadow: 0 6px 16px rgba(15,23,42,0.10); }
  .menu-toggle { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='3' y1='6' x2='21' y2='6'/><line x1='3' y1='12' x2='21' y2='12'/><line x1='3' y1='18' x2='21' y2='18'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 22px 22px; }
  .menu-toggle:active { filter: brightness(0.96); }
  .site-header .nav { display: flex; align-items: center; gap: 8px; }
  .site-header .nav > nav { position: fixed; left: 12px; right: 12px; top: 64px; background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.92) 100%); border: 1px solid #e2e8f0; box-shadow: 0 18px 36px rgba(15,23,42,0.16); padding: 14px; display: none; flex-direction: column; gap: 8px; z-index: 2000; border-radius: 16px; backdrop-filter: saturate(160%) blur(10px); }
  .site-header .nav > nav.open { display: flex; }
  .site-header .nav > nav a { margin-left: 0; font-size: 1rem; padding: 10px 10px; border-radius: 10px; }
  .site-header .nav > nav a.btn { width: auto; height: 34px; line-height: 34px; padding: 0 10px; font-size: 0.8125rem; }
  .site-header + main { padding-top: 72px; }
  .promo-between { grid-template-columns: 1fr; gap: 15px; align-items: start; }
}

@media (min-width: 769px) {
  .menu-toggle { display: none !important; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .card .body h3 { font-size: 1rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.875rem; }
  .container { padding: 0 12px; }
  .card img { height: 140px; }
  .btn { height: 40px; line-height: 40px; }
  .btn { text-transform: none; letter-spacing: .02em; }
  .btn.sm { font-size: 0.6875rem; padding: 0 8px; }
  .home .card .btn.sm { height: 36px; line-height: 36px; font-size: 0.6875rem; padding: 0 8px; }
  .btn.call::before { display: none; }
  .actions { grid-template-columns: 1fr 1fr; gap: 6px; }
  .actions > * { min-width: 0; }
  .card .btn::after { content: none; }
  .label-full { display: none; }
  .label-short { display: inline; }
  .site-header + main { padding-top: 72px; }
  .projects-section { padding-top: 6px !important; }
  .projects-section h1 { margin-top: 0; }
  .projects-section h1 { font-size: 1.75rem; }
  .table { display: block; overflow-x: auto; }
  .modal-card { max-width: 92vw; }
  .home .hero-surface { padding: 12px 12px 12px; }
  .home .hero .intro { margin-bottom: 6px; }
  .bullets, .bullets li { list-style: none !important; }
  ul, ol { list-style: none !important; padding-left: 0 !important; }
  .featured-section .grid-4 { position: relative; display: block !important; overflow: hidden; }
  .featured-section .featured-track { display: flex; flex-wrap: nowrap; gap: 12px; }
  .featured-section .featured-track > .card { flex: 0 0 calc(50% - 6px); min-width: calc(50% - 6px); margin: 0 !important; }
}
.label-full { display: inline; }
.label-short { display: none; }
.card .img-wrap { position: relative; overflow: hidden; }
.banner-thumbs .images { margin: 8px 0 20px; }

/* Mobile-specific spacing override placed after global rule to ensure precedence */
@media (max-width: 640px) {
  .banner-thumbs .images { margin: 2px 0 8px !important; }
}

.recommended-section .grid-4 { position: relative; display: block !important; overflow: hidden; }
.featured-section .grid-4 { position: relative; display: block !important; overflow: hidden; }

/* Scroll Snap Track Styles */
.featured-section .featured-track,
.recommended-section .recommended-track { 
  display: flex; 
  flex-wrap: nowrap; 
  gap: 24px; 
  overflow-x: auto;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  padding-bottom: 10px; /* Space for shadow if needed */
}

/* Hide scrollbar */
.featured-section .featured-track::-webkit-scrollbar,
.recommended-section .recommended-track::-webkit-scrollbar { 
  display: none; 
}

.featured-section .featured-track > .card,
.recommended-section .recommended-track > .card { 
  margin: 0 !important;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .recommended-section .recommended-track,
  .featured-section .featured-track { gap: 12px; }
  
  /* Widths are handled by JS now for precision, but defaults help */
  .featured-section .featured-track > .card,
  .recommended-section .recommended-track > .card { 
    /* flex: 0 0 calc(50% - 6px); fallback */
  }
}

/* Mobile-only alignment for promo-between (woman image + text + button) */
@media (max-width: 640px) {
  .promo-between { grid-template-columns: 1fr; padding: 6px; }
  .promo-between .art { justify-content: flex-start; }
  .promo-between .art img { max-width: 160px; position: static; margin: 0; }
  .promo-between .copy { position: static; text-align: left; }
  .promo-between .copy h2 { font-size: 1.25rem; text-align: left; }
  .promo-between .copy p { font-size: 0.9375rem; text-align: left; overflow-wrap: anywhere; }
  .promo-between .copy .btn { margin-top: 12px; }
}

@media (max-width: 640px) {
  .featured-section { padding-bottom: 10px !important; }
  .between-section { padding-top: 4px !important; padding-bottom: 20px !important; }
  .recommended-section { padding-top: 0 !important; }
  .featured-section h2 { margin-bottom: 10px; }
  .between-section h2, .recommended-section h2 { margin-top: 0; }
}

/* Loan calculator layout */
.calc-area { width: 80vw; margin-left: calc(-40vw + 50%); margin-right: calc(-40vw + 50%); padding: 8px; }
.calc-area .range-wrap { margin: 4px 0; }
.calc-area .range-minmax { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: #64748b; }
.calc-area .range-minmax { padding: 0 8px; }
.calc-area input[type="range"] { width: 100%; }
.calc-area .row { overflow: visible; }
.calc-area .value-inline { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 4px 0; }
.calc-area .value-inline input[type="text"],
.calc-area .value-inline input[type="number"] { width: 160px; height: 34px; border-radius: 12px; border: 1px solid #cbd5e1; padding: 0 10px; background: #ffffff; box-shadow: 0 2px 8px rgba(15,23,42,0.06); font-size: 0.875rem; color: #0f172a; }
.calc-area .value-inline input[type="text"]:focus,
.calc-area .value-inline input[type="number"]:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,0.20); }
.calc-area .value-inline .unit { display: inline-block; padding: 0 10px; height: 34px; line-height: 34px; border: 1px solid #cbd5e1; border-radius: 12px; background: #f8fafc; color: #334155; }
.calc-area .pie-wrap { display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 16px; background: transparent; }
#emi_pie { max-width: 160px; height: auto; }

/* Loan calculator modern UI enhancements */
.calc-area h1 { font-size: 1.5rem; margin: 10px 0 8px; color: #0f172a; letter-spacing: -.01em; text-align: left; }
.calc-area p { margin: 0 0 12px; color: #64748b; text-align: left; }
.calc-area p.intro { margin-bottom: 16px; font-size: 0.9rem; }
.calc-area .card { border-radius: 12px; }
.calc-area .card { border: none; border-radius: 24px; box-shadow: none; background: transparent; overflow: visible; padding: 4px; }
.calc-area .title-row { justify-content: flex-start; text-align: left; flex-wrap: wrap; margin-bottom: 6px; }
.calc-area .highlights { gap: 4px; justify-content: flex-start; align-items: start; flex-direction: column; margin: 4px 0 10px; }
.calc-area .highlights .meta { border: none; background: transparent; color: #334155; box-shadow: none; display: block; padding: 0; gap: 0; margin: 2px 0; font-size: 0.8125rem; }
.calc-area .highlights .meta .icon { display: none; }
.calc-area .highlights .meta.price { background: transparent; color: #0f172a; font-size: 0.8125rem; }
.calc-area .highlights .meta strong { display: block; font-size: 1.125rem; font-weight: 700; color: #0f172a; }
.calc-area .highlights .meta strong { margin-top: 2px; }
.calc-area #emi_out { font-size: 1.5rem; font-weight: 800; color: #1e40af; }
.calc-area .row { gap: 12px; }
.calc-area .calc-main { gap: 12px; align-items: start; }
.calc-area .result-row { gap: 16px; align-items: start; padding: 4px; }
.calc-area input[type="range"] { -webkit-appearance: none; height: 6px; background: #e2e8f0; border-radius: 9999px; box-sizing: border-box; }
.calc-area input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 9999px; background: #ffffff; border: 3px solid #2563eb; box-shadow: 0 8px 18px rgba(37,99,235,0.25); }

/* Compact SEO Copy */
.seo-copy h2 { font-size: 1.25rem; margin: 16px 0 8px; }
.seo-copy h3 { font-size: 1.125rem; margin: 12px 0 6px; }
.seo-copy h4 { font-size: 1rem; margin: 10px 0 4px; }
.seo-copy p, .seo-copy li { font-size: 0.875rem; line-height: 1.5; margin-bottom: 8px; color: #475569; }
.seo-copy ul { margin-bottom: 12px; }
.seo-copy { padding: 8px; }


/* Mobile Fixed Bottom Bar - Enhanced White */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
    z-index: 9999;
    padding: 0;
    height: auto;
    border-top: 1px solid #e2e8f0;
}

.mobile-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    border: none;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 2px;
    position: relative;
    overflow: hidden;
    gap: 3px;
    border-right: 1px solid #f1f5f9;
}

.mobile-bar-item:last-child {
    border-right: none;
}

.mobile-bar-item .icon-wrap {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-bar-item svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

.mobile-bar-item span {
    letter-spacing: 0.2px;
    z-index: 2;
}

/* Item Specific Colors (Background Tints & Text/Icon Colors) */
.mobile-bar-item.item-enquire .icon-wrap { background: #eff6ff; }
.mobile-bar-item.item-enquire svg { stroke: #2563eb; }
.mobile-bar-item.item-enquire span { color: #2563eb; }

.mobile-bar-item.item-whatsapp .icon-wrap { background: #f0fdf4; }
.mobile-bar-item.item-whatsapp svg { stroke: #16a34a; }
.mobile-bar-item.item-whatsapp span { color: #16a34a; }

.mobile-bar-item.item-brochure .icon-wrap { background: #fffbeb; }
.mobile-bar-item.item-brochure svg { stroke: #d97706; }
.mobile-bar-item.item-brochure span { color: #d97706; }

/* Hover & Active Effects */
.mobile-bar-item:active {
    background-color: #f8fafc;
}

.mobile-bar-item:active .icon-wrap {
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse-ring-color {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.mobile-bar-item.item-whatsapp .icon-wrap {
    animation: pulse-ring-color 2s infinite;
}

.mobile-bar-item:hover .icon-wrap {
    animation: bounce-icon 1s infinite;
}

@media (max-width: 640px) {
    .home .featured-section { padding-top: 8px; }
    .mobile-bottom-bar {
        display: flex;
        justify-content: stretch;
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    body {
        padding-bottom: 55px;
    }

    .site-footer {
        text-align: center !important;
        padding: 30px 15px 5px !important;
    }
    
    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
        width: 100% !important;
    }
    
    .footer-col-brand, 
    .footer-col-links, 
    .footer-col-contact {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    .footer-col-brand img {
        margin: 0 auto 20px;
        height: 56px !important;
    }
    
    .footer-social {
        justify-content: center !important;
        width: 100% !important;
    }
    
    .footer-col-links div {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-col-contact {
        text-align: center !important;
    }
}

.calc-area input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 9999px; background: #ffffff; border: 3px solid #2563eb; box-shadow: 0 8px 18px rgba(37,99,235,0.25); }
.calc-area .byline a { color: #1e40af; text-decoration: none; font-weight: 600; }
.calc-area .byline { margin: 8px 0; }

/* Left column font size adjustments */
.calc-area .calc-main .col-6.left-col { font-size: 1.125rem; }
.calc-area .left-col label { font-size: 0.875rem; }
.calc-area .left-col .range-minmax { font-size: 0.875rem; }
.calc-area .left-col .value-inline input[type="text"],
.calc-area .left-col .value-inline input[type="number"] { font-size: 1rem; }
.calc-area .left-col .value-inline .unit { font-size: 0.9375rem; }

/* SEO copy font size increase */
.calc-area .seo-copy { font-size: 1.25rem; }

.calc-area .calc-promo { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; background: radial-gradient(120% 80% at 10% 50%, rgba(14,165,233,0.10) 0%, rgba(14,165,233,0) 60%), radial-gradient(120% 80% at 90% 50%, rgba(99,102,241,0.10) 0%, rgba(99,102,241,0) 60%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; overflow: hidden; min-height: 140px; }
.calc-area .calc-promo .art img { width: 100%; max-width: 110px; height: auto; display: block; }
.calc-area .calc-promo .copy { align-self: center; text-align: left; }
.calc-area .calc-promo .copy h3 { margin: 0 0 6px; font-size: 1.25rem; color: #0f172a; }
.calc-area .calc-promo .copy p { margin: 0; color: #334155; font-size: 1rem; line-height: 1.6; }

.fullwidth-section { width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); background: #ffffff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.fullwidth-section .wrap { max-width: 1200px; margin: 0 auto; padding: 8px 16px; }
.calc-area .calc-promo .copy .btn { margin-top: 10px; }
@media (max-width: 640px) {
  .calc-area .calc-promo { grid-template-columns: 80px 1fr; padding: 12px; min-height: 120px; }
  .calc-area .calc-promo .art img { max-width: 80px; }
  .calc-area .calc-promo .copy h3 { font-size: 1.125rem; }
  .calc-area .calc-promo .copy p { font-size: 0.9375rem; }
}

/* Explanation table */
.calc-area .summary-block .table { width: 100%; }
.calc-area .summary-block .table th { width: 46%; }
.calc-area .summary-block .table th, .calc-area .summary-block .table td { padding: 8px; }
.calc-area .summary-block .table td { font-weight: 600; }
.calc-area .summary-block .table tr.emi-row td { color: #1e40af; font-weight: 800; font-size: 1.125rem; }
.calc-area .summary-block .table tr.total-row td { color: #0f172a; font-weight: 800; }

/* Mobile layout for loan calculator (scoped to calc-area) */
@media (max-width: 640px) {
  .calc-area { width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); padding: 10px; }
  .calc-area .calc-main .col-6 { grid-column: span 12; }
  .calc-area .result-row .col-6 { grid-column: span 12; }
  .calc-area .row { gap: 12px; }
  .calc-area h1 { font-size: 1.75rem; }
  .calc-area #emi_out { font-size: 1.75rem; }
  .calc-area .highlights .meta strong { font-size: 1.25rem; }
  .calc-area .value-inline input[type="text"],
  .calc-area .value-inline input[type="number"] { width: 100% !important; min-width: 0; }
  .calc-area .value-inline { gap: 6px; }
  .calc-area .range-minmax { font-size: 0.75rem; padding: 0 4px; }
  #emi_pie { max-width: 180px; width: 100%; height: auto; }
  .calc-area .card { padding: 6px; }
  .calc-area .summary-block .table { display: block; overflow-x: auto; }
  /* Reduce only the copywriting info block fonts on mobile */
  .calc-area .seo-copy { font-size: 1rem; }
  .calc-area .seo-copy h2 { font-size: 1.25rem; }
  .calc-area .seo-copy h3 { font-size: 1.0625rem; }
  .calc-area .seo-copy h4 { font-size: 1rem; }
  .calc-area .seo-copy p, 
  .calc-area .seo-copy ul, 
  .calc-area .seo-copy li { font-size: 0.9375rem; line-height: 1.55; }
}

/* Mobile Responsiveness for Entire Site */
@media (max-width: 768px) {
    /* Font sizing for mobile only */
    html { font-size: 15px; } 
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.25rem !important; }
    h3 { font-size: 1.1rem !important; }

    /* Layout adjustments */
    .container { padding: 0 12px; }
    
    /* Navigation */
    .menu-toggle { display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: #334155; padding: 0; }
    .site-header .nav > nav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: #fff; 
        flex-direction: column; 
        padding: 16px; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        align-items: flex-start;
    }
    .site-header .nav > nav.open { display: flex; }
    .site-header .nav > nav a { margin: 8px 0; width: 100%; font-size: 1rem; }
    .site-header .nav > nav a.btn { width: 100%; margin-top: 12px; }

    /* Grids */
    .grid, .grid-2, .grid-4, .grid-5 { grid-template-columns: 1fr; gap: 16px; }
    .search-row { grid-template-columns: 1fr; }
    .search-row > * { width: 100%; }
    
    /* Sections width fixes */
    .featured-section, .recommended-section, .between-section, .projects-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Hero */
    .hero { margin-left: 0; margin-right: 0; width: 100%; }
    .hero-surface { min-height: auto; padding: 40px 16px; }
    .hero .intro { width: 100%; }
    
    /* Detail Page */
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; margin-top: 24px; }
    .detail-banner { min-height: 250px; height: auto; }
    .detail-banner img { height: 250px; }
    .title-row { flex-direction: column; align-items: flex-start; }
    .title-row .enquire-btn { width: 100%; text-align: center; }
    
    /* Promo Between */
    .promo-between { grid-template-columns: 1fr; text-align: center; padding: 24px 16px; }
    .promo-between .art { justify-content: center; }
    .promo-between .art img { left: 0; margin: 0 auto 20px; max-width: 120px; }
    .promo-between .copy { left: 0; text-align: center; }
    .promo-between .copy h2, .promo-between .copy p { text-align: center; }
    
    /* Tables */
    .table-wrapper { overflow-x: auto; width: 100%; }
    .pricing-block .table, .table { display: block; overflow-x: auto; white-space: nowrap; }
    
    /* Chips */
    .city-suggestions { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
    .section .chip { margin-bottom: 8px; }
    
    /* Footer */
    .site-footer { text-align: center; }
}
