/* ========================================================
   AVINASHI STEEL & AVINASHI TMT - OFFICIAL MASTER STYLESHEET
   "जब नींव हो अविनाशी तो इमारत बने विश्वासी"
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800;900&family=Noto+Sans+Devanagari:wght@500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-red: #D81B1B;
  --primary-red-hover: #B81414;
  --primary-red-dark: #8F0D0D;
  --primary-red-subtle: rgba(216, 27, 27, 0.08);
  --primary-red-border: rgba(216, 27, 27, 0.25);
  
  --black: #0B0D11;
  --black-elevated: #12161E;
  --charcoal: #1C222B;
  --charcoal-light: #28303D;
  
  --steel: #4F5B6E;
  --steel-light: #8C9BAE;
  --steel-border: #D1D8E0;
  --steel-border-dark: #2A3342;
  
  --white: #FFFFFF;
  --light-grey: #F4F6F9;
  --light-grey-alt: #EBF0F5;
  --text-muted: #64748B;
  --text-dark: #1E293B;
  
  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', sans-serif;
  
  /* Layout */
  --container-width: 1280px;
  --header-height: 88px;
  --header-height-scrolled: 74px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.18);
  --shadow-red: 0 8px 24px rgba(216, 27, 27, 0.28);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--black);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 700; }

p {
  margin-bottom: 1.25rem;
  color: #475569;
}

p:last-child {
  margin-bottom: 0;
}

.hindi-tagline {
  font-family: var(--font-devanagari);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hindi-tagline .highlight-red {
  color: var(--primary-red);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-red);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-red);
}

.section-label.light-label {
  color: #FF5A5A;
}
.section-label.light-label::before {
  background-color: #FF5A5A;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-desc {
  max-width: 680px;
  font-size: 1.05rem;
  color: #64748B;
  margin-bottom: 2.5rem;
}

.section-desc.center {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-red { color: var(--primary-red) !important; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-padding-sm {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Background Variations */
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-grey); }
.bg-dark { background-color: var(--black); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-dark p { color: #94A3B8; }
.bg-charcoal { background-color: var(--charcoal); color: var(--white); }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 { color: var(--white); }
.bg-charcoal p { color: #94A3B8; }
.bg-steel { background-color: #1A222D; color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.08s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 3px;
}

/* Metallic Shimmer Effect */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: rotate(30deg) translateY(-120%);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

.btn:hover::after {
  transform: rotate(30deg) translateY(120%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red) 0%, #B91C1C 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(216, 27, 27, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-red-hover) 0%, var(--primary-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216, 27, 27, 0.45);
  color: var(--white);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.btn-dark {
  background-color: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--black);
  border: 1.5px solid var(--steel-border);
}

.btn-outline-dark:hover {
  border-color: var(--black);
  background-color: var(--black);
  color: var(--white);
}

.btn-outline-red {
  background-color: transparent;
  color: var(--primary-red);
  border: 1.5px solid var(--primary-red);
}

.btn-outline-red:hover {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.8rem;
  min-height: 40px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 0.95rem;
  min-height: 52px;
}

/* Tactile Ripple Wave */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleWave 0.6s cubic-bezier(0, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes rippleWave {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(11, 13, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(11, 13, 17, 0.98);
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(216, 27, 27, 0.3);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

.site-header.scrolled .brand-logo-img {
  height: 48px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: 0.04em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--primary-red);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 10px 0;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  pointer-events: none;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-wrapper:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #CBD5E1;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: rgba(216, 27, 27, 0.15);
  color: var(--white);
  padding-left: 24px;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger Toggle Button */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--white);
  transition: all var(--transition);
}

.hamburger-btn.is-active .line-1 {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-active .line-2 {
  opacity: 0;
}
.hamburger-btn.is-active .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--black);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #E2E8F0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: rgba(216, 27, 27, 0.15);
  color: var(--white);
  padding-left: 18px;
}

.mobile-nav-link.active {
  border-left: 3px solid var(--primary-red);
}

.mobile-drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ========================================================
   PAGE BANNER / INNER HERO
   ======================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 80px;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 13, 17, 0.95) 0%, rgba(28, 34, 43, 0.88) 100%);
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

.breadcrumbs a:hover {
  color: var(--primary-red);
}

.breadcrumb-separator {
  color: #64748B;
}

.page-hero-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ========================================================
   HOMEPAGE FULLSCREEN HERO SLIDER
   ======================================================== */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--black);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-slides-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62) contrast(1.12);
  transform: scale(1);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-bg-img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 17, 0.94) 0%,
    rgba(11, 13, 17, 0.78) 52%,
    rgba(11, 13, 17, 0.45) 100%
  );
  z-index: 2;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(216, 27, 27, 0.2) 0%, transparent 65%);
  z-index: 3;
}

.home-hero .container {
  position: relative;
  z-index: 4;
  padding-top: 40px;
  padding-bottom: 70px;
  width: 100%;
}

.hero-content {
  max-width: 840px;
}

/* Staggered text entry animations on active slide */
.hero-slide.active .hero-badge {
  animation: heroItemFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-slide.active .hero-title {
  animation: heroItemFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-slide.active .hero-subtext {
  animation: heroItemFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-slide.active .hero-tagline-box {
  animation: heroItemFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-slide.active .hero-cta-group {
  animation: heroItemFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

@keyframes heroItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-red);
}

.hero-badge-text {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-title {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-title span.text-highlight {
  color: var(--primary-red);
  display: block;
}

.hero-subtext {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin-bottom: 24px;
  max-width: 680px;
  line-height: 1.6;
}

.hero-tagline-box {
  display: inline-block;
  padding: 12px 22px;
  background: rgba(28, 34, 43, 0.9);
  border-left: 4px solid var(--primary-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-tagline-text {
  font-family: var(--font-devanagari);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* --- Hero Slider Navigation & Controls --- */
.hero-slider-nav {
  position: absolute;
  bottom: 40px;
  right: 5%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(28, 34, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-nav-arrow:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(216, 27, 27, 0.4);
}

.hero-nav-arrow:active {
  transform: scale(0.94);
}

.hero-slider-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hero-indicator-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-indicator-dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--primary-red);
  box-shadow: 0 0 10px rgba(216, 27, 27, 0.7);
}

/* Slide Counter Display */
.hero-slider-counter {
  position: absolute;
  top: calc(var(--header-height) + 24px);
  right: 5%;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-heading);
  color: #94A3B8;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  background: rgba(11, 13, 17, 0.75);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-slider-counter .counter-current {
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFF;
}

.hero-slider-counter .counter-divider {
  opacity: 0.5;
}

.hero-slider-counter .counter-total {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Auto-play Progress Bar */
.hero-slider-progressbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-red), #F87171);
  box-shadow: 0 0 10px var(--primary-red);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background-color: var(--primary-red);
  border-radius: 2px;
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ========================================================
   CARDS & GRIDS
   ======================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Why Avinashi Cards */
.feature-card {
  background-color: var(--white);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-lg);
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #CBD5E1;
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.feature-card:hover .feature-number {
  color: var(--primary-red);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: var(--light-grey);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary-red);
  color: var(--white);
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Product Cards */
.product-card {
  background-color: var(--white);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(216, 27, 27, 0.4);
}

.product-image-box {
  position: relative;
  height: 240px;
  background-color: #11151C;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-grade-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary-red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.product-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.product-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.product-spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.spec-pill {
  font-size: 0.78rem;
  background-color: var(--light-grey);
  color: var(--charcoal);
  border: 1px solid var(--steel-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.product-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* Process Timeline (Manufacturing) */
.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.timeline-step-card {
  background-color: var(--charcoal);
  border: 1px solid var(--steel-border-dark);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
  transition: all var(--transition);
}

.timeline-step-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-4px);
}

.timeline-step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 12px;
}

.timeline-step-title {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.timeline-step-desc {
  font-size: 0.88rem;
  color: #94A3B8;
}

/* Quality Testing Grid */
.testing-card {
  background-color: var(--charcoal);
  border: 1px solid var(--steel-border-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}

.testing-card:hover {
  border-color: var(--primary-red);
  background-color: #222B37;
  transform: translateY(-4px);
}

.testing-icon {
  width: 44px;
  height: 44px;
  color: var(--primary-red);
  margin-bottom: 16px;
}

.testing-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.testing-desc {
  font-size: 0.9rem;
  color: #94A3B8;
}

/* Counter Statistics */
.counter-box {
  text-align: center;
  padding: 32px 20px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.counter-value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-value span.accent {
  color: var(--primary-red);
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1;
}

/* Applications Cards */
.application-card {
  position: relative;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.application-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.application-card:hover .application-img {
  transform: scale(1.08);
}

.application-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(11, 13, 17, 0.95) 0%,
    rgba(11, 13, 17, 0.6) 50%,
    rgba(11, 13, 17, 0.2) 100%
  );
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.application-title {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.application-desc {
  color: #CBD5E1;
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.application-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-red);
}

.application-link:hover {
  color: var(--white);
}

/* News / Media Cards */
.media-card {
  background-color: var(--white);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(216, 27, 27, 0.3);
}

.media-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #11151C;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.media-card:hover .media-thumb img {
  transform: scale(1.05);
}

.media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.media-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.media-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.media-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.media-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-top: auto;
}

/* ========================================================
   FILTER TABS & GALLERY LIGHTBOX
   ======================================================== */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background-color: var(--light-grey);
  color: var(--text-dark);
  border: 1px solid var(--steel-border);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 17, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.gallery-item-caption {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 7, 10, 0.94);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: 24px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-caption {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background-color: var(--primary-red);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background-color: var(--primary-red);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ========================================================
   TABLES & TECHNICAL DATA
   ======================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--steel-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  text-align: left;
}

.tech-table th {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  border-bottom: 2px solid var(--primary-red);
}

.tech-table td {
  padding: 14px 20px;
  font-size: 0.92rem;
  color: var(--text-dark);
  border-bottom: 1px solid #E2E8F0;
}

.tech-table tr:nth-child(even) td {
  background-color: var(--light-grey);
}

.tech-table tr:hover td {
  background-color: rgba(216, 27, 27, 0.04);
}

/* ========================================================
   FORMS & INPUTS
   ======================================================== */
.form-card {
  background-color: var(--white);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-label span.req {
  color: var(--primary-red);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--steel-border);
  border-radius: var(--radius-sm);
  background-color: var(--light-grey);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(216, 27, 27, 0.12);
}

.form-control.is-invalid {
  border-color: #E11D48;
  background-color: #FFF1F2;
}

.form-feedback {
  font-size: 0.8rem;
  color: #E11D48;
  margin-top: 5px;
  display: none;
}

.form-control.is-invalid + .form-feedback {
  display: block;
}

.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-alert.success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-alert.error {
  background-color: #FFF1F2;
  color: #9F1239;
  border: 1px solid #FECDD3;
}

/* ========================================================
   ACCORDION (FAQ / SPECIFICATIONS)
   ======================================================== */
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border: 1px solid var(--steel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  transition: border-color var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--primary-red);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
}

.accordion-header:hover {
  background-color: var(--light-grey);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary-red);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  padding: 0 24px;
  color: var(--text-muted);
}

.accordion-item.active .accordion-body {
  padding-bottom: 24px;
}

/* ========================================================
   CALL TO ACTION STRIPS
   ======================================================== */
.cta-strip-red {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-strip-red h2, .cta-strip-red p {
  color: var(--white);
}

.cta-strip-dark {
  background-color: var(--black);
  border-top: 3px solid var(--primary-red);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text-side {
  max-width: 680px;
}

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer {
  background-color: var(--black);
  color: #94A3B8;
  padding-top: 80px;
  border-top: 4px solid var(--primary-red);
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  padding-right: 20px;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-devanagari);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-icon {
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--primary-red);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-4px);
}
