/* =====================================================================
   ORANGE SPACES – home.css   (homepage only)
   Also load components.css on the homepage for property cards,
   area cards, blog cards and the CTA section.

   SECTIONS
     1. Hero (+ rotating badge)
     2. Floating filter bar
     3. Dark category cards (Off-plan / Ready / New launches)
     4. About block (image fading into text + 4 cards)
     5. Services grid
     6. Developers logo marquee
     7. "Explore" cards (team-grid)
     8. "Why choose us" (dark navy with side image)
   ===================================================================== */


/* ── 1. HERO ────────────────────────────────────────────────────── */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.os-hero {
  position: relative; min-height: 100vh; overflow: hidden;
  background-image:
    radial-gradient(circle at 82% 50%, rgba(0,160,120,.22), transparent 38%),
    linear-gradient(90deg, rgba(2,7,12,.58) 0%, rgba(2,8,14,.40) 35%, rgba(2,8,14,.28) 60%, rgba(2,8,14,.55) 100%),
    linear-gradient(0deg, rgba(0,0,0,.88), transparent 70%),
    url("../img/hero-img2.webp");                /* ← hero image (keep in sync with the preload in home.html) */
  background-size: cover; background-position: center;
}
.os-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.05), transparent 35%),
    radial-gradient(circle at 15% 40%, rgba(0,130,110,.22), transparent 45%);
}
.os-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 15%, rgba(0,0,0,.20) 30%, transparent 50%);
}
.os-hero-container {
  position: relative; z-index: 5; max-width: 1320px; margin: auto; min-height: 100vh;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: end;
  padding: 160px 30px 100px;
}
.os-meta-strip {
  position: absolute; top: 110px; right: 30px; text-align: right;
  font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
.os-meta-strip span { font-weight: 600; font-family: var(--font-script); font-size: 20px; color: var(--os-gold); text-transform: none; letter-spacing: .12em; }

.os-hero-title h1, .os-hero-title h2 {
  font-family: var(--font-display); font-size: 74px; font-weight: 500; line-height: 1.08;
  letter-spacing: -3px; color: #fff; position: relative; bottom: 10px;
  text-shadow: 0 10px 35px rgba(0,0,0,.9); 
}
.os-hero-title span { display: block; padding-left: 150px; margin-top: 25px; }

/* Rotating circular badge */
.os-badge-wrap { position: absolute; left: 20px; bottom: 62px; }
.os-badge { width: 160px; height: 160px; position: relative; }
.os-rotating-text { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.os-rotating-text text { fill: var(--os-gold); font-size: 11px; letter-spacing: .28em; }
.os-badge-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.os-badge-circle {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(213,170,87,.5); background: rgba(0,0,0,.45); backdrop-filter: blur(15px);
}
.os-badge-circle img { width: 100%; height: 100%; object-fit: cover; }

.os-hero-content { position: relative; z-index: 5; }
.os-hero-content::before {
  content: ""; position: absolute; left: -40px; top: -50px; width: 550px; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(0,0,0,.45), transparent 70%);
}
.os-hero-content p { font-size: 18px; line-height: 1.9; max-width: 520px; color: rgba(255,255,255,.95); text-shadow: 0 5px 20px rgba(0,0,0,.9); }

.os-trust-line { margin-top: 30px; display: flex; gap: 18px; flex-wrap: wrap; }
.os-trust-item { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,.9); }
.os-trust-item svg { width: 18px; height: 18px; stroke: var(--os-gold); }

@media (max-width: 991px) {
  .os-hero-container { grid-template-columns: 1fr; padding-top: 140px; }
  .os-meta-strip { position: relative; top: auto; right: auto; text-align: left; }
  .os-hero-title h1, .os-hero-title h2 { font-size: 55px; }
  .os-hero-title span { padding-left: 70px; }
}
@media (max-width: 767px) {
  .os-hero-container {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 100px 20px 45px; gap: 30px; text-align: center;
  }
  .os-meta-strip { order: 1; text-align: center; font-size: 11px; letter-spacing: .15em; margin-bottom: 10px; }
  .os-meta-strip span { font-size: 17px; }
  .os-hero-title { order: 2; }
  .os-hero-title h1, .os-hero-title h2 { font-size: 40px; line-height: 1.15; letter-spacing: -1px; bottom: 0; }
  .os-hero-title span { padding-left: 0; margin-top: 10px; }
  .os-badge-wrap { position: relative; left: auto; bottom: auto; order: 3; margin: 0 auto; }
  .os-badge { width: 110px; height: 110px; }
  .os-badge-circle { width: 70px; height: 70px; }
  .os-badge-center { display: none; }
  .os-rotating-text text { font-size: 8px; }
  .os-hero-content { order: 4; width: 100%; text-align: center; }
  .os-hero-content::before { display: none; }
  .os-hero-content p { max-width: 100%; font-size: 16px; line-height: 1.75; }
  .os-trust-line { justify-content: center; gap: 14px; margin-top: 24px; }
}


/* ── 2. FLOATING FILTER BAR ─────────────────────────────────────── */
.os-floating-filter { position: relative; z-index: 60; margin: -42px 0; padding: 0 24px; }
.os-filter-inner {
  max-width: 1180px; margin: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 15px; border-radius: 10px; background: #fff;
  border: 1px solid rgba(43,47,58,.181); box-shadow: 0 18px 50px rgba(4,29,87,.08);
}
.os-filter-field { flex: 1; min-width: 190px; }
.os-filter-label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: #94a3b8; }
.os-filter-input, .os-filter-select {
  width: 100%; height: 52px; border: none; outline: none; padding: 0 18px; border-radius: 16px;
  background: #f5f7fa; font-size: 14px; font-weight: 500; color: #0f172a; transition: .3s ease;
}
.os-filter-input:focus, .os-filter-select:focus { background: #fff; box-shadow: 0 0 0 1px rgba(16,185,129,.18), 0 8px 24px rgba(16,185,129,.08); }
.os-filter-select {
  appearance: none; background-repeat: no-repeat; background-position: right 16px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.os-filter-btn {
  height: 52px; padding: 0 28px; margin-top: 20px; border: none; border-radius: 50px;
  background: var(--grad-dark-green); color: #fff; font-family: var(--font-ui);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  cursor: pointer; transition: .35s ease;
}
.os-filter-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,23,42,.16); }
@media (max-width: 768px) {
  .os-floating-filter { margin: -32px 0; }
  .os-filter-inner { padding: 16px; border-radius: 22px; }
  .os-filter-field, .os-filter-btn { width: 100%; }
}


/* ── 3. DARK CATEGORY CARDS (Off-plan / Ready / New launches) ───── */
.os-luxury-properties {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 80px 80px 50px; background: #020008;
}
.os-luxury-properties::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .15;
  background-image: radial-gradient(circle, rgba(213,170,87,.6) 1px, transparent 1.5px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.8) 20%, #000 100%);
}
.os-luxury-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1600px; margin: auto; }
.os-luxury-card {
  position: relative; height: 300px; overflow: hidden; text-decoration: none; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.226), transparent 35%),
    linear-gradient(180deg, #0a0f0eee 0%, #11151cee 100%);
  transition: .4s ease;
}
.os-luxury-card:hover { transform: translateY(-6px); border-color: rgba(213,170,87,.35); }
.os-luxury-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: .5s ease; }
.os-card-offplan:hover::before { opacity: 1; background: radial-gradient(circle at 65% 35%, rgba(170,205,230,.55), transparent 50%); }
.os-card-ready:hover::before   { opacity: 1; background: radial-gradient(circle at 75% 18%, rgba(255,255,255,.28), transparent 45%); }
.os-card-rent:hover::before    { opacity: 1; background: radial-gradient(circle at 95% 0%, rgba(255,255,255,.18), transparent 35%); }
.os-card-icon {
  position: absolute; top: 20px; left: 22px; width: 50px; height: 50px; border-radius: 50%; z-index: 5;
  border: 1px solid rgba(213,170,87,.6); color: #d5aa57; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.os-luxury-card img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 85%; object-fit: contain; z-index: 2;
  filter: grayscale(100%) brightness(.85); transition: .6s ease;
}
.os-luxury-card:hover img { filter: none; transform: scale(1.04); }
.os-card-content { position: absolute; top: 15px; right: 5%; z-index: 5; }
.os-card-content h3 { color: #fff; font-family: var(--font-serif); font-size: 28px; font-weight: 400; line-height: 1; }
.os-card-arrow {
  position: absolute; right: 20px; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; z-index: 5;
  border: 1px solid #d5aa57; color: #d5aa57; font-size: 22px;
  display: flex; align-items: center; justify-content: center; transition: .3s;
}
@media (max-width: 1200px) { .os-luxury-grid { grid-template-columns: 1fr; } .os-luxury-card { height: 320px; } }
@media (max-width: 768px)  { .os-luxury-properties { padding: 60px 15px; } .os-luxury-card { height: 280px; } .os-card-content h3 { font-size: 24px; } }


/* ── 4. FEATURED PROPERTIES ─────────────────────────────────────── */
.os-featured {
  background: #fff;
  /* extra top space: the search bar above overlaps this section by 42px */
  padding: 110px 0 80px;
}
.os-featured .sec-head { margin-bottom: 40px; }
.os-featured .prop-name a { color: inherit; text-decoration: none; transition: color .2s; }
.os-featured .prop-name a:hover { color: var(--color-emerald); }
.os-featured .prop-price--ask { font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 768px) {
  .os-featured { padding: 90px 0 60px; }
}


/* ── 5. ABOUT BLOCK (image fading into text + 4 cards) ───────────── */
.abt4 { position: relative; overflow: hidden; background: #fff; padding: 20px 0 80px; }
.abt4-wrap { max-width: 1380px; margin: 0 auto; padding: 0 24px; }

/* Image + text */
.abt4-feature { position: relative; display: flex; align-items: center; min-height: 540px; overflow: hidden; background: #fff; border: 1px solid rgba(201,168,76,.5); }
.abt4-img { position: absolute; top: 0; bottom: 0; left: 0; width: 60%; }
.abt4-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.abt4-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,.72) 72%, #fff 100%);
}
.abt4-text { position: relative; z-index: 2; width: 50%; margin-left: auto; padding: 56px 56px 56px 0; }
.abt4-eyebrow { display: flex; align-items: center; gap: 12px; }
.abt4-eyebrow .line { display: block; width: 44px; height: 1px; background: var(--color-gold); }
.abt4 .sec-title { width: 100%; text-transform: none; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.15; color: var(--color-navy); margin-top: 14px; }
.abt4 .sec-title em {
  display: block; font-family: var(--font-serif); font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, #a8761a 0%, #e2c273 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.abt4-text p { font-size: 15px; line-height: 1.85; color: var(--color-navy); margin-top: 20px; font-weight: 500; }

/* 4 cards */
.abt4-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.abt4-card {
  position: relative; padding: 28px 24px 26px; border-radius: 16px;
  border: 1px solid var(--color-border); background: #fff;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
a.abt4-card { display: block; color: inherit; text-decoration: none; }   /* cards 01 + 02 are links */
.abt4-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.6); box-shadow: 0 22px 50px rgba(14,31,59,.12); }
.abt4-num { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--color-gold); opacity: .9; }
.abt4-card svg { position: absolute; top: 26px; right: 24px; width: 28px; height: 28px; color: var(--color-emerald); }
.abt4-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 400; margin-top: 22px; line-height: 1.25; color: var(--color-navy); }
.abt4-card p { font-size: 15px; line-height: 1.7; color: var(--color-navy)!important; margin-top: 10px; }

/* Responsive */
@media (max-width: 1100px) {
  .abt4-cards { grid-template-columns: repeat(2, 1fr); }
  .abt4-text { width: 54%; padding-right: 36px; }
}
@media (max-width: 991px) {
  .abt4-feature { display: block; min-height: 0; }
  .abt4-img { position: relative; width: 100%; height: 300px; }
  .abt4-img::after { background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 45%, rgba(255,255,255,.8) 80%, #fff 100%); }
  .abt4-text { width: 100%; padding: 0 28px 36px; margin-top: -20px; }
}
@media (max-width: 640px) {
  .abt4-cards { grid-template-columns: 1fr; }
  .abt4-img { height: 240px; }
  .abt4-text { padding: 0 20px 28px; }
}

/* ── 5. SERVICES GRID ───────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); border-radius: 16px; overflow: hidden; }
.svc-cell { position: relative; background: #fff; padding: 28px; transition: background .2s; }
.svc-cell:hover { background: var(--color-ivory-soft); }
.svc-icon {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(176,155,80,.534);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.svc-cell:hover .svc-icon { background: var(--grad-dark-green); }
.svc-icon svg { width: 18px; height: 18px; color: var(--color-gold); }
.svc-cell h3 { font-family: var(--font-display); font-size: 20px; margin-top: 18px; }
.svc-cell p { font-size: 15px; color:var(--color-navy); margin-top: 6px; line-height: 1.5; }
.svc-arrow { position: absolute; top: 20px; right: 20px; font-size: 12px; letter-spacing: .2em; color: var(--color-gold); opacity: 0; transition: opacity .2s; }
.svc-cell:hover .svc-arrow { opacity: 1; }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .svc-grid { grid-template-columns: 1fr; } }


/* ── 6. DEVELOPERS LOGO MARQUEE ─────────────────────────────────── */
/* --sw (width of one logo set) is set by home.js */
@keyframes beltFwd { 0% { transform: translateX(0); }                    100% { transform: translateX(calc(-1 * var(--sw))); } }
@keyframes beltRev { 0% { transform: translateX(calc(-1 * var(--sw))); } 100% { transform: translateX(0); } }

.dev-section {
  position: relative; overflow: hidden; padding: 20px 0 80px;
  background-color: var(--color-ivory-soft);
  background-image: radial-gradient(circle at 1px 1px, rgba(201,168,76,.18) 1px, transparent 0);
  background-size: 22px 22px;
}
.dev-container { position: relative; z-index: 2; width: min(1280px, 92%); margin: auto; }
.dev-heading-wrap { max-width: 760px; margin: 20px auto 0; text-align: center; }
.dev-label { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--color-gold); }
.dev-title { font-family: var(--font-display); font-size: 35px; font-weight: 400; margin-top: 8px; text-transform: uppercase; }
.dev-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 5%;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--color-navy); text-decoration: none; transition: color .2s;
}
.dev-marquee-wrap { position: relative; overflow: hidden; width: 100%; margin-top: 40px; }
.dev-marquee-wrap::before, .dev-marquee-wrap::after { content: ""; position: absolute; top: 0; width: 140px; height: 100%; z-index: 5; pointer-events: none; }
.dev-marquee-wrap::before { left: 0;  background: linear-gradient(to right, #f7f4ee 20%, transparent); }
.dev-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  #f7f4ee 20%, transparent); }
.dev-marquee-row { display: flex; overflow: hidden; padding: 22px 0; }
.dev-belt { display: flex; align-items: center; width: max-content; will-change: transform; }
.dev-belt.fwd { animation: beltFwd 24s linear infinite; }
.dev-belt.rev { animation: beltRev 28s linear infinite; }
.dev-belt:hover { animation-play-state: paused; }
.dev-logo-slot { display: inline-flex; align-items: center; justify-content: center; padding: 0 48px; flex-shrink: 0; }
.dev-logo-slot img { height: 40px; width: auto; display: block; filter: grayscale(100%); opacity: .85; transition: filter .3s, opacity .3s, transform .3s; }
.dev-logo-slot:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@media (max-width: 768px) {
  .dev-section { padding: 80px 0; }
  .dev-title { font-size: 30px; }
  .dev-marquee-wrap { margin-top: 55px; }
  .dev-logo-slot { padding: 0 28px; }
  .dev-logo-slot img { height: 28px; }
}


/* ── 7. "EXPLORE" CARDS (team-grid) ─────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  border-radius: 16px; border: 1px solid var(--color-border); background: #fff; padding: 24px; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(14,31,59,.1); }
.team-avatar {
  position: relative; width: 88px; height: 88px; border-radius: 999px; margin: 0 auto;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 26px; color: var(--color-gold);
  outline: 2px solid rgba(201,168,76,.4); outline-offset: 3px;
}
.team-name { font-family: var(--font-display); font-size: 18px; margin-top: 18px; }
.team-role { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(14,31,59,.6); margin-top: 4px; }
.team-card p:not(.team-role) { font-size: 13px; line-height: 1.6; color: rgba(14,31,59,.7); margin-top: 12px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .team-grid { gap: 16px; } }
@media (max-width: 480px)  { .team-grid { grid-template-columns: 1fr; } }


/* ── 8. "WHY CHOOSE US" (dark navy with side image) ─────────────── */
#awards {
  position: relative; overflow: hidden; isolation: isolate; padding: 120px 0;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.10) 0%, transparent 18%),
    radial-gradient(circle at left center, rgba(37,99,235,.05) 0%, transparent 28%),
    linear-gradient(360deg, #020617 0%, #06101d 22%, #071425 45%, #06101c 68%, #020617 100%);
}
#awards::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .78; filter: brightness(.82) contrast(1.04);
  background:
    linear-gradient(to left, rgba(24,52,178,.1) 0%, rgba(61,86,199,.041) 10%, rgba(36,26,0,0) 22%, rgba(2,6,23,.62) 38%, rgba(11,14,26,.84) 58%, rgba(2,6,23,.96) 74%, rgba(3,3,6,.781) 100%),
    url("../img/img_03.jpg");                    /* ← side image */
  background-size: 100% 100%, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: center, right -250px center;
}
#awards::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(96,165,250,.12) 0%, rgba(59,130,246,.05) 14%, transparent 34%),
    radial-gradient(ellipse at center, rgba(15,23,42,.12) 0%, rgba(15,23,42,.04) 28%, transparent 64%),
    radial-gradient(circle at right center, rgba(16,185,129,.04) 0%, transparent 24%);
}
.awards-overlay { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 84%, rgba(255,215,120,.10) 0%, rgba(255,215,120,.04) 10%, transparent 24%); }
.awards-content { position: relative; z-index: 5; max-width: 720px; color: #fff; }
#awards .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.22); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  backdrop-filter: blur(10px); color: #d4af37; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
}
#awards h2 { margin-top: 30px; font-family: var(--font-serif); font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.04; letter-spacing: -.03em; color: #fff; text-shadow: 0 0 30px rgba(96,165,250,.06); }
#awards p { margin-top: 24px; max-width: 610px; font-size: 16px; line-height: 2; color: rgba(255,255,255,.74); }
.awards-badges { display: flex; align-items: center; flex-wrap: nowrap; gap: 14px; margin-top: 42px; overflow-x: auto; }
.awards-badges::-webkit-scrollbar { display: none; }
.award-badge {
  position: relative; flex: 0 0 auto; padding: 15px 24px; border-radius: 14px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(12px); box-shadow: 0 10px 35px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; transition: .35s ease;
}
.award-badge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(212,175,55,.16), transparent 55%); }
.award-badge:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.35); box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 30px rgba(212,175,55,.12); }
@media (max-width: 1024px) { #awards { background: var(--color-navy); } .awards-badges { display: grid; grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px)  { #awards { padding: 90px 0; } #awards::before { width: 100%; opacity: .16; } #awards h2 { font-size: 3rem; } }
@media (max-width: 768px)  { #awards { padding: 80px 0; } #awards h2 { font-size: 2.4rem; } .awards-badges { display: flex; flex-direction: column; } }



/* ── 2. PROPERTY CATEGORIES (dark cards) ─────────────────────────── */
.os-luxury-properties {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 80px 80px 50px; background: #020008;
}
.os-luxury-properties::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .15;
  background-image: radial-gradient(circle, rgba(213,170,87,.6) 1px, transparent 1.5px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.8) 20%, #000 100%);
}
.os-luxury-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1600px; margin: auto; }
.os-luxury-card {
  position: relative; height: 300px; overflow: hidden; text-decoration: none; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.226), transparent 35%),
    linear-gradient(180deg, #0a0f0eee 0%, #11151cee 100%);
  transition: .4s ease;
}
.os-luxury-card:hover { transform: translateY(-6px); border-color: rgba(213,170,87,.35); }
.os-luxury-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: .5s ease; }
.os-card-offplan:hover::before { opacity: 1; background: radial-gradient(circle at 65% 35%, rgba(170,205,230,.55), transparent 50%); }
.os-card-ready:hover::before   { opacity: 1; background: radial-gradient(circle at 75% 18%, rgba(255,255,255,.28), transparent 45%); }
.os-card-rent:hover::before,
.os-card-launch:hover::before  { opacity: 1; background: radial-gradient(circle at 95% 0%, rgba(255,255,255,.18), transparent 35%); }
.os-card-icon {
  position: absolute; top: 20px; left: 22px; width: 50px; height: 50px; border-radius: 50%; z-index: 5;
  border: 1px solid rgba(213,170,87,.6); color: #d5aa57; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.os-luxury-card img {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 85%; object-fit: contain; z-index: 2;
  filter: grayscale(100%) brightness(.85); transition: .6s ease;
}
.os-luxury-card:hover img { filter: none; transform: scale(1.04); }
.os-card-content { position: absolute; top: 15px; right: 5%; z-index: 5; }
.os-card-content h3 { color: #fff; font-family: var(--font-serif); font-size: 28px; font-weight: 400; line-height: 1; }
.os-card-arrow {
  position: absolute; right: 20px; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; z-index: 5;
  border: 1px solid #d5aa57; color: #d5aa57; font-size: 22px;
  display: flex; align-items: center; justify-content: center; transition: .3s;
}
@media (max-width: 1200px) { .os-luxury-grid { grid-template-columns: 1fr; } .os-luxury-card { height: 320px; } }
@media (max-width: 768px)  { .os-luxury-properties { padding: 60px 15px; } .os-luxury-card { height: 280px; } .os-card-content h3 { font-size: 24px; } }
 
 
/* ── 3. FLOATING SEARCH BAR ──────────────────────────────────────── */
.os-floating-filter { position: relative; z-index: 60; margin: -42px 0; padding: 0 24px; }
.os-filter-inner {
  max-width: 1180px; margin: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 15px; border-radius: 10px; background: #fff;
  border: 1px solid rgba(43,47,58,.181); box-shadow: 0 18px 50px rgba(4,29,87,.08);
}
.os-filter-field { flex: 1; min-width: 190px; }
.os-filter-label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: #94a3b8; }
.os-filter-input, .os-filter-select {
  width: 100%; height: 52px; border: none; outline: none; padding: 0 18px; border-radius: 16px;
  background: #f5f7fa; font-size: 14px; font-weight: 500; color: #0f172a; transition: .3s ease;
}
.os-filter-input:focus, .os-filter-select:focus { background: #fff; box-shadow: 0 0 0 1px rgba(16,185,129,.18), 0 8px 24px rgba(16,185,129,.08); }
.os-filter-select {
  appearance: none; background-repeat: no-repeat; background-position: right 16px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.os-filter-btn {
  height: 52px; padding: 0 28px; margin-top: 20px; border: none; border-radius: 50px;
  background: var(--grad-dark-green); color: #fff; font-family: var(--font-ui);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  cursor: pointer; transition: .35s ease;
}
.os-filter-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,23,42,.16); }
@media (max-width: 768px) {
  .os-floating-filter { margin: -32px 0; }
  .os-filter-inner { padding: 16px; border-radius: 22px; }
  .os-filter-field, .os-filter-btn { width: 100%; }
}
 
 
/* ── 4. ABOUT BLOCK (image fading into text + 4 cards) ───────────── */
.abt4 { position: relative; overflow: hidden; background: #fff; }
.abt4-feature { position: relative; display: flex; align-items: center; min-height: 540px; overflow: hidden; background: #fff; border: 1px solid rgba(201,168,76,.5); }
.abt4-img { position: absolute; top: 0; bottom: 0; left: 0; width: 60%; }
.abt4-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.abt4-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,.72) 72%, #fff 100%);
}
.abt4-text { position: relative; z-index: 2; width: 50%; margin-left: auto; padding: 56px 56px 56px 0; }
.abt4-eyebrow { display: flex; align-items: center; gap: 12px; }
.abt4-eyebrow .line { display: block; width: 44px; height: 1px; background: var(--color-gold); }
.abt4 .sec-title { width: 100%; text-transform: none; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.15; color: var(--color-navy); margin-top: 14px; font-weight: 600;}
.abt4 .sec-title em {
  display: block; font-family: var(--font-serif); font-style: italic; font-weight: 600;
  background: linear-gradient(135deg, #a8761a 0%, #e2c273 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.abt4-text p { font-size: 15px; line-height: 1.85; color: var(--color-navy); margin-top: 20px; font-weight: 500; }
.abt4-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.abt4-card {
  position: relative; padding: 28px 24px 26px; border-radius: 16px;
  border: 1px solid var(--color-border); background: #fff; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.abt4-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.6); box-shadow: 0 22px 50px rgba(14,31,59,.12); }
.abt4-num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--color-gold); opacity: .6; }
.abt4-card svg { position: absolute; top: 26px; right: 24px; width: 26px; height: 26px; color: var(--color-emerald); }
.abt4-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 400; margin-top: 22px; line-height: 1.25; }
.abt4-card p { font-size: 15px; line-height: 1.7; color: rgba(14,31,59,.7); margin-top: 10px; }
@media (max-width: 1100px) { .abt4-cards { grid-template-columns: repeat(2, 1fr); } .abt4-text { width: 54%; padding-right: 36px; } }
@media (max-width: 991px) {
  .abt4-feature { display: block; min-height: 0; }
  .abt4-img { position: relative; width: 100%; height: 300px; }
  .abt4-img::after { background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 45%, rgba(255,255,255,.8) 80%, #fff 100%); }
  .abt4-text { width: 100%; padding: 0 28px 36px; margin-top: -20px; }
}
@media (max-width: 640px) { .abt4-cards { grid-template-columns: 1fr; } .abt4-img { height: 240px; } .abt4-text { padding: 0 20px 28px; } }
 



/* ── 6. NEIGHBOURHOODS ──────────────────────────────────────────── */
/* Card styles (.area-card ...) live in components.css. Only the wrapper is here. */
.os-areas { padding: 50px 0 110px; }
.os-areas .sec-head { margin-bottom: 30px; }
.os-areas .areas-grid { gap: 18px; }
.os-areas .area-card { height: 260px; }
.os-areas .area-listings,
.os-areas .area-avg { margin: 0; }
.os-areas .area-name { margin: 4px 0 2px; font-weight: 400; line-height: 1.2; }
@media (max-width: 768px) {
  .os-areas { padding: 40px 0 70px; }
  .os-areas .area-card { height: 220px; }
}



/* ── 5. SERVICES GRID ────────────────────────────────────────────── */
/* ── 7. OUR SERVICES ─────────────────────────────────────────────── */
.os-services { padding: 0 0 100px; background: #fff; }
.os-services .sec-head { margin-bottom: 32px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; }
.svc-cell { position: relative; display: block; background: #fff; padding: 28px; color: var(--color-navy); text-decoration: none; transition: background .2s; }
.svc-cell h3 { font-weight: 400; }
.svc-cell:hover { background: var(--color-ivory-soft); }
.svc-icon {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(176,155,80,.534);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.svc-cell:hover .svc-icon { background: var(--grad-dark-green); }
.svc-icon svg { width: 18px; height: 18px; color: var(--color-gold); }
.svc-cell h3 { font-family: var(--font-display); font-size: 20px; margin-top: 18px; }
.svc-cell p { font-size: 15px; color:var(--color-navy); margin-top: 6px; line-height: 1.5; }
.svc-arrow { position: absolute; top: 20px; right: 20px; font-size: 12px; letter-spacing: .2em; color: var(--color-gold); opacity: 0; transition: opacity .2s; }
.svc-cell:hover .svc-arrow { opacity: 1; }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .svc-grid { grid-template-columns: 1fr; } }
 
 
/* ── 8. DEVELOPERS LOGO MARQUEE ──────────────────────────────────── */
/* --sw (width of one logo set) is set by home.js */
@keyframes beltFwd { 0% { transform: translateX(0); }                    100% { transform: translateX(calc(-1 * var(--sw))); } }
@keyframes beltRev { 0% { transform: translateX(calc(-1 * var(--sw))); } 100% { transform: translateX(0); } }
 
.dev-section {
  position: relative; overflow: hidden; padding: 20px 0 80px;
  background-color: var(--color-ivory-soft);
  background-image: radial-gradient(circle at 1px 1px, rgba(201,168,76,.18) 1px, transparent 0);
  background-size: 22px 22px;
}
.dev-container { position: relative; z-index: 2; width: min(1280px, 92%); margin: auto; }
.dev-heading-wrap { max-width: 760px; margin: 20px auto 0; text-align: center; }
.dev-label { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--color-gold); }
.dev-title { font-family: var(--font-display); font-size: 35px; font-weight: 400; margin-top: 8px; text-transform: uppercase; color: #1e1e1e; }
.dev-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--color-navy); text-decoration: none; transition: color .2s;
}
.dev-link:hover { color: var(--color-emerald); }
.dev-link svg { transition: transform .3s ease; }
.dev-link:hover svg { transform: translateX(4px); }
.dev-marquee-wrap { position: relative; overflow: hidden; width: 100%; margin-top: 40px; }
.dev-marquee-wrap::before, .dev-marquee-wrap::after { content: ""; position: absolute; top: 0; width: 140px; height: 100%; z-index: 5; pointer-events: none; }
.dev-marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--color-ivory-soft) 15%, rgba(250,247,242,0)); }
.dev-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--color-ivory-soft) 15%, rgba(250,247,242,0)); }
.dev-marquee-row { display: flex; overflow: hidden; padding: 22px 0; }
.dev-belt { display: flex; align-items: center; width: max-content; will-change: transform; }
.dev-belt.fwd { animation: beltFwd 24s linear infinite; }
.dev-belt.rev { animation: beltRev 28s linear infinite; }
.dev-belt:hover { animation-play-state: paused; }
.dev-logo-slot { display: inline-flex; align-items: center; justify-content: center; padding: 0 48px; flex-shrink: 0; text-decoration: none; }
.dev-logo-slot img { max-width: 160px; object-fit: contain; }
.dev-logo-slot img { height: 40px; width: auto; display: block; filter: grayscale(100%); opacity: .85; transition: filter .3s, opacity .3s, transform .3s; }
.dev-logo-slot:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@media (max-width: 768px) {
  .dev-section { padding: 80px 0; }
  .dev-title { font-size: 30px; }
  .dev-marquee-wrap { margin-top: 55px; }
  .dev-logo-slot { padding: 0 28px; }
  .dev-logo-slot img { height: 28px; }
}


/* ── 9. EXPLORE DUBAI REAL ESTATE (4 cards) ──────────────────────── */
.os-explore { padding: 80px 0; background: #fff; }
.os-explore .sec-head { margin-bottom: 36px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.explore-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 24px 28px; border-radius: 16px; border: 1px solid var(--color-border); background: #fff;
  color: var(--color-navy); text-decoration: none;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.explore-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.6); box-shadow: 0 20px 48px rgba(14,31,59,.1); }
.explore-icon {
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-2)); color: var(--color-gold);
  outline: 2px solid rgba(201,168,76,.4); outline-offset: 3px; transition: background .3s;
}
.explore-card:hover .explore-icon { background: var(--grad-dark-green); }
.explore-icon svg { width: 30px; height: 30px; }
.explore-title { font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 1.25; margin-top: 24px; }
.explore-sub { margin-top: 6px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--color-gold); font-weight: 600;}
.explore-text { margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--color-navy); }
.explore-more {
  margin-top: auto; padding-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-navy); transition: color .2s;
}
.explore-more span { display: inline-block; transition: transform .3s; }
.explore-card:hover .explore-more { color: var(--color-emerald); }
.explore-card:hover .explore-more span { transform: translateX(4px); }
@media (max-width: 1100px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .os-explore { padding: 70px 0; } .explore-grid { gap: 16px; } }
@media (max-width: 560px)  { .explore-grid { grid-template-columns: 1fr; } }
 



/* ── 10. TRENDS & INSIGHTS (blog cards) ──────────────────────────── */
/* Card styles (.insight-card ...) live in components.css. Only the wrapper is here. */
.os-insights { padding: 40px 0; }
.os-insights .sec-head { margin-bottom: 36px; }
.os-insights .insight-card { display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; }
.os-insights .insight-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.6); box-shadow: 0 20px 48px rgba(14,31,59,.1); }
.os-insights .insight-body { display: flex; flex-direction: column; flex: 1; }
.os-insights .insight-title { font-weight: 400; transition: color .2s; }
.os-insights .insight-meta { margin-top: auto; padding-top: 18px; }
.insight-read { color: var(--color-navy); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.insight-read span { display: inline-block; transition: transform .3s; }
.insight-card:hover .insight-read { color: var(--color-emerald); }
.insight-card:hover .insight-read span { transform: translateX(4px); }
@media (max-width: 768px) { .os-insights { padding: 70px 0; } }
 



 
/* ── 11. "WHY CHOOSE US" (dark navy with side image) ──────────────── */
#awards {
  position: relative; overflow: hidden; isolation: isolate; padding: 80px 0;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,.10) 0%, transparent 18%),
    radial-gradient(circle at left center, rgba(37,99,235,.05) 0%, transparent 28%),
    linear-gradient(360deg, #020617 0%, #06101d 22%, #071425 45%, #06101c 68%, #020617 100%);
}
#awards::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .78; filter: brightness(.82) contrast(1.04);
  background:
    linear-gradient(to left, rgba(24,52,178,.1) 0%, rgba(61,86,199,.041) 10%, rgba(36,26,0,0) 22%, rgba(2,6,23,.62) 38%, rgba(11,14,26,.84) 58%, rgba(2,6,23,.96) 74%, rgba(3,3,6,.781) 100%),
    url("../img/img_03.webp");                    /* ← side image */
  background-size: 100% 100%, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: center, right -250px center;
}
#awards::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(96,165,250,.12) 0%, rgba(59,130,246,.05) 14%, transparent 34%),
    radial-gradient(ellipse at center, rgba(15,23,42,.12) 0%, rgba(15,23,42,.04) 28%, transparent 64%),
    radial-gradient(circle at right center, rgba(16,185,129,.04) 0%, transparent 24%);
}
.awards-overlay { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 84%, rgba(255,215,120,.10) 0%, rgba(255,215,120,.04) 10%, transparent 24%); }
.awards-content { position: relative; z-index: 5; max-width: 720px; color: #fff; }
#awards .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.22); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  backdrop-filter: blur(10px); color: #d4af37; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
}
#awards h2 { margin-top: 30px; font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.03em; color: #fff; text-shadow: 0 0 30px rgba(96,165,250,.06); }
#awards p { margin-top: 24px; max-width: 610px; font-size: 16px; line-height: 2; color: rgba(255,255,255,.74); }
.awards-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.awards-badges::-webkit-scrollbar { display: none; }
.award-badge {
  position: relative; flex: 0 0 auto; padding: 15px 24px; border-radius: 14px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(12px); box-shadow: 0 10px 35px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; transition: .35s ease;
}
.award-badge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(212,175,55,.16), transparent 55%); }
a.award-badge { text-decoration: none; }                       /* badges are links */
.award-badge:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.award-badge:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.35); box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 30px rgba(212,175,55,.12); }

/* ==========================================
   WHY CHOOSE US — RESPONSIVE FIX
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    #awards {
        padding: 90px 0;
    }

    #awards::before {
        opacity: 0.75;
        background-size: 100% 100%, cover;
        background-position: center, 65% center;
    }

    #awards h2 {
        font-size: 3rem;
    }

    .awards-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    #awards {
        padding: 80px 0;
    }

    #awards::before {
        inset: 0;
        width: 100%;
        opacity: 0.85;
        
        background-size: 100% 100%, cover;
        background-position: center, center;
        background-repeat: no-repeat;
    }

    #awards h2 {
        font-size: 2.4rem;
        line-height: 1.15;
    }

    #awards p {
        font-size: 15px;
        line-height: 1.8;
    }

    .awards-badges {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .award-badge {
        white-space: normal;
        text-align: center;
    }
}
