/* ===================================================================
   Akhil Construction — Main Stylesheet
   Premium Construction Marketplace UI
   Bootstrap 5 + Custom Design System
================================================================= */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary:        #FF6B00;
  --primary-dark:   #E05A00;
  --primary-light:  #FF8C33;
  --secondary:      #1A2332;
  --secondary-light:#253347;
  --accent:         #FFD700;
  --success:        #22C55E;
  --info:           #3B82F6;
  --danger:         #EF4444;
  --warning:        #F59E0B;

  --text-dark:      #111827;
  --text-muted:     #6B7280;
  --text-light:     #9CA3AF;
  --bg-light:       #F9FAFB;
  --bg-section:     #F3F4F6;
  --border-color:   #E5E7EB;

  --font-primary:   'Inter', sans-serif;
  --font-heading:   'Poppins', sans-serif;

  --radius:         0.75rem;
  --radius-lg:      1.25rem;
  --radius-pill:    50rem;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: #fff;
  font-size: 0.9375rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary);
}

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

img { max-width: 100%; }

.section-py { padding-top: 80px; padding-bottom: 80px; }

/* ─── Typography Helpers ─────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,0,.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-tag i { font-size: 0.75rem; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.section-title span { color: var(--primary); }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.625rem 1.5rem;
  transition: var(--transition);
  letter-spacing: 0.01em;
  border-width: 2px;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,107,0,.35);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }

/* ─── Top Bar ────────────────────────────────────────────────── */
.topbar {
  background: var(--secondary);
  color: rgba(255,255,255,.75);
  font-size: 0.82rem;
}
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--primary); }

/* ─── Navbar ─────────────────────────────────────────────────── */
#mainNavbar {
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  transition: var(--transition);
  z-index: 1050;
}
#mainNavbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
}

/* Brand */
.brand-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-icon img {
  width: 100%; height: 100%; object-fit: contain;
}
.brand-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: var(--secondary); transition: var(--transition); line-height: 1.1; }
.brand-accent { color: var(--primary); }
.brand-tagline { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.05em; line-height: 1.1; margin-top: 1px; transition: var(--transition); }

@media (max-width: 480px) {
  .brand-name { font-size: 0.9rem; }
  .brand-tagline { font-size: 0.55rem; }
  .brand-icon { width: 34px; height: 34px; }
}

/* Nav links */
#mainNavbar .nav-link {
  color: var(--secondary);
  font-weight: 500;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  white-space: nowrap;
}
#mainNavbar .navbar-brand { margin-right: 0.5rem; }
#mainNavbar .btn-sm { font-size: 0.78rem; padding: 0.3rem 0.65rem; }
#mainNavbar .nav-link:hover, #mainNavbar .nav-link.active {
  color: var(--primary);
  background: rgba(255,107,0,.06);
}

/* Nav icon buttons */
.nav-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 1rem;
  transition: var(--transition);
}
.nav-icon-btn:hover { background: rgba(255,107,0,.1); color: var(--primary); }
.badge-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--primary); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* User menu */
.user-menu-btn {
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem 0.3rem 0.4rem;
  color: var(--secondary);
  font-size: 0.875rem; font-weight: 600;
  transition: var(--transition);
}
.user-menu-btn:hover { background: rgba(255,107,0,.1); color: var(--primary); }
.user-avatar-sm {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
  overflow: hidden;
}
.user-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

/* Notification Dropdown */
.notif-dropdown { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid var(--border-color); }
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item {
  display: flex; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark); transition: var(--transition);
}
.notif-item:hover { background: var(--bg-light); }
.notif-item.unread { background: rgba(255,107,0,.04); }
.notif-icon { width: 32px; height: 32px; background: rgba(255,107,0,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.8rem; flex-shrink: 0; }
.notif-title { font-size: 0.82rem; font-weight: 600; }
.notif-body { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.notif-time { font-size: 0.72rem; color: var(--text-light); margin-top: 2px; }

/* ─── Hero Section ───────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #0F1923 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/img/hero-pattern.svg') repeat;
  opacity: 0.04;
}
.hero-section::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,0,.15); border: 1px solid rgba(255,107,0,.3);
  color: var(--primary-light); padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900; color: #fff; line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 1.0625rem; color: rgba(255,255,255,.75); max-width: 540px; margin-bottom: 2.5rem; }

/* Hero Search */
.hero-search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-xl);
  display: flex; gap: 8px; align-items: center;
  max-width: 680px;
}
.hero-search-box .form-control {
  border: none; box-shadow: none;
  font-size: 0.9375rem; padding: 0.5rem 1rem;
}
.hero-search-box .form-select {
  border: none; box-shadow: none;
  font-size: 0.9375rem; padding: 0.5rem 1rem;
  width: auto; border-left: 1px solid var(--border-color);
  border-radius: 0;
}
.hero-search-box .btn { border-radius: calc(var(--radius-lg) - 4px); padding: 0.625rem 1.75rem; flex-shrink: 0; }

/* Hero Stats */
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; }
.hero-stat .stat-num {
  font-size: 2rem; font-weight: 900;
  color: #fff; font-family: var(--font-heading);
  line-height: 1; display: block;
}
.hero-stat .stat-num span { color: var(--primary); }
.hero-stat .stat-label { font-size: 0.8rem; color: rgba(255,255,255,.6); }

/* Hero Image / Building Scene */
.hero-image-wrapper {
  position: relative; z-index: 2;
}

/* ── Building Scene Container ── */
.hero-building-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
}

/* ── Animated Glow Rings ── */
.building-glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,107,0,.25);
  animation: ringPulse 3s ease-in-out infinite;
  pointer-events: none;
}
.ring-1 { width: 420px; height: 420px; animation-delay: 0s; }
.ring-2 { width: 540px; height: 540px; animation-delay: .8s; border-color: rgba(255,107,0,.12); }
.ring-3 { width: 660px; height: 660px; animation-delay: 1.6s; border-color: rgba(255,107,0,.06); }

@keyframes ringPulse {
  0%,100% { transform: scale(1);   opacity:.8; }
  50%      { transform: scale(1.04); opacity:.3; }
}

/* ── Image Frame ── */
.building-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.55),
              0 0 0 1px rgba(255,107,0,.2),
              inset 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .6s cubic-bezier(.23,1,.32,1),
              box-shadow .6s ease;
  animation: floatBuilding 6s ease-in-out infinite;
  cursor: pointer;
  max-width: 520px;
  width: 100%;
}
.building-img-frame:hover {
  box-shadow: 0 40px 100px rgba(0,0,0,.65),
              0 0 0 2px rgba(255,107,0,.5),
              0 0 60px rgba(255,107,0,.2);
}

@keyframes floatBuilding {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-14px); }
}

/* ── Main Image ── */
.building-main-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .8s cubic-bezier(.23,1,.32,1);
  filter: brightness(1.05) saturate(1.15);
}
.building-img-frame:hover .building-main-img {
  transform: scale(1.04);
}

/* ── Shimmer Sweep ── */
.building-shimmer {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,.12) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmerSweep 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: 24px;
}
@keyframes shimmerSweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── Cinematic Overlay ── */
.building-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to top,
    rgba(26,35,50,.7) 0%,
    rgba(26,35,50,.1) 40%,
    transparent 70%
  );
  pointer-events: none;
  border-radius: 24px;
}

/* ── Live Project Label ── */
.building-label {
  position: absolute;
  bottom: 18px; left: 20px;
  z-index: 4;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .78rem; font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: .04em;
}
.building-label-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,.3);
  animation: dotPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.3); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,.1); }
}

/* ── Floating Particles ── */
.hero-particle {
  position: absolute;
  width: 46px; height: 46px;
  background: rgba(255,107,0,.15);
  border: 1px solid rgba(255,107,0,.3);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  animation: particleFloat 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}
.p1 { top: 12%;  left: -2%;  animation-delay: 0s;   animation-duration: 4.5s; }
.p2 { top: 20%;  right: -4%; animation-delay: .9s;  animation-duration: 5s; }
.p3 { bottom: 20%; left: 2%;  animation-delay: 1.8s; animation-duration: 4s; }
.p4 { bottom: 30%; right: 0%; animation-delay: 2.7s; animation-duration: 5.5s; }

@keyframes particleFloat {
  0%,100% { transform: translateY(0) rotate(0deg);   opacity:.8; }
  33%      { transform: translateY(-12px) rotate(5deg); opacity:1; }
  66%      { transform: translateY(6px) rotate(-3deg);  opacity:.7; }
}

/* ── Float Cards (repositioned inside scene) ── */
.hero-float-card {
  position: absolute; background: #fff; border-radius: var(--radius-lg);
  padding: 0.875rem 1.125rem; box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 12px;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 10; min-width: 170px;
}
.hfc-bottom-left { bottom: 16px; left: -10px; animation-delay: 0s; }
.hfc-top-right   { top: 10px; right: -10px; animation-delay: 1.5s; }
.hfc-progress    {
  bottom: 70px; right: -14px;
  flex-direction: column; align-items: flex-start;
  min-width: 180px; padding: 0.75rem 1rem;
  animation-delay: .75s;
}

@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-float-card .card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.hero-float-card strong { font-size: 1.1rem; font-weight: 800; color: var(--secondary); }
.hero-float-card small { font-size: 0.75rem; color: var(--text-muted); }

/* ── Progress Bar ── */
.building-progress-bar {
  height: 6px; background: rgba(26,35,50,.1);
  border-radius: 50px; overflow: hidden; margin-bottom: 4px;
}
.building-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #FFD700);
  border-radius: 50px;
  animation: progressGrow 2s ease-out forwards, progressPulse 3s ease-in-out 2s infinite;
  transform-origin: left;
}
@keyframes progressGrow {
  from { width: 0 !important; }
}
@keyframes progressPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .75; }
}


/* ─── Categories Section ─────────────────────────────────────── */
.category-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 32px 64px rgba(15, 25, 35, 0.08), 0 10px 20px rgba(15, 25, 35, 0.04);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
}
.category-card:hover::before {
  opacity: 1;
}

.cat-icon-wrap {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.category-card:hover .cat-icon-wrap {
  transform: scale(1.15) translateY(-5px);
  background: #ffffff !important;
  box-shadow: 0 16px 32px rgba(255,107,0,0.15), inset 0 0 0 2px var(--primary);
}

.cat-icon { 
  font-size: 2rem; 
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); 
}
.category-card:hover .cat-icon { 
  transform: scale(1.1); 
  color: var(--primary) !important; 
}

.cat-name { 
  font-weight: 800; font-size: 1.1rem; color: var(--secondary); 
  transition: all 0.4s ease; margin-bottom: 6px; 
}
.category-card:hover .cat-name { 
  color: var(--primary); 
  transform: translateY(-2px);
}

.cat-count { 
  font-size: 0.85rem; color: var(--text-muted); 
  transition: all 0.4s ease; 
}
.category-card:hover .cat-count {
  transform: translateY(-2px);
  color: var(--secondary);
}

/* ─── How It Works ───────────────────────────────────────────── */
.hiw-bg { background: linear-gradient(135deg, var(--secondary) 0%, #0F1923 100%); }
.step-card {
  text-align: center; padding: 2rem;
}
.step-number {
  width: 64px; height: 64px;
  background: rgba(255,107,0,.15);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 900;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  position: relative;
  font-family: var(--font-heading);
}
.step-icon-wrap {
  width: 80px; height: 80px;
  background: rgba(255,107,0,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem; color: var(--primary);
}
.step-title { color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: 0.75rem; }
.step-desc { color: rgba(255,255,255,.65); font-size: 0.9rem; line-height: 1.6; }
.step-connector {
  position: absolute; top: 32px; left: calc(50% + 32px);
  width: calc(100% - 64px); height: 2px;
  background: rgba(255,107,0,.3);
  border-top: 2px dashed rgba(255,107,0,.4);
}

/* ─── Contractor Cards ───────────────────────────────────────── */
.contractor-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.contractor-card:hover { box-shadow: var(--shadow-xl); border-color: var(--primary); transform: translateY(-4px); }
.contractor-card .card-body { padding: 1.5rem; }
.contractor-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--border-color); flex-shrink: 0;
}
.contractor-avatar-placeholder {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; flex-shrink: 0;
}
.verified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(34,197,94,.1); color: #16a34a;
  font-size: 0.72rem; font-weight: 700; padding: 2px 10px;
  border-radius: var(--radius-pill);
}
.stars { color: #F59E0B; font-size: 0.8rem; }
.skill-tag {
  display: inline-block;
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: 0.75rem; padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin: 2px;
}

/* ─── Project Cards ──────────────────────────────────────────── */
.project-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: var(--primary); }
.project-card .card-img-wrap { height: 180px; overflow: hidden; background: var(--bg-section); }
.project-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.project-card:hover .card-img-wrap img { transform: scale(1.05); }

/* ─── Stats Section ──────────────────────────────────────────── */
.stat-counter-card {
  text-align: center; padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-counter-card:hover { background: rgba(255,107,0,.1); border-color: var(--primary); }
.stat-counter-card .num {
  font-size: 3.5rem; font-weight: 900;
  color: var(--primary); font-family: var(--font-heading);
  line-height: 1;
}
.stat-counter-card .label { color: rgba(255,255,255,.7); font-size: 1rem; margin-top: 0.5rem; }

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.testimonial-card .quote { font-size: 2.5rem; color: var(--primary); line-height: 1; margin-bottom: 1rem; }
.testimonial-card .author-img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.8); }
.footer-main { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-size: 1.25rem; color: #fff; }
.footer-brand i { color: var(--primary); }
.footer-about { font-size: 0.875rem; color: rgba(255,255,255,.6); line-height: 1.8; }
.footer-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li { display: flex; gap: 12px; margin-bottom: 1rem; font-size: 0.875rem; color: rgba(255,255,255,.65); }
.footer-contact-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.social-link {
  display: inline-flex; width: 36px; height: 36px;
  background: rgba(255,255,255,.08); border-radius: 50%;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); margin-right: 6px;
  transition: var(--transition); font-size: 0.875rem;
}
.social-link:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom { background: rgba(0,0,0,.2); }
.footer-bottom a { color: rgba(255,255,255,.55); font-size: 0.8125rem; }
.footer-bottom a:hover { color: var(--primary); }

/* ─── Auth Pages ─────────────────────────────────────────────── */
.auth-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #0F1923 100%);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-xl);
  width: 100%; max-width: 460px;
}
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .brand-icon { margin: 0 auto 1rem; width: 56px; height: 56px; font-size: 1.5rem; }
.form-label { font-weight: 600; font-size: 0.875rem; color: var(--secondary); }
.form-control, .form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.6875rem 1rem;
  font-size: 0.9375rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,0,.1);
}
.input-group .input-icon {
  background: var(--bg-light); border: 2px solid var(--border-color);
  border-right: 0; color: var(--text-muted);
}
.divider-text { position: relative; text-align: center; }
.divider-text::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background: var(--border-color);
}
.divider-text span {
  background: #fff; position: relative;
  padding: 0 12px; color: var(--text-muted); font-size: 0.875rem;
}
.btn-google {
  background: #fff; border: 2px solid var(--border-color);
  color: var(--secondary); font-weight: 600;
}
.btn-google:hover { border-color: var(--primary); color: var(--primary); background: rgba(255,107,0,.04); }
.btn-facebook {
  background: #1877F2; border-color: #1877F2; color: #fff; font-weight: 600;
}
.btn-facebook:hover { background: #0d65d8; border-color: #0d65d8; }

/* ─── Dashboard ──────────────────────────────────────────────── */
.dashboard-sidebar {
  background: var(--secondary);
  min-height: calc(100vh - 70px);
  width: 260px;
  position: sticky; top: 70px;
  padding: 1.5rem 0;
  flex-shrink: 0;
}
.dashboard-layout { display: flex; min-height: calc(100vh - 70px); }
.dashboard-content { flex: 1; padding: 2rem; background: var(--bg-light); }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 0.75rem 1.5rem; color: rgba(255,255,255,.7);
  font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: #fff; background: rgba(255,107,0,.15);
  border-right: 3px solid var(--primary);
}
.sidebar-nav a i { width: 20px; text-align: center; }
.dashboard-stat-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.5rem; transition: var(--transition);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.dashboard-stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dashboard-stat-card .num { font-size: 2rem; font-weight: 800; color: var(--secondary); }
.dashboard-stat-card .label { color: var(--text-muted); font-size: 0.875rem; }

/* ─── Cards ──────────────────────────────────────────────────── */
.card { border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-header { background: transparent; border-bottom: 1px solid var(--border-color); padding: 1.25rem 1.5rem; font-weight: 700; }

/* ─── Badges ─────────────────────────────────────────────────── */
.badge { font-weight: 600; border-radius: var(--radius-pill); }
.badge.bg-primary { background: var(--primary) !important; }

/* ─── Forms ──────────────────────────────────────────────────── */
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(255,107,0,.1); }

/* ─── Back To Top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer; transition: var(--transition);
  opacity: 0; visibility: hidden; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ─── Alerts / Flash Messages ────────────────────────────────── */
.flash-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem;
}
.flash-success { background: rgba(34,197,94,.1); color: #166534; border-left: 4px solid var(--success); }
.flash-error   { background: rgba(239,68,68,.1);  color: #991b1b; border-left: 4px solid var(--danger); }
.flash-info    { background: rgba(59,130,246,.1);  color: #1e40af; border-left: 4px solid var(--info); }

/* ─── Bid Cards ──────────────────────────────────────────────── */
.bid-card {
  background: #fff; border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: var(--transition);
}
.bid-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.bid-amount { font-size: 1.75rem; font-weight: 900; color: var(--primary); }

/* ─── Utilities ──────────────────────────────────────────────── */
.text-primary   { color: var(--primary) !important; }
.bg-primary-soft { background: rgba(255,107,0,.08); }
.bg-secondary-soft { background: rgba(26,35,50,.06); }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-2xl { border-radius: 1.5rem; }
.gap-half { gap: 0.5rem; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.lh-1 { line-height: 1; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-section { padding: 60px 0; min-height: auto; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .section-py { padding-top: 50px; padding-bottom: 50px; }
  .dashboard-sidebar { display: none; }
  .dashboard-layout { flex-direction: column; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-search-box { flex-direction: column; }
  .hero-search-box .form-select { border-left: none; border-top: 1px solid var(--border-color); border-radius: 0; width: 100%; }
  .hero-search-box .btn { width: 100%; }
}
