/* KNIT AID PVT LTD - Public Site Styles */

:root {
  --navy:   #0A1F44;
  --orange: #F76C1B;
  --white:  #FFFFFF;
  --gray:   #F5F5F5;
  --dark:   #1A1A1A;
  --navy-light: #132a5a;
  --orange-dark: #d45a0f;
  --text-muted: #6c757d;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(10,31,68,0.10);
  --shadow-lg: 0 12px 40px rgba(10,31,68,0.18);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.bg-navy { background: var(--navy); }
.bg-orange { background: var(--orange); }
.bg-gray { background: var(--gray); }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
}
.section-title span { color: var(--orange); }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 50px;
}
.title-center { text-align: center; }
.title-line {
  width: 50px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 12px auto 16px;
}
.title-line.left { margin-left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,108,27,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ── Top Bar ── */
.top-bar {
  background: rgba(10,31,68,0.98);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
#navbar.scrolled .top-bar {
  display: none;
}
.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar-left {
  display: flex; gap: 20px; align-items: center;
}
.top-bar-left a {
  color: rgba(255,255,255,0.8); text-decoration: none; display: flex; align-items: center; gap: 6px;
  transition: color 0.3s;
}
.top-bar-left a:hover { color: var(--orange); }
.top-bar-right {
  display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .top-bar { display: none; }
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: var(--navy);
}
#navbar .nav-inner { padding: 18px 0; transition: padding 0.3s ease; }
#navbar.scrolled .nav-inner {
  padding: 12px 0;
}
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--orange);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 1px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
  font-family: 'Montserrat', sans-serif;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 9px 18px !important;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Nav Dropdown (More) ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--navy);
  border-radius: 10px;
  min-width: 180px;
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px !important;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.8) !important;
  border-radius: 0 !important;
  transition: all 0.2s ease;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  padding-left: 24px !important;
}

/* ── Header Search Bar ── */
.nav-search {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 320px;
  margin: 0 20px;
}
.nav-search-icon {
  position: absolute;
  left: 12px;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
}
.nav-search-input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition: all 0.3s ease;
}
.nav-search-input::placeholder { color: rgba(255,255,255,0.4); }
.nav-search-input:focus {
  background: rgba(255,255,255,0.1);
  border-color: rgba(247,108,27,0.5);
  box-shadow: 0 0 0 3px rgba(247,108,27,0.12);
}
@media (max-width: 900px) {
  .nav-search { display: none; }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0A1F44 0%, #132a5a 50%, #0d2550 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,108,27,0.15);
  border: 1px solid rgba(247,108,27,0.4);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.hero-title .accent { color: var(--orange); }
.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-desc strong { color: var(--orange); }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-float-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 20px;
  animation: float 4s ease-in-out infinite;
}
.hero-float-card .icon {
  width: 44px; height: 44px;
  background: var(--orange);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-float-card .label { font-size: 0.7rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.hero-float-card .value { font-family: 'Montserrat',sans-serif; font-weight: 700; color: var(--white); font-size: 1.05rem; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--orange);
  padding: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── About Snippet ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text .section-title { text-align: left; }
.about-features {
  list-style: none;
  margin: 24px 0 32px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.about-features li::before {
  content: '✓';
  width: 24px; height: 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-logo-big {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}
.about-logo-big span { color: var(--orange); }
.about-logo-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-top: 8px;
}
.about-gst {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gst-badge {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
}
.gst-badge .region {
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.gst-badge .gst-num {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  word-break: break-all;
}

/* ── Products Section ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.product-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,31,68,0.5), transparent);
}
.product-card-body { padding: 20px; }
.product-card-tag {
  display: inline-block;
  background: rgba(247,108,27,0.1);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.product-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Services Section ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8c42 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(247,108,27,0.3);
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-5px);
  border-color: rgba(247,108,27,0.4);
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.why-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.875rem; line-height: 1.6; }

/* ── Offices ── */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.office-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.office-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.office-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.office-card h3 { font-size: 1rem; margin-bottom: 8px; }
.office-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.office-tag {
  display: inline-block;
  background: var(--gray);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 10px;
  transition: gap var(--transition);
}
.maps-link:hover { gap: 10px; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(247,108,27,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem,4vw,2.2rem);
  margin-bottom: 12px;
}
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 1rem; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 22px;
  color: var(--white);
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}
.cta-action-item:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
}

/* ── Footer ── */
.footer {
  background: #0d0d0d;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 16px 0 20px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--orange); color: var(--white); }
.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--orange);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-contact span.icon { flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.page-banner h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a { color: var(--orange); text-decoration: none; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 16px;
}
.gallery-item {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.02); }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  transition: border-color var(--transition);
  background: var(--white);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.875rem; }
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-error { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* ── About Timeline ── */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-year {
  width: 80px;
  height: 80px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 4px solid var(--orange);
  margin: 0 auto;
  align-self: flex-start;
}
.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.timeline-content h3 { font-size: 1rem; margin-bottom: 6px; }
.timeline-content p { font-size: 0.875rem; color: var(--text-muted); }

/* ── Spare Parts Tabs ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Montserrat', sans-serif;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ── Machines Detail ── */
.machine-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: grid;
  grid-template-columns: 300px 1fr;
}
.machine-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.machine-img {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  min-height: 200px;
}
.machine-body { padding: 28px; }
.machine-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.machine-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}
.feature-tag::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── Nav Logo Image ── */
.nav-logo-img {
  transition: height 0.3s ease;
}
#navbar.scrolled .nav-logo-img {
  height: 36px !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}

@media (max-width: 768px) {
  .section-padding { padding: 55px 0; }
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--navy); padding: 80px 20px 30px; overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,0.3); gap: 4px; z-index: 999; transform: translateX(100%); transition: transform 0.35s ease; }
  .nav-menu.open { display: flex; transform: translateX(0); }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.05); box-shadow: none; border: none; border-radius: 8px; margin-top: 4px; }
  .nav-dropdown-toggle span { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .machine-card { grid-template-columns: 1fr; }
  .machine-img { min-height: 180px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .timeline::before { left: 40px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: column; padding-left: 90px; }
  .timeline-year { position: absolute; left: 0; }
  .hero-title { font-size: 3rem; }
  .about-gst { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:last-child { border-bottom: none; }
}

/* =========================================================================
   Mobile Sidebar Drawer (Dark Premium DZanT Inspired)
   ========================================================================= */

/* Hide desktop menu on mobile */
@media (max-width: 900px) {
  .desktop-menu { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
}

/* Hide mobile menu button on desktop */
@media (min-width: 901px) {
  .mobile-menu-btn { display: none !important; }
  .mobile-sidebar { display: none !important; }
  .mobile-sidebar-overlay { display: none !important; }
}

.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: #121212;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0,0,0,0.5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  border-left: 1px solid #2a2a2a;
}

.mobile-sidebar.active {
  right: 0;
}

.mobile-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #2a2a2a;
  background: rgba(255,255,255,0.03);
}

.mobile-sidebar-header img {
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

.mobile-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s ease;
}

.mobile-close:hover {
  background: rgba(255,255,255,0.2);
}

.mobile-sidebar-content {
  flex-grow: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.sidebar-section a {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.sidebar-section a:last-child {
  border-bottom: none;
}

.sidebar-section a svg {
  margin-right: 15px;
  color: #ff6b00; /* KNIT AID Orange accent */
  transition: transform 0.3s ease;
}

.sidebar-section a:hover,
.sidebar-section a.active {
  color: #fff;
  padding-left: 8px;
}

.sidebar-section a:hover svg {
  transform: translateX(3px);
}

.mobile-sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid #2a2a2a;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-call {
  background: transparent;
  border: 1px solid #ff6b00;
  color: #ff6b00;
}

.btn-call:hover {
  background: rgba(255, 107, 0, 0.1);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background: #20bd5a;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.product-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,28,60,0.3) 0%, rgba(0,28,60,0.85) 100%);
}

.product-hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 40px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.product-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumb a:hover {
  color: #F76C1B;
}

.product-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F76C1B, #ff9553);
  color: #fff;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.product-category-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 16px;
  margin-bottom: 10px;
  margin-left: 6px;
  backdrop-filter: blur(6px);
}

.product-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Product Detail Grid */
.product-detail {
  background: #f8fafc;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-img-box {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,28,60,0.08);
  border: 1px solid rgba(0,28,60,0.06);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-img-box:hover img {
  transform: scale(1.05);
}

.product-img-placeholder {
  background: linear-gradient(135deg, #001C3C, #003366);
}

.product-img-placeholder span {
  font-size: 5rem;
}

.product-detail-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #001C3C;
  margin-bottom: 16px;
}

.product-description {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Features */
.product-features-section {
  margin-bottom: 28px;
}

.product-features-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001C3C;
  margin-bottom: 14px;
}

.product-features-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-features-list li {
  font-size: 0.92rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0,28,60,0.06);
  transition: background 0.2s;
}

.product-features-list li:hover {
  background: #f1f5f9;
}

.feature-check {
  color: #10b981;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* CTA Group */
.product-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
}

.btn-outline-navy {
  background: transparent;
  color: #001C3C;
  border: 2px solid #001C3C;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-navy:hover {
  background: #001C3C;
  color: #fff;
}

/* Trust Badges */
.product-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,28,60,0.06);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.trust-item span {
  font-size: 1.2rem;
}

/* Related Products */
.bg-gray {
  background: #f0f4f8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,28,60,0.06);
  border: 1px solid rgba(0,28,60,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,28,60,0.12);
}

.product-card-img {
  height: 180px;
  background: linear-gradient(135deg, #001C3C, #003366);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.product-card-body {
  padding: 18px;
}

.product-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #001C3C;
  margin-bottom: 6px;
}

.product-card-body p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.product-card-tag {
  display: inline-block;
  background: #FFF3E8;
  color: #F76C1B;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.8rem;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE SEARCH BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.mobile-search-wrapper {
  display: none;
}

@media (max-width: 768px) {
  .mobile-search-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 180px;
    margin-left: 8px;
  }

  .mobile-search-wrapper form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 4px 10px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.2s, border-color 0.2s;
  }

  .mobile-search-wrapper form:focus-within {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
  }

  .mobile-search-wrapper input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.78rem;
    outline: none;
    width: 100%;
    padding: 4px 0;
  }

  .mobile-search-wrapper input::placeholder {
    color: rgba(255,255,255,0.55);
  }

  .mobile-search-wrapper .search-icon {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-right: 6px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — PRODUCT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .product-hero-title {
    font-size: 1.6rem;
  }

  .product-hero-content {
    padding: 60px 0 28px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-features-list {
    grid-template-columns: 1fr;
  }

  .product-cta-group {
    flex-direction: column;
  }

  .product-cta-group .btn-lg {
    text-align: center;
    width: 100%;
  }

  .product-trust {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card-img {
    height: 120px;
    font-size: 2rem;
  }

  .product-card-body {
    padding: 12px;
  }

  .product-card-body h3 {
    font-size: 0.88rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE UI FIXES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Fix white space on page refresh */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Fix mobile sidebar footer cut-off */
@media (max-width: 768px) {
  .mobile-sidebar {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}
