/* JD INDUSTRIES - B2B INDUSTRIAL DESIGN SYSTEM (VANILLA CSS - FULLY MOBILE RESPONSIVE) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --color-navy-dark: #071325;
  --color-navy-main: #0F2B48;
  --color-navy-light: #163B63;
  --color-navy-card: #0D233C;
  --color-silver-light: #F8FAFC;
  --color-silver-border: #E2E8F0;
  --color-gray-muted: #64748B;
  --color-gray-dark: #334155;
  --color-white: #FFFFFF;
  --color-blue-accent: #0077FF;
  --color-blue-glow: rgba(0, 119, 255, 0.15);
  
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(15, 43, 72, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 43, 72, 0.12);
  --shadow-metallic: 0 8px 30px rgba(7, 19, 37, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-silver-light);
  color: var(--color-gray-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

/* Prevent text overflow on mobile */
a, p, span, h1, h2, h3, h4, h5, h6, strong, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* RESPONSIVE IMAGES & MEDIA */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  flex-shrink: 0;
}

a, button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(2, 132, 199, 0.12);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  word-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
  text-align: center;
  min-height: 42px;
}

.btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.38);
}

.btn-accent {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.btn-outline {
  background: #FFFFFF;
  color: #0284C7;
  border: 1.5px solid #BAE6FD;
}

.btn-outline:hover {
  background: #F0F9FF;
  border-color: #0284C7;
  color: #0369A1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
  min-height: 36px;
}

/* CITATIONS & BADGES - REFINED INDUSTRIAL CORPORATE ACCENT */
.badge-metallic, .badge-citation {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #0F2B48;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero .badge-metallic,
.dark-section .badge-metallic {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #38BDF8 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

.badge-metallic i, .badge-metallic svg,
.badge-citation i, .badge-citation svg {
  width: 13px;
  height: 13px;
  color: #0284C7;
}

.hero .badge-metallic i,
.hero .badge-metallic svg {
  color: #38BDF8 !important;
}

.badge-representative {
  display: none !important;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #B45309;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* RICH VISUAL COMPONENTS */
.icon-box-blue {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.icon-box-amber {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.icon-box-emerald {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.tag-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 4px;
}

.card-elevated {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card-elevated:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  border-color: #BAE6FD;
}

.card-elevated-accent {
  border-top: 3px solid #0284C7;
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F0F7FF;
  border: 1.5px solid #0284C7;
  color: #0F2B48;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
}

/* TOP BAR */
.top-bar {
  background: var(--color-navy-dark);
  color: var(--color-silver-border);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--color-blue-accent);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-silver-border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-gear-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-navy-main) 0%, var(--color-navy-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-accent);
  box-shadow: 0 4px 10px rgba(15, 43, 72, 0.2);
  border: 1px solid rgba(0, 119, 255, 0.3);
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-navy-main);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-gray-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  white-space: nowrap !important;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-gray-dark);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.dropdown > .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  white-space: nowrap !important;
}

.dropdown > .nav-link svg,
.dropdown > .nav-link i {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-navy-main);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-blue-accent);
  border-radius: 2px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-silver-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  display: none;
  list-style: none;
  z-index: 150;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  color: var(--color-gray-dark);
}

.dropdown-item:hover {
  background: var(--color-silver-light);
  color: var(--color-navy-main);
  font-weight: 600;
}

/* NAVBAR DESKTOP & MOBILE QUOTE BUTTON DISPLAY CONTROL */
.nav-btn-quote {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

.mobile-only-nav-cta {
  display: none;
}

.modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.65rem;
  line-height: 1;
  color: #FFFFFF;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* PURE CSS ANIMATED HAMBURGER MENU BUTTON */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1000001 !important;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
}

.mobile-toggle:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.mobile-toggle .hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-navy-main);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Active State: 3 bars animate smoothly into a clean, symmetric 'X' */
.mobile-toggle.active {
  background: #EFF6FF;
  border-color: #3B82F6;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: #0F2B48;
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: #0F2B48;
}

/* HERO SECTION */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-main) 60%, #0B223C 100%);
  color: var(--color-white);
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--color-blue-accent);
}

.hero-description {
  font-size: 1.1rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #E2E8F0;
  font-weight: 500;
}

.hero-card-preview {
  background: rgba(13, 35, 60, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-metallic);
  max-width: 100%;
}

.hero-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

/* SECTIONS */
.section {
  padding: 4.5rem 0;
}

.section-white {
  background-color: var(--color-white);
}

.section-silver {
  background-color: var(--color-silver-light);
}

.section-navy {
  background-color: #F8FAFC;
  color: var(--color-navy-main);
  border-top: 1px solid var(--color-silver-border);
  border-bottom: 1px solid var(--color-silver-border);
}

.section-navy .section-title {
  color: var(--color-navy-main) !important;
}

.section-navy .section-subtitle {
  color: var(--color-gray-muted) !important;
}

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

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.section-navy .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--color-gray-muted);
}

.section-navy .section-subtitle {
  color: #94A3B8;
}

/* 3-COLUMN DESKTOP GRID */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-silver-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue-accent);
}

.category-card-image {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
  transform: scale(1.05);
}

.category-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.category-card-desc {
  font-size: 0.92rem;
  color: var(--color-gray-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* STRENGTHS / PILLARS */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-silver-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  border-color: var(--color-navy-main);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-main);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

/* PROCESS STEPS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.process-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.process-title {
  font-size: 1.2rem;
  color: var(--color-navy-main);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.88rem;
  color: #64748B;
}

/* CTA BANNER - REFINED LIGHT PROFESSIONAL THEME */
.cta-banner {
  background: linear-gradient(135deg, #F0F7FF 0%, #E2EDF8 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--color-navy-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.08);
  border: 1.5px solid #BAE6FD;
}

.cta-title {
  font-size: 1.8rem;
  color: var(--color-navy-main);
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  color: #475569;
  font-size: 1rem;
}

/* MODALS & DRAWERS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 37, 0.75);
  backdrop-filter: blur(4px);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--color-navy-main);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-gray-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid var(--color-silver-border);
  border-radius: var(--radius-sm);
  outline: none;
  background-color: var(--color-white);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-navy-main);
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  background: #25D366;
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  font-size: 1.75rem;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* FOOTER */
.footer {
  background: var(--color-navy-dark);
  color: #CBD5E1;
  padding: 3.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-title {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .category-grid, .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .cta-banner {
    flex-direction: column !important;
    text-align: center !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }
  div[style*="grid-template-columns: 1.2fr 0.8fr"],
  div[style*="grid-template-columns:1.2fr 0.8fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 992px) {
  body {
    padding-top: 64px !important;
  }

  /* HIDE NAVBAR QUOTE BUTTON ON MOBILE HEADER SO ONLY LOGO + HAMBURGER FIT CLEANLY */
  .nav-btn-quote {
    display: none !important;
  }

  .mobile-only-nav-cta {
    display: block !important;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
  }

  .top-bar {
    display: none !important;
  }

  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--color-silver-border);
  }

  .navbar-inner {
    height: 64px !important;
  }

  .brand-logo {
    gap: 0.5rem !important;
  }

  .brand-title {
    font-size: 1.15rem !important;
  }
  
  .brand-subtitle {
    font-size: 0.52rem !important;
  }

  .brand-gear-icon {
    width: 34px !important;
    height: 34px !important;
  }

  /* ENSURE HAMBURGER MENU BUTTON IS ALWAYS VISIBLE AND PROPERLY SIZED */
  .mobile-toggle {
    display: flex !important;
    position: relative;
    z-index: 10002 !important;
  }

  /* CLEAN & PERFECTLY ALIGNED MOBILE NAVIGATION MENU DRAWER */
  .nav-menu {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100vh - 64px) !important;
    height: calc(100dvh - 64px) !important;
    background: #FFFFFF !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1.25rem 1.25rem 4rem 1.25rem !important;
    gap: 0.4rem !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.18) !important;
    display: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 10001 !important;
    pointer-events: auto !important;
  }

  .nav-menu.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-menu li {
    width: 100%;
    flex-shrink: 0;
  }

  .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #0F2B48 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    border-bottom: 1px solid #F1F5F9 !important;
    text-align: left !important;
    min-height: 44px;
    cursor: pointer;
  }

  .nav-link.active {
    background: #F1F5F9 !important;
    color: #0077FF !important;
  }

  .nav-link.active::after {
    display: none !important;
  }

  /* ACCORDION DROPDOWN SUBMENU INSIDE MOBILE DRAWER */
  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static !important;
    display: block !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    border-radius: 8px !important;
    margin: 0.4rem 0 0.6rem 0 !important;
    padding: 0.3rem 0 !important;
  }

  .dropdown-item {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.92rem !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid #EDF2F7 !important;
    text-align: left !important;
    min-height: 44px;
    cursor: pointer;
  }

  .dropdown-item:last-child {
    border-bottom: none !important;
  }

  /* ALL MULTI-COLUMN SECTION GRIDS COLLAPSE ON TABLET & MOBILE */
  div[style*="grid-template-columns: 1.2fr 0.8fr"],
  div[style*="grid-template-columns:1.2fr 0.8fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: repeat(2, 1fr)"],
  div[style*="grid-template-columns:repeat(2, 1fr)"],
  .category-grid,
  .pillars-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Container elements with inline grid */
  .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Hero adjustments */
  .hero {
    padding: 2.75rem 0 3.5rem 0 !important;
  }

  .hero-title,
  h1[style*="font-size: 2.8rem"],
  h1[style*="font-size: 2.6rem"] {
    font-size: 1.95rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-description,
  p[style*="font-size: 1.1rem"] {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-card-img-wrapper {
    height: 220px !important;
  }

  /* Feature section image height on mobile */
  div[style*="height: 380px"],
  div[style*="height:380px"],
  div[style*="height: 320px"],
  div[style*="height:320px"] {
    height: 230px !important;
  }

  /* Float highlight badges unfloat on mobile */
  div[style*="bottom: -20px"],
  div[style*="bottom:-20px"] {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: 1rem auto 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Sections padding */
  .section,
  section[style*="padding: 4.5rem"],
  section[style*="padding: 4rem"] {
    padding: 2.75rem 0 !important;
  }

  .section-title {
    font-size: 1.65rem !important;
  }

  .section-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 2rem !important;
  }

  /* Card padding reduction */
  div[style*="padding: 3rem"],
  div[style*="padding:3rem"],
  div[style*="padding: 2.5rem"],
  div[style*="padding:2.5rem"],
  div[style*="padding: 2rem"],
  div[style*="padding:2rem"] {
    padding: 1.5rem 1.25rem !important;
  }

  /* Full-width action buttons */
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .cta-banner {
    padding: 2rem 1.25rem !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .cta-banner div {
    text-align: center !important;
    width: 100% !important;
  }

  .cta-banner .btn,
  .cta-banner a.btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .cta-title {
    font-size: 1.45rem !important;
  }

  /* Product & Category Card action buttons */
  .category-card-body > div,
  .card-elevated div[style*="display: flex"] {
    flex-wrap: wrap !important;
  }

  .category-card-body .btn, 
  .category-card-body div .btn,
  .category-card-body a.btn {
    width: auto !important;
    min-height: 44px !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.85rem !important;
    flex: 1 1 120px;
    text-align: center;
    justify-content: center;
    white-space: normal !important;
  }

  /* Form controls */
  form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .form-group {
    margin-bottom: 1rem !important;
  }

  .modal-box {
    width: 92% !important;
    max-width: 95vw !important;
    max-height: 88vh !important;
  }

  .modal-body {
    padding: 1.25rem !important;
  }

  .floating-whatsapp {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.5rem !important;
    bottom: 18px !important;
    right: 18px !important;
  }
}

@media (max-width: 640px) {
  .process-grid,
  div[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem !important;
  }

  .brand-title {
    font-size: 1.05rem !important;
  }

  .brand-subtitle {
    display: none !important;
  }

  .hero-title,
  h1[style*="font-size: 2.8rem"],
  h1[style*="font-size: 2.6rem"] {
    font-size: 1.65rem !important;
  }

  .section-title {
    font-size: 1.4rem !important;
  }

  h2[style*="font-size: 2rem"],
  h2[style*="font-size: 2.1rem"] {
    font-size: 1.4rem !important;
  }

  div[style*="padding: 3rem"],
  div[style*="padding: 2.5rem"],
  div[style*="padding: 2rem"],
  div[style*="padding: 1.75rem"] {
    padding: 1.25rem 0.95rem !important;
  }

  .btn {
    min-height: 44px !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
  }

  .hero-badges {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
}
