﻿/* ============================================================
   FONX – Clean UI Design (Reuz.in Inspired)
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --primary: #1a4fa0;
  --primary-dark: #0f3272;
  --primary-light: #e8f0fe;
  --accent: #1a4fa0;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-page: #f9fafb;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .1);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .12);
  --transition: all .2s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin: 0 0 .5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-mid);
}

/* ── Dark / Blue background text overrides ──────────────
   Ensure headings & paragraphs inside dark banners or
   Bootstrap .text-white containers stay white/light.
   ──────────────────────────────────────────────────── */
.text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white h5, .text-white h6 {
  color: #ffffff !important;
}

.text-white p {
  color: rgba(255, 255, 255, .85) !important;
}

/* Any section/div with an inline dark or blue background */
[style*="background: linear-gradient"] h1,
[style*="background: linear-gradient"] h2,
[style*="background: linear-gradient"] h3,
[style*="background: linear-gradient"] h4,
[style*="background: linear-gradient"] h5,
[style*="background: linear-gradient"] h6,
[style*="background: #1a4fa0"] h1,
[style*="background: #1a4fa0"] h2,
[style*="background: #1a4fa0"] h3,
[style*="background: #054a8e"] h3,
[style*="background: linear-gradient"] p,
[style*="background: #054a8e"] p {
  color: #ffffff !important;
}

/* page-hero, cta-box, trust-stats — all white text */
.page-hero h1, .page-hero h2, .page-hero p,
.cta-box h1,  .cta-box h2,  .cta-box h3,  .cta-box p,
.trust-stats-section h1, .trust-stats-section h2, .trust-stats-section p,
.hero h1, .hero h2, .hero p {
  color: #ffffff !important;
}

/* Dark footer */
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6 {
  color: #ffffff !important;
}
.site-footer p {
  color: rgba(255, 255, 255, .65) !important;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block; /* keeps text-align:center working for inline imgs */
}

/* Block images that SHOULD be block (responsive full-width) */
.img-fluid {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Utility ── */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background: var(--primary) !important;
}

.section-pad {
  padding: 64px 0;
}

.section-pad-sm {
  padding: 40px 0;
}

/* ── Image centering helpers ────────────────────────
   When images sit inside a .text-center or any flex/grid
   card that should center them, ensure mx-auto works.
   ──────────────────────────────────────────────── */
.text-center img,
.text-center .img-fluid {
  margin-left: auto;
  margin-right: auto;
}

/* Card image wrappers — always centered */
.card-img-wrap,
.mobile-premium-card .card-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Top-selling model cards (sell-old-mobile.php) */
.top-selling-card-v2 img {
  display: block;
  margin: 0 auto;
  max-height: 120px;
  object-fit: contain;
}

/* Reuz premium step cards */
.reuz-step-card img,
.hiw-step-card img {
  display: block;
  margin: 0 auto;
}

/* Why-card icons & advantage-card icons already use flexbox */
.advantage-card .adv-icon-box,
.why-card .adv-icon-box {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

/* Brand premium cards — logo centering */
.brand-premium-card img {
  display: block;
  margin: 0 auto;
  max-height: 52px;
  max-width: 90%;
  object-fit: contain;
}

/* Mobile premium card phone image */
.mobile-premium-card .card-img-wrap img {
  display: block;
  margin: 0 auto;
}

/* Testimonial avatar */
.test-avatar-wrap img {
  display: block;
  margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.ymb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}


.ymb-header nav {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ymb-logo {
  height: 44px;
  width: auto;
}

/* Mobile search: floats below header, not inside it */
.mobile-search-bar {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* Header Search */
.ymb-search {
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-page);
  padding: 8px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
  min-width: 280px;
  outline: none;
}

.ymb-search:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.ymb-search::placeholder {
  color: var(--text-light);
}

/* Enquiry Button */
.ymb-enquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.ymb-enquiry-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 79, 160, .3);
  color: #fff !important;
}

/* Location */
.ymb-location {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  gap: 4px;
  transition: var(--transition);
}

.ymb-location:hover {
  color: var(--primary);
}

/* Mobile search bar */
.mobile-search-bar {
  background: #fff;
  padding: 8px 0;
}

/* Search dropdown */
#ymb-search-suggestions,
#ymb-search-suggestions-mobile,
#home-search-suggestions {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

#ymb-search-suggestions .list-group-item,
#ymb-search-suggestions-mobile .list-group-item,
#home-search-suggestions .list-group-item {
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
}

#ymb-search-suggestions .list-group-item:hover,
#ymb-search-suggestions-mobile .list-group-item:hover,
#home-search-suggestions .list-group-item:hover,
#ymb-search-suggestions .list-group-item.active,
#home-search-suggestions .list-group-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   HERO / BANNER SLIDER
   ============================================================ */
.ymb-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
}

.ymb-slider.banner-slim {
  height: 420px;
  background: #f0f4ff;
}

@media (max-width: 768px) {
  .ymb-slider.banner-slim {
    height: 220px;
  }
}

.ymb-slides {
  display: flex;
  transition: transform .5s ease;
  height: 100%;
}

.ymb-slide {
  min-width: 100%;
  flex-shrink: 0;
  height: 100%;
}

.ymb-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.ymb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 10;
  transition: var(--transition);
}

.ymb-arrow i {
  font-size: 18px;
  color: var(--text-dark);
}

.ymb-arrow.left {
  left: 12px;
}

.ymb-arrow.right {
  right: 12px;
}

.ymb-arrow:hover {
  background: var(--primary);
}

.ymb-arrow:hover i {
  color: #fff;
}

.ymb-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
}

.ymb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.ymb-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}

/* ============================================================
   SELL PHONE SECTION (Hero with Search + Brands)
   ============================================================ */
.sell-phone-section {
  padding: 56px 0 48px;
  background: var(--bg-white);
}

.sell-phone-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
}

.sell-phone-section>.container>p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Home Search */
.home-search-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 4px 4px 20px;
  transition: var(--transition);
  max-width: 600px;
  margin: 0 auto;
}

.home-search-wrapper:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.home-search-wrapper .search-icon {
  font-size: 18px;
  color: var(--text-light);
  flex-shrink: 0;
}

.home-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  padding: 10px 12px !important;
  outline: none;
}

.home-search-input::placeholder {
  color: var(--text-light);
}

/* Brand Divider */
.brand-divider {
  position: relative;
  text-align: center;
  margin: 28px 0;
}

.brand-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.brand-divider span {
  position: relative;
  background: var(--bg-white);
  padding: 0 16px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
}

/* Brand Cards */
.brand-card {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  width: 108px;
  height: 100px;
  background: #fff;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm) !important;
}

.brand-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 4px 16px rgba(26, 79, 160, .14) !important;
  transform: translateY(-3px);
  color: var(--text-dark);
}

.brand-card img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  object-fit: contain;
  transition: transform .2s ease;
}

.brand-card:hover img {
  transform: scale(1.08);
}

.brand-card.view-all-card {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.brand-card.view-all-card i {
  color: var(--primary);
}

@media (max-width: 576px) {
  .brand-card {
    width: 90px;
    height: 84px;
    padding: 10px;
  }

  .brand-card img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }
}

/* ============================================================
   WHY SELL SECTION
   ============================================================ */
.why-sell-premium {
  background: var(--bg-page);
}

.section-title .badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 5px 14px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

/* Advantage Cards */
.advantage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.advantage-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.advantage-card h5 {
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 8px;
}

.advantage-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.adv-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 22px;
}

.adv-icon-box.bg-blue-tint {
  background: #dbeafe;
  color: #1d4ed8;
}

.adv-icon-box.bg-green-tint {
  background: #dcfce7;
  color: #16a34a;
}

.adv-icon-box.bg-purple-tint {
  background: #ede9fe;
  color: #7c3aed;
}

.adv-icon-box.bg-red-tint {
  background: #fee2e2;
  color: #dc2626;
}

.adv-icon-box.bg-orange-tint {
  background: #ffedd5;
  color: #ea580c;
}

.adv-icon-box.bg-cyan-tint {
  background: #cffafe;
  color: #0891b2;
}

.adv-icon-box.bg-teal-tint {
  background: #ccfbf1;
  color: #0d9488;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works-home {
  background: #fff;
}

.hiw-step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.hiw-step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.hiw-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  color: #dbeafe;
  letter-spacing: -1px;
}

.hiw-icon-box {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: 24px;
}

.hiw-step-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hiw-step-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   TOP BRANDS / TOP MOBILES
   ============================================================ */
.top-brands-premium {
  background: var(--bg-page);
}

.top-mobiles-premium {
  background: #fff;
}

.bg-light-section {
  background: var(--bg-page);
}

.brand-premium-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  height: 95px;
  transition: var(--transition);
  text-decoration: none;
}

.brand-premium-card img {
  max-height: 52px;
  max-width: 90%;
  object-fit: contain;
  transition: transform .2s ease;
}

.brand-premium-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.brand-premium-card:hover img {
  transform: scale(1.08);
}

/* Mobile Cards */
.mobile-premium-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.mobile-premium-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mobile-premium-card .card-img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg-page);
}

.mobile-premium-card .card-img-wrap img {
  max-height: 148px;
  object-fit: contain;
  transition: transform .3s ease;
}

.mobile-premium-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.mobile-premium-card .card-body {
  padding: 16px !important;
}

.spec-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-premium {
  background: var(--bg-page);
}

.testimonial-premium-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
  cursor: pointer;
}

.testimonial-premium-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.test-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-light);
  flex-shrink: 0;
}

.test-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-user-info h6 {
  font-size: 13px;
  font-weight: 700;
}

.test-user-info small {
  font-size: 12px;
  color: var(--text-muted);
}

.test-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  font-style: italic;
}

.test-custom-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  color: var(--text-mid);
}

.test-custom-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background: #fff;
}

.faq-left h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.faq-left p {
  color: var(--text-muted);
  font-size: 15px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-dark);
  background: #fff;
  transition: var(--transition);
  gap: 12px;
}

.faq-question:hover {
  background: var(--bg-page);
}

.faq-question .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  font-weight: 700;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  font-size: 14px;
  color: var(--text-muted);
  padding: 0 20px;
  line-height: 1.7;
}

.faq-answer.show {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* Bootstrap Accordion clean style */
.sellfaq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.sellfaq-accordion .accordion-button {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background: #fff;
  padding: 16px 20px;
  box-shadow: none !important;
}

.sellfaq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
}

.sellfaq-accordion .accordion-button::after {
  filter: none;
}

.sellfaq-accordion .accordion-body {
  font-size: 14px;
  color: var(--text-muted);
  padding: 12px 20px 16px;
  line-height: 1.7;
}

/* ============================================================
   TRUST STATS STRIP
   ============================================================ */
.trust-stats-section.full-trust-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.trust-stats-section.full-trust-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .06) 0%, transparent 50%);
}

.trust-content {
  position: relative;
  z-index: 2;
}

.trust-content span {
  color: rgba(255, 255, 255, .7) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.trust-content h2 {
  color: #fff !important;
  font-size: clamp(1.6rem, 3vw, 2.25rem) !important;
  font-weight: 800 !important;
}

.trust-content p {
  color: rgba(255, 255, 255, .8) !important;
  max-width: 460px;
}

.stats-grid {
  position: relative;
  z-index: 2;
}

.glass-card {
  background: rgba(255, 255, 255, .1) !important;
  border: 1px solid rgba(255, 255, 255, .15) !important;
  border-radius: var(--radius-lg) !important;
  padding: 28px 16px !important;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.glass-card:hover {
  background: rgba(255, 255, 255, .18) !important;
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 28px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-number sup {
  font-size: 1rem;
}

.stat-number span {
  font-size: 2rem;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, .8);
  padding: 56px 0 0;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.contact-footer-list a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
}

.footer-cities-section {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding-top: 28px;
}

.footer-cities-section .footer-title {
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}

/* ============================================================
   POPUPS / MODALS
   ============================================================ */
.ymb-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.ymb-popup {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 90%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  animation: popupIn .2s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(.95) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.popup-header h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.popup-header .close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  border: none;
}

.popup-header .close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

.location-search {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  margin-bottom: 16px;
}

.location-search:focus {
  border-color: var(--primary);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 16px;
}

.city-item {
  text-align: center;
  padding: 10px 6px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-mid);
}

.city-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* Enquiry Form */
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  margin-bottom: 12px;
  background: var(--bg-page);
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

.enquiry-form textarea {
  resize: none;
  height: 90px;
}

.enquiry-form .submit-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.enquiry-form .submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 79, 160, .3);
  color: #fff;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-dark:hover {
  background: #000;
  border-color: #000;
  transform: translateY(-1px);
}

/* ============================================================
   CTA BOX
   ============================================================ */
.cta-box {
  background: var(--primary);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}

.cta-box h2,
.cta-box h3 {
  color: #fff;
  font-size: 1.75rem;
}

.cta-box p {
  color: rgba(255, 255, 255, .8);
  max-width: 520px;
  margin: 0 auto 24px;
}

.cta-box .btn-light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 700;
}

.cta-box .btn-light:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ============================================================
   HEROES for Inner Pages
   ============================================================ */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 56px 24px 44px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 0;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-strip {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb-strip .breadcrumb-item {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.back-btn-pill {
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.back-btn-pill:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   WHY CARDS (mobile-brands, etc)
   ============================================================ */
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.img-why-c {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.why-card small {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .8px;
  display: block;
  margin-bottom: 6px;
}

.why-card h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   BRAND MARQUEE
   ============================================================ */
.brand-marquee {
  overflow: hidden;
  background: var(--primary);
  padding: 3px 0;
}

.marquee-wrapper {
  display: flex;
}

.marquee-content {
  display: flex;
  animation: marquee 22s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-content img {
  filter: brightness(0) invert(1);
  height: 50px;
  margin: 0 28px;
  object-fit: contain;
  opacity: .75;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.trend-articles {
  background: #fff;
}

.trend-window {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.trend-window::-webkit-scrollbar {
  display: none;
}

.trend-track {
  display: flex;
  gap: 20px;
  padding: 4px 0;
}

.trend-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

.trend-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--text-dark);
}

.trend-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform .3s ease;
}

.trend-card:hover img {
  transform: scale(1.04);
}

.trend-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trend-content h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.45;
}

.trend-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 10px;
}

.trend-content>span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.trend-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.trend-arrow:hover {
  background: var(--primary-dark);
}

.trend-left {
  left: -18px;
}

.trend-right {
  right: -18px;
}

.see-all-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.see-all-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .trend-card {
    flex-basis: calc(33.33% - 14px);
  }
}

@media (max-width: 768px) {
  .trend-card {
    flex-basis: calc(50% - 10px);
    min-width: 200px;
  }
}

@media (max-width: 500px) {
  .trend-card {
    flex-basis: 260px;
    min-width: 260px;
  }
}

/* ============================================================
   MISC UTILITY
   ============================================================ */
.text-muted {
  color: var(--text-muted) !important;
}

.badge.bg-soft-primary {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* ── Page transitions ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp .4s ease forwards;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ── Form controls ── */
.form-control,
.form-select {
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-page);
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ── Alert ── */
.alert {
  border-radius: var(--radius);
  border: 1px solid;
  font-size: 14px;
}

.alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}

.alert-info {
  background: var(--primary-light);
  border-color: #bfdbfe;
  color: var(--primary);
}

/* ============================================================
   SELL OLD MOBILE PAGE STEPS
   ============================================================ */
.sell-step-hero {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.sell-step-hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sell-step-hero p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Step indicators - pill style */
.step-indicator-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.step-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-pill.done {
  background: #f0fdf4;
  border-color: #86efac;
  color: #16a34a;
}

/* Sell Card */
.sell-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
  transition: var(--transition);
}

/* ============================================================
   USER PAGES (Login, Dashboard, Profile)
   ============================================================ */
.auth-page {
  min-height: calc(100vh - 64px);
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}

/* Dashboard */
.dash-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.dash-card:hover {
  box-shadow: var(--shadow);
}

/* ============================================================
   ABOUT / CONTACT / STATIC PAGES
   ============================================================ */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
}

.page-hero p {
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  margin: 12px auto 0;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
  color: var(--primary);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-header {
  text-align: center;
  margin-bottom: 44px;
}

.sec-header .sec-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.sec-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.sec-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .ymb-header nav {
    gap: 10px;
  }

  .ymb-search {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 44px 0;
  }

  .section-pad-sm {
    padding: 28px 0;
  }

  .sell-phone-section {
    padding: 40px 0 32px;
  }

  .cta-box {
    padding: 44px 20px;
  }

  .page-hero {
    padding: 44px 16px;
  }
}

@media (max-width: 576px) {
  .auth-card {
    padding: 28px 20px;
  }

  .sell-card {
    padding: 20px 16px;
  }
}