:root {
  --primary: #f0581e;
  --secondary: #d9430c;
  --primary-dark: #c4410f;
  --ink: #222;
  --muted: #6e6e6e;
  --grey: #efebeb;
  --dark: #232d30;
  --summary-w: 320px;
  --nav-h: 60px;
}

html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: 'Outfit', Arial, sans-serif; color: var(--ink); font-size: 15px; background: #fff; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--primary); }
.text-theme { color: var(--primary) !important; }

/* ----- Loader ----- */
#loader { position: fixed; inset: 0; z-index: 99999; background: #fff; display: flex; align-items: center; justify-content: center; transition: opacity .4s, visibility .4s; }
#loader.hide { opacity: 0; visibility: hidden; }
#loader .brand-mark { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }

/* ----- Text logo ----- */
.brand-mark { display: inline-flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.brand-mark .bm-top { font-weight: 700; font-size: 20px; color: var(--primary); letter-spacing: .3px; }
.brand-mark .bm-sub { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dark); font-weight: 500; }

/* ----- Buttons ----- */
.btn-theme { background: var(--primary); color: #fff; border: 2px solid var(--primary); border-radius: 6px; font-weight: 500; transition: .4s; }
.btn-theme:hover, .btn-theme:focus { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.btn-theme-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); border-radius: 6px; font-weight: 500; }
.btn-theme-outline:hover { background: var(--primary); color: #fff; }
.btn-gradient { color: #fff; border: 0; font-weight: 600; letter-spacing: .5px; text-shadow: 0 2px 4px rgba(0,0,0,.25);
  background: linear-gradient(-45deg, var(--secondary), var(--primary), var(--secondary), var(--primary)); background-size: 400% 400%; animation: gradient 3s ease infinite; }
.btn-gradient:hover { color: #fff; }
@keyframes gradient { 0% { background-position: 0 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.pulse-btn { animation: gradient 3s ease infinite, ring 1.6s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 6px rgba(240,88,30,.25); } }

/* ----- Navbar ----- */
.site-nav { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.1); min-height: var(--nav-h); padding: 4px 0; right: var(--summary-w); }
.site-nav .nav-link { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2px 10px !important; color: var(--ink); font-size: 13px; line-height: 1.3; }
.site-nav .nav-link i { font-size: 15px; color: var(--primary); margin-bottom: 2px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--primary); }
.navbar-toggler { border: 0; box-shadow: none !important; }

/* ----- Layout: left content + fixed right summary ----- */
.main-container { margin-top: var(--nav-h); }
.left-section { width: calc(100% - var(--summary-w)); }

/* ----- Desktop summary panel ----- */
.desktop-summary { position: fixed; top: 0; right: 0; width: var(--summary-w); height: 100%; background: #fff; z-index: 1035; box-shadow: 0 -1px 11px rgba(0,0,0,.55); display: flex; flex-direction: column; overflow-y: auto; }
.og-block { display: flex; }
.og-block a { flex: 1; background: #000; color: #fff; text-align: center; font-size: 13px; padding: 9px 0; text-decoration: none; }
.og-block a:first-child { border-right: 1px solid #fff; }
.og-block a:hover { background: var(--primary); }
.summary-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.summary-body h2 { font-size: 17px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.offer-box { border-top: 3px dashed var(--primary); border-bottom: 3px dashed var(--primary); text-align: center; padding: 8px 4px; margin-bottom: 16px; font-size: 14px; }
.offer-box p { margin: 0; padding: 5px 0; border-bottom: 1px solid #f6d3c4; }
.offer-box p:last-child { border-bottom: 0; }
.offer-box b { color: var(--primary-dark); }
.call-strip { list-style: none; margin: auto 0 0; padding: 12px 0 0; display: flex; text-align: center; font-size: 12px; border-top: 1px solid #eee; }
.call-strip li { flex: 1; }
.call-strip i { display: block; font-size: 20px; color: var(--primary); }

/* ----- Hero ----- */
#home { position: relative; background: #d3f4ff; }
#home .carousel-item img { width: 100%; height: calc(100vh - var(--nav-h)); min-height: 520px; object-fit: cover; }
.slide-btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: 110px; height: 30px; z-index: 6; }
.slide-btn .carousel-control-prev, .slide-btn .carousel-control-next { width: 30px; height: 30px; background: #000; border-radius: 50%; opacity: .85; }
.slide-btn .carousel-control-prev-icon, .slide-btn .carousel-control-next-icon { width: 14px; height: 14px; }
.img-note { position: absolute; right: 10px; bottom: 8px; z-index: 5; font-size: 11px; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 3px; }

.project-details { position: absolute; z-index: 5; top: 30px; left: 20px; width: 310px; background: #fff; border-radius: 0 0 22px 22px; box-shadow: 0 0 10px #7f7a7a; text-align: center; overflow: hidden; }
.project-details .pd-launch { background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 5px; }
.project-details .pd-inner { padding: 14px 16px 18px; }
.project-details h1 { font-size: 19px; font-weight: 700; text-transform: uppercase; margin: 0; }
.project-details .pd-loc { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.project-details .pd-by { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.pd-facts { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #f7ddd1; border-radius: 8px; overflow: hidden; }
.pd-facts li { padding: 7px 4px; font-size: 13px; border-bottom: 1px solid #f7ddd1; }
.pd-facts li:nth-child(odd) { border-right: 1px solid #f7ddd1; }
.pd-facts li:nth-last-child(-n+2) { border-bottom: 0; }
.pd-facts b { display: block; color: var(--primary-dark); font-size: 15px; }
.pd-offers { background: var(--grey); border-radius: 6px; padding: 6px; font-size: 13px; margin-bottom: 10px; }
.pd-offers p { margin: 0; padding: 3px 0; }
.pd-config { font-size: 14px; margin: 0; color: var(--muted); }
.pd-price { font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.pd-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.pd-rera { font-size: 10.5px; color: var(--muted); margin: 10px 0 0; word-break: break-word; }

/* ----- Boxed sections ----- */
.sec1 { background: #fff; margin: 10px; padding: 30px 10px; }
.sec2 { background: var(--grey); margin: 10px; padding: 30px 10px; }
.section-title { position: relative; font-size: 24px; font-weight: 600; color: var(--primary); text-align: center; margin: 0 0 30px; padding: 10px; }
.section-title::before { content: ''; position: absolute; width: 120px; height: 1px; background: #a39d9d; bottom: 1px; left: calc(50% - 60px); }
.section-title::after { content: ''; position: absolute; width: 40px; height: 3px; background: var(--primary); bottom: 0; left: calc(50% - 20px); }

/* Overview */
#overview .ov-text p { color: #444; line-height: 1.75; }
#overview .more { max-height: 1200px; overflow: hidden; transition: max-height .5s; }
#overview .more.collapsed { max-height: 0; }
.btn-overview { background: none; border: 0; color: var(--primary); font-weight: 600; padding: 0; }
.btn-overview i { display: inline-block; transition: transform .3s; }
.btn-overview.open i { transform: rotate(90deg); }
#overview .ov-img img { width: 100%; height: 360px; object-fit: cover; border-radius: 10px; }

/* Walkthrough */
.video-box { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; cursor: pointer; }
.video-box img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-box .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 36px; display: flex; align-items: center; justify-content: center; animation: ripple 1.8s infinite; }
@keyframes ripple { 0% { box-shadow: 0 0 0 0 rgba(240,88,30,.7); } 70% { box-shadow: 0 0 0 22px rgba(240,88,30,0); } 100% { box-shadow: 0 0 0 0 rgba(240,88,30,0); } }

/* Highlights */
.hl-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 30px; }
.hl-list li { break-inside: avoid; position: relative; padding: 8px 0 8px 30px; border-bottom: 1px dashed #ddd; }
.hl-list li i { position: absolute; left: 0; top: 9px; color: var(--primary); font-size: 17px; }

/* Pricing */
.price-table { background: #fff; margin: 0; }
.price-table thead th { background: var(--primary); color: #fff; font-weight: 500; border: 0; padding: 12px; }
.price-table td { vertical-align: middle; padding: 12px; }
.price-table .amt { font-weight: 700; color: var(--primary-dark); }
.price-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* Floor plan */
.plan-title { font-size: 18px; font-weight: 600; text-align: center; margin: 0 0 14px; }
.img_box { position: relative; overflow: hidden; border: 1px solid #ddd; background: #fff; }
.img_box img { width: 100%; height: 320px; object-fit: cover; filter: blur(3px); transform: scale(1.04); }
.img_box .img_btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; }

/* Amenities */
.amenity-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); height: 100%; }
.amenity-card img { width: 100%; height: 190px; object-fit: cover; transition: transform .6s; }
.amenity-card:hover img { transform: scale(1.06); }
.amenity-card p { margin: 0; padding: 10px; text-align: center; font-weight: 500; }
.amenities-btn { display: block; margin: 30px auto 10px; }

/* Gallery */
.gallery-item { cursor: pointer; overflow: hidden; border-radius: 8px; position: relative; }
.gallery-item img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.08); }
#lightbox .modal-content { background: transparent; border: 0; }
#lightbox .carousel-item img { max-height: 82vh; object-fit: contain; }
#lightbox .btn-close { position: absolute; right: 0; top: -38px; z-index: 5; }

/* Connectivity */
#connectivity .nav-pills { justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
#connectivity .nav-pills .nav-link { color: var(--ink); background: #fff; border-radius: 30px; padding: 7px 18px; font-size: 14px; }
#connectivity .nav-pills .nav-link.active { background: var(--primary); color: #fff; }
.loc-list { list-style: none; padding: 0; margin: 0; }
.loc-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 4px; border-bottom: 1px dashed #cfc8c8; }
.loc-list li span:first-child i { color: var(--primary); margin-right: 8px; }
.loc-list .time { white-space: nowrap; font-weight: 600; color: var(--primary-dark); }
.location-img { position: relative; border: 2px solid #000; height: 300px; padding: 10px; background: #fff; }
.location-img iframe { width: 100%; height: 100%; border: 0; }
.location-img .map-btn { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; }

/* Developer */
#developer p { color: #444; line-height: 1.75; }
.dev-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.dev-facts div { background: var(--grey); border-radius: 8px; padding: 12px; text-align: center; }
.dev-facts b { display: block; font-size: 22px; color: var(--primary); }
.dev-facts span { font-size: 13px; }

/* Contact / site visit */
#contact { margin: 10px; padding-bottom: 30px; background: #fff; }
#contact .full-width { background: var(--primary); padding: 70px 0 110px; }
#contact .full-width .section-title { color: #fff; margin: 0; }
#contact .full-width .section-title::before { background: rgba(255,255,255,.6); }
#contact .full-width .section-title::after { background: #fff; }
#contact .contact-data { margin: -95px 20px 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 25px gray; }
#contact .contact-img { position: relative; height: 100%; min-height: 260px; }
#contact .contact-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#contact .contact-form { padding: 26px 24px; }
.visit-perks { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.visit-perks i { color: var(--primary); margin-right: 4px; }

/* Forms */
.form-control { border-radius: 6px; padding: 9px 12px; font-size: 14px; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(240,88,30,.2); }
.consent { font-size: 11px; line-height: 1.45; color: var(--muted); }
.consent .form-check-input { margin-top: 2px; }
.form-check-input:checked { background-color: #858383; border-color: #858383; }
.form-msg { font-size: 13px; }
.form-msg.err { color: #d9534f; margin-top: 8px; }

/* Enquiry modal */
#enqModal .modal-content { border: 0; border-radius: 12px; overflow: hidden; }
#enqModal .modal-header { background: var(--primary); color: #fff; border: 0; justify-content: center; position: relative; }
#enqModal .modal-title { font-size: 19px; font-weight: 600; text-align: center; padding: 0 24px; }
#enqModal .btn-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); filter: invert(1); }
#enqModal .modal-perks { list-style: none; display: flex; padding: 0; margin: 0 0 14px; text-align: center; font-size: 12px; }
#enqModal .modal-perks li { flex: 1; }
#enqModal .modal-perks i { display: block; font-size: 20px; color: var(--primary); }

/* Footer */
.sec3 { background: var(--grey); margin: 10px; padding: 36px 26px 20px; font-size: 13.5px; }
.sec3 .disclaimer { font-size: 12px; color: #555; line-height: 1.7; margin: 20px 0 0; }
#footer-links { background: var(--dark); color: #b5cfda; font-size: 12px; padding: 8px 10px 70px; text-align: center; }
#footer-links a { color: #fff; text-decoration: none; }
#footer-links a:hover { text-decoration: underline; }

/* Mobile sticky bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; background: #fff; box-shadow: 0 -4px 14px rgba(0,0,0,.15); }
.mobile-bar a { flex: 1; text-align: center; padding: 8px 2px; font-size: 12px; font-weight: 500; text-decoration: none; color: var(--ink); border-right: 1px solid #eee; }
.mobile-bar a:last-child { border-right: 0; background: var(--primary); color: #fff; }
.mobile-bar i { display: block; font-size: 18px; line-height: 1.3; color: var(--primary); }
.mobile-bar a:last-child i { color: #fff; }
.mobile-bar .wa i { color: #25d366; }

/* Floating WhatsApp (desktop, sits left of the summary panel) */
.float-wa { position: fixed; right: calc(var(--summary-w) + 18px); bottom: 22px; z-index: 1030; width: 50px; height: 50px; border-radius: 50%; background: #25d366; color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); text-decoration: none; }
.float-wa:hover { color: #fff; }

#backTop { position: fixed; left: 16px; bottom: 22px; z-index: 1030; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; opacity: 0; visibility: hidden; transition: .3s; }
#backTop.show { opacity: 1; visibility: visible; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 1399px) {
  .site-nav .nav-link { padding: 2px 6px !important; font-size: 12.5px; }
}
@media (max-width: 1199px) {
  :root { --summary-w: 0px; }
  .desktop-summary, .float-wa { display: none !important; }
  .site-nav { right: 0; }
  .left-section { width: 100%; }
  .site-nav .navbar-collapse { padding: 8px 0 14px; }
  .site-nav .nav-link { flex-direction: row; gap: 8px; font-size: 15px; padding: 9px 4px !important; border-bottom: 1px solid #fbe9e1; }
  #backTop { bottom: 70px; }
}
@media (max-width: 991px) {
  #home .carousel-item img { height: 300px; min-height: 0; }
  .project-details { position: static; width: auto; margin: 0; border-radius: 0; box-shadow: none; }
  .slide-btn { bottom: auto; top: 250px; }
  .img-note { bottom: auto; top: 8px; }
  #overview .ov-img img { height: 260px; }
  .hl-list { columns: 1; }
  #contact .contact-data { margin: -95px 10px 0; }
}
@media (max-width: 575px) {
  .sec1, .sec2, .sec3 { margin: 6px; padding: 24px 6px; }
  .section-title { font-size: 20px; }
  .img_box img { height: 230px; }
  .gallery-item img { height: 140px; }
  .amenity-card img { height: 140px; }
  .dev-facts { grid-template-columns: 1fr; }
  #contact { margin: 6px; }
  #contact .contact-form { padding: 20px 14px; }
}
