/**
 * Hardib Technology — Modern Enterprise Design System
 * Architecture: CSS Custom Properties, Modern Flex/Grid, Glassmorphism, Micro-interactions
 * Accessibility: WCAG 2.1 AA Compliant, prefers-reduced-motion support
 */

:root {
  /* Brand Color Palette */
  --ht-navy-950: #070D1D;
  --ht-navy-900: #0D1933;
  --ht-navy-800: #142346;
  --ht-navy-700: #1E3360;
  
  --ht-blue-600: #1D4ED8;
  --ht-blue-500: #2563EB;
  --ht-blue-400: #3B82F6;
  
  --ht-cyan-500: #06B6D4;
  --ht-cyan-400: #22D3EE;
  --ht-cyan-300: #67E8F9;
  
  --ht-amber-500: #F59E0B;
  --ht-amber-400: #FBBF24;
  
  --ht-slate-900: #0F172A;
  --ht-slate-800: #1E293B;
  --ht-slate-700: #334155;
  --ht-slate-600: #475569;
  --ht-slate-500: #64748B;
  --ht-slate-400: #94A3B8;
  --ht-slate-300: #CBD5E1;
  --ht-slate-200: #E2E8F0;
  --ht-slate-100: #F1F5F9;
  --ht-slate-50:  #F8FAFC;
  --ht-white:     #FFFFFF;

  /* Gradients */
  --ht-gradient-primary: linear-gradient(135deg, #1D4ED8 0%, #06B6D4 100%);
  --ht-gradient-dark: linear-gradient(135deg, #070D1D 0%, #142346 100%);
  --ht-gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  --ht-gradient-accent: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --ht-hero-overlay: linear-gradient(90deg, rgba(7, 13, 29, 0.92) 0%, rgba(7, 13, 29, 0.75) 50%, rgba(7, 13, 29, 0.4) 100%);

  /* Typography */
  --ht-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ht-font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Shadows */
  --ht-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --ht-shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.08), 0 1px 4px -1px rgba(15, 23, 42, 0.04);
  --ht-shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --ht-shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --ht-shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --ht-shadow-glow: 0 0 30px rgba(37, 99, 235, 0.25);
  --ht-shadow-amber: 0 4px 20px rgba(245, 158, 11, 0.25);

  /* Borders & Radius */
  --ht-radius-sm: 6px;
  --ht-radius-md: 10px;
  --ht-radius-lg: 16px;
  --ht-radius-xl: 22px;
  --ht-radius-pill: 9999px;
  --ht-border-subtle: 1px solid rgba(226, 232, 240, 0.8);
  --ht-border-dark: 1px solid rgba(30, 51, 96, 0.7);

  /* Transitions */
  --ht-transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --ht-transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --ht-transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Font & Baseline Reset */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto;
}

body {
  font-family: var(--ht-font-sans) !important;
  color: var(--ht-slate-700) !important;
  background-color: var(--ht-slate-50) !important;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  min-height: 100%;
}

h1, h2, h3, h4, h5, h6,
.h1, .display-3 {
  font-family: var(--ht-font-sans) !important;
  font-weight: 700 !important;
  color: var(--ht-navy-950) !important;
  letter-spacing: -0.02em;
}

/* Accessible Focus Outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ht-blue-500) !important;
  outline-offset: 3px !important;
}

/* ========================================================
   1. Modern Header & Navigation
   ======================================================== */
.cm-header {
  position: relative;
  z-index: 1020;
  transition: var(--ht-transition-normal);
}

.cm-header.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(7, 13, 29, 0.08);
  border-bottom: 1px solid var(--ht-slate-200);
}

/* Top Utility Bar */
.header-top.bg-blue {
  background: var(--ht-navy-950) !important;
  color: var(--ht-slate-300);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top .block {
  display: inline-flex;
  align-items: center;
  margin-right: 24px;
}

.header-top .block .icon {
  color: var(--ht-cyan-400) !important;
  margin-right: 8px;
}

/* Technical Architecture & Modern Pill Navigation */
.modern-pills .nav-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  transition: var(--ht-transition-fast);
  cursor: pointer;
  display: block;
}
.modern-pills .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}
.modern-pills .nav-link.active {
  background: var(--ht-gradient-primary) !important;
  border-color: var(--ht-cyan-400) !important;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3) !important;
}

.tab-content > .tab-pane {
  display: none;
}
.tab-content > .tab-pane.active {
  display: block !important;
  opacity: 1 !important;
}

.header-top a {
  color: var(--ht-slate-300);
  transition: var(--ht-transition-fast);
  text-decoration: none;
}

.header-top a:hover {
  color: var(--ht-cyan-400);
}

.header-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--ht-amber-400);
  padding: 2px 10px;
  border-radius: var(--ht-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Top bar Enquiry Button */
.btn-enquiry-top {
  background: var(--ht-gradient-accent) !important;
  color: var(--ht-navy-950) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 6px 18px !important;
  border-radius: var(--ht-radius-pill) !important;
  border: none !important;
  box-shadow: var(--ht-shadow-amber);
  transition: var(--ht-transition-normal) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-enquiry-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  color: var(--ht-navy-950) !important;
}

/* Titlebar & Navbar Login Button */
.btn-login-top {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border-radius: var(--ht-radius-pill) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.35);
  transition: var(--ht-transition-fast) !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-login-top:hover {
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.55);
}

.btn-nav-login {
  background: rgba(14, 165, 233, 0.12) !important;
  border: 1px solid rgba(14, 165, 233, 0.35) !important;
  color: #0284c7 !important;
  font-weight: 700 !important;
  padding: 7px 18px !important;
  border-radius: var(--ht-radius-pill) !important;
  transition: var(--ht-transition-fast) !important;
  display: inline-flex;
  align-items: center;
}

.btn-nav-login:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
  transform: translateY(-1px);
}

/* Navigation Bar */
.cm-header .header {
  background: var(--ht-white);
  padding: 12px 0;
  transition: var(--ht-transition-normal);
}

.cm-header.header-fixed .header {
  padding: 8px 0;
  background: transparent;
}

.navbar-brand img.mine {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--ht-transition-fast);
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ht-navy-900) !important;
  padding: 10px 16px !important;
  position: relative;
  transition: var(--ht-transition-fast);
  border-radius: var(--ht-radius-sm);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: var(--ht-blue-600) !important;
  background: rgba(37, 99, 235, 0.06);
}

.navbar-nav .dropdown-menu {
  border: none;
  border-radius: var(--ht-radius-md);
  box-shadow: var(--ht-shadow-lg);
  padding: 10px 0;
  background: var(--ht-white);
  border-top: 3px solid var(--ht-blue-600);
}

.navbar-nav .dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ht-slate-700);
  padding: 9px 20px;
  transition: var(--ht-transition-fast);
}

.navbar-nav .dropdown-item:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--ht-blue-600);
  padding-left: 24px;
}

/* ========================================================
   2. Modern Hero Carousel & Banners
   ======================================================== */
.cm-banner {
  min-height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  background-position: center center !important;
  background-size: cover !important;
}

.cm-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ht-hero-overlay);
  z-index: 1;
}

.cm-banner .container {
  position: relative;
  z-index: 2;
}

.cm-banner .display-3 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem) !important;
  font-weight: 800 !important;
  color: var(--ht-white) !important;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.cm-banner h3 {
  color: var(--ht-cyan-400) !important;
  font-size: clamp(1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.cm-banner p.lead {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 580px;
  line-height: 1.6;
}

/* Hero Action Buttons */
.btn-primary {
  background: var(--ht-gradient-primary) !important;
  border: none !important;
  color: var(--ht-white) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: var(--ht-radius-sm) !important;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
  transition: var(--ht-transition-normal) !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.45);
  color: var(--ht-white) !important;
}

.btn-light {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: var(--ht-white) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border-radius: var(--ht-radius-sm) !important;
  transition: var(--ht-transition-normal) !important;
}

.btn-light:hover {
  background: var(--ht-white) !important;
  color: var(--ht-navy-950) !important;
  transform: translateY(-2px);
}

/* ========================================================
   3. Feature Strip (3 Highlights)
   ======================================================== */
.cm-features {
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.cm-features .block {
  background: var(--ht-white);
  padding: 28px 24px;
  border-radius: var(--ht-radius-lg);
  box-shadow: var(--ht-shadow-md);
  border: var(--ht-border-subtle);
  transition: var(--ht-transition-normal);
  height: 100%;
}

.cm-features .block:hover {
  transform: translateY(-6px);
  box-shadow: var(--ht-shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.cm-features .icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: var(--ht-radius-md);
  background: var(--ht-gradient-primary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
}

.cm-features .icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.cm-features h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.cm-features p {
  font-size: 0.9rem;
  color: var(--ht-slate-500);
  margin-bottom: 0;
}

/* ========================================================
   4. Section Headings & Badges
   ======================================================== */
.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--ht-blue-600);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: var(--ht-radius-pill);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ht-navy-950);
  margin-bottom: 14px;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--ht-slate-600);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ========================================================
   5. Modern Services Cards & Grid
   ======================================================== */
.cm-how-can-help {
  background: var(--ht-slate-50);
  padding: 90px 0;
}

.service-card-modern {
  background: var(--ht-white);
  border-radius: var(--ht-radius-lg);
  padding: 32px 28px;
  border: var(--ht-border-subtle);
  box-shadow: var(--ht-shadow-sm);
  transition: var(--ht-transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ht-gradient-primary);
  opacity: 0;
  transition: var(--ht-transition-fast);
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--ht-shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.service-card-modern:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--ht-radius-md);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--ht-transition-fast);
}

.service-card-modern:hover .service-icon-box {
  background: var(--ht-gradient-primary);
}

.service-icon-box img {
  width: 32px;
  height: 32px;
  transition: var(--ht-transition-fast);
}

.service-card-modern:hover .service-icon-box img {
  filter: brightness(0) invert(1);
}

.service-card-modern h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--ht-navy-950);
}

.service-card-modern p {
  font-size: 0.92rem;
  color: var(--ht-slate-600);
  flex-grow: 1;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--ht-blue-600);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  margin-top: 18px;
  transition: var(--ht-transition-fast);
}

.service-link span.fas {
  margin-left: 8px;
  transition: var(--ht-transition-fast);
}

.service-card-modern:hover .service-link span.fas {
  transform: translateX(4px);
}

/* ========================================================
   6. Modern Products Section & Filter Tabs
   ======================================================== */
.product-filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.product-filter-btn {
  background: var(--ht-white);
  color: var(--ht-slate-700);
  border: 1px solid var(--ht-slate-200);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: var(--ht-radius-pill);
  cursor: pointer;
  transition: var(--ht-transition-fast);
}

.product-filter-btn:hover {
  background: var(--ht-slate-100);
  color: var(--ht-navy-950);
}

.product-filter-btn.active {
  background: var(--ht-blue-600);
  color: var(--ht-white);
  border-color: var(--ht-blue-600);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Product Cards — Eliminates legacy margin-left: 23% */
.product-card-modern {
  background: var(--ht-white);
  border-radius: var(--ht-radius-lg);
  border: var(--ht-border-subtle);
  box-shadow: var(--ht-shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--ht-transition-normal);
}

.product-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--ht-shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.product-img-wrapper {
  background: var(--ht-slate-50);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--ht-slate-100);
}

.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--ht-transition-normal);
}

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

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

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ht-blue-600);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ht-navy-950);
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--ht-slate-600);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* ========================================================
   7. Stat Counters
   ======================================================== */
.section-counters {
  background: var(--ht-gradient-dark);
  color: var(--ht-white);
  padding: 70px 0;
}

.counter-box-modern {
  text-align: center;
  padding: 20px;
}

.counter-box-modern .counter-number {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--ht-amber-400);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-box-modern .counter-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ht-slate-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================================
   8. Testimonials & Quote Cards
   ======================================================== */
.testimonial-card-modern {
  background: var(--ht-white);
  border-radius: var(--ht-radius-lg);
  padding: 32px;
  border: var(--ht-border-subtle);
  box-shadow: var(--ht-shadow-md);
  margin-bottom: 24px;
  position: relative;
  transition: var(--ht-transition-normal);
}

.testimonial-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--ht-shadow-lg);
}

.testimonial-rating {
  color: var(--ht-amber-400);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--ht-slate-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ht-blue-500);
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ht-navy-950);
  margin-bottom: 2px;
}

.testimonial-designation {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ht-blue-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================================================
   9. Unified Modern Enquiry Modal
   ======================================================== */
.modal-content.modern-modal {
  border-radius: var(--ht-radius-xl);
  border: none;
  box-shadow: var(--ht-shadow-xl);
  overflow: hidden;
}

.modal-header.modern-header {
  background: var(--ht-navy-950);
  color: var(--ht-white);
  padding: 24px 30px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.modal-header.modern-header .close {
  color: var(--ht-white);
  opacity: 0.8;
  font-size: 1.8rem;
  position: absolute;
  top: 18px;
  right: 22px;
  text-shadow: none;
  transition: var(--ht-transition-fast);
}

.modal-header.modern-header .close:hover {
  opacity: 1;
  color: var(--ht-amber-400);
}

/* Modern Tab Switcher */
.modal-tabs-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--ht-radius-pill);
  padding: 4px;
  margin-top: 12px;
}

.modal-tab-trigger {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--ht-radius-pill);
  color: var(--ht-slate-300);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--ht-transition-fast);
  border: none;
  background: transparent;
}

.modal-tab-trigger.active {
  background: var(--ht-gradient-accent);
  color: var(--ht-navy-950);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-body.modern-body {
  padding: 30px;
  background: var(--ht-white);
}

.modern-form-group {
  margin-bottom: 18px;
}

.modern-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ht-navy-900);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modern-form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--ht-font-sans);
  color: var(--ht-slate-800);
  background: var(--ht-slate-50);
  border: 1px solid var(--ht-slate-200);
  border-radius: var(--ht-radius-md);
  transition: var(--ht-transition-fast);
}

.modern-form-control:focus {
  background: var(--ht-white);
  border-color: var(--ht-blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* ========================================================
   10. Modern Enterprise Footer
   ======================================================== */
.footer.modern-footer {
  background: var(--ht-navy-950) !important;
  color: var(--ht-slate-400);
  padding: 80px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer.modern-footer h4 {
  color: var(--ht-white) !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer.modern-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--ht-gradient-accent);
  border-radius: var(--ht-radius-pill);
}

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

.footer.modern-footer .footer-links a {
  color: var(--ht-slate-400);
  text-decoration: none;
  font-size: 0.92rem;
  text-transform: none !important;
  transition: var(--ht-transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer.modern-footer .footer-links a:hover {
  color: var(--ht-cyan-400);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--ht-slate-300);
}

.footer-contact-item .icon {
  color: var(--ht-cyan-400);
  font-size: 1.1rem;
  margin-right: 12px;
  margin-top: 4px;
}

.footer-bottom.modern-footer-bottom {
  background: #040812;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--ht-slate-500);
}

/* ========================================================
   11. Animations & Micro-interactions
   ======================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================================
   12. Responsive Breakpoint Adjustments
   ======================================================== */
@media (max-width: 991px) {
  .cm-header .navbar-collapse {
    background: var(--ht-white);
    padding: 20px;
    border-radius: var(--ht-radius-lg);
    box-shadow: var(--ht-shadow-xl);
    margin-top: 14px;
  }
  .cm-features {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .header-top {
    text-align: center;
  }
  .header-top .block {
    margin: 4px 10px;
  }
  .cm-banner {
    min-height: 440px;
    padding: 60px 0;
  }
  .product-img-wrapper {
    height: 180px;
  }
}
