/* ============================================================
   Riyaada — Premium Sports Marketplace (Qatar)
   Palette: #6ba843 primary · white · #f5f5f5 light grey
   Type: Poppins
   ============================================================ */

:root {
  --green: #6ba843;
  --green-dark: #588c34;
  --green-soft: #eef6e8;
  --green-tint: rgba(107, 168, 67, 0.12);
  --ink: #1c2118;
  --ink-soft: #44504a;
  --muted: #7b857e;
  --grey-bg: #f5f6f4;
  --line: #e9ece8;
  --white: #ffffff;
  --shadow-sm: 0 4px 16px rgba(28, 33, 24, 0.06);
  --shadow-md: 0 14px 40px rgba(28, 33, 24, 0.09);
  --shadow-lg: 0 28px 70px rgba(28, 33, 24, 0.14);
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -0.015em; }

::selection { background: var(--green); color: #fff; }

a { text-decoration: none; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--grey { background: var(--grey-bg); }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-title .underline {
  position: relative;
  white-space: nowrap;
}
.section-title .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 5px;
  border-radius: 4px;
  background: var(--green);
}
.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
}
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  border: 1.6px solid transparent;
}
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(107, 168, 67, 0.28);
}
.btn-green:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(107, 168, 67, 0.38);
}
.btn-outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
}
.btn-ghost {
  background: #fff;
  color: var(--green);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }

/* App store pill buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  border-radius: 14px;
  font-weight: 500;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.store-btn i { font-size: 1.7rem; }
.store-btn span small { display: block; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; line-height: 1; margin-bottom: 3px; }
.store-btn span b { font-size: 1.02rem; font-weight: 600; line-height: 1; }
.store-btn--solid { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(107,168,67,0.3); }
.store-btn--solid:hover { background: var(--green-dark); color: #fff; transform: translateY(-3px); }
.store-btn--outline { background: #fff; color: var(--ink); border: 1.6px solid var(--green); }
.store-btn--outline:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-btn--light { background: #fff; color: var(--green); }
.store-btn--light:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.35s, padding 0.35s;
  padding-top: 18px;
  padding-bottom: 18px;
  z-index: 1030;
}
.navbar.scrolled {
  box-shadow: 0 6px 30px rgba(28, 33, 24, 0.08);
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--green);
  letter-spacing: -0.02em;
}
.navbar-brand .dot { color: var(--ink); }
.navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 2px;
  padding: 6px 12px !important;
  position: relative;
  transition: color 0.25s;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--ink); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { font-size: 1.5rem; color: var(--green); }

/* cart icon in navbar */
.cart-link {
  font-size: 1.2rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  padding: 6px 12px !important;
}
.cart-link:hover { color: var(--green); }
.cart-count {
  position: absolute;
  top: -3px; right: -2px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--green);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
@media (max-width: 991px) {
  .cart-link { padding: 10px 12px !important; }
  .cart-count { position: static; margin-left: 8px; display: inline-flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  background: var(--grey-bg);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 42%, rgba(255,255,255,0.55) 70%, rgba(255,255,255,0.2) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero__badge i { color: var(--green); }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--green); }
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__stats { display: flex; gap: 38px; margin-top: 52px; flex-wrap: wrap; }
.hero__stat b { display: block; font-size: 1.9rem; font-weight: 700; color: var(--ink); line-height: 1; }
.hero__stat span { font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,28,16,0.82) 0%, rgba(20,28,16,0.18) 48%, rgba(20,28,16,0) 100%);
}
.cat-card__label {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  z-index: 2;
}
.cat-card__label i { color: var(--green); margin-right: 6px; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.cat-card:hover img { transform: scale(1.12); }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: background 0.35s, color 0.35s;
}
.feature-card:hover .feature-icon { background: var(--green); color: #fff; }
.feature-card h5 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-row { position: relative; }
.steps-row::before {
  content: "";
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 20px);
  opacity: 0.4;
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step__num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--green);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin: 0 auto 22px;
  box-shadow: 0 10px 26px rgba(107,168,67,0.18);
  transition: transform 0.4s var(--ease), background 0.35s, color 0.35s;
}
.step:hover .step__num { background: var(--green); color: #fff; transform: translateY(-5px) scale(1.05); }
.step__badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 8px;
}
.step h5 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ============================================================
   FACILITY / EVENT / PRODUCT / BLOG CARDS
   ============================================================ */
.card-clean {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.card-clean:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card-clean:hover .card-media img { transform: scale(1.08); }
.card-body-p { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.chip {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 0.74rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm);
}
.chip i { color: var(--green); }
.chip--green { background: var(--green); color: #fff; }
.chip--green i { color: #fff; }
.chip--amber { background: #f4a522; color: #fff; }

.card-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-clean h5 { font-size: 1.12rem; margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 0.86rem; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.meta i { color: var(--green); width: 14px; }
.price { color: var(--green); font-weight: 700; font-size: 1.18rem; }
.price small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.card-foot { margin-top: auto; padding-top: 16px; }

.rating { color: #f4a522; font-size: 0.9rem; letter-spacing: 1px; }

/* ============================================================
   SHOP BY CATEGORY (icon tiles)
   ============================================================ */
.shop-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  display: block;
  color: var(--ink);
}
.shop-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--green); color: var(--ink); }
.shop-tile i { font-size: 2rem; color: var(--green); margin-bottom: 16px; }
.shop-tile span { display: block; font-weight: 600; font-size: 0.98rem; }

/* ============================================================
   VENDORS
   ============================================================ */
.benefit-list { list-style: none; padding: 0; margin: 28px 0 0; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem; color: var(--ink-soft);
}
.benefit-list li i {
  color: #fff; background: var(--green);
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; flex: none; margin-top: 3px;
}
.vendor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  text-align: center;
}
.vendor-card .ring {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 2.1rem; margin: 0 auto 24px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial .quote-mark { color: var(--green); font-size: 1.6rem; opacity: 0.5; }
.testimonial p { color: var(--ink-soft); font-size: 0.96rem; margin: 12px 0 22px; }
.tt-head { display: flex; align-items: center; gap: 13px; }
.tt-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.tt-head b { display: block; font-size: 0.98rem; }
.tt-head span { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   DOWNLOAD BANNER
   ============================================================ */
.download {
  background: var(--green);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.download::before, .download::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.download::before { width: 380px; height: 380px; top: -140px; right: -90px; }
.download::after { width: 240px; height: 240px; bottom: -120px; left: 8%; }
.download h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.1; }
.download p { color: rgba(255,255,255,0.9); font-size: 1.08rem; max-width: 520px; }
.phone-mock {
  width: 250px; height: 510px;
  background: #14210c;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.35);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-mock__screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.phone-mock__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-mock__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #14210c; border-radius: 0 0 14px 14px; z-index: 3;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #fff;
  border-top: 4px solid var(--green);
  padding-top: 70px;
}
.footer .brand { font-size: 1.7rem; font-weight: 700; color: var(--green); }
.footer p { color: var(--ink-soft); font-size: 0.92rem; }
.footer h6 { font-weight: 600; font-size: 0.95rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { color: var(--ink-soft); font-size: 0.9rem; transition: color 0.25s, padding-left 0.25s; }
.footer ul li a:hover { color: var(--green); padding-left: 4px; }
.socials { display: flex; gap: 12px; margin-top: 4px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.socials a:hover { background: var(--green); color: #fff; transform: translateY(-4px); }
.footer-bottom {
  margin-top: 56px; padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--green); }

/* ============================================================
   AOS-lite reveal (in case CDN blocked, content still shows)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }
  .navbar .nav-link { padding: 10px 12px !important; }
  .navbar .nav-link::after { display: none; }
  .steps-row::before { display: none; }
  .hero { min-height: auto; padding-top: 130px; padding-bottom: 70px; }
}
@media (max-width: 575px) {
  .hero__stats { gap: 26px; }
  .store-btn { width: 100%; justify-content: center; }
}
