/* ==========================================================================
   PROLITE COMMUNICATION - CORE STYLESHEET
   Brand Colors: Primary Red (#e31e24), Dark Slate (#111827), Pure White (#fff)
   ========================================================================== */

:root {
  --primary-red: #e31e24;
  --primary-red-hover: #c4151a;
  --primary-dark: #111827;
  --primary-slate: #1f2937;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ----------------- TOP BAR ----------------- */
/* ----------------- TOP BAR (MATCHING REFERENCE IMAGE 1) ----------------- */
.top-bar {
  background-color: #11141a;
  color: #94a3b8;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  max-width: 1440px !important;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-socials a {
  color: #94a3b8;
  font-size: 0.8125rem;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-socials a:hover {
  color: #ffffff;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-links a {
  color: #cbd5e1;
  font-size: 0.78125rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.top-links a:hover {
  color: #ffffff;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
  font-size: 0.78125rem;
  font-weight: 500;
  cursor: pointer;
}

.lang-selector i {
  font-size: 0.65rem;
  opacity: 0.8;
}

/* ----------------- MAIN HEADER & NAV ----------------- */
.main-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #f1f5f9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1440px !important;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 20px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo .logo-image,
.brand-logo img {
  height: 44px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
  display: block;
}

.brand-logo .logo-text-block {
  display: flex;
  flex-direction: column;
}

.brand-logo .logo-brand-row {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  line-height: 1.1;
  color: #0b0f19;
  text-transform: uppercase;
}

.brand-logo .logo-brand-row span {
  color: #0284c7;
  font-style: normal;
  font-weight: 800;
  margin-left: 3px;
}

.brand-logo .logo-company-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.2;
  margin-top: 2px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1e293b;
  padding: 24px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

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

.nav-link i.fa-angle-down {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-item:hover .nav-link i.fa-angle-down {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -200px;
  width: 960px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: none;
  z-index: 1010;
  overflow: hidden;
  animation: fadeIn 0.2s ease-out;
}

.nav-item:hover .mega-menu {
  display: flex;
}

/* Multi-column Dropdown Menus (Marketing, Solutions, Support, etc.) */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: none;
  z-index: 1010;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease-out;
}

.nav-item:hover .nav-dropdown {
  display: flex;
}

.nav-dropdown.dropdown-three-col {
  width: 680px;
  gap: 24px;
}

.nav-dropdown.dropdown-single-col {
  width: 320px;
  flex-direction: column;
  gap: 12px;
}

.nav-dropdown-col {
  flex: 1;
}

.nav-dropdown-col .col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-dropdown-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.nav-dropdown-link:hover {
  background-color: #fef2f2;
  color: var(--primary-red);
  padding-left: 12px;
}

.nav-dropdown-link i {
  font-size: 0.75rem;
  color: var(--primary-red);
  width: 14px;
}

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

.mega-menu-sidebar {
  width: 290px;
  background-color: #f8fafc;
  border-right: 1px solid var(--border-color);
  padding: 1.25rem 0;
  max-height: 480px;
  overflow-y: auto;
}

.mega-menu-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  font-weight: 700;
  padding: 0 1.25rem 0.75rem;
}

.mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mega-cat-item:hover, .mega-cat-item.active {
  background-color: #ffffff;
  color: var(--primary-red);
  border-left: 3px solid var(--primary-red);
}

.mega-cat-item i {
  font-size: 0.75rem;
  color: #94a3b8;
}

.mega-menu-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  gap: 24px;
}

.mega-subcat-column {
  flex: 1;
}

.mega-subcat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mega-subcat-link {
  font-size: 0.875rem;
  color: #475569;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-subcat-link:hover {
  background-color: #f1f5f9;
  color: var(--primary-red);
}

.mega-subcat-link i {
  font-size: 0.65rem;
  color: #94a3b8;
}

.mega-preview-card {
  width: 260px;
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-preview-card img {
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.mega-preview-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.mega-preview-card p {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Nav Search Icon Button (Matching Reference Image 1) */
.nav-search-item {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.nav-search-btn {
  background: transparent;
  border: none;
  color: #1e293b;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Header Collapsible Search Overlay */
.header-search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  display: none;
  z-index: 1005;
}

.header-search-overlay.open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.search-overlay-inner {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.search-icon-left {
  position: absolute;
  left: 2.25rem;
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}

.search-overlay-inner input {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 30px;
  padding: 10px 44px 10px 42px;
  font-size: 0.9375rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.search-overlay-inner input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.close-search-btn {
  position: absolute;
  right: 2.25rem;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
}

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

.header-search-overlay .search-dropdown {
  max-width: 800px;
  margin: 8px auto 0;
  padding: 0;
  position: static;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1020;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background-color: #f8fafc;
}

.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #f1f5f9;
}

.search-result-info h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
}

.search-result-info p {
  font-size: 0.75rem;
  color: #64748b;
}

.btn-primary {
  background-color: var(--primary-red);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 18px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(227, 30, 36, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(227, 30, 36, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

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

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ----------------- HERO BANNER CAROUSEL ----------------- */
.hero-slider-section {
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
  height: 400px; /* Reduced from 520px to sleek corporate widescreen proportion */
  border-bottom: 1px solid #e2e8f0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  background-color: #ffffff;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  display: flex;
  align-items: center;
}

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

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: none;
}

/* Overlays: Light Theme Slide (Made in India) vs Dark Theme Slide */
.hero-slide-overlay.overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 38%, rgba(255, 255, 255, 0.35) 65%, transparent 100%);
  pointer-events: none;
}

.hero-slide-overlay.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.65) 45%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  padding: 1rem 0;
}

.hero-content.content-light {
  color: #0f172a;
}

.hero-pretitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.2px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.6px;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.hero-title .flag-gradient {
  display: inline-block;
  background: linear-gradient(90deg, #ff9933 0%, #ff9933 45%, #138808 55%, #138808 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  padding: 0 4px;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: #475569;
  margin-bottom: 1.15rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Split Slide Layout (Solar Kit Banner - Matching Reference Image 1) */
.hero-split-slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
  padding: 1rem 0;
}

.hero-left-col {
  max-width: 580px;
}

.hero-clean-headline {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1e293b;
  letter-spacing: -0.6px;
  margin-bottom: 0.5rem;
}

.hero-clean-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.bharat-badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.bharat-made {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}

.bharat-icon {
  font-weight: 900;
  font-size: 1.25rem;
  color: #ff9933;
}

.bharat-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: -0.5px;
}

.hero-right-col {
  margin-right: 30px;
}

.hero-model-badge {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  padding: 12px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.hero-model-badge .model-code {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.hero-model-badge .model-desc {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  margin-top: 3px;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  display: none; /* Hidden to match clean corporate reference in Image 1 */
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  background: var(--primary-red);
  width: 24px;
  border-radius: 8px;
}

/* Floating Smart Training Badge (Matching Reference Image 1) */
.floating-training-tab {
  position: fixed;
  left: 14px;
  top: 48%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
}

.training-tab-btn {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 8px 16px 8px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.training-tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.55);
  color: #ffffff;
}

.training-tab-btn i {
  font-size: 0.95rem;
}

/* SHOW ALL Button in We Offer */
.btn-show-all {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.btn-show-all:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: #fff5f5;
}

/* ----------------- PROMOTIONS / WE OFFER SECTION ----------------- */
.section-padding {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 4px;
  line-height: 1.5;
}

.section-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
}

/* Split "We Offer" Layout: Left ezyKam+ Cloud Storage + Right 2x2 Grid */
.we-offer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.we-offer-cloud-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0effe 50%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.we-offer-cloud-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cloud-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cloud-card-title-wrap h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0369a1;
  line-height: 1.2;
}

.cloud-card-title-wrap h3 span {
  color: #0284c7;
}

.cloud-badge-new {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.cloud-brand-sub {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cloud-brand-sub span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
}

.cloud-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0.75rem 0 1.25rem;
}

.cloud-qr-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  width: 140px;
  box-shadow: var(--shadow-sm);
}

.cloud-qr-box img {
  width: 90px;
  height: 90px;
  margin: 0 auto 6px;
}

.cloud-qr-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  line-height: 1.2;
}

.cloud-art-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cloud-art-wrap img {
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(2, 132, 199, 0.2));
  animation: floatCloud 4s ease-in-out infinite;
}

@keyframes floatCloud {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cloud-pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cloud-price-pill {
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  color: #ffffff;
}

.cloud-price-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.pill-1m { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.pill-1y { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.pill-3y { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.pill-term {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.pill-cost {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

/* 2x2 Grid of Categories */
.we-offer-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.offer-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 180px;
}

.offer-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.offer-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.offer-tile:hover img {
  transform: scale(1.05);
}

.offer-tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.72) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #ffffff;
}

.offer-tile-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}

.offer-tile-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.offer-tile:hover .offer-tile-link {
  color: #ffffff;
  text-decoration: underline;
}

/* ----------------- TRENDING PRODUCTS SECTION ----------------- */
.bg-light {
  background-color: var(--light-bg);
}

/* Carousel Nav Arrows */
.carousel-nav-arrows {
  display: flex;
  gap: 8px;
}

.carousel-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.carousel-arrow-btn:hover {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.trending-carousel-wrap {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trending-carousel-wrap::-webkit-scrollbar {
  display: none;
}

.trending-carousel-wrap .product-card {
  min-width: 250px;
  max-width: 250px;
  flex: 0 0 250px;
}

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Corner Diagonal NEW Ribbon (Matching Image 1 Reference) */
.product-ribbon-new {
  position: absolute;
  top: 14px;
  left: -28px;
  width: 100px;
  background: var(--primary-red);
  color: #ffffff;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(227, 30, 36, 0.3);
  z-index: 10;
}

.product-badge-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prod-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-new { background-color: var(--primary-red); color: #fff; }
.badge-trending { background-color: #f59e0b; color: #fff; }
.badge-bestseller { background-color: #10b981; color: #fff; }
.badge-pro { background-color: #3b82f6; color: #fff; }

.product-image-wrap {
  height: 200px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.product-image-wrap img {
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

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

.product-model-code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-top: auto;
}

.product-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
}

.btn-card-action {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  background-color: #f1f5f9;
  color: #334155;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-card:hover .btn-card-action {
  background-color: var(--primary-red);
  color: #ffffff;
}

/* ----------------- INTERACTIVE CATEGORY EXPLORER (3-COLUMN REFERENCE MATCHED) ----------------- */
.category-explorer-3col {
  display: grid;
  grid-template-columns: 240px 300px 1fr;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 520px;
}

.explorer-sidebar {
  background-color: #f8fafc;
  border-right: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.explorer-sidebar-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 1px;
  padding: 0 1.25rem 0.75rem;
}

.explorer-cat-list {
  max-height: 480px;
  overflow-y: auto;
}

.explorer-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 1.25rem;
  background: transparent;
  border: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.explorer-cat-btn:hover, .explorer-cat-btn.active {
  background-color: #ffffff;
  color: var(--primary-red);
  border-left-color: var(--primary-red);
  font-weight: 700;
}

.explorer-featured-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  box-shadow: var(--shadow-sm);
  background-color: #0f172a;
  min-height: 460px;
}

.explorer-featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explorer-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.explorer-featured-overlay h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.explorer-featured-overlay p {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 14px;
}

.explorer-right-panel {
  padding: 1.25rem 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
}

.explorer-header-mini {
  margin-bottom: 1rem;
}

.explorer-content {
  padding: 1rem;
}

.explorer-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.explorer-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.explorer-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.subcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.subcat-pill {
  padding: 6px 14px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.subcat-pill:hover, .subcat-pill.active {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

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

/* ----------------- SOLUTIONS SHOWCASE ----------------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.solution-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.solution-card:hover .solution-icon-wrap {
  background: var(--primary-red);
  color: #ffffff;
}

.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.solution-highlights {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.solution-highlights span {
  display: inline-block;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin: 2px 4px 2px 0;
}

/* ----------------- CCTV CALCULATOR CTA BANNER ----------------- */
.calculator-banner {
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-info h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.calc-info p {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.calc-interactive-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.calc-field {
  margin-bottom: 1rem;
}

.calc-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.calc-field select, .calc-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  outline: none;
  font-size: 0.875rem;
}

.calc-results {
  background: rgba(227, 30, 36, 0.15);
  border: 1px solid var(--primary-red);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.calc-result-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.calc-result-label {
  font-size: 0.75rem;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ----------------- BRAND STATS COUNTER ----------------- */
.stats-strip {
  background-color: #0b0f19;
  color: #ffffff;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.9375rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ----------------- NEWS & PRESS SECTION ----------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-tag {
  background-color: rgba(227, 30, 36, 0.1);
  color: var(--primary-red);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.news-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

.news-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.news-read-more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ----------------- FOOTER ----------------- */
.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  font-size: 0.875rem;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--primary-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-about p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #94a3b8;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--primary-red);
  margin-top: 3px;
}

.footer-newsletter input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1e293b;
  color: #ffffff;
  margin-bottom: 10px;
  outline: none;
}

.footer-newsletter button {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

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

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ----------------- MODAL POPUP (PRODUCT & QUOTE) ----------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalScale 0.25s ease-out;
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1rem;
  z-index: 10;
  transition: all 0.2s ease;
}

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

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  padding: 2.5rem;
}

.modal-prod-img {
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.modal-prod-img img {
  max-height: 280px;
  object-fit: contain;
}

.modal-prod-info h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 6px;
}

.modal-prod-code {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.modal-features-list {
  margin: 1rem 0;
}

.modal-features-list li {
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-features-list i {
  color: var(--primary-red);
  margin-top: 4px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.8125rem;
}

.specs-table th, .specs-table td {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.specs-table th {
  background-color: #f8fafc;
  font-weight: 600;
  width: 40%;
  color: #475569;
}

/* Floating WhatsApp & Back to Top */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.btn-whatsapp-float {
  background-color: #25d366;
  color: #ffffff;
}

.btn-scroll-top {
  background-color: var(--primary-dark);
  color: #ffffff;
  display: none;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--primary-red);
  animation: slideInUp 0.3s ease;
}

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

/* ==========================================================================
   MOBILE & MULTI-DEVICE RESPONSIVE STYLES
   ========================================================================== */

/* Mobile Navigation Backdrop & Header */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav-backdrop.show {
  display: block;
  opacity: 1;
}

.mobile-nav-header {
  display: none;
}

/* Products Catalog Layout (catalog page) */
.products-catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

/* Laptops & Tablets (<= 1024px) */
@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 1.25rem;
    color: #0f172a;
    cursor: pointer;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
  }

  .mobile-nav-close:hover {
    color: var(--primary-red);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-link {
    width: 100%;
    padding: 12px 4px;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0f172a;
  }

  .mega-menu, .nav-dropdown {
    display: none !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    margin: 4px 0 12px !important;
    padding: 12px !important;
    flex-direction: column !important;
  }

  .nav-item.mobile-open .mega-menu,
  .nav-item.mobile-open .nav-dropdown {
    display: flex !important;
  }

  .nav-item.mobile-open .nav-link i.fa-angle-down {
    transform: rotate(180deg);
  }

  .mega-menu-content {
    display: none;
  }

  .mega-menu-sidebar {
    width: 100%;
    border: none;
    background: transparent;
  }

  .nav-dropdown.dropdown-three-col {
    width: 100% !important;
    flex-direction: column !important;
    gap: 14px;
  }

  .hero-slider-section {
    height: 320px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .we-offer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .we-offer-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-explorer-3col {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .explorer-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .explorer-cat-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .explorer-featured-card {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .explorer-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .header-inner {
    height: 60px;
    padding: 0 1rem;
  }

  .brand-logo .logo-image,
  .brand-logo img {
    height: 36px;
  }

  .brand-logo .logo-brand-row {
    font-size: 1rem;
  }

  .brand-logo .logo-company-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.8px;
  }

  .search-container {
    display: none;
  }

  #headerQuoteBtn {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .header-actions {
    gap: 8px;
  }

  /* Responsive Hero Carousel */
  .hero-slider-section {
    height: 280px;
  }

  .hero-pretitle {
    font-size: 0.8125rem;
  }

  .hero-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .hero-subtitle {
    display: none;
  }

  .hero-clean-headline {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }

  .hero-clean-subtitle {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-split-slide {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-model-badge {
    display: none;
  }

  .bharat-badge-clean {
    padding: 2px 8px;
    font-size: 0.6875rem;
  }

  .bharat-text {
    font-size: 0.8125rem;
  }

  .slider-arrow {
    display: none;
  }

  .slider-dots {
    bottom: 8px;
  }

  .floating-training-tab {
    display: none;
  }

  /* Responsive We Offer */
  .we-offer-container {
    grid-template-columns: 1fr;
  }

  .we-offer-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .offer-tile {
    height: 160px;
  }

  .cloud-card-body {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: space-around;
  }

  .cloud-qr-box {
    width: 120px;
    padding: 6px;
  }

  .cloud-qr-box svg {
    width: 65px;
    height: 65px;
  }

  .cloud-art-wrap img {
    max-height: 90px;
  }

  .cloud-pricing-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .cloud-price-pill {
    padding: 6px 4px;
  }

  .pill-cost {
    font-size: 0.9375rem;
  }

  /* Grids & Cards */
  .product-grid {
    grid-template-columns: 1fr;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .modal-box {
    width: 95% !important;
    max-width: 95% !important;
    max-height: 92vh;
    padding: 1.25rem !important;
  }

  .modal-content-grid {
    grid-template-columns: 1fr !important;
  }

  .section-padding {
    padding: 2.25rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.875rem;
  }

  .container {
    padding: 0 1rem;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .hero-slider-section {
    height: 240px;
  }

  .hero-title {
    font-size: 1.15rem;
  }

  .hero-clean-headline {
    font-size: 1.15rem;
  }

  .hero-subtitle {
    display: none;
  }

  .cloud-pricing-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand-logo .logo-company-subtitle {
    display: none;
  }

  .btn-primary, .btn-outline {
    font-size: 0.8125rem;
    padding: 8px 14px;
  }
}

/* Subpage Layout Classes */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 3.5rem;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.calc-layout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 1024px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 2rem;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 24px;
  }
  .calc-layout-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-split-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-main-grid {
    padding: 1.25rem;
  }
}


