﻿
:root {
  --green:        #00573F;
  --green-light:  #D9E8E2;
  --green-bright: #3DBE7A;
  --forest:       #003D2D;
  --ivory:        #F7F8F3;
  --warm-bg:      #F5F5F7;
  --mist:         #E5E5EA;
  --stone:        #6B6B6B;
  --white:        #FFFFFF;
  --body-text:    #1D1D1F;
  --hero-dark:    #0B1620;
  --border:       #E5E5EA;
  --font:         'Poppins', sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 14px; --r-xl: 18px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-snap-type: y proximity;
}
body { font-family: var(--font); background: var(--white); color: var(--body-text); overflow-x: hidden; }
img { display: block; max-width: 100%; }

/* ₹”€₹”€ TICKER ₹”€₹”€ */
.ticker-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 34px; background: #0a1a12;
  border-bottom: 1px solid rgba(0,87,63,0.35);
  display: flex; align-items: center; overflow: hidden;
}
.ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 7px;
  padding: 0 16px; height: 100%;
  border-right: 1px solid rgba(0,87,63,0.4);
  font-size: 9px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: rgba(255,255,255,0.5); white-space: nowrap;
}
.ticker-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #00c853; box-shadow: 0 0 6px #00c853; animation: tickBlink 1.8s infinite; }
@keyframes tickBlink { 0%,100%{opacity:1} 50%{opacity:.35} }
.ticker-scroll {
  flex: 1; overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
}
.ticker-track { display: flex; animation: tickerScroll 55s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
.tick-item { display: inline-flex; align-items: center; gap: 7px; padding: 0 22px; height: 34px; border-right: 1px solid rgba(255,255,255,0.05); white-space: nowrap; }
.tick-name  { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.55); }
.tick-price { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.88); }
.tick-up    { font-size: 9px; font-weight: 600; color: #00c853; }
.tick-dn    { font-size: 9px; font-weight: 600; color: #ff5252; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ₹”€₹”€ NAV ₹”€₹”€ */
nav {
  position: fixed; top: 34px; left: 0; right: 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 48px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 26px; max-width: 170px; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 22px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a { font-size: 13px; font-weight: 500; color: #000000; text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--green); }
.nav-links li.active > a { color: var(--green); font-weight: 600; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item-dropdown > a::after { content: ''; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item-dropdown:hover > a::after { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(255,255,255,0.98); border: 1px solid rgba(0,0,0,0.09);
  border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  padding: 8px; min-width: 160px; list-style: none;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(12px); z-index: 999;
}
.nav-item-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown li a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 400; color: var(--stone); transition: background .15s, color .15s; white-space: nowrap; }
.nav-dropdown li a:hover { background: var(--green-light); color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-ghost { font-size: 14px; font-weight: 500; color: #000000; background: transparent; border: 1px solid #D2D2D7; padding: 7px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s; }
.btn-nav-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-nav-primary { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--white); background: var(--green); border: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background .2s, box-shadow .2s; }
.btn-nav-primary:hover { background: var(--green-mid); box-shadow: 0 4px 16px rgba(0,87,63,.3); }

/* ₹”€₹”€ PAGE ₹”€₹”€ */
.page-wrapper { padding-top: 0; }

/* ₹”€₹”€ HERO ₹”€₹”€ */
.auction-hero {
  background: var(--hero-dark);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 178px 64px 64px;
  position: relative; overflow: hidden;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  box-sizing: border-box;
  scroll-snap-align: start;
}
.auction-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.80; z-index: 0; pointer-events: none;
}
.auction-hero::before {
  content: '';
  position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,87,63,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.auction-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.auction-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.auction-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(61,190,122,0.4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 28px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  background: rgba(61,190,122,0.06);
}
.auction-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 8px var(--green-bright); animation: glow 2s infinite; }
@keyframes glow { 0%,100%{opacity:1} 50%{opacity:.4} }
.auction-hero h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.65), 0 1px 6px rgba(0,0,0,0.4);
  font-size: clamp(38px, 5vw, 65px); font-weight: 800;
  line-height: 1.05; letter-spacing: -2px; color: #FFFFFF;
  margin-bottom: 18px;
}
.auction-hero-sub {
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.5);
  line-height: 1.8; max-width: 520px; margin: 0 auto 48px;
}

/* H3 standard */
h3, .h3 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.6px; color: var(--body-text); }

.auction-kpis {
  display: flex; align-items: center; justify-content: center; gap: 48px;
}
.auction-kpi { text-align: center; }
.auction-kpi-num { font-size: clamp(28px,3.5vw,42px); font-weight: 800; color: #FFFFFF; line-height: 1; letter-spacing: -1px; }
.auction-kpi-lbl { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.45); margin-top: 5px; white-space: nowrap; }
.auction-kpi-div { width: 1px; height: 40px; background: rgba(255,255,255,0.1); align-self: center; }

/* ₹”€₹”€ MAIN AREA ₹”€₹”€ */
.auction-body {
  scroll-snap-align: start; background: #EEF2F7; padding: 48px 64px 72px; }

/* Tabs */
.auction-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.auction-tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: 999px;
  border: 1.5px solid var(--mist); background: var(--white);
  color: var(--stone); cursor: pointer; transition: all .18s;
}
.auction-tab:hover { border-color: var(--green); color: var(--green); }
.auction-tab.active { background: var(--green); color: var(--white); border-color: var(--green); }
.auction-tab-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.auction-tab.active .live-dot { background: #7FFF9C; animation: glow 1.5s infinite; }

/* Filters */
.auction-filters {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; align-items: center;
}
.auction-search {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--mist); border-radius: var(--r-md);
  background: var(--white); overflow: hidden;
  transition: border-color .2s;
}
.auction-search:focus-within { border-color: var(--green); }
.auction-search svg { margin: 0 12px; width: 15px; height: 15px; stroke: var(--stone); flex-shrink: 0; }
.auction-search input {
  border: none; outline: none; font-family: var(--font); font-size: 13px;
  font-weight: 400; color: var(--body-text); background: transparent;
  padding: 10px 14px 10px 0; width: 220px;
}
.auction-search input::placeholder { color: rgba(107,107,107,0.5); }
.filter-select {
  font-family: var(--font); font-size: 13px; font-weight: 500;
  color: var(--body-text); background: var(--white);
  border: 1.5px solid var(--mist); border-radius: var(--r-md);
  padding: 10px 36px 10px 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  outline: none; transition: border-color .2s;
}
.filter-select:focus { border-color: var(--green); }

/* Grid */
.auction-grid { display: none; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.auction-grid.active { display: grid; }

/* Card */
.auction-card {
  background: var(--white); border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--r-xl); overflow: hidden; cursor: pointer;
  transition: transform .25s cubic-bezier(.22,.68,0,1.2), box-shadow .25s, border-color .2s;
}
.auction-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); border-color: rgba(0,87,63,0.2); }
.auction-card-img { height: 160px; overflow: hidden; position: relative; background: var(--green-light); }
.auction-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.22,.68,0,1.2); }
.auction-card:hover .auction-card-img img { transform: scale(1.05); }

/* Status badge on image */
.auction-status-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; border-radius: 999px; padding: 4px 12px;
}
.status-live { background: rgba(0,200,83,0.92); color: #fff; }
.status-upcoming { background: rgba(255,179,0,0.92); color: #1a1000; }
.status-closed { background: rgba(107,107,107,0.85); color: #fff; }

.auction-card-body { padding: 14px 16px 16px; }
.auction-card-platform { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--stone); margin-bottom: 7px; }
.auction-card-title { font-size: 16px; font-weight: 700; color: var(--body-text); line-height: 1.3; margin-bottom: 6px; }
.auction-card-location { font-size: 12px; color: var(--stone); margin-bottom: 16px; display: flex; align-items: center; gap: 5px; }
.auction-card-location svg { width: 12px; height: 12px; stroke: var(--stone); flex-shrink: 0; }
.auction-card-qty-lbl { font-size: 11px; font-weight: 500; color: var(--stone); margin-bottom: 3px; }
.auction-card-qty { font-size: 24px; font-weight: 800; color: var(--body-text); letter-spacing: -1px; line-height: 1; margin-bottom: 10px; }
.auction-card-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.auction-card-tag {
  font-size: 11px; font-weight: 600; color: var(--green);
  background: var(--green-light); border-radius: 999px; padding: 4px 12px;
}
.auction-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--mist);
}
.auction-card-meta { font-size: 11px; color: var(--stone); }
.btn-view-spec {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--white); background: var(--green);
  border: none; padding: 8px 18px; border-radius: 999px;
  cursor: pointer; text-decoration: none; transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-view-spec:hover { background: var(--forest); box-shadow: 0 8px 28px rgba(0,87,63,.35); transform: translateY(-1px); }

/* ₹”€₹”€ MODAL ₹”€₹”€ */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 999; backdrop-filter: blur(4px); }
.modal-panel {
  width: 860px; max-width: 95%; background: var(--white);
  margin: 40px auto; border-radius: 24px; padding: 36px 40px;
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.modal-title { font-size: 22px; font-weight: 800; color: var(--body-text); margin-bottom: 4px; }
.modal-location { font-size: 13px; color: var(--stone); }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mist); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--stone); flex-shrink: 0;
  transition: background .15s;
}
.modal-close:hover { background: var(--green); color: var(--white); }
.modal-spec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 32px; }
.modal-spec-card { background: var(--warm-bg); border-radius: var(--r-lg); padding: 18px 16px; text-align: center; }
.modal-spec-card-val { font-size: 18px; font-weight: 800; color: var(--body-text); margin-bottom: 4px; }
.modal-spec-card-lbl { font-size: 11px; font-weight: 400; color: var(--stone); }
.modal-table-title { font-size: 14px; font-weight: 700; color: var(--body-text); margin-bottom: 14px; }
.modal-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 24px; }
.modal-table { width: 100%; border-collapse: collapse; margin-bottom: 0; min-width: 480px; }
.modal-table th { background: var(--hero-dark); color: rgba(255,255,255,0.7); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 12px 18px; text-align: left; }
.modal-table th:first-child { border-radius: 10px 0 0 10px; }
.modal-table th:last-child { border-radius: 0 10px 10px 0; }
.modal-table td { padding: 13px 18px; font-size: 13px; color: var(--body-text); border-bottom: 1px solid var(--mist); }
.modal-contact {
  background: #F2F2F2;
  border-radius: var(--r-xl); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-contact-text { font-size: 14px; font-weight: 600; color: #1D1D1F; }
.modal-contact-num { font-size: 18px; font-weight: 800; color: #1D1D1F; margin-top: 2px; }
.btn-contact {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--green); background: var(--white);
  border: none; padding: 10px 22px; border-radius: 999px; cursor: pointer;
  transition: box-shadow .2s;
}
.btn-contact:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

/* ₹”€₹”€ FOOTER ₹”€₹”€ */
footer { background: #141414; padding: 64px 72px 36px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06); max-width: 1440px; margin: 0 auto; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer-brand-badges { display: flex; gap: 8px; margin-top: 20px; }
.fbadge { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.10); padding: 4px 10px; border-radius: 999px; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,.50); text-decoration: none; transition: color .15s; }
.footer-col li a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; max-width: 1440px; margin: 0 auto; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.20); }
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { font-size: 12px; color: rgba(255,255,255,.20); text-decoration: none; transition: color .15s; }
.footer-legal-links a:hover { color: rgba(255,255,255,.50); }
.footer-logo-wrap { display: flex; align-items: center; margin-bottom: 14px; text-decoration: none; }
.footer-logo-wrap img { height: 26px; display: block; filter: brightness(0) invert(1); }

/* Wide desktop — show 3 cards per row */
@media (min-width: 1400px) {
  .auction-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── TABLET NAV ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  nav:not(.nav-scrolled) .nav-mobile-toggle { color: rgba(255,255,255,0.9); }
  nav.nav-scrolled .nav-mobile-toggle { color: #1D1D1F; }
  .nav-mobile-toggle { color: #1D1D1F; }
}

/* Modal spec grid → 2-col on tablet before the 768px rule */
@media (max-width: 900px) {
  .modal-spec-grid { grid-template-columns: 1fr 1fr; }
  .modal-close { width: 44px; height: 44px; font-size: 20px; }
}

/* Responsive */
@media (max-width: 1100px) {
  .auction-grid { grid-template-columns: 1fr 1fr; }
  .auction-body { scroll-snap-align: start; padding: 40px 40px 60px; }
  .auction-tabs { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; } .nav-links { display: none; }
  .auction-hero { padding: 110px 24px 56px; }
  .auction-kpis { gap: 24px; }
  .auction-body { scroll-snap-align: start; padding: 28px 24px 48px; }
  .auction-grid { grid-template-columns: 1fr; }
  .modal-spec-grid { grid-template-columns: 1fr 1fr; }
  .modal-panel { padding: 24px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  /* Search input: flex so it fills available space instead of fixed 220px */
  .auction-search { flex: 1; min-width: 0; }
  .auction-search input { width: 100%; min-width: 0; }
  /* Modal table: reduce font on tablet to avoid overflow */
  .modal-table { font-size: 12px; }
  .modal-table td, .modal-table th { padding: 10px 12px; }
  /* Modal registration panel padding */
  .reg-modal-panel { padding: 28px 24px; }
}




nav.nav-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
nav:not(.nav-scrolled) .nav-links a { color: rgba(255,255,255,0.90); text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
nav:not(.nav-scrolled) .nav-links a:hover { color: #fff; }
nav:not(.nav-scrolled) .btn-nav-ghost { color: rgba(255,255,255,0.90); border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); }
nav:not(.nav-scrolled) .btn-nav-ghost:hover { border-color: rgba(255,255,255,0.70); color: #fff; }
/* ══ MOBILE NAV ══ */
@media (max-width: 768px) {
  nav { height: 52px; padding: 0 16px; }
  .nav-links { display: none; }
  .btn-nav-ghost { display: none; }
  .btn-nav-primary, .btn-reg-free { font-size: 12px; padding: 10px 14px; min-height: 44px; white-space: nowrap; }
  .nav-cta { gap: 8px; }
}

@media (max-width: 480px) {
  .auction-hero { padding: 110px 20px 56px; }
  .auction-hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .auction-hero-sub { font-size: 14px; }
  .auction-kpis { gap: 12px; flex-wrap: wrap; justify-content: center; }
  /* Hide vertical dividers — they look broken when KPIs wrap to 2 rows */
  .auction-kpi-div { display: none; }
  .auction-grid { grid-template-columns: 1fr; gap: 16px; }
  .auction-body { scroll-snap-align: start; padding: 24px 20px 40px; }
  /* Filter search — let it flex rather than fixed 220px */
  .auction-search { flex: 1; min-width: 0; }
  .auction-search input { width: 100%; min-width: 0; }
  /* Footer — collapse to 1-col on small phones */
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .modal-inner { padding: 24px 20px; }
  .modal-spec-grid { grid-template-columns: 1fr 1fr; }
}
