:root{
  /* Timing tuned slower so motion is noticeable */
  --speed: 1000ms;
  --delay: 600ms;

  /* Brand colors */
  --red: #C62828;
  --white: #FFFFFF;
}

/* Reset-ish */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* HERO */
.hero{
  position: relative;
  min-height: 84vh;
  isolation: isolate;
  /* Image is in the same folder as this CSS and HTML */
  background: url('./aking-hero-house.jpg') center/cover no-repeat;
}

/* Overlay for readability (adjust opacities if your image is bright/dark) */
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}
.hero-overlay{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0) 100%
  );
}

/* Content */
.hero-content{
  position: relative; z-index: 2;
  color: var(--white);
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 20px 48px;
  display: flex; flex-direction: column; gap: 10px;
}

.hero-title{
  margin: 0;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  opacity: 0; transform: translateY(14px);
  animation: in var(--speed) cubic-bezier(.25,.8,.25,1) var(--delay) forwards;
}
.hero-title span{ color: var(--red); }

.hero-subtitle{
  margin: 0;
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  opacity: 0; transform: translateY(14px);
  animation: in var(--speed) cubic-bezier(.25,.8,.25,1) calc(var(--delay) + 200ms) forwards;
}

/* Animation keyframes */
@keyframes in {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive tweak for shorter mobiles */
@media (max-width: 640px){
  .hero{ min-height: 78vh; }
}

/* ===== NAVIGATION BAR ===== */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: black;
  color: white;
  font-weight: 800;
  font-family: Montserrat, sans-serif;
  letter-spacing: 0.5px;
}

.brand-name {
  font-weight: 800;
  font-family: Montserrat, sans-serif;
  color: #2B2B2B;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  color: #2B2B2B;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 240ms ease, color 240ms ease;
}

.nav a:hover {
  background: #f5f5f5;
}

.nav-link.is-active {
  color: var(--red);
}

/*==== Styling nav bar for mobile ==== */
/* NAV WRAPPER for toggle */
/* ===== NAVIGATION BAR ===== */
/* Mobile first: hide menu */

/* =========================
   NAV MENU CONTAINER
   ========================= */
.nav {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 60px; /* adjust to match your header height */
  right: 0;
  left: 0; /* make it full width */
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999; /* ensure it sits above other content */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Show menu when toggled */
.nav.nav-open {
  display: flex;
  max-height: 500px; /* big enough to fit all links */
}

/* Desktop: always show menu */
@media (min-width: 768px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    width: auto;
    padding: 0;
    z-index: auto;
    max-height: none;
    overflow: visible;
  }
}

/* =========================
   NAV TOGGLE BUTTON
   ========================= */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35px; /* bigger clickable area */
  height: 35px;
  background: #C62828; /* theme color */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  background: #a91f1f; /* darker shade on hover */
  transform: scale(1.05);
}

/* Hamburger lines */
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Animate hamburger into X */
.nav-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Optional: subtle pulse when active */
.nav-toggle.is-active {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(198, 40, 40, 0); }
}


/* Brand logo image */
.brand-logo {
  height: 36px;       /* Matches old placeholder height */
  width: auto;        /* Keeps proportions */
  display: block;
  object-fit: contain; /* Ensures it scales nicely */
}

/* Brand name text */
.brand-name {
  font-weight: 800;
  font-family: Montserrat, sans-serif;
  color: #2B2B2B;
}

/* ===== HERO BUTTONS ===== */
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Base button style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease, color 240ms ease;
}

/* Primary button (red background) */
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: #9E1F1F; /* darker red on hover */
}

/* Ghost button (white background, red text) */
.btn-ghost {
  background: var(--white);
  color: var(--red);
  border: 1px solid #ddd;
}
.btn-ghost:hover {
  background: #f5f5f5;
}
/*===Header for lsiting Section=== */
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
  color: #2B2B2B;
  font-family: Montserrat, sans-serif;

  /* Animation */
  opacity: 0;
  transform: translateY(16px);
}
.section-heading.appear {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

/* Hover lift effect */
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* ===== EFFECT CONTROLS ===== */
:root{
  /* View Listings (glow sweep) */
  --glow-duration: 2.2s;       /* how long each sweep takes */
  --glow-delay: 0;            /* wait time before starting */
  --glow-iteration: infinite;  /* number or 'infinite' */

  /* Get In Touch (pulse) */
  --pulse-duration: 1.6s;      /* speed of each pulse */
  --pulse-delay: 0;           /* wait time before starting */
  --pulse-iteration: infinite; /* number or 'infinite' */
}

/* ===== VIEW LISTINGS: Moving glow sweep ===== */
.btn-primary{
  position: relative;
  overflow: hidden; /* keeps the glow inside the button shape */
  isolation: isolate;
}
.btn-primary::after{
  content:"";
  position:absolute; inset:-1px;
  /* Subtle diagonal gradient that moves across */
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(120%); /* start off to the right */
  z-index: 0;
  animation: sweep var(--glow-duration) cubic-bezier(.25,.8,.25,1) var(--glow-delay) var(--glow-iteration);
  pointer-events: none;
  mix-blend-mode: screen; /* emphasizes glow on red */
  border-radius: inherit;
}
/* Keep label above the glow layer */
.btn-primary{ z-index: 1; }

/* Keyframes for the sweep */
@keyframes sweep{
  0%   { transform: translateX(120%); }
  100% { transform: translateX(-120%); }
}

/* Optional: only animate on hover (uncomment to use) */
/*
.glow-sweep::after{ animation: none; }
.glow-sweep:hover::after{
  animation: sweep var(--glow-duration) cubic-bezier(.25,.8,.25,1) 0s 1;
}
*/

/* ===== GET IN TOUCH: Gentle enlarge pulse ===== */
/* ===== EFFECT CONTROLS (customize frequency/feel) ===== */
:root{
  /* Glow sweep (View Listings) */
  --glow-duration: 2.2s;       /* how long each sweep takes */
  --glow-delay: 5s;            /* wait time before starting */
  --glow-iteration: infinite;  /* number or 'infinite' */
}

/* ===== VIEW LISTINGS: Moving glow sweep ===== */
.glow-sweep{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.glow-sweep::after{
  content:"";
  position:absolute; inset:-1px;
  background: linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(120%);
  z-index: 0;
  animation: sweep var(--glow-duration) cubic-bezier(.25,.8,.25,1) var(--glow-delay) var(--glow-iteration);
  pointer-events: none;
  mix-blend-mode: screen;
  border-radius: inherit;
}
@keyframes sweep{
  0%   { transform: translateX(120%); }
  100% { transform: translateX(-120%); }
}


/* ===== LISTINGS SECTION ===== */
.listings {
  padding: 56px 0;
  background: var(--grey-100, #f5f5f5);
}

.quick-filter {
  margin-bottom: 24px;
  padding: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid #ddd;
  border-radius: 14px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

select {
  appearance: none;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff url("data:image/svg+xml,%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center/16px;
  font-weight: 600;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .quick-filter {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .quick-filter {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   LISTINGS SECTION STYLES
   ========================================= */

/* 
  .listings — The entire listings section wrapper.
*/
.listings {
  padding: 2rem 0;
  background-color: #fafafa;
}

/* 
  .section-heading — The main heading for the section.
  Works with .motion-in for animations.
*/
.section-heading {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #333;
}

/* =========================================
   FILTER BAR
   ========================================= */
.quick-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quick-filter .field {
  display: flex;
  flex-direction: column;
}

.quick-filter .field-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #555;
}

.quick-filter select {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

/* =========================================
   LISTINGS TOOLBAR
   ========================================= */
.listings-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* ============================================
 Animated Section Heading for listing 
 ==============================================*/
.section-heading {
  font-size: 2rem;
  font-weight: bold;
  color: #C62828;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-heading.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Optional underline grow after reveal */
.section-heading.animate::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #C62828;
  margin-top: 0.4rem;
  animation: underlineGrow 0.5s ease forwards;
  animation-delay: 0.2s;
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 60px; }
}



/* =========================================
   CARD CONTAINER
   ========================================= */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-width, 300px), 1fr));
  gap: 1rem;
}

/* Optional horizontal scroll version */
.listings-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.listings-scroll .card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* =========================================
   CARD STYLES
   ========================================= */

/* 
  --card-width and --card-height control size.
  --card-transition-speed controls animation speed.
*/
.card {
  --card-width: 300px;           /* Default width */
  --card-height: 220px;          /* Default image height */
  --card-transition-speed: 0.7s; /* Default animation speed */

  width: var(--card-width);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;

  /* Start hidden for animation */
  opacity: 0;
  transform: translateY(16px);
}

/* Hover effect */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* =========================================
   CARD IMAGE AREA
   ========================================= */
.card img {
  width: 100%;
  height: var(--card-height);
  object-fit: cover;
  display: block;
}

/* =========================================
   CARD OVERLAY CONTENT
   ========================================= */
.overlay {
  padding: 0.75rem 1rem;
  background: #fff;
}

.overlay h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: #333;
}

.overlay p {
  margin: 0.15rem 0;
  font-size: 0.9rem;
  color: #666;
}

/*CLICKABLE CARDS */
.property-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.property-card-link:hover .property-card {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.card-link {
  text-decoration: none; /* removes underline from the link */
  color: inherit;        /* keeps your card text color unchanged */
  display: block;        /* makes the whole card clickable */
}

.card-link h3,
.card-link p {
  text-decoration: none; /* ensures headings and paragraphs inside don't get underlined */
}
/*==================
Styling Stars on card 
==================== */
.stars {
  font-size: 1rem; /* adjust size */
  color: gold;
  margin-top: 0.3rem;
}

.star {
  display: inline-block;
  color: #ccc; /* empty star color */
}

.star.filled {
  color: gold; /* filled star color */
}
/* =========================================
   ANIMATION CLASSES
   ========================================= */

/* 
  .motion-in — Initial state (hidden).
  .appear — Final state (visible).
  Speed is controlled by --card-transition-speed.
*/
.motion-in {
  opacity: 0;
  transform: translateY(16px);
}

.motion-in.appear {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--card-transition-speed, 0.10s) ease,
              transform var(--card-transition-speed, 0.10) ease;
}

/* Staggered delays for sequential animations */
.delay-1.appear { transition-delay: calc(var(--card-transition-speed) * 0.8); }
.delay-2.appear { transition-delay: calc(var(--card-transition-speed) * 0.10); }
.delay-3.appear { transition-delay: calc(var(--card-transition-speed) * 0.13); }
.delay-4.appear { transition-delay: calc(var(--card-transition-speed) * 1.7); }

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(auto-fill, minmax(80%, 1fr));
  }
}



/*===== Footer Stlying ===========  */

/* ===== PROPERTY DETAILS PAGE ===== */
.property-details .property-hero {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.property-details .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-details .property-header {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.property-details .property-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
}
.property-details .property-meta {
  display: flex;
  gap: 24px;
  font-weight: 700;
  color: #444;
}
.property-details .price {
  color: var(--red);
}
.property-details .map-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}
.property-details .video-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.property-details .video-wrapper iframe {
  width: 100%;
  height: 100%;
}
.property-details .facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}
.property-details .property-cta {
  text-align: center;
  margin: 48px 0;
}



 /* =========================
   ACTIVE FILTER CHIPS
   =========================
   These appear after a search is applied, showing the active filters.
   Each chip has a remove (x) button.
*/
.active-filters {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* space between chips */
}

.filter-chip {
  background: #eee;
  padding: 0.4rem 0.8rem;
  border-radius: 999px; /* pill shape */
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-chip button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

/* =========================
   SITE FOOTER
   ========================= */
.site-footer {
  background: #f8f8f8;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.site-footer .admin-login a {
  color: #999;
  text-decoration: none;
  font-size: 0.8rem;
}

.site-footer .admin-login a:hover {
  color: #333;
  text-decoration: underline;
}

/* =========================
   SEARCH FORM STYLING
   =========================
   Styles the Location / Type / Price / Sort / Search button row.
   Uses flexbox for alignment and spacing.
*/
.quick-filter {
  display: flex;
  flex-wrap: wrap; /* wrap on smaller screens */
  gap: 3rem; /* space between each field */
  margin: 1.5rem 0; /* space above and below the form */
  align-items: flex-end; /* align fields and button nicely */
}

.quick-filter .field {
  display: flex;
  flex-direction: column;
  min-width: 160px; /* prevent fields from being too narrow */
}

.quick-filter .field-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
}

.quick-filter select,
.quick-filter input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.quick-filter button {
  padding: 0.6rem 1.2rem;
  background:#C62828; /* match your brand color */
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
  /* Extra space between Sort By and Search button */
  margin-left: 15rem; /* adjust as needed */

}

.quick-filter button:hover {
  background: #C62828;
}

/*================================
styling agent section 
================================== */

/* Grey background for the section */
.agents-section {
  background-color: #f0f0f0; /* light grey */
  padding: 3rem 1rem;
}

.agents-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #C62828;
  margin-bottom: 2rem;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.agent-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  width: 100%;
}

.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.agent-image-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
}

.agent-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.agent-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #C62828;
  color: #fff;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: bold;
}

.agent-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.agent-role {
  color: #777;
  font-size: 0.9rem;
}

.agent-contact {
  margin-top: 1rem;
}

.agent-contact a {
  margin: 0 0.4rem;
  color: #C62828;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.agent-contact a:hover {
  color: #a91f1f;
}

/* Animation */
.motion-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.motion-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}


/* Why Choose Us section */
.why-choose-us { margin: 3rem auto; max-width: 1100px; padding: 0 1rem; }

.why-choose-us .section-heading {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: var(--theme-color);
}

/* Grid: 3 columns desktop, 1 column mobile */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap, 1.25rem);
  align-items: start;
}

/* Card base */
.choose-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms ease, border-color 200ms ease;
  cursor: default;
  will-change: transform;
  outline: none;
}

/* Number pill (large, bold) */
.choose-number {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 900;
  border: 3px solid rgba(0,0,0,0.04);
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

/* Text area */
.choose-body { flex: 1; min-width: 0; }
.choose-title { margin: 0 0 0.25rem; font-size: 1.05rem; color: #222; }
.choose-text { margin: 0; color: #555; line-height: 1.5; }

/* Hover & focus (lift, stronger border, pointer-friendly) */
.choose-card:hover,
.choose-card:focus {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  border-color: rgba( var(--theme-rgb, 169,31,31), 0.18 );
}

/* Subtle numbered accent when hovered */
.choose-card:hover .choose-number,
.choose-card:focus .choose-number {
  background: linear-gradient(180deg, var(--theme-color), rgba(0,0,0,0.02));
  color: #fff;
  border-color: rgba(0,0,0,0.06);
  transform: translateY(-2px);
  transition: transform 180ms ease, background 240ms ease, color 240ms ease;
}

/* Accessibility: keyboard focus visible */
.choose-card:focus { box-shadow: 0 0 0 3px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.08); }

/* Responsive */
@media (max-width: 900px) {
  .choose-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .choose-grid { grid-template-columns: 1fr; }
  .choose-card { padding: 0.9rem; }
  .choose-number { width: 56px; height: 56px; font-size: 1.5rem; }
  .why-choose-us { margin: 2rem 0; }
}

/* Motion classes compatibility (keeps existing animation system) */
.motion-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.motion-in.appear { opacity: 1; transform: translateY(0); }

.motion-card { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.motion-card.animate-in { opacity: 1; transform: translateY(0); }