/* ==========================================================================
   Telangana Metal — Design System
   Royal Blue #1E3A8A + Golden Yellow #F5C518
   Barlow Condensed (headings) + Inter (body)
   ========================================================================== */

:root {
  --blue: #1E3A8A;
  --blue-dark: #172554;
  --gold: #F5C518;
  --gold-dark: #D4A017;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0F172A;
  --surface-hover: #F1F5F9;
  --surface-active: #E2E8F0;
  --border: #E2E8F0;
  --border-strong: #94A3B8;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --steel: #64748B;
  --shadow-card: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-hover: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --nav-height: 73px; /* actual sticky navbar height (72px inner + 1px border) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .heading-font {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 48px; } }
@media (min-width: 1024px) { .container { padding: 0 96px; } }

.section { padding: 96px 0; }
@media (max-width: 767px) { .section { padding: 64px 0; } }

.gold-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 2px;
  border: none;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.btn-secondary {
  background: var(--gold);
  color: var(--blue);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.btn-secondary:hover { background: var(--gold-dark); box-shadow: var(--shadow-card); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 12px; }

/* ===== Top info bar ===== */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-links a:hover { color: var(--gold); }
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.15);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ===== Navbar =====
   Sticky (not fixed) so it stays glued below the top-bar while the page is
   at the very top, then sticks to the viewport's top edge once the
   (non-sticky) top-bar has scrolled away — no gap, no manual offset math. */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-card); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-color: var(--gold); }
.nav-cta { display: none; align-items: center; gap: 16px; }
.nav-toggle {
  display: flex;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--blue); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.mobile-menu .btn { margin-top: 16px; }

/* The navbar is sticky (occupies normal flow space), so main needs no
   manual top offset — pages also set padding-top:0 inline for clarity. */
main { padding-top: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--blue-dark);
  color: #fff;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,37,84,.55) 0%, rgba(23,37,84,.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,.15);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: .95;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Stats bar ===== */
.stats-bar {
  background: var(--gold);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--blue-dark);
  margin-top: 8px;
}

/* ===== Section headers ===== */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; color: var(--text-primary); }
.section-sub { color: var(--text-secondary); font-size: 17px; max-width: 640px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head.center .gold-divider { margin-left: auto; margin-right: auto; }

/* ===== Grid ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Auto-fit grid for card rows whose item count may change (e.g. info cards) —
   wraps cleanly instead of needing a fixed column count. */
.grid-auto { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (min-width: 640px) { .grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* ===== Cards ===== */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all .3s ease;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: rgba(30,58,138,.3); }
.feature-card {
  background: var(--bg-alt);
  padding: 32px;
  border: 1px solid rgba(226,232,240,.6);
  border-radius: 2px;
  transition: all .3s ease;
}
.feature-card:hover { background: #fff; box-shadow: var(--shadow-card); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; }

/* ===== Product card ===== */
.product-card { overflow: hidden; cursor: default; }
.product-card-img-wrap { position: relative; height: 200px; overflow: hidden; background: #fff; }
/* object-fit: contain shows the FULL product photo (no cropping); padding gives it breathing room */
.product-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s ease; }
.product-card:hover .product-card-img-wrap img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 2px;
  background: var(--blue); color: #fff;
}
.badge.gold { background: var(--gold); color: var(--blue); }
.photo-count {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; padding: 3px 8px; border-radius: 2px;
}
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 20px; color: var(--blue); margin-bottom: 6px; }
.product-card-body p {
  color: var(--text-secondary); font-size: 14px; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.min-order { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.product-card-actions { display: flex; gap: 10px; }

/* ===== Filters ===== */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: calc(var(--nav-height));
  z-index: 20;
  padding: 14px 0;
}
.filter-row { display: flex; gap: 10px; overflow-x: auto; align-items: center; }
.filter-chip {
  padding: 9px 20px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  border-radius: 2px; background: var(--surface-hover); color: var(--text-secondary);
  border: none; white-space: nowrap; transition: all .2s ease;
}
.filter-chip.active { background: var(--blue); color: #fff; }
.filter-count { margin-left: auto; font-size: 13px; color: var(--text-muted); white-space: nowrap; display: none; }
@media (min-width: 768px) { .filter-count { display: block; } }

/* ===== Modal ===== */
.modal-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.65);
  align-items: center; justify-content: center; padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 2px; max-width: 680px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-hover);
}
.modal-gallery { position: relative; height: 340px; background: #fff; overflow: hidden; border-bottom: 1px solid var(--border); }
/* Full product visible in the modal too — no cropping */
.modal-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.modal-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.modal-nav-btn.prev { left: 12px; }
.modal-nav-btn.next { right: 12px; }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.modal-thumbs { display: flex; gap: 8px; padding: 12px 20px 0; overflow-x: auto; }
.modal-thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 2px; overflow: hidden; border: 2px solid var(--border); opacity: .6; }
.modal-thumb.active { border-color: var(--blue); opacity: 1; }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 24px; }
.modal-body h2 { font-size: 30px; color: var(--blue); margin-bottom: 10px; }
.modal-body > p { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
.modal-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }
@media (min-width: 500px) { .modal-grid { grid-template-columns: 1fr 1fr; } }
.modal-feature-list { display: flex; flex-direction: column; gap: 8px; }
.modal-feature-list li { display: flex; gap: 8px; font-size: 14px; color: var(--text-secondary); align-items: flex-start; }
.modal-order-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 2px; padding: 16px; font-size: 14px; }
.modal-order-box div { margin-bottom: 8px; }
.modal-order-box strong { color: var(--text-primary); }
.modal-actions { display: flex; gap: 12px; }
.eyebrow-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 10px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--blue);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Timeline (About) ===== */
.timeline { position: relative; padding-left: 28px; border-left: 3px solid var(--gold); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -37px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); border: 3px solid var(--gold);
}
.timeline-year { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; color: var(--blue); }
.timeline-item p { color: var(--text-secondary); margin-top: 6px; }

/* ===== Founder cards ===== */
.founder-card { padding: 28px; text-align: center; }
.founder-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--blue); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 32px;
  margin: 0 auto 18px; border: 4px solid var(--gold);
}
.founder-card h3 { color: var(--blue); font-size: 22px; margin-bottom: 4px; }
.founder-role { color: var(--gold-dark); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.founder-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== Info cards (Contact) ===== */
.info-card { padding: 28px; display: flex; gap: 16px; align-items: flex-start; }
.info-card .feature-icon { flex-shrink: 0; margin-bottom: 0; }
.info-card h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 6px; }
.info-card p { font-size: 15px; color: var(--text-primary); font-weight: 600; margin: 0; }
.info-card p.sub { font-weight: 400; color: var(--text-secondary); font-size: 13px; margin-top: 4px; }

/* ===== Forms ===== */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 2px; padding: 32px; box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1px solid var(--border); border-radius: 2px;
  background: #fff; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text-primary);
  transition: all .2s ease;
}
.field textarea { height: auto; padding: 14px 16px; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,58,138,.12);
}
.form-success {
  display: none;
  background: #F0FDF4; border: 1px solid #86EFAC; color: #166534;
  padding: 20px; border-radius: 2px; font-size: 14px; margin-bottom: 20px;
  align-items: flex-start; gap: 10px;
}
.form-success.show { display: flex; }

/* ===== Map ===== */
.map-wrap { border-radius: 2px; overflow: hidden; border: 1px solid var(--border); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== Footer ===== */
footer { background: var(--bg-dark); color: rgba(255,255,255,.65); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: .9; }
footer h5 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
footer ul li { margin-bottom: 10px; font-size: 14px; }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  font-size: 13px;
  display: flex; flex-direction: column; gap: 8px;
  text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ===== WhatsApp float button ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ===== Breadcrumb / page header ===== */
.page-header { background: var(--blue); padding: 56px 0; color: #fff; }
.page-header h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.7); font-size: 17px; max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: var(--gold); }

.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.hidden { display: none !important; }
