/* ==========================================================================
   JRT HINDUSTAN AGRO - ENTERPRISE MULTI-PAGE STYLESHEET
   Domain: jrthindustanagro.com | Reference: shaktimanagro.com
   Brand Colors: JRT Forest Emerald (#058F44), Saffron Orange (#F26522), Ashok Navy (#002B7F)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Oswald:wght@400;700;800&family=Barlow+Condensed:wght@400;700&display=swap');

@font-face {
  font-family: 'Display';
  font-weight: 800;
  font-style: normal;
  font-display: block;
  ascent-override: 99.9%;
  descent-override: 20.1%;
  line-gap-override: 0%;
  src: local('Oswald-ExtraBold'), local('Oswald Bold'), local('Bebas Neue'), local('Impact'), local('Arial Narrow Bold');
}
@font-face {
  font-family: 'UI';
  font-weight: 700;
  font-style: normal;
  font-display: block;
  ascent-override: 95%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  src: local('Oswald Bold'), local('Oswald'), local('Barlow Condensed Bold'), local('Barlow Condensed'), local('Arial Narrow Bold');
}
@font-face {
  font-family: 'UI';
  font-weight: 400;
  font-style: normal;
  font-display: block;
  ascent-override: 95%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  src: local('Oswald Regular'), local('Oswald'), local('Barlow Condensed Regular'), local('Barlow Condensed'), local('Arial Narrow');
}

/* --- Root Design System Tokens --- */
:root {
  --green-primary: #058f44;
  --green-dark: #036830;
  --green-deep: #024520;
  --green-light: #10b981;
  --green-soft: #ecfdf5;
  --green-glow: rgba(5, 143, 68, 0.28);
  --green-gradient: linear-gradient(135deg, #058f44 0%, #02632e 100%);

  --orange-primary: #f26522;
  --orange-dark: #d44d0c;
  --orange-light: #ff7e3d;
  --orange-soft: #fff7ed;
  --orange-glow: rgba(242, 101, 34, 0.28);
  --orange-gradient: linear-gradient(135deg, #ff7e3d 0%, #f26522 100%);

  --tricolor-gradient: linear-gradient(90deg, #f26522 0%, #f26522 35%, #ffffff 35%, #ffffff 65%, #058f44 65%, #058f44 100%);
  --blue-chakra: #002b7f;
  --gold-accent: #f59e0b;

  --dark-950: #070d17;
  --dark-900: #0d1726;
  --dark-800: #14233a;
  --dark-700: #1e3352;
  
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 23, 38, 0.08);
  --shadow-lg: 0 16px 36px rgba(13, 23, 38, 0.12);
  --shadow-xl: 0 24px 50px rgba(13, 23, 38, 0.16);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

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

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-900);
}

.gradient-text-orange {
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-green {
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--green-soft);
  color: var(--green-primary);
  border: 1px solid rgba(5, 143, 68, 0.2);
  margin-bottom: 0.85rem;
}

.section-badge.orange-badge {
  background-color: var(--orange-soft);
  color: var(--orange-dark);
  border-color: rgba(242, 101, 34, 0.25);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange-gradient);
  color: var(--white);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 101, 34, 0.4);
}

.btn-green {
  background: var(--green-gradient);
  color: var(--white);
  box-shadow: 0 4px 16px var(--green-glow);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 143, 68, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark-900);
  border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-2px);
}

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

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

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

.pulse-animation {
  position: relative;
}

.pulse-animation::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  opacity: 0.4;
  animation: pulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: -1;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: var(--dark-950);
  color: var(--gray-300);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item svg {
  color: var(--orange-primary);
  width: 15px;
  height: 15px;
}

.top-bar-item a:hover {
  color: var(--white);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.gov-subsidy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, rgba(242, 101, 34, 0.15), rgba(5, 143, 68, 0.15));
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(242, 101, 34, 0.4);
  color: var(--orange-light);
  font-weight: 600;
  font-size: 0.78rem;
}

.gov-subsidy-pill span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 6px var(--green-light);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ==========================================================================
   SHAKTIMAN-STYLE PINNED SIDEBAR ENQUIRY TAB
   ========================================================================== */
.side-pinned-enquiry {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--orange-gradient);
  color: var(--white);
  padding: 0.85rem 0.65rem 0.85rem 0.85rem;
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 0 20px rgba(242, 101, 34, 0.45);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.side-pinned-enquiry:hover {
  padding-left: 1.1rem;
  background: linear-gradient(135deg, #ff8a4c 0%, #e05310 100%);
  box-shadow: -6px 0 25px rgba(242, 101, 34, 0.6);
}

.side-pinned-enquiry svg {
  width: 20px;
  height: 20px;
}

.side-pinned-enquiry span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   MAIN NAVIGATION & ENTERPRISE MEGA-MENU (SHAKTIMAN GRADE)
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1560px !important;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  flex-wrap: nowrap !important;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2.2rem;
}

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

.brand-logo-img:hover {
  transform: scale(1.02);
}

/* Nav Menu Structure - STRICT SINGLE LINE & PERFECT ALIGNMENT */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--dark-800);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.1rem;
  position: relative;
  white-space: nowrap !important;
  line-height: 1;
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--orange-gradient);
  border-radius: 4px;
  transition: var(--transition-fast);
}

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

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

/* Simple Standard Dropdown (About Us, Crop Solutions, Media) */
.simple-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition-normal);
  z-index: 1010;
}

.nav-item:hover .simple-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.simple-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-fast);
}

.simple-dropdown-link:hover {
  background: var(--gray-50);
  color: var(--orange-primary);
  padding-left: 1.65rem;
}

.simple-dropdown-link svg {
  color: var(--green-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- ENTERPRISE MEGA-MENU (OUR PRODUCTS) --- */
.mega-menu-wrapper {
  position: absolute;
  top: 100%;
  left: -220px;
  width: 1020px;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--orange-primary);
  padding: 2rem 2.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition-normal);
  z-index: 1020;
}

.nav-item:hover .mega-menu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 2rem;
}

/* Mega-Menu Left: Solution Verticals Navigation */
.mega-menu-categories {
  border-right: 1px solid var(--gray-200);
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-800);
  transition: var(--transition-fast);
}

.mega-cat-item:hover, .mega-cat-item.active {
  background: var(--green-soft);
  color: var(--green-primary);
}

.mega-cat-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* Mega-Menu Center: Product Sub-Items */
.mega-menu-products-col {
  display: flex;
  flex-direction: column;
}

.mega-column-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gray-100);
}

.mega-product-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mega-product-link-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem;
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
}

.mega-product-link-card:hover {
  background: var(--gray-50);
}

.mega-product-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-product-icon.green {
  background: var(--green-soft);
  color: var(--green-primary);
}

.mega-product-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 0.15rem;
}

.mega-product-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.3;
}

/* Mega-Menu Right: Featured Highlight Card (Shaktiman Style) */
.mega-featured-card {
  background: linear-gradient(135deg, var(--gray-50) 0%, #fff7ed 100%);
  border: 1px solid rgba(242, 101, 34, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mega-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--orange-primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.mega-card-img-wrap {
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.mega-card-img-wrap img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.mega-featured-card:hover .mega-card-img-wrap img {
  transform: scale(1.08);
}

.mega-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 0.25rem;
}

.mega-card-desc {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.mega-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.mega-card-link:hover {
  color: var(--orange-dark);
  gap: 0.5rem;
}

/* Nav Actions Right - SINGLE LINE ALIGNMENT */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  margin-left: auto;
}

.search-trigger-btn {
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-800);
  transition: var(--transition-fast);
}

.search-trigger-btn:hover {
  background: var(--gray-100);
  color: var(--orange-primary);
}

.phone-quick-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark-900);
  background: var(--gray-100);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  transition: var(--transition-fast);
}

.phone-quick-btn svg {
  color: var(--green-primary);
  width: 16px;
  height: 16px;
}

.phone-quick-btn:hover {
  background: var(--green-soft);
  color: var(--green-primary);
  border-color: var(--green-primary);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  padding: 0.5rem;
  color: var(--dark-900);
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   LIVE SEARCH MODAL (POPUP)
   ========================================================================== */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.search-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.search-box-card {
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-20px);
  transition: var(--transition-normal);
}

.search-modal-backdrop.open .search-box-card {
  transform: translateY(0);
}

.search-input-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.search-input-header svg {
  color: var(--orange-primary);
  width: 24px;
  height: 24px;
}

.search-main-input {
  width: 100%;
  font-size: 1.2rem;
  color: var(--dark-900);
  font-weight: 500;
}

.search-close-btn {
  background: none;
  font-size: 1.4rem;
  color: var(--gray-400);
  cursor: pointer;
}

.search-close-btn:hover {
  color: var(--dark-900);
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 1rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  transition: var(--transition-fast);
}

.search-result-item:hover {
  background: var(--green-soft);
  color: var(--green-primary);
}

/* ==========================================================================
   PAGE HERO BANNER (FOR MULTI-PAGE TEMPLATES)
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--dark-950);
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 13, 23, 0.95) 0%, rgba(7, 13, 23, 0.75) 100%);
}

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

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

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

.page-hero-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ==========================================================================
   ENTERPRISE HERO SLIDER & FREIGHT VIDEO HERO SECTION
   ========================================================================== */
.hero-slider-section,
.hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 720px;
  max-height: 960px;
  background: #0a0b0c;
  overflow: hidden;
  padding: 0;
  display: block;
}

/* Individual Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  z-index: 1;
}

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

/* --------------------------------------------------------------------------
   SLIDE 1: STANDALONE-ACCURACY FREIGHT HERO (PROMPT SPECIFICATION)
   -------------------------------------------------------------------------- */
.freight-slide {
  --cream: #F7F5EF;
  --white: #F9F9F9;
  --ink: rgba(255, 255, 255, .88);
  --accent: #D6523A;
  --s: min((100vh - 120px) / 800, 100vw / 716);
  --cover: max(100vw / 1280, (100vh - 120px) / 800);
  background: #0a0b0c;
  font-kerning: none;
  font-variant-ligatures: none;
  font-feature-settings: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.freight-slide .frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0b0c;
}

.freight-slide video.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0a0b0c;
}

.freight-slide .tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.118) 0%,
    rgba(0, 0, 0, 0.092) 11%,
    rgba(0, 0, 0, 0.083) 20%,
    rgba(0, 0, 0, 0.079) 29%,
    rgba(0, 0, 0, 0.014) 37.5%,
    rgba(0, 0, 0, 0.016) 46%,
    rgba(0, 0, 0, 0.043) 55%,
    rgba(0, 0, 0, 0.058) 64%,
    rgba(0, 0, 0, 0.062) 73%,
    rgba(0, 0, 0, 0.080) 81%,
    rgba(0, 0, 0, 0.090) 90%,
    rgba(0, 0, 0, 0.095) 100%
  );
}

.freight-slide .stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 800px;
  margin: -400px 0 0 -640px;
  transform: scale(var(--s));
  transform-origin: 50% 50%;
}

/* Eyebrow */
.freight-slide .eyebrow {
  position: absolute;
  left: 0;
  top: 67.8px;
  width: 1280px;
  margin: 0;
  font: 700 7.4px/7.4px 'UI', system-ui, sans-serif;
  word-spacing: 0.522px;
  text-align: center;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  letter-spacing: 2.252px;
  text-indent: 2.252px;
}

.freight-slide .eyebrow span {
  position: relative;
  display: block;
  left: -0.9px;
}

/* Headline */
.freight-slide .headline {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  margin: 0;
  font: 800 61.74px/61.74px 'Display', system-ui, sans-serif;
  word-spacing: 2.691px;
  text-align: center;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 15px 36px rgba(0, 0, 0, 0.50);
}

.freight-slide .headline span {
  position: absolute;
  left: 0;
  width: 1280px;
  display: block;
  white-space: nowrap;
}

.freight-slide .headline .hl1 {
  top: 83.62px;
  letter-spacing: -0.075px;
  left: 0.45px;
  text-indent: -0.075px;
}

.freight-slide .headline .hl2 {
  top: 137.02px;
  letter-spacing: -1.237px;
  text-indent: -1.237px;
}

.freight-slide .headline .hl3 {
  top: 187.97px;
  letter-spacing: -0.237px;
  left: 1.8px;
  text-indent: -0.237px;
}

.freight-slide .headline .hl4 {
  top: 247.92px;
  letter-spacing: -0.487px;
  left: 1.35px;
  text-indent: -0.487px;
}

/* Accent mark SVG */
.freight-slide .mark {
  position: absolute;
  left: 549.5px;
  top: 493.6px;
  width: 52px;
  height: 52px;
  overflow: visible;
}

/* Left Feature */
.freight-slide .f-left {
  position: absolute;
  text-align: right;
  right: 748.5px;
  top: 0;
}

.freight-slide .f-left .icon {
  position: absolute;
  right: -4.5px;
  top: 549.5px;
  width: 35px;
  height: 34px;
}

.freight-slide .f-left h2 {
  position: absolute;
  top: 617.68px;
  right: 0;
  margin: 0;
  font: 700 19.57px/20px 'UI', system-ui, sans-serif;
  word-spacing: 1.838px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.freight-slide .f-left h2 .t1 {
  letter-spacing: -0.109px;
}

.freight-slide .f-left h2 .t2 {
  letter-spacing: 0.246px;
}

.freight-slide .f-left p {
  position: absolute;
  top: 681.9px;
  right: 12px;
  margin: 0;
  font: 400 12.28px/15.1px 'UI', system-ui, sans-serif;
  word-spacing: -0.194px;
  color: var(--ink);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.freight-slide .f-left p .b1 {
  letter-spacing: -0.097px;
  left: 0.9px;
}

.freight-slide .f-left p .b2 {
  letter-spacing: -0.271px;
  left: 1.8px;
}

.freight-slide .f-left p .b3 {
  letter-spacing: -0.161px;
  left: 0.9px;
}

/* Right Feature */
.freight-slide .f-right {
  position: absolute;
  text-align: left;
  left: 748.5px;
  top: 0;
}

.freight-slide .f-right .icon {
  position: absolute;
  left: -3px;
  top: 547.5px;
  width: 35px;
  height: 38px;
}

.freight-slide .f-right h2 {
  position: absolute;
  top: 617.68px;
  left: 0;
  margin: 0;
  font: 700 19.57px/20px 'UI', system-ui, sans-serif;
  word-spacing: 1.838px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

.freight-slide .f-right h2 .t1 {
  letter-spacing: -0.354px;
  left: -0.9px;
}

.freight-slide .f-right h2 .t2 {
  letter-spacing: -0.154px;
}

.freight-slide .f-right p {
  position: absolute;
  top: 681.9px;
  left: 12px;
  margin: 0;
  font: 400 12.28px/15.1px 'UI', system-ui, sans-serif;
  word-spacing: -0.194px;
  color: var(--ink);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.freight-slide .f-right p .b1 {
  letter-spacing: -0.247px;
  left: -0.9px;
}

.freight-slide .f-right p .b2 {
  letter-spacing: -0.15px;
  left: -0.9px;
}

.freight-slide .f-right p .b3 {
  letter-spacing: -0.247px;
  left: -0.9px;
}

.freight-slide .feature h2 span,
.freight-slide .feature p span {
  position: relative;
  display: block;
  white-space: nowrap;
}

/* Entrance Animations */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.freight-slide.active .eyebrow {
    animation: riseIn 0.55s cubic-bezier(.33, .9, .35, 1) 0.15s both;
  }

  .hero-slide.freight-slide.active .headline .hl1 {
    animation: lineIn 0.9s cubic-bezier(.16, 1, .3, 1) 0.28s both;
  }

  .hero-slide.freight-slide.active .headline .hl2 {
    animation: lineIn 0.9s cubic-bezier(.16, 1, .3, 1) 0.37s both;
  }

  .hero-slide.freight-slide.active .headline .hl3 {
    animation: lineIn 0.9s cubic-bezier(.16, 1, .3, 1) 0.46s both;
  }

  .hero-slide.freight-slide.active .headline .hl4 {
    animation: lineIn 0.9s cubic-bezier(.16, 1, .3, 1) 0.55s both;
  }

  .hero-slide.freight-slide.active .mark {
    transform-origin: 50% 50%;
    animation: markIn 0.7s cubic-bezier(.2, .9, .25, 1) 0.72s both;
  }

  .hero-slide.freight-slide.active .f-left {
    animation: blockInL 0.75s cubic-bezier(.16, 1, .3, 1) 0.82s both;
  }

  .hero-slide.freight-slide.active .f-right {
    animation: blockInR 0.75s cubic-bezier(.16, 1, .3, 1) 0.90s both;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lineIn {
  0% {
    opacity: 0;
    transform: translateY(.26em);
    clip-path: inset(100% -30% 0% -30%);
  }
  35% {
    opacity: 1;
  }
  90% {
    clip-path: inset(0% -30% -100% -30%);
  }
  100% {
    opacity: 1;
    transform: none;
    clip-path: inset(-80% -30% -100% -30%);
  }
}

@keyframes markIn {
  from {
    opacity: 0;
    transform: scale(.88);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blockInL {
  from {
    opacity: 0;
    transform: translate(-12px, 8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blockInR {
  from {
    opacity: 0;
    transform: translate(12px, 8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive — Tablet Portrait for Freight Hero */
@media (min-width: 610px) and (max-aspect-ratio: 1/1) {
  .freight-slide {
    --u: min(100vw / 768, 100vh / 1024);
    --rail: clamp(120px, calc(var(--cover) * 219), 26vw);
  }

  .freight-slide .stage {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    transform: none;
    display: grid;
    grid-template-columns: 1fr var(--rail) 1fr;
    grid-template-rows: auto auto 1fr auto auto minmax(0, .38fr);
    padding: calc(46 * var(--u)) clamp(24px, 5.2vw, 72px) calc(24 * var(--u));
  }

  .freight-slide .eyebrow,
  .freight-slide .headline,
  .freight-slide .feature,
  .freight-slide .feature h2,
  .freight-slide .feature p,
  .freight-slide .feature .icon,
  .freight-slide .mark {
    position: static;
  }

  .freight-slide .eyebrow {
    grid-area: 1 / 1 / 2 / -1;
    width: auto;
    font-size: calc(11 * var(--u));
    line-height: calc(11 * var(--u));
    letter-spacing: .304em;
    text-indent: .304em;
    word-spacing: .07em;
    margin-bottom: calc(20 * var(--u));
  }

  .freight-slide .headline {
    grid-area: 2 / 1 / 3 / -1;
    width: auto;
    font-size: calc(84 * var(--u));
    line-height: .92;
    word-spacing: .0436em;
  }

  .freight-slide .headline span {
    position: static;
    width: auto;
    display: block;
    letter-spacing: -.012em;
    left: auto;
    top: auto;
    text-indent: 0;
  }

  .freight-slide .mark {
    grid-area: 4 / 1 / 5 / -1;
    justify-self: center;
    position: relative;
    right: 5%;
    width: calc(64 * var(--u));
    height: calc(64 * var(--u));
    margin-bottom: calc(16 * var(--u));
  }

  .freight-slide .f-left {
    grid-area: 5 / 1 / 6 / 2;
    text-align: right;
    right: auto;
    top: auto;
  }

  .freight-slide .f-right {
    grid-area: 5 / 3 / 6 / 4;
    text-align: left;
    left: auto;
    top: auto;
  }

  .freight-slide .feature .icon {
    display: block;
    width: calc(42 * var(--u));
    height: calc(46 * var(--u));
    margin-bottom: calc(14 * var(--u));
    left: auto;
    right: auto;
    top: auto;
  }

  .freight-slide .f-left .icon {
    margin-left: auto;
    margin-right: calc(-4.5 * var(--u));
  }

  .freight-slide .f-right .icon {
    margin-right: auto;
    margin-left: calc(-3 * var(--u));
  }

  .freight-slide .feature h2 {
    font-size: calc(22 * var(--u));
    line-height: 1.08;
    word-spacing: .094em;
    margin-bottom: calc(12 * var(--u));
    left: auto;
    right: auto;
    top: auto;
  }

  .freight-slide .feature h2 span {
    white-space: normal;
    letter-spacing: -.018em;
    left: auto;
    right: auto;
  }

  .freight-slide .feature p {
    font-size: calc(14.5 * var(--u));
    line-height: 1.34;
    word-spacing: -.016em;
    max-width: calc(310 * var(--u));
    left: auto;
    right: auto;
    top: auto;
  }

  .freight-slide .feature p span {
    display: inline;
    white-space: normal;
    letter-spacing: -.02em;
    left: auto;
    right: auto;
  }

  .freight-slide .f-left p {
    margin-left: auto;
    margin-right: calc(10 * var(--u));
  }

  .freight-slide .f-right p {
    margin-right: auto;
    margin-left: calc(10 * var(--u));
  }
}

/* Responsive — Phone for Freight Hero */
@media (max-width: 609px) {
  .hero-slider-section,
  .hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
  }

  .freight-slide {
    --u: min(100vw / 390, 100vh / 780);
    --u: min(100vw / 390, 100dvh / 780);
  }

  .freight-slide .stage {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    transform: none;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto 1fr auto auto auto minmax(0, .3fr);
    padding: calc(30 * var(--u)) max(calc(22 * var(--u)), env(safe-area-inset-right)) max(calc(32 * var(--u)), env(safe-area-inset-bottom)) max(calc(22 * var(--u)), env(safe-area-inset-left));
  }

  .freight-slide .eyebrow,
  .freight-slide .headline,
  .freight-slide .feature,
  .freight-slide .feature h2,
  .freight-slide .feature p,
  .freight-slide .feature .icon,
  .freight-slide .mark {
    position: static;
  }

  .freight-slide .eyebrow {
    grid-row: 1;
    width: auto;
    font-size: clamp(8px, calc(9.5 * var(--u)), 11px);
    line-height: clamp(8px, calc(9.5 * var(--u)), 11px);
    letter-spacing: .304em;
    text-indent: .304em;
    word-spacing: .07em;
    margin-bottom: calc(16 * var(--u));
  }

  .freight-slide .headline {
    grid-row: 2;
    width: auto;
    font-size: clamp(26px, min(11.6vw, calc(52 * var(--u))), 64px);
    line-height: .92;
    letter-spacing: -.012em;
    word-spacing: .0436em;
  }

  .freight-slide .headline span {
    position: static;
    width: auto;
    display: block;
    letter-spacing: -.012em;
    left: auto;
    top: auto;
    text-indent: 0;
  }

  .freight-slide .mark {
    grid-row: 4;
    justify-self: center;
    position: relative;
    right: 5%;
    width: clamp(38px, calc(46 * var(--u)), 54px);
    height: clamp(38px, calc(46 * var(--u)), 54px);
    margin-bottom: calc(18 * var(--u));
  }

  .freight-slide .f-left {
    grid-row: 5;
    margin-bottom: calc(26 * var(--u));
    text-align: right;
    right: auto;
    top: auto;
  }

  .freight-slide .f-right {
    grid-row: 6;
    text-align: left;
    left: auto;
    top: auto;
  }

  .freight-slide .feature .icon {
    display: block;
    width: clamp(26px, calc(34 * var(--u)), 40px);
    height: clamp(28px, calc(37 * var(--u)), 43px);
    left: auto;
    right: auto;
    top: auto;
  }

  .freight-slide .f-left .icon {
    margin-left: auto;
    margin-right: calc(-4 * var(--u));
  }

  .freight-slide .f-right .icon {
    margin-right: auto;
    margin-left: calc(-3 * var(--u));
  }

  .freight-slide .feature h2 {
    font-size: clamp(15px, calc(17 * var(--u)), 20px);
    line-height: 1.08;
    left: auto;
    right: auto;
    top: auto;
  }

  .freight-slide .feature h2 span {
    white-space: normal;
    left: auto;
    right: auto;
  }

  .freight-slide .feature p {
    font-size: clamp(11.5px, calc(13.5 * var(--u)), 14.5px);
    line-height: 1.36;
    max-width: calc(320 * var(--u));
    left: auto;
    right: auto;
    top: auto;
  }

  .freight-slide .feature p span {
    display: inline;
    white-space: normal;
    left: auto;
    right: auto;
  }

  .freight-slide .f-left p {
    margin-left: auto;
  }

  .freight-slide .f-right p {
    margin-right: auto;
  }
}

/* --------------------------------------------------------------------------
   SLIDES 2 & 3: AGRICULTURAL MACHINERY & SUBSIDY SLIDES
   -------------------------------------------------------------------------- */
.agri-slide,
.subsidy-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.04);
  animation: slowZoom 24s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 23, 0.92) 0%, rgba(7, 13, 23, 0.8) 55%, rgba(7, 13, 23, 0.35) 100%);
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(242, 101, 34, 0.2);
  border: 1px solid rgba(242, 101, 34, 0.45);
  color: var(--orange-light);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  margin-bottom: 2.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.hero-feature-item svg {
  color: var(--green-light);
  width: 18px;
  height: 18px;
}

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

/* --------------------------------------------------------------------------
   SLIDER INTERACTIVE CONTROLS (ARROWS, TABS, PROGRESS & FULLSCREEN PILL)
   -------------------------------------------------------------------------- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 11, 12, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
}

.slider-arrow:hover {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  box-shadow: 0 0 20px rgba(242, 101, 34, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.slider-prev {
  left: 24px;
}

.slider-arrow.slider-next {
  right: 24px;
}

/* Slider Bottom Tabs / Pagination */
.slider-tabs-container {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 11, 12, 0.75);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-tab {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.25s ease;
  position: relative;
}

.slider-tab .tab-index {
  font-family: 'Display', sans-serif;
  font-size: 0.88rem;
  color: var(--orange-primary);
  opacity: 0.8;
}

.slider-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.slider-tab.active .tab-index {
  opacity: 1;
}

.slider-tab .tab-progress {
  display: block;
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.slider-tab.active .tab-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--orange-primary);
  animation: progressFill 8s linear infinite;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Fullscreen Standalone Mode Pill */
.fullscreen-view-pill {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(10, 11, 12, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.fullscreen-view-pill:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(5, 143, 68, 0.4);
}

/* Quick Equipment Matcher Card on Hero Right */
.equipment-matcher-card {
  background: rgba(13, 23, 38, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.equipment-matcher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tricolor-gradient);
}

.matcher-header {
  margin-bottom: 1.5rem;
}

.matcher-header h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.matcher-header p {
  color: var(--gray-400);
  font-size: 0.88rem;
}

.matcher-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-select option {
  background: var(--dark-900);
  color: var(--white);
}

.form-select:focus, .form-input:focus {
  border-color: var(--orange-primary);
  background: rgba(255, 255, 255, 0.12);
}

.matcher-result-box {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(5, 143, 68, 0.15);
  border: 1px solid var(--green-primary);
  border-radius: var(--radius-sm);
  color: var(--white);
  animation: fadeIn 0.4s ease;
}

.matcher-result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 0.3rem;
}

.matcher-result-specs {
  font-size: 0.85rem;
  color: var(--gray-200);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   METRICS & STATS BAR
   ========================================================================== */
.stats-strip {
  background: var(--dark-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.stat-number span.accent {
  color: var(--orange-primary);
}

.stat-label {
  font-size: 0.92rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ==========================================================================
   ABOUT JRT HINDUSTAN AGRO SECTION
   ========================================================================== */
.about-section {
  padding: 6.5rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -24px;
  right: 20px;
  background: var(--white);
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 5px solid var(--orange-primary);
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1;
}

.exp-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.3;
}

.about-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
}

.pillar-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon-box.orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.pillar-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.86rem;
  color: var(--gray-500);
}

/* ==========================================================================
   PRODUCT CATALOG (INTERACTIVE CATEGORIES & CARDS)
   ========================================================================== */
.products-section {
  padding: 6.5rem 0;
  background-color: var(--gray-50);
}

.category-filters-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.category-tab-btn {
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  font-weight: 600;
  background: var(--white);
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition-fast);
}

.category-tab-btn:hover {
  background: var(--gray-100);
  color: var(--dark-900);
  border-color: var(--gray-300);
}

.category-tab-btn.active {
  background: var(--orange-gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px var(--orange-glow);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(242, 101, 34, 0.35);
}

.product-image-container {
  position: relative;
  height: 250px;
  background: var(--gray-100);
  overflow: hidden;
}

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

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

.product-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 23, 38, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

.subsidy-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--dark-900);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.specs-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  background: var(--gray-50);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.spec-chip {
  display: flex;
  flex-direction: column;
}

.spec-chip-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  font-weight: 600;
}

.spec-chip-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-900);
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* ==========================================================================
   FLAGSHIP SHOWCASE: JRT ROTAVATOR SERIES
   ========================================================================== */
.flagship-section {
  padding: 6.5rem 0;
  background: var(--dark-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.flagship-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.flagship-content p {
  color: var(--gray-300);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.flagship-features-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-item.active {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--orange-primary);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}

.accordion-trigger svg {
  color: var(--orange-primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.4rem;
}

.accordion-item.active .accordion-body {
  max-height: 180px;
  padding-bottom: 1.25rem;
}

.accordion-body p {
  color: var(--gray-400);
  font-size: 0.92rem;
  margin: 0;
}

.flagship-image-wrapper {
  position: relative;
  text-align: center;
}

.flagship-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flagship-glow-element {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.25) 0%, rgba(5, 143, 68, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(40px);
}

/* ==========================================================================
   SUBSIDY & EMI CALCULATOR SECTION
   ========================================================================== */
.subsidy-calculator-section {
  padding: 6rem 0;
  background: var(--white);
}

.calculator-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  box-shadow: var(--shadow-md);
}

.calc-inputs-col h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.calc-inputs-col p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.calc-slider-group {
  margin-bottom: 1.8rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.slider-val-badge {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange-dark);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-300);
  accent-color: var(--orange-primary);
  outline: none;
}

.calc-results-col {
  background: var(--dark-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calc-results-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-gradient);
}

.emi-highlight-box {
  text-align: center;
  margin: 1rem 0;
}

.emi-label {
  font-size: 0.88rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.emi-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--green-light);
}

.calc-savings-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.calc-savings-row:last-child {
  border-bottom: none;
}

.calc-savings-val {
  font-weight: 700;
  color: var(--white);
}

/* ==========================================================================
   MANUFACTURING & QUALITY ENGINEERING
   ========================================================================== */
.engineering-section {
  padding: 6.5rem 0;
  background: var(--gray-900);
  color: var(--white);
}

.engineering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.engineering-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 1.25rem;
}

.engineering-content p {
  color: var(--gray-300);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.engineering-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.eng-badge-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.eng-badge-item svg {
  color: var(--green-light);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.eng-badge-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
}

.eng-badge-desc {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.engineering-img-container {
  position: relative;
}

.engineering-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   FARMER TESTIMONIALS & SUCCESS STORIES
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  background: var(--white);
}

.testimonial-card-featured {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 3rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.farmer-portrait-box {
  position: relative;
}

.farmer-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.verified-buyer-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(5, 143, 68, 0.95);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.testimonial-quote-box blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
}

.quote-author h4 {
  font-size: 1.2rem;
  color: var(--dark-900);
  margin-bottom: 0.2rem;
}

.quote-author p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ==========================================================================
   DEALERSHIP NETWORK & BECOME A DEALER
   ========================================================================== */
.dealership-section {
  padding: 6.5rem 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.dealership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.dealership-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 1.25rem;
}

.dealership-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.dealer-perks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.dealer-perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}

.dealer-perk-item svg {
  color: var(--orange-light);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.dealer-apply-card {
  background: var(--white);
  color: var(--dark-900);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.dealer-apply-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.dealer-apply-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   CONTACT US & LOCATION SECTION
   ========================================================================== */
.contact-section {
  padding: 6.5rem 0;
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
}

.contact-info-col h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-info-col p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--orange-primary);
  transform: translateX(4px);
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrapper.green {
  background: var(--green-soft);
  color: var(--green-primary);
}

.contact-text-group h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-text-group p, .contact-text-group a {
  color: var(--gray-600);
  font-size: 0.94rem;
}

.contact-text-group a:hover {
  color: var(--orange-primary);
}

/* Embedded Map Styling */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  height: 240px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  padding: 2.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.input-light {
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  color: var(--dark-900);
}

.input-light:focus {
  background: var(--white);
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px var(--green-glow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark-950);
  color: var(--gray-400);
  padding-top: 5rem;
  border-top: 4px solid var(--orange-primary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(1.05);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--orange-primary);
  border-radius: 2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact-item svg {
  color: var(--orange-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 1.75rem 0;
  font-size: 0.88rem;
  color: var(--gray-500);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP, PHONE, BACK TO TOP)
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-whatsapp {
  background: #25d366;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.5;
  animation: pulseRing 2s infinite;
  z-index: -1;
}

.floating-phone {
  background: var(--orange-primary);
  box-shadow: 0 4px 18px rgba(242, 101, 34, 0.4);
}

.floating-backtop {
  background: var(--dark-900);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.floating-backtop.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   MODALS (PRODUCT DETAILS, DEMO ENQUIRY, TOAST NOTIFICATION)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 23, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content-card {
  background: var(--white);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-normal);
  padding: 2.5rem;
}

.modal-backdrop.open .modal-content-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gray-100);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gray-200);
  color: var(--dark-900);
}

/* Toast alert */
.toast-alert {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-900);
  color: var(--white);
  padding: 1rem 1.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--green-primary);
  z-index: 3000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-alert.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE BREAKPOINTS
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.appeared {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Media Queries --- */
@media (max-width: 1200px) {
  .mega-menu-wrapper {
    width: 900px;
    left: -150px;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-grid,
  .flagship-grid,
  .engineering-grid,
  .dealership-grid,
  .calculator-card,
  .testimonial-card-featured,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    border-top: 1px solid var(--gray-200);
    height: calc(100vh - 84px);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-item {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 1rem 0;
    justify-content: space-between;
  }

  .simple-dropdown, .mega-menu-wrapper {
    position: static;
    box-shadow: none;
    border: none;
    width: 100%;
    padding: 0 0 1rem 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.mobile-open .simple-dropdown,
  .nav-item.mobile-open .mega-menu-wrapper {
    display: block;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mega-menu-categories {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .calculator-card {
    padding: 1.8rem;
  }

  .side-pinned-enquiry {
    display: none;
  }
}

@media (max-width: 580px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
}
