/* =============================================
   BHARATH AUTOLINK - GLOBAL STYLES v3
   Light Sky Blue + Gold Theme
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Nunito:wght@300;400;600;700;800;900&family=Bebas+Neue&family=Barlow+Condensed:wght@600;700;800;900&display=swap');

:root {
  --navy: #1a7db8;
  --navy-dark: #0D5FA3;
  --navy-light: #4AABDF;
  --navy-mid: #1470A8;
  --gold: #F06535;
  --gold-light: #F5834A;
  --gold-dark: #D4501A;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-light: #eef0f6;
  --gray: #6b7280;
  --gray-dark: #374151;
  --green: #138808;
  --green-light: #1aad0a;
  --shadow: 0 4px 24px rgba(26,125,184,0.10);
  --shadow-lg: 0 12px 48px rgba(26,125,184,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', sans-serif; background: #fff; color: var(--navy-dark); overflow-x: clip; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 3px; }

h1,h2,h3,h4,h5 { font-family: 'Rajdhani', sans-serif; font-weight: 700; line-height: 1.2; }
.bebas { font-family: 'Bebas Neue', sans-serif; letter-spacing: 2px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; transition: var(--transition); border: none; outline: none;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.15); transform: translateX(-100%); transition: transform 0.4s ease; z-index: 0; }
.btn > *, .btn > iconify-icon { position: relative; z-index: 1; }
.btn:hover::after { transform: translateX(0); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff; box-shadow: 0 4px 20px rgba(232,80,10,0.4); font-weight: 800; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,80,10,0.55); }
.btn-secondary { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; box-shadow: 0 4px 20px rgba(26,125,184,0.3); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,125,184,0.4); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 11px 26px; }
.btn-outline:hover { background: var(--navy); color: #fff !important; border-color: var(--navy); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 2px solid var(--gold); padding: 11px 26px; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; box-shadow: 0 4px 20px rgba(19,136,8,0.3); }
.btn-green:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.badge-gold { background: rgba(232,80,10,0.15); color: var(--gold-dark); }
.badge-navy { background: rgba(26,125,184,0.1); color: var(--navy); }
.badge-green { background: rgba(19,136,8,0.1); color: var(--green); }
.badge-red { background: rgba(220,38,38,0.1); color: #dc2626; }

section { padding: 80px 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); margin-bottom: 12px; }
.section-sub { color: var(--gray); font-size: 1.05rem; margin-bottom: 48px; max-width: 540px; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin-left: auto; margin-right: auto; }
.accent-line { display: inline-block; width: 60px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--navy)); margin-bottom: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 2px solid #e5e7eb; border-radius: var(--radius-sm); font-family: 'Nunito', sans-serif; font-size: 0.95rem; color: var(--navy-dark); transition: var(--transition); background: #fff; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,80,10,0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(26,125,184,0.08); transition: var(--transition); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 40px); height: 70px; max-width: 1280px; margin: 0 auto; }
.logo-wrap { display: flex; align-items: center; gap: 0px; text-decoration: none; }
.logo-wrap img { height: 48px; width: auto; }
.logo-text { font-family: 'Rajdhani', sans-serif; }
.logo-text .name { font-size: 1.4rem; font-weight: 700; color: #0D5FA3; line-height: 1; }
.logo-text .tagline { font-size: 0.7rem; color: var(--gold); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  color: var(--navy); text-decoration: none; font-weight: 700; font-size: 0.88rem;
  border-radius: 8px; transition: color 0.25s ease; white-space: nowrap;
  position: relative; overflow: hidden;
}
.nav-menu > li > a::before {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--gold); border-radius: 2px;
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-menu > li > a:hover::before,
.nav-menu > li > a.active::before { left: 10%; right: 10%; }
.nav-menu > li > a::after {
  content: ''; position: absolute; inset: 0; border-radius: 8px;
  background: rgba(232,80,10,0.08); transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s ease; z-index: -1;
}
.nav-menu > li > a:hover::after { transform: scaleX(1); }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--gold-dark); }
.nav-menu > li > a.active::after { transform: scaleX(1); background: rgba(232,80,10,0.1); }
.nav-menu > li > a .nav-icon { font-size: 1.05rem; opacity: 0.85; transition: transform 0.25s ease; }
.nav-menu > li > a:hover .nav-icon { transform: translateY(-1px); }

.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(26,125,184,0.2); min-width: 240px; padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); z-index: 100; border-top: 3px solid var(--gold); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--gray-dark); font-size: 0.87rem; font-weight: 600; text-decoration: none; transition: var(--transition); }
.dropdown-menu a:hover { background: var(--gray-light); color: var(--navy); }
.dropdown-menu .dm-icon { font-size: 1.1rem; }
.dropdown-sep { height: 1px; background: var(--gray-light); margin: 6px 4px; }
.dropdown-section-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray); padding: 4px 14px; display: block; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: #fff; z-index: 999; overflow-y: auto; transform: translateX(100%); transition: transform 0.4s ease; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; padding: 24px; }
.mobile-nav ul li a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1rem; border-bottom: 1px solid var(--gray-light); transition: var(--transition); }
.mobile-nav ul li a:hover { color: var(--gold); padding-left: 24px; }
.mobile-nav-actions { padding: 24px; display: flex; flex-direction: column; gap: 12px; }

/* FOOTER */
.site-footer { background: linear-gradient(120deg, #f0f8ff 0%, #e0f4ff 100%); color: rgba(13,58,106,0.75); padding: 80px 0 0; border-top: 1px solid rgba(13,95,163,0.12); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo-wrap .logo-text .name { color: #0D3A6A; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; color: rgba(13,58,106,0.65); }
.footer-col h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 700; color: #0D3A6A; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(13,58,106,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(13,95,163,0.12); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; color: rgba(13,58,106,0.5); }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(13,95,163,0.1); border: 1px solid rgba(13,95,163,0.2); display: flex; align-items: center; justify-content: center; color: #0D5FA3; text-decoration: none; transition: var(--transition); font-size: 1.1rem; }
.social-links a:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* UTILITIES */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.fw-700 { font-weight: 700; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.pt-80 { padding-top: 80px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* AUCTION CARDS */
.auction-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: var(--transition); }
.auction-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.auction-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.auction-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.auction-card:hover .auction-card-img img { transform: scale(1.05); }
.auction-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.auction-card-timer { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.75); color: #fff; padding: 5px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; font-family: 'Rajdhani', sans-serif; display: flex; align-items: center; gap: 5px; }
.auction-card-timer .dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.auction-card-body { padding: 20px; }
.auction-card-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.auction-card-meta { display: flex; gap: 12px; font-size: 0.82rem; color: var(--gray); margin-bottom: 14px; }
.auction-card-price-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--gray-light); }
.price-label { font-size: 0.78rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.price-value { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-dark); }
.bid-count { font-size: 0.8rem; color: var(--green); font-weight: 700; }

/* STATS */
.stat-number { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1; color: var(--navy); margin-bottom: 6px; }
.stat-number .unit { color: var(--gold); }
.stat-label { color: var(--gray); font-size: 0.88rem; font-weight: 600; }

/* TESTIMONIAL */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: var(--transition); border-left: 4px solid var(--gold); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 16px; }
.testimonial-text { color: var(--gray-dark); line-height: 1.8; font-size: 0.95rem; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.testimonial-role { color: var(--gray); font-size: 0.8rem; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity:0; transform: scale(0.85); } to { opacity:1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 80px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none; font-size: 1.8rem;
  transition: var(--transition);
  animation: waBounce 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes waBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 9997;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(26,125,184,0.35);
  cursor: pointer; border: none; outline: none;
  opacity: 0; pointer-events: none;
  transition: var(--transition); font-size: 1.2rem;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* ========== HEADER — TRANSPARENT ON HERO, WHITE ON SCROLL ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
/* At top — nav links dark (hero is light bg) */
.site-header:not(.scrolled) .nav-menu > li > a { color: #0D3A6A; }
.site-header:not(.scrolled) .nav-menu > li > a:hover,
.site-header:not(.scrolled) .nav-menu > li > a.active { color: var(--gold-dark); }
.site-header:not(.scrolled) .logo-text .name { color: #0D3A6A; }
.site-header:not(.scrolled) .logo-text .tagline { color: var(--gold-dark); }
.site-header:not(.scrolled) .btn-outline { color: #0D3A6A; border-color: rgba(13,58,106,0.4); }
.site-header:not(.scrolled) .hamburger span { background: #0D3A6A; }

/* Scrolled — solid white appears */
.site-header.scrolled {
  background: #fff;
  border-bottom: 1px solid rgba(26,125,184,0.12);
  box-shadow: 0 2px 24px rgba(26,125,184,0.12);
}
.site-header.scrolled .nav-menu > li > a { color: #0D5FA3; }
.site-header.scrolled .nav-menu > li > a:hover,
.site-header.scrolled .nav-menu > li > a.active { color: var(--gold-dark); }
.site-header.scrolled .logo-text .name { color: #0D5FA3; }
.site-header.scrolled .logo-text .tagline { color: var(--gold); }
.site-header.scrolled .btn-outline { color: #0D5FA3; border-color: #0D5FA3; }
.site-header.scrolled .btn-outline:hover { background: #0D5FA3; color: #fff !important; border-color: #0D5FA3; }
.site-header.scrolled .hamburger span { background: #0D5FA3; }
.site-header.scrolled .dropdown-menu { border-top-color: var(--gold); }

/* Inner pages — always solid white */
.page-header-light .site-header { background: #fff !important; border-bottom: 1px solid rgba(26,125,184,0.12) !important; box-shadow: 0 2px 20px rgba(26,125,184,0.10) !important; }
.page-header-light .site-header .nav-menu > li > a { color: #0D5FA3 !important; }
.page-header-light .site-header .nav-menu > li > a:hover { color: var(--gold-dark) !important; }
.page-header-light .site-header .logo-text .name { color: #0D5FA3 !important; }
.page-header-light .site-header .logo-text .tagline { color: var(--gold) !important; }
.page-header-light .site-header .hamburger span { background: var(--navy) !important; }
.page-header-light .site-header .btn-outline { color: #0D5FA3 !important; border-color: #0D5FA3 !important; }

/* ========== HELP FLOAT — LEFT side, circle with outline ========== */
.help-float {
  position: fixed;
  left: 20px;
  bottom: 90px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 900;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  border: 3px solid rgba(255,255,255,0.9);
  outline: none;
  animation: helpBounce 2.5s ease-in-out infinite;
}
.help-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes helpBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* ========== MOBILE HERO BG FIX ========== */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 100svh;
    overflow: hidden !important; /* clip orbs & swoop that bleed horizontally */
  }
  .hero-orb-1 { width: 220px; height: 220px; top: -40px; right: -40px; }
  .hero-orb-2 { width: 180px; height: 180px; bottom: -40px; left: -20px; }
  .hero-orb-3 { display: none; }
  /* Hide swoop SVG on mobile — it renders outside viewport bounds */
  .hero-swoop { display: none !important; }
}

/* ========== ABOUT TEAM CARD BIGGER ========== */
.team-card .team-photo { height: 300px; }
.team-grid { grid-template-columns: repeat(4,1fr); gap: 28px; }
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card .team-photo { height: 220px; }
}

/* Dropdown uses dark bg only when header is transparent (hero pages) */
.dropdown-menu { background: #063D6A; border: 1px solid rgba(255,255,255,0.1); }
.dropdown-menu a { color: rgba(255,255,255,0.8); }
.dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--gold); }
.dropdown-section-label { color: rgba(255,255,255,0.4); }
.dropdown-sep { background: rgba(255,255,255,0.1); }

/* Dropdown on white header (scrolled or page-header-light) */
.site-header.scrolled .dropdown-menu,
.page-header-light .dropdown-menu {
  background: #fff !important;
  border: 1px solid var(--gray-light) !important;
  box-shadow: 0 20px 60px rgba(26,125,184,0.15);
}
.site-header.scrolled .dropdown-menu a,
.page-header-light .dropdown-menu a { color: var(--gray-dark) !important; }
.site-header.scrolled .dropdown-menu a:hover,
.page-header-light .dropdown-menu a:hover { background: var(--gray-light) !important; color: var(--navy) !important; }
.site-header.scrolled .dropdown-section-label,
.page-header-light .dropdown-section-label { color: var(--gray) !important; }
.site-header.scrolled .dropdown-sep,
.page-header-light .dropdown-sep { background: var(--gray-light) !important; }


/* ========== PAGE HERO (inner pages breadcrumb banner) ========== */
.page-hero {
  background: linear-gradient(135deg, #063D6A 0%, #0D5FA3 55%, #1a7db8 100%);
  padding: 110px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1560179707-f14e90ef3623?w=1920&q=60') center/cover;
  opacity: 0.06; z-index: 0;
}
.page-hero .container, .page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; color: #fff; line-height: 1.15;
  margin-bottom: 10px;
  word-break: break-word;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.7; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  margin-bottom: 14px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .page-hero { padding: 88px 0 36px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.1; }
  .page-hero p { font-size: 0.9rem; line-height: 1.55; }
}
@media (max-width: 480px) {
  .page-hero { padding: 80px 0 28px; }
  .page-hero h1 { font-size: clamp(1.5rem, 7.5vw, 2rem); line-height: 1.1; }
  .page-hero p { font-size: 0.85rem; }
}

/* =====================================================
   v20 PATCH — Help button, responsive fixes, FAQ fix
   ===================================================== */

/* ===== AUCTION CARD — full image display ===== */
.auction-card-img {
  aspect-ratio: 16/9;
}
.auction-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== FAQ ACCORDION — smooth animated answer ===== */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.2s ease, padding-top 0.2s ease;
  margin-top: 0;
  display: block !important;
  color: #4b5563 !important;
  font-size: 0.9rem;
  line-height: 1.75;
}
.faq-item.open .faq-a {
  max-height: 400px;
  margin-top: 12px;
  padding-top: 4px;
}

/* ===== GENERAL MOBILE FIXES ===== */
@media (max-width: 768px) {
  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-desc { font-size: 0.8rem; }

  /* Parallax counters */
  .p-counter { padding: 20px 14px; }
  .p-num { font-size: 2.2rem; }

  /* Ticker */
  .ticker-label { font-size: 0.65rem; padding: 0 12px; }
  .ticker-item { font-size: 0.78rem; }

  /* Marquee */
  .marquee-item { font-size: 0.78rem; }

  /* CTA */
  .cta-inner { gap: 24px; }

  /* Live header */
  .live-header { flex-direction: column; align-items: flex-start; }

  /* Hero trust */
  .hero-trust { flex-direction: column; align-items: center; gap: 12px; }

  /* Help float */
  .help-float { bottom: 76px; width: 48px; height: 48px; left: 14px; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .brands-section { padding: 40px 0; }
  .brand-logo-card { width: 110px; height: 56px; }
  .section-title { font-size: 1.7rem; }

  /* Auction card */
  .auction-card-body { padding: 14px; }
  .auction-card-title { font-size: 1rem; }
  .price-value { font-size: 1.25rem; }
  .bid-now-btn { padding: 8px 14px !important; font-size: 0.8rem !important; }

  /* Hero actions */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* Stats */
  .stat-item { padding: 28px 14px; }
  .stat-number { font-size: 2.2rem; }
}

/* =====================================================
   v21 PATCH — Rich hero card, smart nav login, fixes
   ===================================================== */

/* ===== INSPECTION SCORE BAR ===== */
.hero-inspect-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f8f9fc;
  border-bottom: 1px solid #eef0f6;
}
.hib-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hib-track {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.hib-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #22c55e);
  border-radius: 3px;
  animation: inspectFillIn 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
  transform-origin: left;
}
@keyframes inspectFillIn {
  from { width: 0% !important; }
}
.hib-score {
  font-size: 0.65rem;
  font-weight: 900;
  color: #138808;
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
}

/* ===== HERO ACTIVITY FEED ===== */
.hero-activity-feed {
  padding: 8px 14px 6px;
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
}
.haf-title {
  font-size: 0.6rem;
  font-weight: 800;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.haf-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.haf-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.63rem;
  color: #6b7280;
  animation: haf-slide-in 0.4s ease;
  transition: background 0.2s;
  border-radius: 4px;
  padding: 2px 3px;
}
.haf-item.haf-new {
  background: rgba(232,80,10,0.07);
  border-left: 2px solid var(--gold);
  padding-left: 5px;
}
.haf-item strong { color: var(--navy); font-weight: 800; }
.haf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.2s infinite;
}
.haf-dot.red   { background: #ef4444; }
.haf-dot.gold  { background: var(--gold); animation: none; }
.haf-dot.green { background: #22c55e; animation: none; }
.haf-time {
  margin-left: auto;
  font-size: 0.58rem;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes haf-slide-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===== SMART NAV LOGIN — hides when logged in ===== */
.nav-login-btn,
.mobile-login-btn { transition: all 0.3s ease; }
.is-logged-in .nav-login-btn,
.is-logged-in .mobile-login-btn { display: none !important; }
.nav-user-chip {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(232,80,10,0.12);
  border: 1px solid rgba(232,80,10,0.3);
  padding: 6px 14px;
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.is-logged-in .nav-user-chip { display: flex; }
.nav-user-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: #fff; font-weight: 900;
  flex-shrink: 0;
}

/* ===== HERO CARD PANEL — add subtle glow ring on active slide ===== */
.hero-card-panel {
  position: relative;
}
.hero-card-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(232,80,10,0.3), rgba(13,95,163,0.1), rgba(232,80,10,0.15));
  z-index: -1;
  animation: panelRingPulse 4s ease-in-out infinite;
}
@keyframes panelRingPulse {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* ===== STEP CARDS — Cars24 style with real images (how it works) ===== */
.step-card-new {
  border-radius: 16px;
  overflow: visible;
  background: #fff;
  box-shadow: 0 4px 24px rgba(26,125,184,0.10);
  transition: all 0.3s ease;
  position: relative;
}
.step-card-new:hover {
  box-shadow: 0 12px 40px rgba(26,125,184,0.18);
  transform: translateY(-5px);
}
.step-card-img {
  border-radius: 14px;
  overflow: hidden;
  height: 200px;
  position: relative;
}
.step-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.step-card-num {
  position: absolute;
  bottom: -18px;
  left: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: rgba(232,80,10,0.35);
  line-height: 1;
  font-weight: 400;
  pointer-events: none;
  user-select: none;
}
.step-card-body { padding: 28px 20px 20px; }
.step-card-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-card-desc  { color: var(--gray); font-size: 0.86rem; line-height: 1.7; }

/* ===== RESPONSIVE — hero card smaller on mobile ===== */
@media (max-width: 480px) {
  .hero-inspect-bar { padding: 6px 10px; }
  .hero-activity-feed { padding: 6px 10px 4px; }
  .haf-item { font-size: 0.6rem; }
}

/* =====================================================
   v22 PATCH — Button hover visibility, FAQ, theme fixes
   ===================================================== */

/* ── Slightly lighter, more modern orange ── */
:root {
  --gold: #F06535;
  --gold-light: #F5834A;
  --gold-dark: #D4501A;
}

/* ── Ensure btn-primary text is always white & readable ── */
.btn-primary,
.btn-primary:visited { color: #fff !important; }
.btn-primary:hover { color: #fff !important; }

/* ── Login/outline button hover — always show white text ── */
.btn-outline:hover,
.btn-outline:focus { color: #fff !important; background: var(--navy) !important; border-color: var(--navy) !important; }

.site-header.scrolled .btn-outline:hover,
.page-header-light .site-header .btn-outline:hover { color: #fff !important; background: var(--navy) !important; }

/* ── All secondary buttons readable ── */
.btn-secondary { color: #fff !important; }
.btn-secondary:hover { color: #fff !important; }

/* ── FAQ answers: white-bg card, visible gray text ── */
.faq-a {
  color: #4b5563 !important;
  font-size: 0.9rem;
  line-height: 1.75;
  padding-top: 4px;
}
.faq-item { background: #fff !important; }
.faq-q { color: var(--navy) !important; }

/* ── Profile section-label badge — solid orange, white text ── */
.profile-section-label {
  background: var(--gold) !important;
  border-color: var(--gold-dark) !important;
  color: #fff !important;
}

/* ── Auction overlay — lock interaction behind blur ── */
body.auction-locked { overflow: hidden !important; touch-action: none !important; }

/* ── General text legibility across all pages ── */
p, li, td, th, span, label { color: inherit; }
.contact-form-card p, .contact-form-card label { color: var(--gray-dark); }
.section-sub { color: var(--gray-dark) !important; }

/* ── Under-process modal icon color tweak ── */
#underProcessOverlay .up-modal { background: #fff; }
