/* =====================================================================
   IN-LAND Builders - premium polish layer
   Additive only: same palette (green #0f3e21, maroon #710d0f), same font (Alata), same layouts.
   Loaded after the site's own CSS. No form markup or CRM script is touched by anything here.
   ===================================================================== */

:root {
  --ib-green: #0f3e21;
  --ib-green-2: #1a5a33;
  --ib-maroon: #710d0f;
  --ib-maroon-2: #8d1215;
  --ib-ink: #1f2a24;
  --ib-muted: #5d6862;
  --ib-line: #e3e8e5;
  --ib-soft: #f5f7f6;
  --ib-radius: 12px;
  --ib-shadow-1: 0 1px 2px rgba(16, 40, 26, .06), 0 8px 24px rgba(16, 40, 26, .08);
  --ib-shadow-2: 0 2px 6px rgba(16, 40, 26, .08), 0 20px 44px rgba(16, 40, 26, .16);
  --bs-link-color-rgb: 113, 13, 15;
  --bs-link-hover-color-rgb: 86, 10, 12;
}

/* ---------- 1. foundations ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #0f3e21 #eef2ef; scrollbar-width: thin; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: #0f3e21; color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef2ef; }
::-webkit-scrollbar-thumb { background: #0f3e21; border-radius: 10px; border: 2px solid #eef2ef; }
::-webkit-scrollbar-thumb:hover { background: #710d0f; }
a { transition: color .2s ease; }
:focus-visible { outline: 3px solid rgba(113, 13, 15, .55); outline-offset: 2px; }
img { image-rendering: auto; }

/* ---------- 2. typography ---------- */
.heading2 { line-height: 1.2; letter-spacing: -.2px; }
.text-center > .heading2::after, .heading2.text-center::after, .about-txt .heading2::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, #710d0f 0 50%, #0f3e21 50% 100%);
}
section p, .overview-txt p, .news-txt p { line-height: 1.8; }
.shadow p, .overview-txt p, .news-txt p, .leadership p { text-align: left; hyphens: auto; -webkit-hyphens: auto; }
.text-center .about-txt p { text-align: center; }

/* ---------- 3. header & navigation ---------- */
body > header, .fixed-top { transition: background-color .35s ease, box-shadow .35s ease; }
body > header.is-scrolled, .fixed-top.is-scrolled, .fixed-top.scrolled {
  background-color: rgba(22, 28, 24, .93) !important;
  -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}
.logo { transition: transform .35s ease; transform-origin: left center; }
.is-scrolled .logo, .scrolled .logo { transform: scale(.9); }

@media (min-width: 992px) {
  .stellarnav.desktop > ul > li > a { position: relative; }
  .stellarnav.desktop > ul > li > a::before {
    content: ""; position: absolute; left: 20px; right: 20px; bottom: 9px; height: 2px; background: #fff;
    transform: scaleX(0); transform-origin: center; transition: transform .28s ease;
  }
  .stellarnav.desktop > ul > li:hover > a::before, .stellarnav.desktop > ul > li > a.active::before { transform: scaleX(1); }
  .stellarnav.desktop ul ul {
    background: rgba(22, 28, 24, .97) !important; border-top: 3px solid #710d0f; border-radius: 0 0 12px 12px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .38); padding: 8px 0; animation: ibDrop .22s ease;
  }
  .stellarnav.desktop ul ul li { border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .stellarnav.desktop ul ul li:last-child { border-bottom: 0; }
  .stellarnav.desktop ul ul li a { padding: 11px 22px; font-weight: 500; transition: padding .2s ease, background .2s ease; }
  .stellarnav.desktop ul ul li a, .stellarnav.dark.desktop ul ul li a { color: #eef3ef !important; text-decoration: none; }
  .stellarnav.desktop ul ul li a:hover, .stellarnav.dark.desktop ul ul li a:hover { background: rgba(255, 255, 255, .1); color: #fff !important; padding-left: 28px; text-decoration: none; }
  .stellarnav.desktop ul ul li a.menu-static, .stellarnav.dark.desktop ul ul li a.menu-static { color: rgba(238, 243, 239, .55) !important; }
}
@keyframes ibDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.stellarnav a.menu-static { opacity: .6; cursor: default; pointer-events: none; }

/* in-page tab bar on project pages */
#menu22 nav { background: rgba(255, 255, 255, .96) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(16, 40, 26, .1); border-bottom: 1px solid var(--ib-line); }
#menu22 .nav-pills { gap: 4px; flex-wrap: wrap; justify-content: center; }
#menu22 .nav-pills .nav-link { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ib-ink); padding: 8px 16px; border-radius: 30px; transition: background .2s ease, color .2s ease; }
#menu22 .nav-pills .nav-link:hover { background: #e9f1ec; color: var(--ib-green); }
#menu22 .nav-pills .nav-link.active { background: var(--ib-green); color: #fff; }

/* ---------- 4. buttons ---------- */
.btn-one { display: inline-block; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; box-shadow: 0 6px 16px rgba(113, 13, 15, .26); }
.btn-one:hover { transform: translateY(-2px); background-color: var(--ib-maroon-2) !important; box-shadow: 0 12px 24px rgba(113, 13, 15, .34); }
.btn-one:active { transform: none; box-shadow: 0 4px 10px rgba(113, 13, 15, .25); }
.btn-primary { --bs-btn-bg: #710d0f; --bs-btn-border-color: #710d0f; --bs-btn-hover-bg: #560a0c; --bs-btn-hover-border-color: #560a0c; --bs-btn-active-bg: #560a0c; --bs-btn-active-border-color: #560a0c; --bs-btn-disabled-bg: #710d0f; --bs-btn-disabled-border-color: #710d0f; --bs-btn-focus-shadow-rgb: 113, 13, 15; border-radius: 30px; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; padding: 9px 30px; box-shadow: 0 6px 16px rgba(113, 13, 15, .24); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(113, 13, 15, .32); }

/* ---------- 5. cards, depth & imagery ---------- */
.shadow { box-shadow: var(--ib-shadow-1) !important; border-radius: var(--ib-radius); }
.card-grey, .builders { box-shadow: var(--ib-shadow-1) !important; border-radius: var(--ib-radius); background: #fff; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.card-grey:hover, .builders:hover { transform: translateY(-6px); box-shadow: var(--ib-shadow-2) !important; }
.card-grey img, .news-txt img, .video-thumb img { border-radius: 8px; }
.new-arrivals-link img { transition: transform .6s ease !important; }
.new-arrivals-link:hover img { opacity: 1 !important; }
.row.border { border: 1px solid var(--ib-line) !important; border-radius: var(--ib-radius); background: #fff; box-shadow: var(--ib-shadow-1); }
.demo-gallery > ul > li a { border-radius: 10px; border: 0 !important; box-shadow: var(--ib-shadow-1); }
.demo-gallery > ul > li a:hover { box-shadow: var(--ib-shadow-2); }
.videoThem a { border-radius: 10px; overflow: hidden; box-shadow: var(--ib-shadow-1); }
.status-badge { position: absolute; top: 18px; left: 18px; z-index: 3; padding: 5px 12px; border-radius: 30px; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--ib-green); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); pointer-events: none; }
.status-badge.is-ready { background: var(--ib-maroon); }
.status-badge.is-done { background: #4a5750; }

/* ---------- 6. project page sections ---------- */
.overview-txt { padding: 26px 0 8px; }
.overview-txt h2 { display: inline-block; background: none !important; color: var(--ib-green) !important; font-size: 26px; font-weight: 700; padding: 0 0 10px !important; margin: 0 0 12px !important; position: relative; border-radius: 0; box-shadow: none; text-shadow: none; }
.overview-txt h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--ib-maroon); border-radius: 3px; }
.overview-txt h3 { color: var(--ib-green); text-shadow: none; }

.project-highlight { border: 0; display: block; --bs-table-bg: transparent; --bs-table-striped-bg: transparent; margin-bottom: 18px; }
.project-highlight tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.project-highlight tr { display: block; position: relative; background: var(--ib-soft); border: 1px solid var(--ib-line); border-radius: 10px; padding: 14px 16px 14px 50px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.project-highlight tr:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--ib-shadow-1); }
.project-highlight tr::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 15px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--ib-green); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.project-highlight td { display: block; border: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; font-size: 15px; line-height: 1.6; color: #2c3a32; }
.project-highlight td:empty { display: none; }

#Specifications h3 { color: var(--ib-green); font-size: 17px; letter-spacing: .12em; font-weight: 700; margin: 8px 0 12px; padding-left: 14px; border-left: 4px solid var(--ib-maroon); }
.projectListNone { list-style: none; padding: 0; margin: 0 0 14px; }
.projectListNone li { position: relative; padding: 9px 0 9px 30px; font-size: 15px; line-height: 1.65; color: #2f3d35; border-bottom: 1px dashed var(--ib-line); }
.projectListNone li:last-child { border-bottom: 0; }
.projectListNone li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 4px; top: 11px; color: var(--ib-green); font-size: 13px; }
#Specifications hr { border-color: var(--ib-line); opacity: 1; margin: 18px 0; }

.OverviewAds img { transition: transform .3s ease; }
.OverviewAds:hover img { transform: translateY(-3px) scale(1.05); }
.bg-light.py-4 { border-radius: 10px; background: var(--ib-soft) !important; }

.accordion { --bs-accordion-active-bg: #eaf3ee; --bs-accordion-active-color: #0f3e21; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(15, 62, 33, .15); --bs-accordion-border-color: var(--ib-line); --bs-accordion-border-radius: 10px; }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { box-shadow: inset 0 -1px 0 var(--ib-line); }
.accordion-button:not(.collapsed)::after { filter: hue-rotate(90deg) saturate(.8); }

.nav-tabs { border-bottom: 1px solid var(--ib-line); }
.nav-tabs .nav-link { color: #42514a; border: 0; border-bottom: 3px solid transparent; font-weight: 600; padding: 10px 18px; transition: color .2s ease, border-color .2s ease; }
.nav-tabs .nav-link:hover { color: var(--ib-green); border-bottom-color: #cdd8d1; }
.nav-tabs .nav-link.active { color: var(--ib-green); background: none; border-bottom-color: var(--ib-maroon); }

/* ---------- 7. forms (styling only; markup and scripts untouched) ---------- */
.form-control, .form-select { border: 1px solid #cdd8d1; border-radius: 8px; padding: .62rem .9rem; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-control:focus, .form-select:focus { border-color: var(--ib-green); box-shadow: 0 0 0 .22rem rgba(15, 62, 33, .14); }
.form-label, label { font-weight: 600; font-size: 14px; color: var(--ib-ink); }
.form-check-input:checked { background-color: var(--ib-green); border-color: var(--ib-green); }
#Enquiry .bg-light, #Enquiry .row.border + .row { border-radius: 12px; }
#Enquiry form { padding: 6px 4px; }
.modal-content { border: 0; border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); overflow: hidden; }
.modal-header { border-bottom: 1px solid var(--ib-line); }

/* ---------- 8. breadcrumb ---------- */
.breadcrumb { --bs-breadcrumb-divider: '\203A'; font-size: 14px; margin-bottom: 20px; }
.breadcrumb a { color: var(--ib-green); text-decoration: none; }
.breadcrumb a:hover { color: var(--ib-maroon); text-decoration: underline; }
.breadcrumb-item + .breadcrumb-item::before { color: #98a39d; }

/* ---------- 9. hero slider (home) ---------- */
#carouselExample .carousel-control-prev, #carouselExample .carousel-control-next { transition: opacity .25s ease; }
#carouselExample .carousel-control-prev-icon, #carouselExample .carousel-control-next-icon { transition: transform .25s ease, background-color .25s ease; }
#carouselExample .carousel-control-prev:hover .carousel-control-prev-icon, #carouselExample .carousel-control-next:hover .carousel-control-next-icon { transform: scale(1.12); }
#carouselExample .carousel-indicators { margin-bottom: 22px; gap: 8px; }
#carouselExample .carousel-indicators [data-bs-target] { width: 30px; height: 4px; border: 0; border-radius: 4px; background-color: #fff; opacity: .5; margin: 0; transition: width .3s ease, opacity .3s ease; }
#carouselExample .carousel-indicators .active { width: 52px; opacity: 1; }
#carouselExample::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(0deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0)); pointer-events: none; z-index: 1; }

/* ---------- 10. footer ---------- */
.footer-cta { position: relative; z-index: 2; margin-top: 30px; padding: 0 15px; }
.footer-cta-inner { max-width: 1140px; margin: 0 auto -48px; padding: 30px 38px; border-radius: 16px; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(115deg, #710d0f 0%, #8d1215 60%, #a3181c 100%); box-shadow: 0 24px 50px rgba(113, 13, 15, .35); }
.footer-cta h2 { font-size: 26px; margin: 0 0 4px; color: #fff; line-height: 1.25; }
.footer-cta p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .88); text-align: left; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta .cta-btn { display: inline-block; padding: 12px 26px; border-radius: 30px; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.footer-cta .cta-btn.solid { background: #fff; color: #710d0f; }
.footer-cta .cta-btn.solid:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 0, 0, .25); }
.footer-cta .cta-btn.line { border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; }
.footer-cta .cta-btn.line:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

footer { background: linear-gradient(180deg, #0f3e21 0%, #0a2c17 100%) !important; box-shadow: none !important; border-top: 0; color: #cfe0d5; padding: 92px 0 18px !important; position: relative; }
footer .footer-txt h4 { color: #fff !important; font-size: 14px !important; letter-spacing: 2.5px; position: relative; padding-bottom: 14px; margin-bottom: 18px; }
footer .footer-txt h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: rgba(255, 255, 255, .55); }
footer .footer-txt ul li a { color: #cfe0d5 !important; display: inline-block; padding: 5px 0 !important; transition: color .2s ease, transform .2s ease; }
footer .footer-txt ul li a:hover { color: #fff !important; transform: translateX(5px); }
footer .footer-note { color: #a9c0b2; font-size: 13.5px; line-height: 1.65; margin: 16px 0 0; text-align: left; max-width: 260px; }
footer hr { border-color: rgba(255, 255, 255, .18); opacity: 1; }
footer .copy p { color: #a9c0b2; font-size: 13.5px; }
footer .copy a, footer .copy a.text-danger { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; font-size: 20px; text-decoration: none; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
footer .social a i { line-height: 1; }
footer .social a:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 10px 20px rgba(0,0,0,.35); }
footer .social .soc-fb:hover { background: #1877f2; }
footer .social .soc-ig:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
footer .social .soc-yt:hover { background: #ff0000; }

/* ---------- 11. floating actions ---------- */
.float { box-shadow: 0 10px 24px rgba(37, 211, 102, .45) !important; transition: transform .25s ease; }
.float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .6); animation: ibPulse 2.4s ease-out infinite; }
.float:hover { transform: scale(1.08); color: #fff; }
@keyframes ibPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.btn-back-to-top { border-radius: 50% !important; width: 46px !important; height: 46px !important; line-height: 46px; background: #0f3e21; color: #fff; box-shadow: 0 10px 24px rgba(15, 62, 33, .4); bottom: 98px !important; transition: transform .25s ease, background .25s ease, box-shadow .25s ease !important; }
.btn-back-to-top:hover { background: #710d0f; transform: translateY(-3px); }

/* ---------- 12. scroll reveal & motion (only active when script.js confirms support) ---------- */
.ib-js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-delay, 0s); }
.ib-js .rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ib-js .rv, .ib-js .rv.rv-in { opacity: 1; transform: none; transition: none; }
  .float::before { animation: none; }
  .card-grey:hover, .builders:hover, .btn-one:hover { transform: none; }
}

/* ---------- 13. responsive refinements ---------- */
@media (max-width: 991px) {
  .project-highlight tbody { grid-template-columns: 1fr; }
  .footer-cta-inner { padding: 26px 24px; margin-bottom: -40px; }
  .footer-cta h2 { font-size: 22px; }
}
@media (max-width: 767px) {
  .text-center > .heading2::after, .heading2.text-center::after { width: 52px; margin-top: 10px; }
  .overview-txt h2 { font-size: 22px; }
  #menu22 .nav-pills .nav-link { padding: 7px 12px; font-size: 11.5px; }
  footer { padding-top: 84px !important; }
  .footer-cta-actions .cta-btn { padding: 11px 20px; }
}

/* ---------- 14. partially filled card rows stay centred (no stranded cards on the left) ---------- */
.row:has(> [class*="col-"] > .card-grey), .row:has(> [class*="col-"] > .builders), .row:has(> [class*="col-"] > .videoThem) { justify-content: center; }

/* ---------- 15. video cards: one thumbnail shape + a play button on every card ---------- */
a[data-bs-target="#exampleModal"] { position: relative; display: block; }
a[data-bs-target="#exampleModal"] img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
a[data-bs-target="#exampleModal"] .text-overlay { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9; height: auto; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: linear-gradient(0deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 60%); pointer-events: none; }
a[data-bs-target="#exampleModal"] .text-overlay::after { content: "\f04b"; font-family: FontAwesome; width: 56px; height: 56px; padding-left: 4px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; background: rgba(15, 62, 33, .86); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: transform .25s ease, background .25s ease; }
a[data-bs-target="#exampleModal"]:hover .text-overlay::after { transform: scale(1.12); background: rgba(113, 13, 15, .92); }

/* ---------- 16. contact: office cards ---------- */
.office-card { background: #fff; border-radius: 14px; box-shadow: var(--ib-shadow-1); padding: 28px 28px 24px; height: 100%; border-top: 4px solid var(--ib-maroon); }
.office-tag { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ib-maroon); font-weight: 700; }
.office-card h2 { font-size: 30px; color: var(--ib-green); margin: 6px 0 12px; }
.office-card address { font-style: normal; line-height: 1.75; color: #333; margin-bottom: 14px; font-size: 15px; }
.office-list { list-style: none; margin: 0 0 16px; padding: 0; }
.office-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--ib-line); font-size: 15px; line-height: 1.55; color: #333; }
.office-list li i { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #eaf3ee; color: var(--ib-green); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.office-list a { color: var(--ib-green); text-decoration: none; font-weight: 600; }
.office-list a:hover { color: var(--ib-maroon); text-decoration: underline; }
.office-list small { color: #6a746e; }
.office-card .btn-one { margin-top: 4px; }
.office-map { border-radius: 14px; overflow: hidden; box-shadow: var(--ib-shadow-1); height: 100%; min-height: 360px; }
.office-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.office-sep { margin: 14px 0 6px; border-color: var(--ib-line); opacity: 1; }

/* ---------- 17. readable paragraph alignment inside cards and on narrow screens ---------- */
.why-card p { text-align: center; hyphens: none; }
.award-card p, .contact-card p, .news-card p, .post-card p { text-align: left; }
@media (max-width: 767px) {
  .about-txt p, .overview-txt p, .shadow p, .news-txt p, .home-intro p { text-align: left; hyphens: auto; -webkit-hyphens: auto; }
  .why-card p { text-align: center; }
}

/* ---------- 18. reading progress line ---------- */
.ib-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10001; transform-origin: left center; transform: scaleX(0); background: linear-gradient(90deg, #710d0f, #0f3e21); pointer-events: none; }

/* taller, more comfortable buttons */
.btn-one { padding: 13px 32px !important; font-size: 13px; line-height: 1.2; letter-spacing: 1.2px; }
@media (max-width: 767px) { .btn-one { padding: 14px 28px !important; } }

/* project cards: equal height, Know More button pinned to the same line, slightly smaller */
.card-grey { height: 100%; }
.card-grey > .new-arrivals-link { display: flex; flex-direction: column; height: 100%; }
.card-grey > .new-arrivals-link .card-txt { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; }
.card-grey .card-txt > :nth-last-child(2) { margin-bottom: 16px; }
.card-grey .card-txt > .btn-one { margin-top: auto; padding: 10px 26px !important; font-size: 12px; }

/* calmer project cards: green outline "ready" badge, outline card buttons (solid maroon stays on View More) */
.status-badge.is-ready { background: #fff; color: var(--ib-green); box-shadow: inset 0 0 0 1.5px var(--ib-green), 0 4px 12px rgba(0, 0, 0, .18); }
.card-grey .card-txt > .btn-one { background-color: #fff !important; color: #710d0f !important; box-shadow: inset 0 0 0 1.5px #710d0f; }
.card-grey:hover .card-txt > .btn-one, .card-grey .card-txt > .btn-one:hover { background-color: #710d0f !important; color: #fff !important; box-shadow: 0 8px 18px rgba(113, 13, 15, .3); }

/* Why Choose: clear, professional two-tone SVG icons */
.home-why .why-card .why-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 15px;
  border: 1px solid rgba(15, 62, 33, .14);
  border-radius: 50%;
  background: #f3f7f4;
  box-shadow: 0 8px 22px rgba(15, 62, 33, .08);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.home-why .why-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-why .why-icon .icon-primary { stroke: #0f3e21; stroke-width: 2.5; }
.home-why .why-icon .icon-accent { stroke: #710d0f; stroke-width: 2.5; }
.home-why .why-icon .icon-accent-fill { fill: #c8a96b; stroke: #710d0f; stroke-width: 1.6; }
.home-why .why-icon .icon-badge { fill: #710d0f; stroke: #f3f7f4; stroke-width: 2; }
.home-why .why-icon .icon-badge-mark { fill: none; stroke: #fff; stroke-width: 2.7; }
.home-why .why-icon .icon-check { stroke: #710d0f; stroke-width: 3.2; }
.home-why .why-card:hover .why-icon {
  border-color: rgba(113, 13, 15, .35);
  box-shadow: 0 10px 26px rgba(15, 62, 33, .13);
  transform: translateY(-3px);
}

/* news & events: compact buttons, same size as the project-card buttons */
.ne-hub .news-txt .btn-one { padding: 10px 26px !important; font-size: 12px; margin-top: 12px; }

/* More About: same two-tone icon style as Why Choose */
.builders .more-icon { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; margin: 0 auto 10px; border: 1px solid rgba(15, 62, 33, .14); border-radius: 50%; background: #f3f7f4; box-shadow: 0 8px 22px rgba(15, 62, 33, .08); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.builders .more-icon svg { width: 54px; height: 54px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.builders .more-icon .icon-primary { stroke: #0f3e21; stroke-width: 2.5; }
.builders .more-icon .icon-accent { stroke: #710d0f; stroke-width: 2.8; }
.builders .more-icon .icon-accent-fill { fill: #c8a96b; stroke: #710d0f; stroke-width: 1.6; }
.builders .more-icon .icon-star { fill: #710d0f; stroke: #710d0f; stroke-width: 1.5; }
.builders:hover .more-icon { border-color: rgba(113, 13, 15, .35); box-shadow: 0 10px 26px rgba(15, 62, 33, .13); transform: translateY(-3px); }

/* cards where the button sits after the link (commercial / ready-to-move lists) */
.card-grey:has(> .new-arrivals-link + .btn-one) { display: flex; flex-direction: column; }
.card-grey > .new-arrivals-link:has(+ .btn-one) { height: auto; flex: 1 1 auto; }
.card-grey > .btn-one { align-self: center; margin: 12px auto 6px; padding: 10px 26px !important; font-size: 12px; background-color: #fff !important; color: #710d0f !important; box-shadow: inset 0 0 0 1.5px #710d0f; }
.card-grey:hover > .btn-one, .card-grey > .btn-one:hover { background-color: #710d0f !important; color: #fff !important; box-shadow: 0 8px 18px rgba(113, 13, 15, .3); }

/* nav: one active/hover indicator only (the animated bar); drop the old text underline */
.stellarnav.dark.desktop li a:hover, .stellarnav.dark.desktop li .active, .stellarnav.dark.desktop > ul > li > a.active { text-decoration: none; }

/* video popups sit above the fixed menu and dim it too */
.modal { z-index: 10050 !important; }
.modal-backdrop { z-index: 10040 !important; }

/* video popup: title bar sits above the video instead of floating over it */
#exampleModal .modal-header { position: static; justify-content: space-between !important; padding: 10px 16px; background: #fff; }
#exampleModal .modal-title { font-size: 17px; color: #0f3e21; }

/* tablet header: logo, menu button and sales enquiry stay on one tidy row */
@media (min-width: 576px) and (max-width: 991.98px) {
  .fixed-top .row { flex-wrap: nowrap; align-items: center; }
  .fixed-top .row > div:nth-child(1) { flex: 0 0 auto; width: auto; max-width: 200px; }
  .fixed-top .row > div:nth-child(2) { flex: 1 1 auto; width: auto; max-width: none; }
  .fixed-top .row > div:nth-child(3) { flex: 0 0 auto; width: auto; max-width: none; }
  .fixed-top .SalesEnquiry p { font-size: 13px; white-space: nowrap; }
  .fixed-top .SalesEnquiry a { font-size: 15px; white-space: nowrap; padding-top: 2px; }
}

/* tablet + mobile menu: same dark panel as the header and desktop dropdowns, maroon only on Close and the current page */
@media (max-width: 991.98px) {
  .stellarnav.mobile.dark ul { background: #161c18 !important; }
  .stellarnav.mobile.dark ul ul { background: rgba(255, 255, 255, .04) !important; }
  .stellarnav.mobile.dark li a, .stellarnav.mobile.dark > ul > li > a { border-bottom: 1px solid rgba(255, 255, 255, .09) !important; padding-top: 17px; padding-bottom: 17px; color: #f3f6f4 !important; text-decoration: none !important; }
  .stellarnav.mobile.dark li a:hover { background: rgba(255, 255, 255, .07) !important; color: #fff !important; }
  .stellarnav.mobile.dark li .active, .stellarnav.mobile.dark > ul > li > a.active { text-decoration: none !important; background: rgba(255, 255, 255, .06) !important; box-shadow: inset 4px 0 0 #b01e22; }
  .stellarnav.mobile.dark li.call-btn-mobile, .stellarnav.mobile.dark li.location-btn-mobile { border-color: rgba(255, 255, 255, .12) !important; }
  .stellarnav.mobile.dark li.call-btn-mobile a, .stellarnav.mobile.dark li.location-btn-mobile a { border-bottom: 1px solid rgba(255, 255, 255, .12) !important; }
  .stellarnav.mobile .close-menu { background: #710d0f; color: #fff; }
  .stellarnav.mobile > ul { border-top: 0 !important; }
}

/* project list pages: compact Read More button, same size as the card buttons */
.apartments-txt .btn-one { padding: 10px 26px !important; font-size: 12px; }

/* breathing room between the stats card and the Ongoing projects heading */
.home-ongoing { padding-top: 80px; }
@media (max-width: 767px) { .home-ongoing { padding-top: 56px; } }
