/* styles.css - updated: higher contrast, hover effects, futuristic touches
   + Mobile / drag-fix updates included
*/
 :root{
  --bg:#000;          
  --card:black;
  --muted:rgb(192, 192, 192);
  --accent:#ffffff;   
  --primary:white;  
  --glass: rgba(255,255,255,0.03);
  --glow: 0 10px 30px rgba(0,230,195,0.08);

  --xack-glow-1: #00e6c3;  
  --xack-glow-2: #2d6bff;  
  --xack-glow-3: #16f2a4;  
  --xack-glow-4: #00a7ff; 
} 




*{box-sizing:border-box}
html,body{
	height:100%;
	background:var(--bg);
	color:var(--accent);
	font-family:Inter, 'Segoe UI', Roboto, Arial, sans-serif;
	-webkit-font-smoothing:antialiased;
	margin:0;
	}

/* PREVENT HORIZONTAL PAN/DRAG on small devices */
html, body {
  overflow-x: hidden;           /* stop accidental horizontal scroll / dragging */
  touch-action: pan-y;          /* allow vertical scroll, avoid horizontal pan gestures */
}

/* Make many elements non-draggable and disable text-selection where it causes drag */
img, .card, section, .partners-track, .video-card, .pill {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* make headings have subtle neon underline on hover */
h2 { position:relative; }
h2::after { content:""; position:absolute; left:0; bottom:-8px; height:3px; width:40px; background:linear-gradient(90deg,white,black); border-radius:4px; transition:width 420ms, opacity 420ms; opacity:0.8; }
h2:hover::after { width:220px; opacity:1; }

/* Generic styles */
.link{color:var(--primary);text-decoration:none}
a{color:var(--primary);text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:1.5rem;}
.navbar{backdrop-filter: blur(8px);background:linear-gradient(180deg, rgba(0,0,0,0.85), rgba(6,6,6,0.6));border-bottom:1px solid rgba(255,255,255,0.04);transition:background 220ms ease;}
.navbar .navbar-brand img{height:30px;object-fit:contain;filter:brightness(1.1)}
  
.navbar > .container {
  padding: 1rem 0;
  max-width: 95%;
  transition: padding 220ms ease;
}

  
.navbar .nav-link{color:rgba(255,255,255,0.85);transition:color 180ms}
.navbar .nav-link {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.navbar .nav-link {
  position: relative;
}

/* underline animation */
.navbar .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  pointer-events: none;
}

.navbar .nav-link:hover::before {
  transform: scaleX(1);
}






.page-hero{min-height:62vh;display:flex;align-items:center;background-image:linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.6));padding-top:120px;padding-bottom:60px;position:relative;}
.hero-inner{display:flex;gap:2rem;align-items:center;flex-wrap:nowrap;}
.hero-copy h1{font-size:3rem;letter-spacing:0.06em;margin:0 0 0.4rem 0; font-weight:800;color:var(--accent);text-shadow:0 6px 30px rgba(0,0,0,0.6);}
.hero-copy p{color:var(--muted);max-width:650px;margin-bottom:1rem;font-size:1.02rem;line-height:1.5}
.cta-btn{background:white;color:#001818;padding:0.65rem 1rem;border-radius:10px;border:none;font-weight:700;box-shadow:var(--glow);transition:transform 160ms, box-shadow 160ms;}
.cta-btn:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(0,230,195,0.14)}


/* Recolour calendar and time picker icons to match the neon theme */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  /* Use CSS filters to tint the default icon to the primary neon colour */
  filter: invert(64%) sepia(61%) saturate(2600%) hue-rotate(158deg) brightness(97%) contrast(92%);
}

/* AI themed buttons and inputs */
.btn-ai {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 700;
}

.btn-ai::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: -4px; /* adjust spacing below text */
  width: 80%;
  height: 2px;
  background-color: #fff; /* use #fff if on dark background */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn-ai:hover::after {
  transform: scaleX(1);
}

.btn-ai:hover {
  transform: translateY(-3px);
}


/* Search bar styling */
.search-input {
  background: var(--card);
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.4);
}

.search-input::placeholder {
  color: var(--muted);
}

/* AI response overlay to partially hide content */
.ai-response {
  position: relative;
  background: var(--card);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.ai-response .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1rem;}
.card{background:linear-gradient(180deg, rgba(12,12,12,0.9), rgba(8,8,8,0.85));padding:1rem;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,0.6);border:1px solid rgba(0,230,195,0.03);transition:transform 220ms ease, box-shadow 220ms ease, border-color 220ms;}
.card:hover{transform:translateY(-8px) rotateX(2deg);box-shadow:0 30px 80px rgba(0,0,0,0.7);border-color:rgba(0,230,195,0.12)}
.property-img{width:100%;height:180px;border-radius:10px;overflow:hidden;background:#030303;display:block;object-fit:cover;border:1px solid rgba(255,255,255,0.02)}
.property-meta{display:flex;justify-content:space-between;align-items:center;margin-top:0.6rem}
.pill{background:rgba(255,255,255,0.025);padding:6px 10px;border-radius:999px;font-size:0.85rem}
.pill-muted{color:var(--muted)}
.footer{padding:2rem 0; border-top:1px solid rgba(255,255,255,0.03);margin-top:3rem;color:var(--muted);font-size:0.95rem}
.fixed-footer-contact{position:fixed;right:18px;bottom:18px;z-index:1200;}
.fab{background:linear-gradient(180deg,var(--primary),#00b89a);color:#021212;border-radius:999px;padding:12px 14px;box-shadow:0 10px 30px rgba(0,230,195,0.12);display:flex;align-items:center;gap:0.6rem;border:none;transition:transform 180ms;}
.fab:hover{transform:translateY(-6px);box-shadow:0 24px 60px rgba(0,230,195,0.18)}
small.muted{color:var(--muted)}


/* Navbar active */
.navbar .nav-link.active {
  color: var(--primary);
}

/* font faces kept as before (omitted here for brevity in this snippet) */
/*font*/
@font-face{
  font-family:"Barlow Condensed";
  src:url("/fonts/BarlowCondensed-Regular.ttf") format("truetype");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Barlow Condensed";
  src:url("/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Barlow Condensed";
  src:url("/fonts/BarlowCondensed-Black.ttf") format("truetype");
  font-weight:900;
  font-style:normal;
  font-display:swap;
}

/* Apply everywhere */
:root{
  --site-font:"Barlow Condensed", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-font-family: var(--site-font);
  --bs-font-sans-serif: var(--site-font);
}

html, body{ font-family: var(--site-font) !important; }
*, *::before, *::after{ font-family: var(--site-font) !important; }

/* ... keep your @font-face blocks ... */

/* subtle futuristic background accents */
.page-hero::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:100%;
  background-image:radial-gradient(circle at 20% 20%, rgba(0,230,195,0.02), transparent 8%),
                    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.01), transparent 12%);
  pointer-events:none;
}

/* form inputs */
.form-control{background:rgba(255,255,255,0.02);width:100%; border:1px solid rgba(255,255,255,0.03);color:var(--accent);border-radius:8px;padding:8px}
.form-control::placeholder{color:rgba(255,255,255,0.7)}

/* Highlight forms with dark background on focus to improve contrast */
.form-control:focus {
  background: #0b0b0b;
  color: var(--accent);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(0,230,195,0.25);
}

/* modal */
/*
 * Modal styling
 * Each .modal element covers the entire viewport with a semi-transparent dark
 * overlay.  The immediate child div is centered via flexbox and
 * contains the modal content.  Buttons with the data-close attribute
 * are positioned in the top right corner and change colour on hover.
 */
.modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1400;
}
.modal.show {
  display: flex;
}
.modal > div {
  max-width: 520px;
  width: 92%;
  background: var(--card);
  color: var(--accent);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  position: relative;
  animation: pop 220ms ease both;
}

/* Close (X) icon styling inside modals */
.modal > div [data-close], .modal > div .close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.modal > div [data-close]:hover,
.modal > div .close:hover {
  color: var(--primary);
}

@keyframes pop {
  from { transform: translateY(8px) scale(0.99); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* accessibility */
a:focus, button:focus, input:focus{outline:2px solid rgba(0,230,195,0.12);outline-offset:2px}
/* Desktop-only: widen container and adjust side padding */
@media (min-width: 992px) {   /* Bootstrap lg breakpoint */
  .container {
    max-width: 1320px;        /* or 100% if you want full width */
    padding-left: 2rem;       /* adjust these to taste */
    padding-right: 2rem;
  }
}


/* responsive tweaks */
@media(max-width:767px){
  .hero-copy h1{font-size:2rem}
  .hero-inner{flex-direction:column;align-items:flex-start}
  .navbar .container{padding-left:0.8rem;padding-right:0.8rem}
  .page-hero{padding-top:96px;padding-bottom:36px;min-height:54vh;}
  .hero-inner > div:last-child{width:100%;text-align:center;}
  .hero-inner img{max-width:92%;height:auto;margin-top:12px;border-radius:10px;}
}

/* extra small phones (<=420px) - tighter layout */
@media(max-width:420px){
  .container{padding:0.9rem;}
  .hero-copy h1{font-size:1.6rem;line-height:1.05}
  .hero-copy p{font-size:0.95rem;max-width:100%}
  .property-img{height:140px}
  .video-card .poster{height:140px}
  .fab{padding:10px 12px;font-size:0.92rem}
  .page-hero{padding-top:84px;padding-bottom:28px;min-height:48vh}
  .card{padding:0.9rem;border-radius:10px}
  .cta-btn{padding:0.56rem 0.85rem}
  .modal > div { max-width: 96%; width: 96%; margin: 12px; }
}

/* readability boost */
.small.muted, p.small.muted, li.small.muted, .muted {
  color: #e3e7eb !important;
}
p, li {
  color: #f4f6f8;
}
h2, h3, h4, h5, h6, strong {
  color: #ffffff;
}

h2{
  font-weight: 700; /* bold */
}
div p span{
  font-size: 1.5em;
}
div p{
  font-size: 1.5em;
}
div span{
  font-size: 1.5em;
}

div h6{
  font-size: 1.5em;
}



/* Scroll reveal + animations */
.reveal-on-scroll { 
	opacity: 0; 
	transform: translateY(18px) scale(0.995); 
	transition: opacity 600ms cubic-bezier(.2,.9,.2,1), transform 600ms cubic-bezier(.2,.9,.2,1); 
	will-change: opacity, transform; 
	}
.reveal-on-scroll.in-view { opacity: 1; transform: none; }

.card { transition: transform 360ms cubic-bezier(.2,.9,.2,1), box-shadow 360ms, border-color 360ms, background-image 360ms; will-change: transform, box-shadow; }
.hero-copy h1 { transition: transform 500ms, text-shadow 500ms; transform-origin: left center; }
.hero-copy p, .card p, .card ul { transition: opacity 420ms ease, transform 420ms ease; }

.fade-hover:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 90px rgba(0,0,0,0.7); }



/* H3 hover effects */
h3 { position:relative; }
h3::after { content:""; position:absolute; left:0; bottom:-8px; height:3px; width:40px; background:linear-gradient(90deg,white,black); border-radius:4px; transition:width 420ms, opacity 420ms; opacity:0.8; }
h3:hover::after { width:220px; opacity:1; }

/* reduce harshness of pure white text while preserving contrast */
:root { --accent: #eef2f5; }

/* smoother scroll behavior for whole page */
html { scroll-behavior: smooth; }

/* Funnel loader animation */
.section-loader {
  position: absolute;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.section-loader::before{
  content: "";
  width: 100%;
  height: 35%;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.12), rgba(0,0,0,0.0));
  transform-origin: top;
  animation: funnelDrop 900ms cubic-bezier(.2,.9,.2,1);
  opacity: 1;
}
@keyframes funnelDrop{
  0% { transform: translateY(-90%) scaleY(0.1); opacity: 0.0; }
  35% { transform: translateY(-10%) scaleY(0.9); opacity: 0.6; }
  70% { transform: translateY(20%) scaleY(0.95); opacity: 0.9; }
  100% { transform: translateY(100%) scaleY(0.1); opacity: 0; }
}
.reveal-on-scroll.in-view .section-loader { opacity: 0; transition: opacity 420ms ease; pointer-events: none; }

/* Video review cards */
.video-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:1rem; margin-top:1rem; }
.video-card { position:relative; border-radius:10px; overflow:hidden; background:var(--card); padding:8px; }
.video-card .poster { width:100%; height:160px; display:block; border-radius:8px; object-fit:cover; background:#0b0b0b; border:1px solid rgba(255,255,255,0.03); }
.video-card .play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:6; background:linear-gradient(180deg,var(--primary), #00b8a0); width:56px; height:56px; border-radius:999px; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px rgba(0,230,195,0.12); cursor:pointer; }
.video-card .meta { margin-top:8px; color:var(--muted); font-size:0.95rem; }

/* Modal video player */
#videoModal .modal > div { max-width:800px; width:95%; }
#videoModal video { width:100%; height:auto; border-radius:8px; background:#000; }

/* === Partners: 5 visible desktop, 3 visible mobile + fade effect === */

.partners-marquee{
  overflow: hidden;
  position: relative;

  /* starts more to the right, no extra right padding */
  padding: 6px 0 6px 44px !important;
}

/* Track */
.partners-track{
  --gap: clamp(12px, 2vw, 20px);

  /* default: 5 visible */
  --visible: 5;
  --gaps: 4;

  display: flex;
  align-items: center;
  gap: var(--gap);

  flex-wrap: nowrap;
  white-space: nowrap;
  will-change: transform;

  width: 100%;
}

/* Each logo takes 1 slot (5 slots by default) */
.partner-logo{
  flex: 0 0 calc((100% - (var(--gap) * var(--gaps))) / var(--visible));
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: clamp(6px, 1.2vw, 12px) 0;

  /* Fade all by default */
  opacity: 0.55;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease;
}

/* Logo sizing (constrained to the slot) */
.partners-marquee .partner-logo img{
  height: clamp(48px, 5.8vw, 86px) !important;
  width: auto !important;
  max-width: 92% !important;
  object-fit: contain;
  display: block;

  filter: none !important;
  transform: none !important;

  -webkit-user-drag: none;
  user-select: none;
}

/* Center one: clearer + pop */
.partner-logo.is-center{
  opacity: 1;
  transform: translateY(-10px) scale(1.14);
}

/* Make partner logo blocks usable as links too */
.partner-logo{
  text-decoration: none;
  cursor: pointer;
}

/* Keep focus visible for keyboard users */
.partner-logo:focus-visible{
  outline: 2px solid rgba(0,230,195,.55);
  outline-offset: 6px;
  border-radius: 16px;
}

/* Bigger "center" slot — without shifting the whole row */
.partner-logo.is-center{
  opacity: 1;
  transform: translateY(-12px) scale(1.32); /* was 1.18 */
  z-index: 2;
}

/* Make the center logo image itself bigger and crisper */
.partners-marquee .partner-logo.is-center img{
  height: clamp(78px, 8.6vw, 145px) !important; /* was 64/7.2/110 */
  max-width: 98% !important;
}

/* Optional: subtle premium glow only on center */
.partner-logo.is-center{
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}

/* Nice hover for any logo (but not too loud) */
.partner-logo:hover{
  opacity: .9;
  transform: translateY(-12px) scale(1.32); 
}


/* MOBILE: show 3 visible */
@media (max-width: 576px){
  .partners-marquee{
    padding-left: 20px !important;
    padding-right: 0 !important;
  }

  .partners-track{
    --visible: 3;
    --gaps: 2;
  }

  .partners-marquee .partner-logo img{
    height: clamp(44px, 10vw, 72px) !important; /* keeps big on mobile too */
  }

  .partner-logo.is-center{
    transform: translateY(-8px) scale(1.12);
  }
}


/* Blog images in listing/grid should have uniform size */
.blog-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.03);
}

/* small accessibility improvements for marquee controls */
.partners-marquee:focus { outline:2px solid rgba(0,230,195,0.08); outline-offset:4px; }

/* Section border when hover-active */
.section-hover-bg.hover-active { box-shadow: 0 14px 60px rgba(0,0,0,0.6); border-color: rgba(0,230,195,0.08); }

/* ---------- Small-screen hero wrap & overflow fix ---------- */
/* Scoped to page-hero so it doesn't affect other flex layouts */
@media (max-width: 767px) {
  .page-hero { padding-left: 0.9rem; padding-right: 0.9rem; }
  .page-hero .container { overflow-x: hidden; }

  /* Allow hero-inner to wrap into stacked columns on small screens */
  .page-hero .hero-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem;
    align-items: flex-start;
  }

  /* Force each direct child of hero-inner to take full width when stacked */
  .page-hero .hero-inner > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Make the hero image fluid and never wider than its container */
  .page-hero img,
  .page-hero .img-fluid {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
  }

  /* Reduce heavy shadows that may visually extend past viewport */
  .page-hero img,
  .page-hero .rounded-3 {
    box-shadow: 0 14px 30px rgba(0,0,0,0.45) !important;
  }

  /* Ensure hero text area doesn't overflow due to long max-width */
  .page-hero .hero-copy p,
  .page-hero .hero-copy h1 {
    max-width: 100% !important;
    word-break: break-word;
  }

  /* Slightly smaller hero heading on narrow devices */
  .page-hero .hero-copy h1 { font-size: 1.7rem !important; line-height: 1.05; }

  /* Ensure form and inputs wrap nicely */
  .page-hero .callback-form { width: 100%; }
  .page-hero .callback-form .form-control { width: 100%; }
}

/* Typing effect text (no blinking cursor) */
.hero-typing {
  white-space: pre-wrap;   /* preserve spaces and line breaks */
  overflow: hidden;
  display: inline-block;
  min-height: 4rem;        /* prevent layout shift during typing */
}

.footer a.text-white:hover,
.footer a.muted:hover {
  color: var(--primary) !important;
  text-shadow: 0 0 6px rgba(0,230,195,0.3);
}

 /* ---------- AI section base ---------- */
.ai-assistant {
    color: #fefefe;
}

/* ---------- Generic Siri-like glow wrapper ---------- */
.siri-glow {
    --siri-radius: 16px;          /* can override per use */
    --siri-bg: #050509;
    --siri-text: #ffffff;

    position: relative;
    display: inline-flex;
    padding: 2px;                 /* border thickness */
    border-radius: var(--siri-radius);

    /* UPDATED: XACK palette (not Siri-like) */
    background: linear-gradient(
        120deg,
        var(--xack-glow-1),
        var(--xack-glow-2),
        var(--xack-glow-3),
        var(--xack-glow-4),
        var(--xack-glow-1)
    );
    background-size: 300% 300%;
    animation: siri-gradient 7s ease infinite;
    z-index: 0;
}

/* full-width version for big fields like textarea */
.siri-glow-block {
    display: block;
    width: 100%;
}

/* Soft outer aura */
.siri-glow::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    background: inherit;
    filter: blur(16px);
    opacity: 0.9;
    z-index: -1;
    animation: siri-pulse 2.6s ease-out infinite;
}

/* The actual control: input / textarea / select */
.siri-glow > :is(input, textarea, select) {
    border-radius: var(--siri-radius);
    border: 0;
    outline: none;
    background-color: var(--siri-bg);
    color: var(--siri-text);
    box-shadow: none;
    width: 100%;
    display: block;
    padding: 0.75rem 1rem;
    resize: vertical;
}

.siri-glow > :is(input, textarea, select)::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Kill Bootstrap focus ring */
.siri-glow > :is(input, textarea, select):focus {
    box-shadow: none;
    border: 0;
    outline: none;
}

/* Only animate when focused (optional, comment out to keep always-on) */
.siri-glow:not(:focus-within) {
    animation: none;
}
.siri-glow:not(:focus-within)::before {
    animation: none;
    opacity: 0;
}

/* Gradient motion */
@keyframes siri-gradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Breathing outer glow */
@keyframes siri-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* ---------- Glowing AI button ---------- */
.ai-glow-btn {
    position: relative;
    border-radius: 999px;
    background: #00f2a9;
    color: #000;
    border: none;
    padding: 0.55rem 1.8rem;
    font-weight: 600;
    box-shadow: 0 0 22px rgba(0, 242, 169, 0.8);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ai-glow-btn::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(0, 242, 169, 0.9), transparent 60%);
    filter: blur(12px);
    opacity: 0.9;
    z-index: -1;
}

.ai-glow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(0, 242, 169, 1);
}

.ai-glow-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 18px rgba(0, 242, 169, 0.9);
}

/* Floating chatbot styles */
.chatbot-button {
  position: fixed;
  bottom: 40px;
  right: 50px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: white;
  color: #001818;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor:pointer;
  z-index: 1300;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chatbot-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,230,195,0.28);
}
.chatbot-panel {
  position: fixed;
  bottom: 80px;
  right: 50px;
  width: 280px;
  max-height: 360px;
  display: none;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(0,230,195,0.05);
  box-shadow: 0 14px 40px rgba(0,0,0,0.7);
  border-radius: 12px;
  z-index: 1300;
}
.chatbot-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--accent);
  font-weight: 600;
}
.chatbot-panel header button.close-chat {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
}
.chatbot-panel header button.close-chat:hover {
  color: var(--primary);
}
.chatbot-panel .chat-content {
  padding: 0.8rem 1rem;
  overflow-y: auto;
  max-height: 260px;
  color: var(--muted);
  font-size: 0.9rem;
}
.chatbot-panel .chat-option {
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  background: rgba(255,255,255,0.02);
  color: var(--accent);
  transition: background 0.2s, color 0.2s;
}
.chatbot-panel .chat-option:hover {
  background: rgba(0,230,195,0.08);
  color: var(--primary);
}

/* ----------- Responsive filter panel for compare page ----------- */
@media (max-width: 991px) {
  /* The filter aside becomes a sliding panel on small screens */
  #sideFilter {
    position: fixed;
    top: 80px;
    left: 0;
    transform: translateX(-100%);
    width: 75%;
    max-width: 320px;
    height: calc(100% - 80px);
    overflow-y: auto;
    background: var(--card);
    border-right: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    z-index: 1200;
    transition: transform 0.3s ease;
  }
  #sideFilter.open {
    transform: translateX(0);
  }
  /* Hide the original column layout margin/padding */
  #sideFilter.col-lg-3 {
    flex: 0 0 auto;
    width: auto;
  }
  /* Overlay to darken the rest of the page when filter is open */
  .filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
  }
  .filter-overlay.show {
    display: block;
  }
}
/* Always tint the datetime-local icon (Chrome / Edge / etc.) */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(40%) sepia(90%) saturate(2000%) hue-rotate(210deg) brightness(95%) contrast(100%);
}

/* Make footer responsive full-width even though it uses .container */
footer.footer.container {
  max-width: 100%;
  width: 100%;
  padding-left: 1.5rem;   /* keep some side padding */
  padding-right: 1.5rem;
}

/* Make sure it never causes horizontal scroll */
footer.footer .row {
  margin-left: 0;
  margin-right: 0;
}

/* Better stacking + alignment on small screens */
@media (max-width: 767.98px) {
  footer.footer .text-md-end {
    text-align: left !important;
    margin-top: 1rem;
  }
}

/* Make whole property card clickable without looking like a link */
.property-card-link{
  text-decoration: none !important;
  color: inherit !important;
}

.property-card-link:hover{
  text-decoration: none !important;
  color: inherit !important;
}

.property-card-link:focus-visible{
  outline: 2px solid rgba(0,230,195,0.35);
  outline-offset: 6px;
  border-radius: 14px;
}

/* Optional: clear "link cursor" ambiguity */
.property-card-link .card{
  cursor: pointer;
}

/* =========================
   Tools Promo (LEFT buttons / RIGHT image)
   ========================= */
#tools-promo{
  position: relative;
  overflow: hidden;
}

/* Left side button stack */
#tools-promo .promo-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px; /* keeps left panel neat on desktop */
}

/* Make your <a class="btn-ai"> behave like real buttons only in this section */
#tools-promo .promo-actions .btn-ai{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-decoration: none;
  line-height: 1.2;
  padding: 0.75rem 1rem; /* slightly stronger CTA */
}

/* Right side image card: remove global .card padding (your .card forces padding:1rem) */
#tools-promo .promo-visual.card{
  padding: 0 !important;
  overflow: hidden;
  border-radius: 16px;
}

/* Kill the heavy .card:hover rotateX for this image card (keep a simple lift) */
#tools-promo .promo-visual.card:hover{
  transform: translateY(-6px) scale(1.01) !important;
  border-color: rgba(0,230,195,0.12);
}

/* Image switching (compare/ai) */
#tools-promo .promo-img{
  width: 100%;
  height: clamp(240px, 30vw, 380px);
  object-fit: cover;

  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

#tools-promo .promo-img.is-active{
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Optional: keep label readable */
#tools-promo .promo-visual__label{
  pointer-events: none;
}

/* =========================
   Section sizing (REVERTED)
   - Keeps loader positioning correct
   - Does NOT force full-screen height
   ========================= */
main > section.container.reveal-on-scroll{
  position: relative;      /* anchors .section-loader */
  scroll-margin-top: 90px; /* nicer anchor jumps under sticky nav */
}


/*======================hyderabad area==================  */

/* =========================================
   Hyderabad Areas – White Section Styling
   ========================================= */

#hyderabad-areas h2 {
  color: #111;
}

#hyderabad-areas p {
  color: #222;
}

/* area chips */
#hyderabad-areas .area-chip {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  padding: 10px 16px;
  color: #111;
  text-decoration: none;
  font-weight: 500;
  text-align: center;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
}

/* hover */
#hyderabad-areas .area-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  color: #000;
}



/* =========================
   Newsletter: LEFT image / RIGHT form
   ========================= */
   
   
#newsletter{
  position: relative;
}

#newsletter .newsletter-left{
  max-width: 520px;
}

#newsletter .newsletter-visual.card{
  padding: 0 !important;         /* override global .card padding */
  overflow: hidden;
  border-radius: 16px;
}

#newsletter .newsletter-img{
  width: 100%;
  height: clamp(220px, 26vw, 360px);
  object-fit: cover;
  display: block;
}

#newsletter .newsletter-form.card{
  border-radius: 16px;
}

/* Optional: keep the form comfortably sized on wide screens */
@media (min-width: 992px){
  #newsletter .newsletter-form{
    max-width: 640px;
  }
}

/* =========================================
   Newsletter Section – White Background
   ========================================= */

#newsletter h2 {
  color: #111;
}

#newsletter p {
  color: #222;
}

/* cards */
#newsletter .card {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  color: #111;
}

/* image card */
#newsletter .newsletter-visual {
  max-width: 260px;
}

/* image */
#newsletter .newsletter-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* form inputs */
#newsletter .form-control {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  color: #111;
}

#newsletter .form-control::placeholder {
  color: #888;
}

#newsletter .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

/* mobile spacing */
@media (max-width: 768px) {
  #newsletter .newsletter-visual {
    max-width: 100%;
  }
}

/* =========================================
   Newsletter Subscribe Button – Shiny Black
   (Targets ONLY the button you showed)
   ========================================= */

#newsletter .newsletter-form .btn-ai {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.2px;

  /* subtle premium shine */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 2px 6px rgba(0,0,0,0.25);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

/* hover */
#newsletter .newsletter-form .btn-ai:hover {
  background-color: #111 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 6px 14px rgba(0,0,0,0.3);
}

/* focus (keyboard) */
#newsletter .newsletter-form .btn-ai:focus {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

/* disabled */
#newsletter .newsletter-form .btn-ai:disabled {
  background: #333 !important;
  border-color: #333;
  color: #aaa !important;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
/*=============left to right blog line================= */
/* =========================================
   Read more – underline left to right
   ========================================= */

span.link {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* underline */
span.link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

/* hover */
span.link:hover::before {
  transform: scaleX(1);
}

.link {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* underline */
.link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

/* hover */
.link:hover::before {
  transform: scaleX(1);
}


/* =========================
   AI section ambient background (subtle)
   ========================= */
#tools-promo::before,
#tools-promo::after{
  content:"";
  position:absolute;
  inset:-20%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 30%, rgba(45,107,255,0.18), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(22,242,164,0.14), transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(156,79,255,0.10), transparent 55%);
  filter: blur(18px);
  opacity: 0.55;
  transform: translate3d(0,0,0);
  animation: ai-aurora 10s ease-in-out infinite alternate;
}

#tools-promo::after{
  opacity: 0.35;
  filter: blur(26px);
  animation-duration: 14s;
}

#tools-promo .promo-actions{
  position: relative;
  z-index: 2;
}

#tools-promo .promo-actions::before{
  content:"";
  position:absolute;
  inset:-18px -16px;
  border-radius: 20px;
  background: radial-gradient(circle at 20% 20%, rgba(22,242,164,0.18), transparent 55%),
              radial-gradient(circle at 80% 60%, rgba(45,107,255,0.14), transparent 60%);
  filter: blur(16px);
  opacity: 0.65;
  z-index:-1;
  animation: ai-pulse 3.2s ease-in-out infinite;
}

@keyframes ai-aurora{
  0%   { transform: translate(-2%, -2%) scale(1.02); }
  50%  { transform: translate(2%, 1%) scale(1.06); }
  100% { transform: translate(-1%, 2%) scale(1.03); }
}

@keyframes ai-pulse{
  0%,100% { opacity: 0.45; transform: scale(1); }
  50%     { opacity: 0.75; transform: scale(1.02); }
}

/* =========================
   Home Loan Tools (Eligibility + EMI)
   ========================= */
/* ---------- LIGHT SECTION BASE ---------- */
/* =================================================
   EMI + LOAN ELIGIBILITY – WHITE SECTION (FINAL)
   Scoped strictly to #emi-calculator
   ================================================= */

#emi-calculator {
  background: #ffffff;
  color: #111;
}

/* section heading row */
#emi-calculator h2 {
  color: #111;
}

#emi-calculator h5 {
  color: #111;
}

/* top right helper text */
#emi-calculator .small {
  color: #555;
}

/* ---------------- LABELS (FIX GRAY ISSUE) ---------------- */
#emi-calculator label,
#emi-calculator .form-label {
  color: #222 !important;
  font-weight: 500;
}

/* helper / muted text */
#emi-calculator .small,
#emi-calculator p,
#emi-calculator small {
  color: #555;
}

/* ---------------- CARDS ---------------- */
#emi-calculator .card {
  background: #ffffff !important;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  padding: 24px;
  color: #111;
}

/* remove dark rgba leftovers */
#emi-calculator .eligibility-card,
#emi-calculator .emi-card {
  background: #ffffff !important;
}

/* subtle hover */
#emi-calculator .card.fade-hover:hover {
  transform: translateY(-2px);
}

/* ---------------- INPUTS ---------------- */
#emi-calculator .form-control {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  color: #111;
}

#emi-calculator .form-control::placeholder {
  color: #888;
}

#emi-calculator .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

/* readonly loan field */
#emi-calculator .form-control[readonly] {
  background: #f7f7f7;
  color: #111;
}

/* ---------------- RESULTS ---------------- */
#emi-calculator .emi-inline-result,
#emi-calculator .elig-inline-result {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-left: auto;
  min-width: 200px;
  justify-content: flex-end;
}

#emi-calculator #emiMonthly,
#emi-calculator #eligLoan {
  color: var(--primary);
  font-weight: 700;
}

/* ---------------- BUTTON FIXES ---------------- */
/* Replace outline-light behaviour on white */
#emi-calculator .btn-outline-light {
  border-color: #ccc;
  color: #444;
  background: transparent;
}

#emi-calculator .btn-outline-light:hover {
  border-color: #111;
  color: #111;
}

/* ---------------- ERRORS ---------------- */
#emi-calculator #emiError,
#emi-calculator #eligError {
  color: #c62828;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 992px) {
  #emi-calculator .card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  #emi-calculator .card {
    padding: 16px;
  }

  #emi-calculator .emi-inline-result,
  #emi-calculator .elig-inline-result {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    justify-content: flex-start;
    margin-top: 12px;
  }
}

/*===============solid shiny black emi section button  */

/* =================================================
   EMI SECTION – BLACK FILLED BUTTONS (WHITE TEXT)
   ================================================= */

#emi-calculator .btn-ai,
#emi-calculator button,
#emi-calculator .btn {
  background: #000;
  color: #fff !important;
  border: 1px solid #000;
  border-radius: 999px; /* soft pill */
  padding: 8px 16px;
  font-weight: 600;
  text-decoration: none;

  /* subtle shine */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 1px 2px rgba(0,0,0,0.2);

  transition: transform 0.15s ease,
              box-shadow 0.15s ease,
              background 0.15s ease;
}

/* hover */
#emi-calculator .btn-ai:hover,
#emi-calculator button:hover,
#emi-calculator .btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 4px 10px rgba(0,0,0,0.25);
}

/* focus (keyboard accessibility) */
#emi-calculator .btn-ai:focus,
#emi-calculator button:focus,
#emi-calculator .btn:focus {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* disabled */
#emi-calculator button:disabled,
#emi-calculator .btn:disabled {
  background: #333;
  border-color: #333;
  color: #aaa;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* =========================================
   EMI RESULTS – FORCE BLACK TEXT
   ========================================= */

#emi-calculator #emiMonthly,
#emi-calculator #eligLoan {
  color: #000 !important;   /* solid black */
  font-weight: 700;
  text-shadow: none !important;
  background: none !important;
}



/* ================================================ */
/* Disable the AI section "aurora" internal gradient shading */
#tools-promo::before,
#tools-promo::after,
#tools-promo .promo-actions::before{
  content: none !important;
  animation: none !important;
}

/*=======================past performance==================  */
/* ----------------------------------------
   Past Performance — use same white section style
   Scoped to .section-light (matches EMI section)
   ---------------------------------------- */

.section-light {
  background: #ffffff;
  padding: 56px 0;
  color: #111;
}

/* headings */
.section-light h2,
.section-light h5 {
  color: #111;
  margin-bottom: 0.5rem;
}

/* muted helper text */
.section-light .muted,
.section-light .small.muted {
  color: #666;
}

/* cards inside the white section */
.section-light .card {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  color: #111;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* subtle lift on hover */
.section-light .card.fade-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* numeric display */
.section-light .display-6 {
  font-size: 1.8rem;
  line-height: 1;
  color: black; /* keep accent — change to #000 if you prefer black */
  font-weight: 800;
  margin-bottom: 0.35rem;
}

/* label under number */
.section-light .card p.small,
.section-light .card .small {
  color: #555;
  margin-bottom: 0;
}

/* responsive tuning */
@media (max-width: 768px) {
  .section-light {
    padding: 36px 0;
  }

  .section-light .display-6 {
    font-size: 1.4rem;
  }

  .section-light .card {
    padding: 16px;
  }
}


/* Past performance counters: match EMI highlight */
#past-performance [data-count]{
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0,230,195,0.18);
  font-weight: 800; /* matches your EMI boldness */
}


/* =========================================
   Past Performance – Bigger Numbers
   ========================================= */

#past-performance .display-6 {
  font-size: 2.6rem !important;   /* increase size */
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #000; 
}

/* =========================================
   Past Performance – Black Text Labels
   ========================================= */

#past-performance p,
#past-performance p.small,
#past-performance .card p {
  color: #222;
}



/*=================================================  */


/* Bigger navbar menu */
.navbar .xack-nav-links .nav-link{
  font-size: 1.5rem;     /* increase text */
/* increase click area */
  line-height: 1.1;
}

/* More spacing between items (desktop) */
@media (min-width: 992px){
  .navbar .xack-nav-links{
    gap: 0.35rem;
  }
  .navbar .xack-nav-links .nav-item{
    display: flex;
    align-items: center;
  }
}

/* Bigger dropdown menu */
.navbar .dropdown-menu{
  font-size: 1.05rem;
  padding: 0.6rem 0;
  min-width: 230px;
}

/* Bigger dropdown items */
.navbar .dropdown-item{
  padding: 0.75rem 1.15rem;
}


/* =========================
   XackBot Home Greeting Bubble (Premium)
   ========================= */
.xackbot-greet{
  position: fixed;
  right: 120px;
  bottom: 46px;
  width: min(420px, 78vw);
  padding: 14px 16px;
  border-radius: 16px;

  background: linear-gradient(180deg, rgba(12,12,12,0.94), rgba(6,6,6,0.88));
  box-shadow: 0 18px 70px rgba(0,0,0,0.70);
  backdrop-filter: blur(12px);

  color: #fff;
  z-index: 1500;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity .24s ease, transform .24s ease;
}

.xackbot-greet.show{
  opacity: 1;
  transform: translateY(0);
}

/* subtle top glow */
.xackbot-greet::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events:none;
  filter: blur(14px);
  opacity: .9;
  z-index: -1;
}

.xackbot-greet-header{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}

.xackbot-greet-badge{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.xackbot-greet-title{
  font-weight: 900;
  letter-spacing: 0.06em; /* was 0.02em */
  font-size: 1.18rem;
  line-height: 1.1;
  color: #ffffff;
}

.xackbot-greet-sub{
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}


/* typed line */
.xackbot-typed{
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
  line-height: 1.25;
  min-height: 1.25em;
  letter-spacing: 0.03em;
}

.xackbot-caret{
  display:inline-block;
  width: 8px;
  margin-left: 2px;
  opacity: .9;
  animation: xackbotBlink 900ms steps(2, end) infinite;
  color: var(--primary);
}

@keyframes xackbotBlink{
  50%{ opacity: 0; }
}

.xackbot-greet-actions{
  display:flex;
  gap: 10px;
  margin-top: 12px;
}

.xackbot-greet-btn{
  border: 0;
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255,255,255,0.10);
  transition: transform .15s ease, box-shadow .15s ease;
}

.xackbot-greet-btn:hover{
  transform: translateY(-1px);

}


@media (max-width: 480px){
  .xackbot-greet{
    right: 90px;
    bottom: 34px;
    padding: 12px 14px;
  }
  .xackbot-greet-title{ font-size: 1.08rem; }
}

.video-card{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 220px; /* adjust */
}

.bg-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.08));
  pointer-events:none;
}

/* ✅ Play button locked to center */
.video-card .play{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Meta stays at bottom */
.video-card .meta{
  position: relative;
  z-index: 2;
  padding: 12px 12px 10px;
}

/* ensure the close button doesn't get hidden and matches theme */
.xackbot-greet .btn-outline-light{
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.06);
}

/* use your brand gradient on the primary button (optional) */
.xackbot-greet .btn-primary{
  border: 0;
  background: white;
  color: #001818;
  font-weight: 800;
}


/* 2 columns on desktop, 1 on mobile */
.area-menu{
  padding: 10px;
  min-width: min(420px, 92vw);
  border-radius: 14px;

  background: linear-gradient(180deg, rgba(12,12,12,0.96), rgba(6,6,6,0.90));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 70px rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);

  column-count: 1;
  column-gap: 10px;
}

@media (min-width: 576px){
  .area-menu{ column-count: 2; }
}

.area-menu > li{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.area-menu .dropdown-item{
  border-radius: 10px;
  padding: 10px 12px;
  white-space: nowrap;
}

/* fade/slide-in on open */
.dropdown-fade.show{
  animation: navDropdownFade .18s ease-out both;
}
@keyframes navDropdownFade{
  from{ opacity:0; transform: translateY(8px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}


    /* Make entire card clickable + add-to-compare button bottom-right */
    .compare-card{ cursor:pointer; }
    .compare-add-input{ position:absolute; opacity:0; pointer-events:none; }

    .compare-add-btn{
      position:absolute;
      right:12px;
      bottom:12px;
      z-index:5; /* above stretched-link */
      width:40px;
      height:40px;
      border-radius:999px;
      display:grid;
      place-items:center;
      cursor:pointer;

      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.18);
      color:#fff;

      box-shadow: 0 10px 26px rgba(0,0,0,0.35);
      transition: transform .15s ease, background .15s ease, border-color .15s ease;
      user-select:none;
    }
    .compare-add-btn:hover{
      transform: translateY(-1px);
      background: rgba(255,255,255,0.14);
      border-color: rgba(255,255,255,0.24);
    }

    /* Selected state background */
    .compare-add-input:checked + .compare-add-btn{
      background: white;
      color:#001818;
    }

    /* Icon swap: plus -> tick */
    .compare-add-btn .icon-plus{ display:inline-block; }
    .compare-add-btn .icon-check{ display:none; }
    .compare-add-input:checked + .compare-add-btn .icon-plus{ display:none; }
    .compare-add-input:checked + .compare-add-btn .icon-check{ display:inline-block; }

    /* (Optional) make button easier on mobile */
    @media (max-width: 575.98px){
      .compare-add-btn{ width:44px; height:44px; }
    }
 
 
 
 /* Mobile: keep bubble inside screen (centered with safe margins) */
@media (max-width: 575.98px){
  .xackbot-greet{
    left: 12px !important;
    right: 12px !important;      /* overrides right:120px */
    bottom: 78px !important;     /* lifts above nav / chatbot button */
    width: auto !important;      /* uses left/right */
    max-width: none !important;
  }
}
 
 /* XackBot greet bubble must always be clickable */
#xackbotGreet{
  z-index: 99999 !important;
  pointer-events: auto !important;
}
#xackbotGreet *{
  pointer-events: auto !important;
}

/* Prevent loaders/overlays from blocking clicks when visible/invisible */
.section-loader,
.filter-overlay{
  pointer-events: none !important;
}

/* =========================
   AI Compare picker (fix overlay + premium add tile)
   ========================= */

/* Backdrop stacking fix ONLY for our compare picker */
.modal-backdrop.xack-compare-backdrop{
  z-index: 2190 !important;
}
#comparePickerModal{
  z-index: 2200 !important;
}

/* Ensure modal content can receive clicks */
#comparePickerModal .modal-dialog,
#comparePickerModal .modal-content{
  pointer-events: auto;
}

/* If you have any overlay element, make sure it cannot block clicks when hidden */
.filter-overlay{ display:none; pointer-events:none; }
.filter-overlay.show{ display:block; pointer-events:auto; }

/* Add tile (center + premium) */
.compare-slot{
  position: relative;
  height: 100%;
  min-height: 210px;
}

.compare-add{
  width: 100%;
  min-height: 210px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.compare-add:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.compare-add-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.compare-add-icon{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #001818;
  font-size: 22px;
}

.compare-add-text{
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff;
}
.compare-add-sub{
  font-size: .9rem;
  color: rgba(255,255,255,0.78);
  max-width: 220px;
}

/* Selected card wrapper + remove button */
.compare-selected{
  position: relative;
  height: 100%;
}

.compare-remove{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compare-remove:hover{
  border-color: rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.55);
}

/* Property card image sizing to match your theme */
.compare-img{
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

 
 /* =========================================================
   FIX: Bootstrap modal backdrop blocking clicks (AI picker)
   Put this at the END of styles.css
   ========================================================= */
body.modal-open .modal-backdrop.show{
  z-index: 3000 !important;
}

body.modal-open .modal.show{
  z-index: 3005 !important;
}

body.modal-open .modal.show .modal-dialog,
body.modal-open .modal.show .modal-content{
  position: relative;
  z-index: 3010 !important;
  pointer-events: auto !important;
}
 body.modal-open .modal-backdrop{
  pointer-events: none !important;
}
 
 
 /* =========================================== */
 
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* wider columns */
  gap: 18px;
}

.area-chip {
  position: relative;
  display: inline-flex;              /* better centering */
  align-items: center;
  justify-content: center;

  padding: 22px 36px;                /* bigger padding */
  min-height: 56px;                  /* ensures button height */
  border-radius: 999px;

  background-color: #000;
  color: #fff;                       /* FIX: white text */
  text-decoration: none;
  font-size: 16px;                   /* bigger text */
  font-weight: 600;
  text-align: center;

  /* pop-in animation */
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  animation: popIn 0.45s ease forwards;

  transition: transform 0.2s ease;
}


/* stagger (keep or extend as needed) */
.area-chip:nth-child(1)  { animation-delay: 0.05s; }
.area-chip:nth-child(2)  { animation-delay: 0.10s; }
.area-chip:nth-child(3)  { animation-delay: 0.15s; }
.area-chip:nth-child(4)  { animation-delay: 0.08s; }
.area-chip:nth-child(5)  { animation-delay: 0.18s; }
.area-chip:nth-child(6)  { animation-delay: 0.12s; }
.area-chip:nth-child(7)  { animation-delay: 0.22s; }
.area-chip:nth-child(8)  { animation-delay: 0.16s; }
.area-chip:nth-child(9)  { animation-delay: 0.25s; }
.area-chip:nth-child(10) { animation-delay: 0.14s; }

@media (max-width: 576px) {
  .area-grid {
    grid-template-columns: 1fr;
  }

  .area-chip {
    font-size: 15px;
    padding: 20px 28px;
    min-height: 52px;
  }
}


/* pop animation */
@keyframes popIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* subtle lift on hover */
.area-chip:hover {
  transform: translateY(-2px);
}

/* WHITE UNDERLINE */
.area-chip::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;               /* inside the pill */
  height: 1px;
  background-color: black;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

/* underline animation */
.area-chip:hover::after {
  transform: scaleX(1);
}

/* ========================top 10 fade==================== */
/* =========================
   BASE NAVBAR
   ========================= */
.xack-nav {
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(6,6,6,0.6));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 220ms ease;
}

/* Bootstrap container controls navbar height */
.xack-nav > .container {
  max-width: 95%;
  padding: 1.2rem 0;
  transition: padding 220ms ease;
}

/* Logo */
.xack-nav .brand-logo__img {
  height: 32px;
  transition: height 220ms ease;
}

/* Nav links */
.xack-nav .nav-link {
  padding: 0.5rem 0.75rem;
  transition: padding 220ms ease;
}

/* =========================
   SCROLLED STATE (DESKTOP DEFAULT)
   ========================= */
.xack-nav.scrolled > .container {
  padding: 0.45rem 0;
}

.xack-nav.scrolled .brand-logo__img {
  height: 22px;
}

.xack-nav.scrolled .nav-link {
  padding: 0.35rem 0.6rem;
}

/* =========================
   TABLET (≤ 991px)
   ========================= */
@media (max-width: 991px) {
  .xack-nav > .container {
    padding: 1rem 0;
  }

  .xack-nav.scrolled > .container {
    padding: 0.6rem 0;
  }

  .xack-nav .brand-logo__img {
    height: 28px;
  }

  .xack-nav.scrolled .brand-logo__img {
    height: 22px;
  }
}

/* =========================
   MOBILE (≤ 575px)
   ========================= */
@media (max-width: 575px) {
  .xack-nav > .container {
    padding: 0.9rem 0;
  }

  .xack-nav.scrolled > .container {
    padding: 0.5rem 0;
  }

  .xack-nav .brand-logo__img {
    height: 26px;
  }

  .xack-nav.scrolled .brand-logo__img {
    height: 20px;
  }

  /* Keep hamburger vertically centered */
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }
}

/*=============aboutus==============  */
/* =====================================================
   ABOUT & POLICIES – TYPOGRAPHY COMPRESSION
   Scope: #about-page ONLY
   ===================================================== */

#about-page {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Paragraphs & lists */
#about-page p,
#about-page li {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Bootstrap .small refinement */
#about-page .small {
  font-size: 0.82rem;
}

/* Muted / legal text */
#about-page .muted {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================
   HEADINGS SCALE DOWN
   ========================= */

#about-page h1 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

#about-page h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

#about-page h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* =========================
   LIST DENSITY (LEGAL TEXT)
   ========================= */

#about-page ol,
#about-page ul {
  padding-left: 1.1rem;
}

#about-page ol li,
#about-page ul li {
  margin-bottom: 0.35rem;
}

/* =========================
   CARD CONTENT COMPACT
   ========================= */

#about-page .card {
  padding: 1rem;
}

#about-page .card p:last-child {
  margin-bottom: 0;
}

/* =========================
   RESPONSIVE TUNING
   ========================= */

@media (max-width: 768px) {
  #about-page {
    font-size: 0.95rem;
  }

  #about-page p,
  #about-page li {
    font-size: 0.92rem;
  }

  #about-page .small {
    font-size: 0.88rem;
  }

  #about-page h1 {
    font-size: 1.45rem;
  }

  #about-page h2 {
    font-size: 1.15rem;
  }
}

/* =====================================================
   SOFT DARK CARD – BLACK BG, WHITE TEXT
   ===================================================== */
   
   
   /* ======================================================
   HARD STOP: REMOVE UNDERLINE EFFECT FROM ACCORDION ONLY
   ====================================================== */

/* Kill underline animation pseudo-element */
.accordion-button::before {
  content: none !important;
  display: none !important;
}

/* Prevent underline from hover / focus states */
.accordion-button:hover::before,
.accordion-button:focus::before,
.accordion-button:not(.collapsed)::before {
  content: none !important;
  display: none !important;
}

/* Safety: if underline is applied via generic link utility */
.accordion-button,
.accordion-button * {
  text-decoration: none !important;
}
   
   
   
   h2 .accordion-button::before {
  content: none !important;
}
   

.dark-soft-card {
  background-color: #0b0b0b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Headings */
.dark-soft-card h5 {
  color: #ffffff;
  font-weight: 600;
}

/* Muted text */
.dark-soft-card .muted {
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   ACCORDION – DARK SOFT
   ========================= */

.dark-soft-card .accordion-item {
  background: transparent;
  border: none;
}

.dark-soft-card .accordion-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.65rem 0;
  font-size: 0.9rem;
  box-shadow: none;
}

.dark-soft-card .accordion-button:not(.collapsed) {
  color: #ffffff;
}

.dark-soft-card .accordion-button::after {
  filter: invert(1);
  opacity: 0.6;
}

/* Accordion body */
.dark-soft-card .accordion-body {
  padding: 0.5rem 0 0.9rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Remove last divider */
.dark-soft-card .accordion-item:last-child .accordion-body {
  border-bottom: none;
}

/* Focus cleanup */
.dark-soft-card .accordion-button:focus {
  box-shadow: none;
}


 