:root {
  --clr-primary: #2354A8; /* logo blue - main brand color */
  --clr-accent: #449CE8;  /* logo light blue - accent */
  --clr-secondary: #2353A6; /* logo dark blue variant */
  --clr-gray: #BBBDBE;    /* logo gray */
  --clr-dark-gray: #9B9B9B; /* logo dark gray */
  --clr-bg: #f6f8fb;      /* soft background */
  --clr-text: #1f2937;    /* slate */
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  overflow-x: hidden;
  padding-top: 150px; /* space for ticker + fixed header */
  margin-top: 0;
  position: relative;
  min-height: 100vh;
}

@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }
}

/* Mobile viewport fix for iOS */
@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }
}

/* Lock body scroll when modals/drawers are open */
body.modal-open,
body.cart-open,
body.checkout-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Preserve scroll position when modal opens */
body.modal-open,
body.cart-open,
body.checkout-open {
  touch-action: none;
}

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

/* Scrolling Ticker Bar */
.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  color: #ffffff;
  padding: 8px 0;
  z-index: 10000; /* Very high z-index to ensure it's on top */
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(35,84,168,0.2);
  margin: 0;
}

.ticker-content {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
  gap: 50px;
}

.ticker-content span {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0 20px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* Global image defaults */
img { max-width: 100%; height: auto; display: block; }

/* Motion base & reveal animations */
@media (prefers-reduced-motion: no-preference) {
  .reveal { 
    opacity: 0; 
    transform: translateY(30px) scale(0.95); 
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
  }
  .reveal.x { transform: translateX(-30px) scale(0.95); }
  .reveal.r { transform: translateX(30px) scale(0.95); }
  .reveal.zoom { transform: scale(0.9); }
  .reveal.show { 
    opacity: 1; 
    transform: translateY(0) scale(1) translateX(0);
    animation: revealPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}

@keyframes revealPop {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  60% {
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Micro-interactions & hover polish */
:root {
  --motion-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn,
.btn.primary,
.btn.ghost {
  transition: transform 180ms var(--motion-ease), box-shadow 180ms var(--motion-ease), background 200ms ease, color 200ms ease;
}
.btn:active,
.btn.primary:active,
.btn.ghost:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.btn:hover,
.btn:focus-visible,
.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.btn.ghost:hover,
.btn.ghost:focus-visible {
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.product-card,
.service-card,
.card {
  transition: transform 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease), border-color 200ms ease;
}
.product-card:hover,
.product-card:focus-within,
.service-card:hover,
.service-card:focus-within,
.card:hover,
.card:focus-within {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.05);
}

.feature-card {
  transition: transform 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease);
}
.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.hero-slide .content {
  transition: transform 280ms var(--motion-ease), opacity 280ms ease, box-shadow 240ms ease, background 240ms ease;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.20);
}
.hero-slide:hover .content {
  transform: translateY(-6px);
  opacity: 0.98;
}

.hero-dots button {
  transition: transform 160ms var(--motion-ease), background 200ms ease;
}
.hero-dots button:hover {
  transform: scale(1.05);
}

.nav-links a,
.header-nav a {
  position: relative;
  transition: color 160ms ease;
}
.nav-links a::after,
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--motion-ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
}

.cart-drawer,
.checkout-modal,
.quote-modal {
  transition: transform 320ms var(--motion-ease), opacity 320ms var(--motion-ease), box-shadow 240ms ease;
}
.cart-drawer[aria-hidden="false"],
.checkout-modal[aria-hidden="false"],
.quote-modal[aria-hidden="false"] {
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
}

.quote-modal[aria-hidden="false"],
.checkout-modal[aria-hidden="false"] {
  transform: translate(-50%, -50%) scale(1);
}

.cart-item {
  transition: background 180ms ease, transform 180ms var(--motion-ease);
}
.cart-item:hover {
  background: #f7f9fc;
  transform: translateY(-2px);
}

.product-row-items {
  scroll-behavior: smooth;
}

/* Parallax-lite for hero */
.hero-slider.parallax-enabled .hero-slide {
  will-change: transform;
}
.hero-slider.parallax-enabled .hero-slide.active {
  transform: translateY(calc(var(--hero-parallax, 0) * 0.35px));
}
.hero-slider {
  position: relative;
  overflow: hidden;
}
/* Previously added a dark blue gradient overlay on top of hero images.
   User prefers clean, untouched banner colors, so the overlay is disabled. */
.hero-slider::before {
  content: none;
}
.hero-slide .content {
  position: relative;
  z-index: 2;
}

@media (hover: none) {
  .product-card:hover,
  .service-card:hover,
  .card:hover,
  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Micro-interactions & hover polish */
:root {
  --motion-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn,
.btn.primary,
.btn.ghost {
  transition: transform 180ms var(--motion-ease), box-shadow 180ms var(--motion-ease), background 200ms ease, color 200ms ease;
}
.btn:hover,
.btn:focus-visible,
.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.btn.ghost:hover,
.btn.ghost:focus-visible {
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.product-card,
.service-card,
.card {
  transition: transform 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease), border-color 200ms ease;
}
.product-card:hover,
.product-card:focus-within,
.service-card:hover,
.service-card:focus-within,
.card:hover,
.card:focus-within {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.05);
}

.feature-card {
  transition: transform 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease);
}
.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.hero-slide .content {
  transition: transform 280ms var(--motion-ease), opacity 280ms ease;
}
.hero-slide:hover .content {
  transform: translateY(-6px);
  opacity: 0.98;
}

.hero-dots button {
  transition: transform 160ms var(--motion-ease), background 200ms ease;
}
.hero-dots button:hover {
  transform: scale(1.05);
}

.nav-links a,
.header-nav a {
  position: relative;
  transition: color 160ms ease;
}
.nav-links a::after,
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--motion-ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
}

.cart-drawer,
.checkout-modal,
.quote-modal {
  transition: transform 320ms var(--motion-ease), opacity 320ms var(--motion-ease), box-shadow 240ms ease;
}
.cart-drawer[aria-hidden="false"],
.checkout-modal[aria-hidden="false"],
.quote-modal[aria-hidden="false"] {
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
}

.quote-modal[aria-hidden="false"],
.checkout-modal[aria-hidden="false"] {
  transform: translate(-50%, -50%) scale(1);
}

.cart-item {
  transition: background 180ms ease, transform 180ms var(--motion-ease);
}
.cart-item:hover {
  background: #f7f9fc;
  transform: translateY(-2px);
}

.product-row-items {
  scroll-behavior: smooth;
}

@media (hover: none) {
  .product-card:hover,
  .service-card:hover,
  .card:hover,
  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Header redesign */
.header { 
  background: linear-gradient(90deg, #f3f7ff 0%, #e8f1ff 50%, #f3f7ff 100%); 
  color:var(--clr-primary); 
  border-bottom:1px solid #e5e7eb;
  position: fixed;
  top: 36px; /* Position below ticker bar */
  left: 0;
  right: 0;
  z-index: 1200;
  backdrop-filter: blur(10px);
  width: 100%;
}
.page-shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
  box-sizing: border-box;
}

.header-top {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px 12px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.header .logo {
  font-size: 1.6rem;
  font-weight:800;
  color:var(--clr-primary);
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  justify-content: center;
  gap:0;
  overflow:visible;
  position: relative;
}
.header .logo img {
  height:104px;
  width:auto;
  max-height:104px;
  display:block;
  object-fit:contain;
  transform: scale(1.35); /* slightly enlarged on large desktops */
  transform-origin:left center;
  margin-left:0; /* keep flush with container */
  filter: contrast(1.22) brightness(0.94) saturate(1.05); /* darken light strokes */
}

@media (max-width: 1100px) {
  .header .logo img {
    height: 90px;
    max-height: 90px;
    transform: scale(1.15);
  }
}

@media (max-width: 900px) {
  .header-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
  }

  .header .logo {
    flex: 0 1 auto;
  }

  .header-nav {
    flex: 1 1 100%;
    order: 3;
  }

  .header-actions {
    flex: 1 1 260px;
    min-width: 0;
    max-width: none;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .header .logo img {
    height: 80px;
    max-height: 80px;
    transform: scale(1.0);
  }
}

@media (max-width: 480px) {
  .header .logo img {
    height: 72px;
    max-height: 72px;
    transform: scale(1.0);
  }
}

.header-actions {
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:flex-end;
  min-width: 200px;
  max-width: 520px;
  width: auto;
  position: relative;
  z-index: 1200; /* keep header buttons above page content */
}

.search,
.search-wide {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid #0b7dde;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fbff;
  min-height: 38px;
}
.search .search-category,
.search-wide .search-category {
  border: none;
  padding: 8px 8px 8px 12px;
  background: #eaf4ff;
  color: #0b1a3d;
  font-weight: 700;
  outline: none;
}
.search input,
.search-wide input {
  flex: 1;
  border: none;
  padding: 6px 12px;
  outline: none;
  background: transparent;
}
.search button,
.search-wide button {
  border: none;
  background: #0b7dde;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #0b1a3d;
}
.header-phone a {
  color: #0b1a3d;
  text-decoration: none;
}
.phone-icon {
  font-size: 18px;
}
.logo-slogan {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--clr-primary);
  font-style: italic;
  letter-spacing: 0.2px;
  white-space: nowrap;
  margin-top: 2px;
  opacity: 0.9;
  line-height: 1.2;
}
.header-phone:hover {
  background: rgba(68,156,232,0.15);
  color: var(--clr-primary);
  text-decoration: none;
}

.phone-icon {
  font-size: 1.1rem;
  display: inline-block;
  animation: none !important;
}

.phone-number {
  white-space: nowrap;
}
.search { 
  display:flex; 
  align-items:center; 
  border:1px solid #cfd8e3; 
  border-radius:999px; 
  overflow:hidden;
  transition: all 0.3s ease;
}
.search:focus-within {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(68,156,232,0.1);
  transform: scale(1.02);
}
.search input { 
  border:none; 
  padding:6px 12px; 
  width:220px; 
  outline:none;
  transition: width 0.3s ease;
}
.search:focus-within input {
  width: 250px;
}
.search button { 
  border:none; 
  background:transparent; 
  padding:8px 10px; 
  cursor:pointer;
  transition: transform 0.3s ease;
}
.search button:hover {
  transform: scale(1.2) rotate(15deg);
}

/* Full Width Search Bar */
.full-search-container {
  width: 100%;
  max-width: 100%;
  margin: 30px auto 20px;
  padding: 0 4%;
  box-sizing: border-box;
}

.full-search-bar {
  display: flex;
  align-items: stretch;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.full-search-bar:focus-within {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 12px rgba(68,156,232,0.15);
}

.search-category-dropdown {
  padding: 12px 16px;
  border: none;
  border-right: 1px solid #e5e7eb;
  background: #f8f9fa;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232354A8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  min-width: 120px;
}

.search-category-dropdown:hover {
  background-color: #f0f2f5;
}

.full-search-input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  outline: none;
  font-size: 1rem;
  color: var(--clr-text);
}

.full-search-input::placeholder {
  color: #9ca3af;
}

.full-search-btn {
  border: none;
  background: var(--clr-primary);
  color: #ffffff;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-search-btn:hover {
  background: var(--clr-secondary);
}

@media (max-width: 768px) {
  .full-search-container {
    padding: 0 16px;
    margin: 20px auto 15px;
  }
  
  .full-search-bar {
    flex-direction: column;
    border-radius: 8px;
  }
  
  .search-category-dropdown {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 8px 8px 0 0;
  }
  
  .full-search-input {
    border-radius: 0;
  }
  
  .full-search-btn {
    border-radius: 0 0 8px 8px;
  }
}
.icon-btn { 
  width:36px; 
  height:36px; 
  display:grid; 
  place-items:center; 
  border-radius:50%; 
  background:#f3f6fb; 
  color:var(--clr-primary); 
  text-decoration:none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.icon-btn:hover { 
  background:rgba(68,156,232,0.1);
  transform: scale(1.1) rotate(5deg);
}

.header-nav { border-top:1px solid #eef2f7; }
.header-nav {
  border-top: none;
}
.header-nav ul {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:20px;
  justify-content:center;
  align-items:center;
}
.header-nav li {
  margin: 0;
}
.header-nav a { 
  display:inline-block; 
  padding:8px 0; 
  text-decoration:none; 
  color:var(--clr-primary); 
  font-weight:700; 
  text-transform:uppercase; 
  letter-spacing:.02em;
  position: relative;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateY(0);
}

.header-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.header-nav a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(35,84,168,0.08) 0%, rgba(68,156,232,0.08) 100%);
  opacity: 0;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.header-nav a:hover {
  transform: translateY(-2px);
  color: var(--clr-accent);
}

.header-nav a:hover::before {
  width: 100%;
  background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
}

.header-nav a:hover::after {
  opacity: 1;
  background: linear-gradient(135deg, rgba(35,84,168,0.08) 0%, rgba(68,156,232,0.08) 100%);
}

.hamburger { 
  display:none; 
  border:none; 
  background:#f3f6fb; 
  border-radius:8px; 
  padding:8px 10px; 
  cursor:pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1300; /* ensure tap area stays above overlapping elements */
}

.hamburger:hover {
  background: #e7eef8;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  /* Ticker Bar Mobile */
  .ticker-bar {
    padding: 6px 0;
  }
  .ticker-content {
    animation-duration: 25s;
    gap: 30px;
  }
  .ticker-content span {
    font-size: 0.8rem;
    padding: 0 15px;
  }
  .header {
    top: 30px;
  }
  
  /* Header adjustments */
  .header-top { 
    padding: 6px 16px; 
    gap: 12px;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
  }
  .header .logo img {
    height: 70px !important;
    max-height: 70px !important;
    transform: scale(1.0) !important;
  }
  .logo-slogan {
    font-size: 0.65rem;
  }
  .search input { 
    width: 120px; 
    font-size: 0.9rem;
    padding: 6px 10px;
  }
  .header-phone {
    display: none;
  }
  .icon-btn, .cart-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .header-actions {
    justify-content: flex-end;
  }
  .hamburger {
    padding: 6px 8px;
    font-size: 1.2rem;
  }
  
  /* Navigation */
  .header-nav { 
    display:none; 
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    background: #f8fbff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }
  .header-nav.open { 
    display:block;
    max-height: 500px;
    animation: mobileNavSlideDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .header-nav ul { 
    flex-direction:column; 
    padding:8px 20px 14px; 
    gap:8px;
  }
  .header-nav a {
    opacity: 0;
    transform: translateX(-20px);
    font-size: 0.95rem;
    padding: 10px 0;
  }
  .header-nav.open a {
    animation: mobileNavItemFadeIn 0.4s ease forwards;
  }
  .header-nav.open a:nth-child(1) { animation-delay: 0.1s; }
  .header-nav.open a:nth-child(2) { animation-delay: 0.15s; }
  .header-nav.open a:nth-child(3) { animation-delay: 0.2s; }
  .header-nav.open a:nth-child(4) { animation-delay: 0.25s; }
  .header-nav.open a:nth-child(5) { animation-delay: 0.3s; }
  .hamburger { display:block; }
  
  /* Sections */
  section {
    padding: 40px 20px;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    word-wrap: break-word;
  }
  
  /* Product Grid */
  .product-section {
    padding: 30px 16px;
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important; /* CRITICAL: Allow child scrolling */
    overflow-x: visible !important;
    overflow-y: visible !important;
    box-sizing: border-box;
    min-width: 0;
  }
  
  .product-grid {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  
  .product-section h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  .product-section p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }
  .product-card {
    padding: 10px;
    margin: 0;
  }
  .product-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  }
  .product-name {
    font-size: 0.9rem;
    margin: 8px 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-category {
    font-size: 0.75rem;
    margin: 2px 0;
  }
  .product-price {
    font-size: 0.9rem;
    margin: 6px 0;
    font-weight: 700;
  }
  .rating {
    font-size: 0.7rem;
    margin: 4px 0;
  }
  .add-to-cart-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
    margin-top: 8px;
    width: 100%;
  }
  
  /* Grid layouts */
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    font-size: 1rem;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .benefit {
    padding: 16px 10px;
    min-height: 120px;
  }
  .benefit img {
  width: 48px;
  height: auto;
  }
  .benefit span {
    font-size: 0.9rem;
  }
  
  /* Why Shop With Us - Mobile */
  .why-shop {
    padding: 40px 20px;
  }
  .why-shop h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }
  .why-shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .why-shop-card {
    padding: 20px 14px;
    min-height: 160px;
  }
  .why-shop-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  .why-shop-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  .why-shop-card p {
    font-size: 0.85rem;
  }
  
  /* Stats */
  .stats {
    flex-direction: column;
    gap: 12px;
  }
  .stat {
    padding: 14px 18px;
  }
  .stat .num {
    font-size: 1.6rem;
  }
  
  /* Hero */
  .hero-pro h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .hero-pro p {
    font-size: 0.95rem;
  }
  .hero-pro .hero-panel {
    padding: 16px 18px;
    margin: 0 16px;
  }
  .hero-pro .cta-row {
    flex-direction: column;
    gap: 10px;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  /* Trust items */
  .trust .items {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 20px;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
  }
  .service-card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  }
  .service-card h3 {
    font-size: 1rem;
    margin: 12px;
  }
  
  /* Footer */
  .footer-newsletter {
    padding: 30px 20px;
  }
  .newsletter-content h3 {
    font-size: 1.2rem;
  }
  .newsletter-content p {
    font-size: 0.9rem;
  }
  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }
  .newsletter-form input {
    width: 100%;
  }
  .newsletter-submit {
    width: 100%;
  }
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    padding: 30px 20px;
  }
  .footer-contact {
    grid-column: span 2;
  }
}

@keyframes mobileNavSlideDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 500px;
    opacity: 1;
  }
}

@keyframes mobileNavItemFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.header-nav a.active { 
  position:relative; 
  color: var(--clr-primary);
  animation: activeMenuPulse 2s ease-in-out infinite;
}

.header-nav a.active::before {
  width: 100%;
  background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  animation: activeMenuUnderline 2s ease-in-out infinite;
}

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

@keyframes activeMenuUnderline {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Gap between header and hero */
#home { margin-top: 12px; }

/* legacy .logo left for other pages; overridden in .header .logo */
.logo { font-size: 1.5rem; font-weight: bold; }

/* legacy nav styles no longer used in header */

.auth-buttons .btn {
  margin-left: 10px;
  padding: 8px 12px;
  background-color: #e6f4f1;
  color: var(--clr-primary);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.auth-buttons .login {
  background-color: var(--clr-accent);
  color: #0b1f30;
}

.product-section {
  padding: 40px 4%;
  text-align: center;
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  /* CRITICAL: Ensure section doesn't constrain child scrolling */
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  min-width: 0;
}

/* CRITICAL: Fix for .product-section.reveal - ensure overflow is visible */
.product-section.reveal,
.product-section.reveal.show,
.product-section.reveal.x,
.product-section.reveal.x.show,
.product-section.reveal-fix {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* CRITICAL: Override any reveal class overflow */
.reveal.product-section,
.reveal.x.product-section,
.reveal.show.product-section {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

/* Products page - grid layout for all products */
.products-page-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 30px;
  padding: 0;
}

.products-page-grid .product-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 400px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.products-page-grid .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.products-page-grid .product-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 10px;
  flex-shrink: 0;
}

.products-page-grid .product-card .product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  padding-top: 12px;
}

.products-page-grid .product-card .product-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  height: 2.8em;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products-page-grid .product-card .product-category {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 8px;
}

.products-page-grid .product-card .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 4px;
}

.products-page-grid .product-card .rating {
  font-size: 0.85rem;
  color: #fbbf24;
  letter-spacing: 1px;
}

.products-page-grid .add-to-cart-btn {
  margin-top: auto;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease;
  width: 100%;
}

.products-page-grid .add-to-cart-btn:hover {
  background: #1a4d8c;
  transform: scale(1.02);
}

/* Product Row Styles */
.product-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-row-header {
  text-align: left;
  padding: 0 4px;
}

.product-row-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.product-row-items {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  gap: 20px;
  align-items: stretch;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  padding: 8px 24px 20px;
  /* SIMPLE FIX: Force width to create overflow */
  width: calc(100% - 20px) !important;
  max-width: calc(100% - 20px) !important;
  min-width: 0 !important;
  /* Enable scrolling */
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-primary) rgba(0,0,0,0.1);
  scroll-padding: 0 24px;
  scroll-snap-type: x mandatory;
  cursor: grab;
  /* Force hardware acceleration for smooth scrolling */
  will-change: scroll-position;
  /* Ensure container can receive touch events */
  -webkit-touch-callout: none;
  -webkit-user-select: none; /* Desktop only - will be overridden on mobile */
  user-select: none; /* Desktop only - will be overridden on mobile */
  /* CRITICAL: Force container to be scrollable - prevent it from expanding */
  flex: 0 0 auto !important; /* Don't grow, use content size */
  align-self: stretch; /* Take full width of parent */
  /* CRITICAL: Ensure container has proper dimensions for scrolling at ALL viewport sizes */
  width: 100% !important;
  max-width: calc(100% - 2px) !important; /* Force 2px less to create overflow - CRITICAL FIX */
  min-width: 0 !important; /* Allow flex item to shrink below content size */
  box-sizing: border-box !important;
  /* Ensure content width exceeds container width for scrolling */
  min-height: 0; /* Prevent height issues */
  /* Force container to respect parent width */
  position: relative;
  /* CRITICAL: Prevent container from expanding to fit all content */
  flex: 0 0 auto !important; /* Don't grow or shrink, use content size */
}

.product-row-items::-webkit-scrollbar {
  height: 6px;
}

.product-row-items::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
}

.product-row-items::-webkit-scrollbar-thumb {
  background: var(--clr-primary);
  border-radius: 10px;
}

.product-row-items.dragging {
  cursor: grabbing;
}

/* Clients slider (aligned with orders design) */
.clients-section {
  padding: 60px 24px;
  max-width: 100%;
  margin: 0 auto 40px;
}
.clients-grid {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 32px;
  align-items: start;
  box-sizing: border-box;
}
.clients-hero {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}
.clients-hero h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin: 0 0 12px;
  font-family: inherit;
}
.clients-hero p {
  margin: 0 0 10px;
  color: var(--clr-text);
  line-height: 1.5;
  font-weight: 400;
  font-family: inherit;
}
.client-name {
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--clr-primary);
  font-family: inherit;
}
.client-copy {
  margin: 0;
  color: #1f2937;
  line-height: 1.65;
  font-weight: 500;
  font-family: inherit;
  /* Prevent awkward inner scrollbars; keep layout tidy */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}
.clients-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
}
.clients-track {
  position: relative;
  height: 320px; /* smaller image area */
}
.client-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.client-slide.active {
  display: block;
}
.client-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clients-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #0b1a3d;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  display: grid;
  place-items: center;
  z-index: 5;
}
.clients-nav.prev { left: 14px; }
.clients-nav.next { right: 14px; }
.clients-nav:hover {
  transform: translateY(-50%) scale(1.05);
}
.clients-nav:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .clients-section {
    padding: 40px 16px;
  }
  .clients-grid {
    grid-template-columns: 1fr;
  }
  .clients-slider {
    order: 2;
  }
  .clients-hero {
    order: 1;
    text-align: center;
    padding: 18px 16px;
  }
  .clients-hero h2 {
    font-size: 1.55rem;
  }
  .client-copy {
    -webkit-line-clamp: 6;
  }
  .clients-track {
    height: 260px;
  }
}

/* Reviews page (inspired by modern testimonial layouts) */
.reviews-hero {
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 8px 4% 0;
  text-align: left;
}
.reviews-hero h1,
.reviews-hero h2 {
  margin: 0 0 10px;
  color: var(--clr-primary);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.reviews-hero p {
  margin: 0;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.55;
}

.reviews-stage {
  max-width: 100%;
  margin: 18px auto 50px;
  padding: 0 4%;
  box-sizing: border-box;
}
.reviews-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(90deg, rgba(245,248,255,0.95) 0%, rgba(246,248,251,0.55) 40%, rgba(255,255,255,0.55) 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,0.10);
}
.reviews-shell::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(68,156,232,0.22), rgba(68,156,232,0));
  pointer-events: none;
}
.reviews-shell::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 60% 60%, rgba(35,84,168,0.18), rgba(35,84,168,0));
  pointer-events: none;
}

.reviews-panel {
  position: relative;
  z-index: 1;
}
.reviews-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  box-shadow: 0 18px 44px rgba(0,0,0,0.14);
  border: 6px solid #fff;
}
.reviews-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reviews-quote-badge {
  position: absolute;
  right: -18px;
  top: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2dd4bf;
  color: #0b1a3d;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.reviews-controls {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.reviews-arrow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #ffffff;
  color: #0b1a3d;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.reviews-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}
.reviews-arrow:active {
  transform: translateY(0);
}
.reviews-arrow:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

.reviews-copy {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 22px 22px;
}
.reviews-copy h2 {
  margin: 0 0 12px;
  color: #0b2042;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.1px;
}
.reviews-copy p {
  margin: 0 0 18px;
  color: #334155;
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 500;
}
.reviews-person-name {
  font-weight: 900;
  color: var(--clr-primary);
}
.reviews-person-role {
  margin-top: 2px;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .reviews-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .reviews-hero {
    padding: 8px 16px 0;
    text-align: center;
  }
  .reviews-hero h1 {
    font-size: 1.75rem;
  }
  .reviews-stage {
    padding: 0 16px;
  }
  .reviews-image {
    max-width: 280px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
  .reviews-quote-badge {
    right: 12px;
    top: 12px;
  }
  .reviews-copy {
    text-align: left;
  }
}

.overview-block {
  padding: 50px 4% 30px;
  max-width: 100%;
  margin: 0 auto 30px;
}
.overview-inner {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  border-left: 4px solid var(--clr-primary);
}
.overview-inner h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  color: var(--clr-primary);
}
.overview-inner p {
  margin: 0 0 12px;
  color: #1f2937;
  line-height: 1.7;
}

/* ====== PRODUCT SECTION REDESIGN ====== */
.product-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding: 60px 40px;
}

.product-section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b2042;
  margin-bottom: 12px;
}

.product-section > p {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Product row - Clean professional layout */
.product-row {
  gap: 20px;
  padding: 0 0 40px;
  max-width: 100%;
  margin: 0 auto 24px;
  overflow: visible !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.product-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 8px;
  margin-bottom: 20px;
}

.product-row-header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b2042;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  position: relative;
}

.product-row-header h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--clr-primary);
  border-radius: 2px;
}

.product-row-items {
  display: flex;
  gap: 20px;
  padding: 12px 8px 20px;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overflow-x: auto;
  justify-content: flex-start;
  /* Allow touch scrolling */
  -ms-overflow-style: none;
}

.product-row-items::-webkit-scrollbar {
  display: none;
  height: 0;
}

.product-row-items .product-card {
  scroll-snap-align: start;
  /* Allow touch to pass through for scrolling */
  touch-action: pan-x pan-y;
}

/* Product Card - Professional design for 5-card layout */
.product-row .product-card {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  height: 360px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 250ms ease, box-shadow 250ms ease;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  overflow: hidden;
}
.product-row .product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
  flex-shrink: 0;
}

.product-row .product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  height: 2.8em;
}

.product-row .product-category {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}

.product-row .product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0;
}

.product-row .rating {
  font-size: 0.8rem;
  color: #fbbf24;
  letter-spacing: 1px;
}

.product-row .add-to-cart-btn {
  margin-top: auto;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease;
  width: 100%;
}

.product-row .add-to-cart-btn:hover {
  background: #1a4d8c;
  transform: scale(1.02);
}

.product-row .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-row .product-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 10px;
}

/* Old mobile scrolling styles removed - using grid layout instead (see below) */

/* Specific fix for 586px and similar widths (481px - 600px) */
@media (max-width: 600px) and (min-width: 481px) {
  .product-section {
    padding: 30px 12px !important; /* Reduced padding */
    overflow-x: visible !important;
  }
  
  .product-grid {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  
  .product-row {
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 4px 0 20px !important;
  }
  
  .product-row-track {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  
  .product-row-items {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    cursor: default !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    padding: 8px 8px 20px !important; /* Further reduced padding */
    width: 100% !important;
    max-width: calc(100% - 2px) !important; /* Force 2px less to create overflow */
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    /* CRITICAL: Prevent container from expanding */
    flex: 0 0 auto !important; /* Don't grow, use content size */
    position: relative;
  }
  
  .product-row .product-card {
    min-width: 150px !important;
    max-width: 170px !important;
    width: 160px !important;
    padding: 8px;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    box-sizing: border-box;
  }

  .product-row .product-card img {
    height: 95px;
  }
}

/* NEW MOBILE DESIGN - 2 Column Grid */
@media (max-width: 768px) {
  .product-section {
    padding: 30px 16px;
  }

  .product-section h2 {
    font-size: 1.5rem;
  }

  .product-section > p {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }

  /* Hide navigation buttons on mobile */
  .product-row-nav {
    display: none !important;
  }

  /* Convert horizontal scroll to 2-column grid on mobile */
  .product-row-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    padding: 8px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-row-track {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .product-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding: 0 0 24px !important;
    margin-bottom: 16px !important;
  }
  
  .product-row .product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box !important;
  }

  .product-row .product-card img {
    height: 100px;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
  }

  .product-row .product-name {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .product-row .product-category {
    font-size: 0.7rem;
  }

  .product-row .rating {
    font-size: 0.7rem;
  }

  .product-row .product-price {
    font-size: 0.95rem;
  }

  .product-row .add-to-cart-btn {
    font-size: 0.8rem;
    padding: 10px 12px;
    width: 100%;
  }

  .product-row .product-card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  }

  .product-row-header {
    padding: 0;
    margin-bottom: 12px;
  }

  .product-row-header h3 {
    font-size: 1rem;
  }

  .see-more-arrow {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .product-row-items {
    gap: 10px !important;
    padding: 8px 8px 16px !important;
    box-sizing: border-box !important;
  }

  .product-row .product-card {
    padding: 10px;
    border-radius: 8px;
    box-sizing: border-box !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-row .product-card img {
    height: 90px;
    width: 100%;
    border-radius: 6px;
    object-fit: contain;
  }

  .product-row .product-name {
    font-size: 0.8rem;
    margin: 0;
  }

  .product-row .product-category {
    font-size: 0.65rem;
  }

  .product-row .rating {
    font-size: 0.65rem;
  }

  .product-row .product-price {
    font-size: 0.9rem;
    margin: 0;
  }

  .product-row .add-to-cart-btn {
    font-size: 0.75rem;
    padding: 8px 10px;
    width: 100%;
    box-sizing: border-box;
  }
}

.product-row .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Disable hover effects on mobile to prevent overlap */
@media (max-width: 768px) {
  .product-row .product-card:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
  }
}

.product-row .rating {
  color: #facc15;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

.product-row .product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.product-row .product-name {
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-row .product-category {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 6px 0;
}

.product-row .add-to-cart-btn {
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 8px;
  width: 100%;
  margin-top: auto;
}

.product-row .product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

.product-row-track {
  position: relative;
  display: flex;
  align-items: center;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important; /* Allow flex item to shrink */
  overflow: visible !important; /* Don't clip the scrollable content */
  box-sizing: border-box;
}

.product-row-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #0b2042;
  border: 1px solid #e2e8f0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  z-index: 10;
  transition: all 200ms ease;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-size: 1.2rem;
  font-weight: 600;
  user-select: none;
}

.product-row-nav.prev { left: -8px; }
.product-row-nav.next { right: -8px; }

.product-row-nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  box-shadow: 0 4px 12px rgba(35,84,168,0.25);
}

.product-row-track .product-row-items {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important; /* CRITICAL: Allow flex item to shrink below content size */
  /* Ensure container is scrollable on mobile */
  /* CRITICAL: Container must be able to scroll */
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.product-row-items::-webkit-scrollbar-thumb:hover {
  background: var(--clr-secondary);
}

/* See More Arrow Button - Clean minimal style */
.see-more-arrow-container {
  display: inline-flex;
  align-items: center;
}

.see-more-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--clr-primary);
  border-radius: 6px;
  transition: all 200ms ease;
  cursor: pointer;
}

.see-more-arrow .arrow-icon {
  font-size: 1.1rem;
  transition: transform 200ms ease;
}

.see-more-arrow:hover {
  background: var(--clr-primary);
  color: #fff;
}

.see-more-arrow:hover .arrow-icon {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .product-grid {
    gap: 30px;
    margin-top: 20px;
  }
  
  .products-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding: 0 12px;
  }
  .products-page-grid .product-card {
    min-width: 0;
    max-width: 100%;
    padding: 12px;
    height: 360px;
  }
  .products-page-grid .product-card img {
    height: 130px;
  }
  .products-page-grid .product-card .product-name {
    font-size: 0.9rem;
    height: 2.5em;
  }
  .products-page-grid .product-card .product-price {
    font-size: 1rem;
  }
  .products-page-grid .add-to-cart-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .product-row {
    gap: 16px;
  }
  
  .product-row-header h3 {
    font-size: 1.3rem;
  }
  
  .product-row-items {
    gap: 10px;
  }
  
  .product-card {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
    padding: 8px;
  }
  
  .product-card img {
    height: 120px;
  }

  /* Recommended cards (product detail) */
  .product-row .product-card {
    min-width: 190px;
    max-width: 210px;
    padding: 10px;
  }

  .product-row .product-card img {
    height: 120px;
  }

  .see-more-arrow-container {
    min-width: 100px;
    padding: 6px;
  }

  .see-more-arrow {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    gap: 24px;
    margin-top: 16px;
  }
  
  .products-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 0 8px;
  }
  .products-page-grid .product-card {
    min-width: 0;
    max-width: 100%;
    padding: 10px;
    height: 320px;
  }
  
  .product-row {
    gap: 12px;
  }
  
  .product-row-header h3 {
    font-size: 1.2rem;
  }
  
  .product-row-items {
    gap: 8px;
  }
  
  .product-card {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    padding: 6px;
  }
  
  .product-card img {
    height: 100px;
  }

  /* Recommended cards (product detail) */
  .product-row .product-card {
    min-width: 150px;
    max-width: 180px;
    padding: 8px;
  }

  .product-row .product-card img {
    height: 85px;
  }

  /* All products page cards - 480px */
  .products-page-grid .product-card img {
    height: 110px;
  }

  .products-page-grid .product-card .product-name {
    font-size: 0.85rem;
    height: 2.4em;
  }

  .products-page-grid .product-card .product-category {
    font-size: 0.7rem;
  }

  .products-page-grid .product-card .product-price {
    font-size: 0.95rem;
  }

  .products-page-grid .product-card .rating {
    font-size: 0.75rem;
  }

  .products-page-grid .add-to-cart-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .see-more-arrow-container {
    min-width: 90px;
    padding: 5px;
  }
  
  .see-more-arrow {
    padding: 5px 10px;
    font-size: 0.65rem;
  }
  
  /* Product row nav buttons on mobile */
  .product-row-nav {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    top: 45%;
  }
  .product-row-nav.prev {
    left: 4px;
  }
  .product-row-nav.next {
    right: 4px;
  }
}

/* See More button - scoped styles so other .btns remain unchanged */
.see-more-row {
  margin: 24px 0;
  padding: 0 16px;
  text-align: center;
}

.see-more-row .btn,
.see-more-row a.btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 45%, var(--clr-accent) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 20px rgba(10,37,64,0.18), 0 2px 6px rgba(10,37,64,0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 280ms ease;
  position: relative;
  z-index: 10;
  display: inline-block;
  min-width: 140px;
  -webkit-tap-highlight-color: rgba(68,156,232,0.3);
  touch-action: manipulation;
  text-decoration: none;
}

.see-more-row .btn::after {
  content: "→";
  display: inline-block;
  margin-left: 10px;
  transition: transform 180ms ease;
}

.see-more-row .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(10,37,64,0.22), 0 6px 10px rgba(10,37,64,0.16);
}

.see-more-row .btn:hover::after {
  transform: translateX(4px);
}

.see-more-row .btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(35,84,168,0.2), 0 2px 6px rgba(35,84,168,0.14);
}

.see-more-row .btn:focus-visible {
  outline: 3px solid rgba(68,156,232,0.55);
  outline-offset: 2px;
}

.product-card {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 8px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: productCardFadeIn 0.6s ease forwards;
  cursor: pointer;
  flex-shrink: 0;
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

.product-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(35,84,168,0.15);
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes productCardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(10,37,64,0.15);
}

.product-card img {
  transition: transform 0.5s ease;
}

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

.add-to-cart-btn {
  margin-top: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.7rem;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.add-to-cart-btn:hover::before {
  width: 300px;
  height: 300px;
}

.add-to-cart-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(10,37,64,0.4);
}

.add-to-cart-btn:active {
  transform: translateY(-1px) scale(1.02);
  transition: transform 0.1s;
}

.add-to-cart-btn:active::before {
  width: 0;
  height: 0;
}

.product-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}
.rating { 
  color: #ffb400; 
  margin-top: 4px;
  font-size: 0.7rem;
}

.product-name {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 6px 0 3px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-category {
  font-size: 0.65rem;
  color: #666;
  margin: 2px 0;
}

.product-price {
  font-size: 0.8rem;
  color: var(--clr-primary);
  margin: 4px 0;
  font-weight: 700;
}

.add-btn {
  background-color: #004080;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

footer {
  background-color: var(--clr-primary);
  color: white;
  text-align: center;
  padding: 20px;
}

.hero {
  position: relative;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  animation: fadeIn 2s ease-in-out;
  overflow: hidden;
}
.hero-pro {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 68vh;
  display: flex;
  align-items: center;
}

/* Override for hero-slider to prevent flex layout issues */
.hero-pro.hero-slider {
  min-height: clamp(320px, 60vh, 640px);
  max-height: 640px;
  height: clamp(320px, 60vh, 640px);
  display: block;
  align-items: unset;
}
.hero-pro .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,37,64,0.58), rgba(10,37,64,0.28));
}
.hero-pro .content {
  position: relative;
  z-index: 1;
  padding: 60px 4%;
  max-width: 100%;
  margin: 0 auto;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero-pro .hero-panel {
  background: rgba(10, 37, 64, 0.38);
  /* removed blur to keep background sharp */
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 22px 24px 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  max-width: 820px;
}
.hero-pro h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 8px;
}
.hero-pro p { font-size: 1.05rem; margin: 6px 0 2px; }
.hero-pro .cta-row { margin-top: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn.primary { background: var(--clr-accent); color:#ffffff; font-weight: 700; }
.btn.secondary { background: transparent; color:#ffffff; border:1px solid rgba(255,255,255,.75); }
.mini-bullets { margin-top: 14px; display:flex; gap:14px; flex-wrap:wrap; opacity:.9 }
.mini-bullets span { background: rgba(255,255,255,.18); padding:6px 10px; border-radius: 999px; border:1px solid rgba(255,255,255,.25); }
.section {
  height: 100vh;
  background-size: cover;
  background-position: center;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.slider-container {
  width: 100%;
  max-width: 92%;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.trust { background:#ffffff; }
.trust .items { max-width: 100%; margin: 0 auto; padding: 22px 4%; display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:12px; box-sizing: border-box; }
.trust-item { background:rgba(68,156,232,0.08); border:1px solid rgba(35,84,168,0.2); color:var(--clr-primary); padding:12px 16px; border-radius:8px; text-align:center; font-weight:600; }

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  text-align: center;
  background: #f9f9f9;
  padding: 20px;
}

.slide.active {
  opacity: 1;
}
.caption {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}
.slide img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.4em;
  margin-bottom: 20px;
}

.hero .btn {
  background-color: #ffcc00;
  color: #004080;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
section {
  padding: 60px 4%;
  max-width: 100%;
  margin: auto;
}

/* Trust strip full-width alignment */
section.trust {
  max-width: 100%;
  width: 100%;
  padding: 32px 4%;
  margin: 0 auto;
}

section.hero-pro,
#home.hero-pro {
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

section h2 {
  color: var(--clr-primary);
  margin-bottom: 20px;
  font-size: 2em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
  font-size: 1.1em;
}

/* Benefits icons layout */
.benefits-grid {
  align-items: center;
}
.benefit {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(35,84,168,0.15);
  border-color: var(--clr-primary);
}

.benefit img {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 10px;
}

/* Why Shop With Us Section */
.why-shop {
  padding: 60px 24px;
  background: var(--clr-bg);
  text-align: center;
}

.why-shop h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin: 0 0 40px;
}

.why-shop-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.why-shop-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 200px;
}

.why-shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(35,84,168,0.18);
  border-color: var(--clr-primary);
}

.why-shop-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.why-shop-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.why-shop-card p {
  font-size: 0.95rem;
  color: var(--clr-text);
  margin: 0;
  line-height: 1.5;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.benefit:hover img {
  transform: scale(1.1) rotate(5deg);
}
.benefit span {
  display: block;
  color: var(--clr-primary);
  font-weight: 600;
  line-height: 1.4;
}

.benefit span small {
  display: block;
  font-size: 0.75em;
  font-weight: 500;
  color: var(--clr-text);
  opacity: 0.8;
  margin-top: 4px;
}

.benefit:hover {
  border-color: var(--clr-primary);
}

.stats { display:flex; gap:20px; justify-content:center; max-width:100%; padding: 0 4%; margin: 0 auto 20px; box-sizing: border-box; }
.stat { background:#ffffff; border:1px solid #eee; border-radius:12px; padding:18px 24px; text-align:center; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.stat .num { font-size: 2rem; color:var(--clr-primary); font-weight:800; }
.stat .label { color:#555; margin-top:4px; }

.features ul {
  display: none;
}

.card-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:20px; }

/* Services Grid - Specific styling for service cards */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.service-card {
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 16px;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px 12px 0 0;
}

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

.service-card h3 {
  margin: 16px;
  color: var(--clr-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  transition: color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(35,84,168,0.15);
  border-color: var(--clr-accent);
}

.service-card:hover h3 {
  color: var(--clr-accent);
}

/* Services Description */
.services-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

.location-note {
  color: var(--clr-primary);
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: rgba(68,156,232,0.1);
  border-radius: 6px;
}

.service-hint {
  font-size: 0.85rem;
  color: var(--clr-accent);
  margin: 8px 16px 16px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-hint {
  opacity: 1;
}

.service-card {
  cursor: pointer;
}

/* Service Modal */
.service-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.service-modal-content {
  background-color: #ffffff;
  margin: auto;
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #aaa;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.service-modal-close:hover {
  color: var(--clr-primary);
}

.service-modal-content h2 {
  color: var(--clr-primary);
  margin: 0 0 20px;
  font-size: 1.8rem;
  font-weight: 800;
}

.service-modal-content p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0 0 24px;
}

.service-modal-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.location-note-modal {
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  padding: 8px 16px;
  background: rgba(68,156,232,0.1);
  border-radius: 8px;
}

.service-request-btn {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-request-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35,84,168,0.3);
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Get Quote Modal */
.get-quote-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
  backdrop-filter: blur(4px);
}

.get-quote-backdrop[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.get-quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.get-quote-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.get-quote-modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.get-quote-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 10;
}

.get-quote-close:hover {
  color: var(--clr-primary);
}

.get-quote-modal-content h2 {
  color: var(--clr-primary);
  margin: 0 0 24px;
  font-size: 1.8rem;
  font-weight: 800;
}

.get-quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.get-quote-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.get-quote-form label {
  font-weight: 600;
  color: var(--clr-text);
  font-size: 0.95rem;
}

.get-quote-form .required {
  color: #ef4444;
  margin-left: 2px;
}

.get-quote-form input[type="text"],
.get-quote-form input[type="email"],
.get-quote-form input[type="tel"],
.get-quote-form input[type="date"],
.get-quote-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
  box-sizing: border-box;
}

.get-quote-form input:focus,
.get-quote-form textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(35, 84, 168, 0.1);
}

.get-quote-form textarea {
  resize: vertical;
  min-height: 100px;
}

.email-input-wrapper {
  position: relative;
}

.email-input-wrapper .email-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
}

.email-input-wrapper input {
  padding-right: 45px;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  margin: 0;
}

.file-upload-wrapper {
  position: relative;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.file-upload-label:hover {
  border-color: var(--clr-primary);
  background: #f9fafb;
}

.file-upload-text {
  color: var(--clr-primary);
  font-weight: 600;
}

.file-upload-name {
  color: #6b7280;
  font-size: 0.9rem;
}

.file-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #6b7280;
}

.get-quote-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--clr-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
}

.get-quote-submit:hover {
  background: var(--clr-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 84, 168, 0.3);
}

.get-quote-submit:active {
  transform: translateY(0);
}

.get-quote-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 20px;
}

/* Quote Page Styles */
.quote-page {
  padding: 40px 20px;
  min-height: 60vh;
}

.quote-page-container {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.quote-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-text);
  margin: 0 0 16px;
  text-align: center;
}

.quote-page-divider {
  width: 60px;
  height: 2px;
  background: #d1d5db;
  margin: 0 auto 30px;
}

.get-quote-form-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.get-quote-form-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.get-quote-form-page label {
  font-weight: 600;
  color: var(--clr-text);
  font-size: 0.95rem;
}

.get-quote-form-page .required {
  color: #ef4444;
  margin-left: 2px;
}

.get-quote-form-page input[type="text"],
.get-quote-form-page input[type="email"],
.get-quote-form-page input[type="tel"],
.get-quote-form-page input[type="date"],
.get-quote-form-page textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
  box-sizing: border-box;
}

.get-quote-form-page input:focus,
.get-quote-form-page textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(35, 84, 168, 0.1);
}

.get-quote-form-page textarea {
  resize: vertical;
  min-height: 100px;
}

.get-quote-form-page .email-input-wrapper {
  position: relative;
}

.get-quote-form-page .email-input-wrapper .email-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
}

.get-quote-form-page .email-input-wrapper input {
  padding-right: 45px;
}

.get-quote-form-page .checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.get-quote-form-page .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
}

.get-quote-form-page .checkbox-label input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  margin: 0;
}

.get-quote-form-page .file-upload-wrapper {
  position: relative;
}

.get-quote-form-page .file-upload-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.get-quote-form-page .file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.get-quote-form-page .file-upload-label:hover {
  border-color: var(--clr-primary);
  background: #f9fafb;
}

.get-quote-form-page .file-upload-text {
  color: var(--clr-primary);
  font-weight: 600;
}

.get-quote-form-page .file-upload-name {
  color: #6b7280;
  font-size: 0.9rem;
}

.get-quote-form-page .file-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #6b7280;
}

.get-quote-submit-page {
  width: 100%;
  padding: 14px 24px;
  background: var(--clr-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.get-quote-submit-page:hover:not(:disabled) {
  background: var(--clr-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 84, 168, 0.3);
}

.get-quote-submit-page:active:not(:disabled) {
  transform: translateY(0);
}

.get-quote-submit-page:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.submit-spinner {
  display: none;
}

.submit-text {
  display: inline;
}

/* Quote Success Page */
.quote-success-page {
  padding: 60px 20px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-success-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.quote-success-title {
  font-size: 2rem;
  font-weight: 800;
  color: #4b5563;
  margin: 0 0 16px;
}

.quote-success-divider {
  width: 60px;
  height: 1px;
  background: #9ca3af;
  margin: 0 auto 24px;
}

.quote-success-message {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 32px;
}

.quote-success-box {
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 24px 32px;
  margin: 0 auto 32px;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.quote-success-icon {
  font-size: 24px;
  color: #10b981;
  font-weight: bold;
  line-height: 1;
}

.quote-success-text {
  font-size: 1rem;
  color: #10b981;
  margin: 0;
  font-weight: 600;
}

.quote-return-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--clr-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-return-btn:hover {
  background: var(--clr-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 84, 168, 0.3);
}

.quote-return-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive for Quote Pages */
@media (max-width: 768px) {
  .quote-page {
    padding: 60px 12px 20px;
  }

  .quote-page-container {
    padding: 24px 16px;
    box-shadow: none;
    border: 1px solid #eee;
  }

  .quote-page-title {
    font-size: 1.4rem;
  }

  .get-quote-form-page {
    gap: 14px;
  }

  .get-quote-form-page input[type="text"],
  .get-quote-form-page input[type="email"],
  .get-quote-form-page input[type="tel"],
  .get-quote-form-page input[type="date"],
  .get-quote-form-page textarea {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .get-quote-submit-page {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .quote-success-page {
    padding: 40px 16px;
  }

  .quote-success-title {
    font-size: 1.5rem;
  }

  .quote-success-box {
    padding: 20px 24px;
    flex-direction: column;
    gap: 8px;
  }

  .quote-return-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .quote-page {
    padding: 80px 8px 16px;
  }

  .quote-page-container {
    padding: 20px 14px;
  }

  .quote-page-title {
    font-size: 1.25rem;
  }

  .get-quote-form-page .file-upload-label {
    flex-wrap: wrap;
  }

  .get-quote-form-page .file-upload-name {
    font-size: 0.8rem;
    word-break: break-all;
  }
}

/* Product Detail Page Styles */
.product-detail-section {
  padding: 40px 4%;
  max-width: 100%;
  margin: 40px auto;
  transition: margin-right 0.4s ease, padding-right 0.4s ease;
  box-sizing: border-box;
}

/* Adjust product detail when cart is open */
body.cart-open .product-detail-section {
  margin-right: 420px;
  padding-right: 20px;
}

@media (max-width: 1200px) {
  body.cart-open .product-detail-section {
    margin-right: 0;
    padding-right: 30px;
  }
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.product-detail-image {
  position: sticky;
  top: 120px;
}

.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  object-fit: cover;
}

.product-detail-info h1 {
  color: var(--clr-primary);
  font-size: 2.2rem;
  margin: 0 0 12px;
  font-weight: 800;
}

.product-detail-category {
  color: var(--clr-accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 24px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(35,84,168,0.08) 0%, rgba(68,156,232,0.08) 100%);
  border-left: 4px solid var(--clr-accent);
  border-radius: 8px;
  display: inline-block;
}

.product-detail-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 32px;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-selector label {
  font-weight: 600;
  color: var(--clr-primary);
  font-size: 1rem;
}

.quantity-selector .qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-selector .qty-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #cfd8e3;
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.quantity-selector .qty-btn:hover {
  background: #f3f6fb;
  border-color: var(--clr-accent);
}

.quantity-selector .qty-input {
  width: 70px;
  height: 36px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

.add-to-cart-detail-btn {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.add-to-cart-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35,84,168,0.3);
}

.recommended-products {
  padding: 60px 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  margin-top: 40px;
}

.recommended-products h2 {
  text-align: center;
  color: #0b2042;
  font-size: 2rem;
  margin: 0 0 40px;
  font-weight: 800;
}

/* Grid layout for recommended products - matching homepage design */
.recommended-products .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.recommended-products .product-card {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 250ms ease, box-shadow 250ms ease;
  overflow: hidden;
}

.recommended-products .product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
  flex-shrink: 0;
}

.recommended-products .product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  padding-top: 12px;
}

.recommended-products .product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
  margin-bottom: 6px;
}

.recommended-products .product-category {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 8px;
}

.recommended-products .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 4px;
}

.recommended-products .rating {
  font-size: 0.8rem;
  color: #fbbf24;
  letter-spacing: 1px;
}

.recommended-products .add-to-cart-btn {
  margin-top: auto;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 150ms ease;
  width: 100%;
}

.recommended-products .add-to-cart-btn:hover {
  background: #1a4d8c;
  transform: scale(1.02);
}

.recommended-products .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* Recommended products responsive */
@media (max-width: 1024px) {
  .recommended-products {
    padding: 50px 24px;
  }
  .recommended-products .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .recommended-products {
    padding: 40px 16px;
  }
  .recommended-products h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  .recommended-products .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .recommended-products .product-card {
    padding: 12px;
    height: 320px;
  }
  .recommended-products .product-card img {
    height: 110px;
  }
  .recommended-products .product-name {
    font-size: 0.85rem;
    height: 2.4em;
  }
  .recommended-products .product-price {
    font-size: 0.95rem;
  }
  .recommended-products .add-to-cart-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .recommended-products .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .recommended-products .product-card {
    padding: 10px;
    height: 290px;
  }
  .recommended-products .product-card img {
    height: 90px;
  }
  .recommended-products .product-name {
    font-size: 0.8rem;
    height: 2.2em;
  }
  .recommended-products .product-price {
    font-size: 0.9rem;
  }
  .recommended-products .add-to-cart-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
}

/* Full-bleed hero on desktop for immersive feel */
@media (min-width: 1025px) {
  .hero-slider {
    width: 100%;
    margin: 0 auto;
  }
}

/* Backdrop blur for modals */
.cart-backdrop[aria-hidden="false"],
.checkout-backdrop[aria-hidden="false"],
.quote-backdrop[aria-hidden="false"] {
  backdrop-filter: blur(4px);
}

/* Mobile Responsive for Product Detail */
@media (max-width: 768px) {
  .product-detail-section {
    padding: 30px 20px;
    margin: 20px auto;
  }

  /* On mobile, cart drawer is full width, so no margin adjustment needed */
  body.cart-open .product-detail-section {
    margin-right: 0;
    padding-right: 20px;
  }

  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-detail-image {
    position: static;
  }

  .product-detail-info h1 {
    font-size: 1.6rem;
  }

  .product-detail-price {
    font-size: 1.6rem;
  }

  .product-detail-description {
    font-size: 1rem;
  }

}

.card { background:#ffffff; border:1px solid #eee; border-radius:12px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.06); }
.card img { width:100%; height:160px; object-fit:cover; display:block; }
.card h3 { margin:12px 16px 6px; color: var(--clr-primary); }
.card p { margin:0 16px 16px; color:#555; }

/* Service cards - consistent imagery */
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}

.slider div {
  background-color: #e6f2ff;
  padding: 15px;
  margin-bottom: 10px;
  border-left: 4px solid #004080;
  font-style: italic;
}

.cta {
  text-align: center;
  background-color: var(--clr-primary);
  color: white;
  padding: 50px 20px;
}

.cta .btn {
  background-color: var(--clr-accent);
  color: #0b1f30;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.license-list {
  list-style: disc;
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.form-card {
  max-width: 720px;
  margin: 30px auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.form-card h2 {
  margin-top: 0;
  color: #004080;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.form-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form-note {
  background: #fff8e1;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 10px 0 20px;
}
.form-actions {
  margin-top: 16px;
}
.form-actions .btn {
  background-color: #004080;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 30px;
  background-color: #004080;
  color: white;
}

/* New footer */
.site-footer { 
  background: linear-gradient(90deg, #f3f7ff 0%, #e8f1ff 50%, #f3f7ff 100%); 
  color: var(--clr-primary); 
  padding: 0; 
  margin-top: 60px;
  border-top: 1px solid #e5e7eb;
}

/* Newsletter Section */
.footer-newsletter {
  background: linear-gradient(90deg, #f3f7ff 0%, #e8f1ff 50%, #f3f7ff 100%);
  padding: 40px 4%;
  border-bottom: 1px solid #e5e7eb;
}

.newsletter-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newsletter-content p {
  font-size: 0.95rem;
  color: var(--clr-primary);
  opacity: 0.8;
  margin: 0 0 20px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--clr-primary);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--clr-primary);
  background: #ffffff;
}

.newsletter-submit {
  padding: 12px 28px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.newsletter-submit:hover {
  background: var(--clr-secondary);
  transform: translateY(-2px);
}

.newsletter-submit:active {
  transform: translateY(0);
}

/* Footer Grid */
.site-footer .footer-grid {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  align-items: start;
  box-sizing: border-box;
  padding: 40px 4%;
}

.site-footer .footer-brand { 
  grid-column: span 1;
}

.site-footer .footer-brand h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer .footer-brand p {
  margin: 8px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--clr-primary);
  opacity: 0.8;
}

.site-footer .footer-grid > div {
  grid-column: span 1;
}

.site-footer .footer-menu { 
  list-style: none; 
  padding: 0; 
  margin: 8px 0 0; 
}

.site-footer .footer-menu li { 
  margin: 8px 0; 
}

.site-footer .footer-menu a { 
  color: var(--clr-primary); 
  opacity: 0.8;
  text-decoration: none; 
  font-size: 0.9rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer .footer-menu a:hover { 
  color: var(--clr-primary);
  opacity: 1;
  text-decoration: underline; 
}

.site-footer h4 { 
  margin: 0 0 12px; 
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Section */
.footer-contact {
  grid-column: span 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 0.9rem;
  color: var(--clr-primary);
  opacity: 0.8;
  line-height: 1.5;
}

.contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.site-footer .footer-bottom { 
  text-align: center; 
  margin-top: 0; 
  border-top: 1px solid #e5e7eb; 
  padding: 20px 30px; 
  font-size: 0.85rem;
  color: var(--clr-primary);
  opacity: 0.8;
  background: linear-gradient(90deg, #f3f7ff 0%, #e8f1ff 50%, #f3f7ff 100%);
}

.site-footer .footer-social {
  margin-top: 16px;
}

/* Footer social */
.footer-social { display:flex; gap:10px; margin-top:10px; }
.footer-social a { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background: rgba(255,255,255,0.15); color:#fff; text-decoration:none; font-size:18px; }
.footer-social a:hover { background: rgba(255,255,255,0.28); }

/* Social media brand colors */
.footer-social a[aria-label="Facebook"] { background: #1877F2; }
.footer-social a[aria-label="Facebook"]:hover { background: #166FE5; }
.footer-social a[aria-label="LinkedIn"] { background: #0A66C2; }
.footer-social a[aria-label="LinkedIn"]:hover { background: #095196; }
.footer-social a[aria-label="Instagram"] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.footer-social a[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #e08323 0%, #d6582c 25%, #cc1733 50%, #bc1356 75%, #ac0878 100%); }

.product-categories .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
  font-size: 1.1em;
  margin-top: 20px;
}

.quotation-info {
  background-color: #fff8e1;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}
.services-list ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1em;
  line-height: 1.8em;
}

.request-info {
  background-color: #e6f2ff;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin: -4px 0 12px;
  display: block;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h3 {
  color: #004080;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 1em;
  margin-bottom: 15px;
}

.read-more {
  background-color: #004080;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #003060;
}
.page-gap { margin-top: 16px; }

/* Contact page */
.contact-page {
  max-width: 100%;
  margin: 40px auto 80px;
  padding: 0 4%;
  box-sizing: border-box;
}
.contact-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-primary);
  margin: 0 0 18px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}
.contact-card h3 {
  margin: 8px 0;
  font-size: 1.1rem;
  color: var(--clr-primary);
}
.contact-card p {
  margin: 4px 0 0;
  color: #1f2937;
  line-height: 1.5;
}
.contact-card a {
  color: var(--clr-primary);
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}
.contact-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #0b1a3d;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.contact-help {
  text-align: center;
  margin: 20px 0 30px;
  padding: 12px 18px;
  background: #f5f8ff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
}
.contact-help h3 {
  margin: 0 0 8px;
  color: var(--clr-primary);
}
.contact-help p {
  margin: 0;
  color: #1f2937;
  line-height: 1.6;
}
.contact-form-wrap {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 15px 36px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}
.contact-form-wrap h3 {
  margin: 0 0 12px;
  color: var(--clr-primary);
}
.contact-form {
  margin: 0;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  color: #1f2937;
  background: #f9fafb;
}
.contact-form textarea {
  resize: vertical;
}
.btn-primary {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(135deg, #0b7dde, #31a6ff);
  color: #fff;
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(11,125,222,0.22);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(11,125,222,0.28);
}
.image-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
  margin-top: -50px;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-slide.active {
  opacity: 1;
}

/* Back to top button */
/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 60vh, 640px);
  max-height: 640px;
  height: clamp(320px, 60vh, 640px);
  background-color: transparent;
}
.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.hero-slider .hero-slide.active { 
  opacity: 1; 
}
.hero-slider .hero-slide.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: none;
  pointer-events: none;
}

@media (max-width: 540px) {
  /* Prevent horizontal scroll on small screens */
  body {
    overflow-x: hidden;
  }

  /* Tighter spacing below header */
  #home {
    margin-top: 0;
  }

  /* Constrain hero height and remove side overflow on mobile */
  .hero-slider {
    width: 100%;
    margin-left: 0;
    height: 28vw;
    min-height: 120px;
    max-height: 180px;
  }

  .hero-slider .hero-slide {
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
}

/* Slider controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(35,84,168,0.7);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
  z-index: 2;
}
.hero-arrow:hover { background: rgba(68,156,232,0.9); transform: translateY(-50%) scale(1.05); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
@media (max-width: 768px) {
  .hero-slider {
    overflow: hidden;
    height: 28vw;
    min-height: 160px;
    max-height: 220px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
  }
  .hero-slider .hero-slide {
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .hero-arrow {
    width: 32px;
    height: 32px;
    font-size: 20px;
    background: rgba(35,84,168,0.8);
    backdrop-filter: blur(4px);
    z-index: 10;
  }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .hero-dots {
    bottom: 12px;
    z-index: 10;
  }
  .hero-dots button {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 28vw;
    min-height: 110px;
    max-height: 160px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .hero-slider .hero-slide {
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .hero-arrow {
    width: 28px;
    height: 28px;
    font-size: 18px;
    background: rgba(35,84,168,0.8);
    z-index: 10;
  }
  .hero-arrow.prev { left: 6px; }
  .hero-arrow.next { right: 6px; }
  .hero-dots {
    bottom: 10px;
    z-index: 10;
  }
  .hero-dots button {
    width: 7px;
    height: 7px;
    margin: 0 2px;
  }
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: var(--clr-accent); border-color: var(--clr-accent); }
/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--clr-primary);
  color: #fff;
  font-size: 20px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 1400;
}
.back-to-top:not(.hidden) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Cart Styles */
.cart-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f6fb;
  color: var(--clr-primary);
  border: none;
  cursor: pointer;
  font-size: 20px;
  transition: background 180ms ease;
}
.cart-icon-btn:hover {
  background: #e7eef8;
  transform: scale(1.15) rotate(-10deg);
  animation: cartIconShake 0.5s ease;
}

@keyframes cartIconShake {
  0%, 100% { transform: scale(1.15) rotate(-10deg); }
  25% { transform: scale(1.2) rotate(10deg); }
  50% { transform: scale(1.15) rotate(-5deg); }
  75% { transform: scale(1.2) rotate(5deg); }
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.cart-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10,37,64,0.3);
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: cartButtonPulse 2s ease-in-out infinite;
}

@keyframes cartButtonPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(35,84,168,0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(68,156,232,0.5);
  }
}

.cart-toggle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 24px rgba(35,84,168,0.5);
  animation: none;
}
.cart-count {
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
  display: none;
}

.cart-backdrop,
.checkout-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.cart-backdrop[aria-hidden="false"],
.checkout-backdrop[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}
.cart-drawer[aria-hidden="false"] {
  transform: translateX(0);
  animation: cartSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes cartSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cart-header h3 {
  margin: 0 0 4px;
  color: var(--clr-primary);
  font-size: 1.4rem;
}
.cart-subtitle {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}
.cart-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 180ms ease;
}
.cart-close:hover {
  background: #f3f6fb;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}
.cart-empty-hint {
  font-size: 0.9rem;
  margin-top: 8px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fafbfc;
  animation: cartItemSlideIn 0.4s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes cartItemSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item:nth-child(1) { animation-delay: 0.1s; }
.cart-item:nth-child(2) { animation-delay: 0.15s; }
.cart-item:nth-child(3) { animation-delay: 0.2s; }
.cart-item:nth-child(4) { animation-delay: 0.25s; }
.cart-item:nth-child(5) { animation-delay: 0.3s; }
.cart-item:nth-child(n+6) { animation-delay: 0.35s; }
.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  grid-row: 1 / 3;
}
.cart-item-details {
  grid-column: 2;
}
.cart-item-details h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--clr-primary);
  font-weight: 700;
}
.cart-item-category {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: #666;
}
.cart-item-price {
  font-size: 0.85rem;
  color: #666;
}
.cart-item-controls {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #cfd8e3;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: background 180ms ease;
}
.qty-btn:hover {
  background: #f3f6fb;
}
.qty-input {
  width: 50px;
  height: 28px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
}
.cart-item-remove {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: background 180ms ease;
}
.cart-item-remove:hover {
  background: #fecaca;
}
.cart-item-total {
  grid-column: 2 / 4;
  text-align: right;
  font-weight: 700;
  color: var(--clr-primary);
  margin-top: 8px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #e5e7eb;
  background: #fafbfc;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 2px solid #e5e7eb;
  border-bottom: 2px solid #e5e7eb;
}
.cart-total-row span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-primary);
}
.cart-total-row strong {
  font-size: 1.4rem;
  color: var(--clr-primary);
}
.cart-actions {
  display: flex;
  gap: 16px;
  padding: 20px;
}
.cart-actions .btn {
  flex: 1;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: buttonFadeIn 0.4s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}
.cart-actions .btn:nth-child(1) {
  animation-delay: 0.1s;
}
.cart-actions .btn:nth-child(2) {
  animation-delay: 0.2s;
}
.cart-actions .btn.primary {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  box-shadow: 0 4px 12px rgba(35,84,168,0.25);
}
.cart-actions .btn.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(35,84,168,0.35);
}
.cart-actions .btn.ghost {
  background: #f3f6fb;
  border: 2px solid #e5e7eb;
  color: var(--clr-primary);
}
.cart-actions .btn.ghost:hover {
  transform: translateY(-3px) scale(1.02);
  background: #e8f1ff;
  border-color: var(--clr-accent);
  box-shadow: 0 8px 20px rgba(35,84,168,0.15);
}
.cart-actions .btn:active {
  transform: translateY(-1px) scale(0.98);
}

@keyframes buttonFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  max-height: 100vh;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 10002;
  padding: 24px;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}
.checkout-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
  transform: none;
  animation: checkoutModalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkoutModalSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 180ms ease;
  z-index: 10003;
  margin-left: auto;
  margin-right: 0;
  max-width: none;
}
.checkout-close:hover {
  background: #f3f6fb;
}
.checkout-modal > * {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.checkout-modal h3 {
  margin: 0 0 8px;
  color: var(--clr-primary);
  font-size: 1.6rem;
  font-weight: 800;
}
.checkout-hint {
  margin: 0 0 24px;
  color: #666;
  font-size: 0.9rem;
}

.checkout-summary {
  background: #fafbfc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.checkout-summary ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.checkout-summary li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  gap: 12px;
  word-wrap: break-word;
}
.checkout-summary li span:first-child {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.checkout-summary li span:last-child {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--clr-primary);
  white-space: nowrap;
}
.checkout-summary li:last-child {
  border-bottom: none;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 2px solid var(--clr-primary);
  margin-top: 16px;
}
.checkout-total span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-primary);
}
.checkout-total strong {
  font-size: 1.6rem;
  color: var(--clr-primary);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--clr-primary);
  font-size: 0.9rem;
}
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(68,156,232,0.1);
}
.checkout-form button[type="submit"] {
  padding: 18px 32px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 16px rgba(35,84,168,0.3);
  margin-top: 24px;
  animation: buttonFadeIn 0.5s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(10px);
  width: 100%;
}
.checkout-form button[type="submit"]:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(35,84,168,0.4);
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-primary) 100%);
}
.checkout-form button[type="submit"]:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 6px 16px rgba(35,84,168,0.3);
}
.checkout-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.checkout-status {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}
.checkout-status.processing {
  background: #dbeafe;
  color: #1e40af;
}
.checkout-status.success {
  background: #d1fae5;
  color: #065f46;
}
.checkout-status.error {
  background: #fee2e2;
  color: #991b1b;
}

/* Quote Request Modal - Similar to checkout modal */
.quote-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.quote-backdrop[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}

.quote-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}
.quote-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}

.quote-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 180ms ease;
}
.quote-close:hover {
  background: #f3f6fb;
}

.quote-modal h3 {
  margin: 0 0 8px;
  color: var(--clr-primary);
  font-size: 1.6rem;
  font-weight: 800;
}

.quote-hint {
  margin: 0 0 24px;
  color: #666;
  font-size: 0.9rem;
}

.quote-summary {
  background: #fafbfc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.quote-summary h4 {
  margin: 0 0 12px;
  color: var(--clr-primary);
  font-size: 1rem;
  font-weight: 700;
}

.quote-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quote-summary li {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #333;
  font-size: 0.9rem;
}

.quote-summary li:last-child {
  border-bottom: none;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--clr-primary);
  font-size: 0.9rem;
}

.quote-form input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="date"] {
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  width: 100%;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(68,156,232,0.1);
}

.quote-status {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.quote-status.processing {
  background: #e3f2fd;
  color: #1976d2;
}

.quote-status.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.quote-status.error {
  background: #fee;
  color: #c33;
}

@media (max-width: 768px) {
  .quote-modal {
    width: 95%;
    padding: 24px;
    max-height: 95vh;
  }
  
  .quote-form .form-row {
    grid-template-columns: 1fr;
  }
}

.cart-toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1002;
  opacity: 0;
  transform: translateX(120%) scale(0.8);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: toastBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes toastBounce {
  0% {
    transform: translateX(120%) scale(0.8);
    opacity: 0;
  }
  60% {
    transform: translateX(-10px) scale(1.05);
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  /* Cart */
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  .cart-header {
    padding: 16px;
  }
  .cart-header h3 {
    font-size: 1.2rem;
  }
  .cart-item {
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
    padding: 12px;
  }
  .cart-item img {
    width: 50px;
    height: 50px;
  }
  .cart-item-details h4 {
    font-size: 0.85rem;
  }
  .cart-item-price {
    font-size: 0.85rem;
  }
  .qty-controls {
    gap: 6px;
  }
  .qty-btn {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
  .qty-input {
    width: 40px;
    height: 24px;
    font-size: 0.85rem;
  }
  .cart-total-row {
    padding: 12px 16px;
  }
  .cart-total-row span {
    font-size: 1rem;
  }
  .cart-total-row strong {
    font-size: 1.2rem;
  }
  .cart-actions {
    padding: 16px;
    gap: 12px;
  }
  .cart-actions .btn {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  /* Checkout Modal */
  .checkout-modal {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 12px;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }
  .checkout-modal > * {
    max-width: 100%;
    box-sizing: border-box;
  }
  .checkout-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    z-index: 10004;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .checkout-modal h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    padding-right: 40px;
  }
  .checkout-hint {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .checkout-summary {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .checkout-summary li {
    font-size: 0.9rem;
    padding: 6px 0;
    flex-wrap: wrap;
  }
  .checkout-summary li span:first-child {
    flex: 1;
    min-width: 60%;
  }
  .checkout-summary li span:last-child {
    font-weight: 600;
    color: var(--clr-primary);
  }
  .checkout-total {
    padding-top: 12px;
    margin-top: 12px;
  }
  .checkout-total span {
    font-size: 1rem;
  }
  .checkout-total strong {
    font-size: 1.3rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .checkout-form {
    gap: 12px;
  }
  .checkout-form label {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select {
    padding: 12px;
    font-size: 16px; /* Prevents zoom on iOS */
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }
  .checkout-form textarea {
    min-height: 80px;
    resize: vertical;
  }
  .checkout-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 16px;
  }
  .checkout-total {
    padding-top: 12px;
    margin-top: 12px;
  }
  .checkout-total span {
    font-size: 1rem;
  }
  .checkout-total strong {
    font-size: 1.3rem;
  }
  
  /* Buttons */
  .cart-toggle {
    bottom: 16px;
    right: 16px;
    padding: 12px 16px;
    font-size: 0.85rem;
    width: auto;
    min-width: 80px;
  }
  .cart-count {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
  .back-to-top {
    bottom: 24px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
  }
  .cart-toast {
    bottom: 80px;
    right: 16px;
    left: 16px;
    width: auto;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

/* Extra small devices: keep header actions from pushing hamburger off-screen */
@media (max-width: 480px) {
  /* Ticker Bar Small Mobile */
  .ticker-bar {
    padding: 5px 0;
  }
  .ticker-content {
    animation-duration: 20s;
    gap: 25px;
  }
  .ticker-content span {
    font-size: 0.75rem;
    padding: 0 12px;
  }
  .header {
    top: 28px;
  }
  
  /* Header */
  .header-top { 
    flex-wrap: wrap; 
    padding: 4px 12px;
    gap: 8px;
  }
  .header .logo {
    gap: 0;
  }
  .header .logo img {
    height: 130px !important;
    max-height: 130px !important;
    transform: scale(1.6) !important;
  }
  .logo-slogan {
    font-size: 0.6rem;
    white-space: normal;
  }
  .header-actions { 
    gap: 6px; 
    flex-wrap: wrap;
  }
  .search {
    order: 3;
    width: 100%;
    margin-top: 8px;
  }
  .search input { 
    width: 100%;
    max-width: 100%;
  }
  .icon-btn, .cart-icon-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  .hamburger {
    padding: 5px 7px;
    font-size: 1.1rem;
  }
  
  /* Sections */
  section {
    padding: 30px 16px;
  }
  section h2 {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
  
  /* Product Grid */
  .product-section {
    padding: 24px 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card {
    padding: 10px;
    margin: 0;
  }
  .product-card img {
    height: 140px;
    width: 100%;
    object-fit: cover;
  }
  .product-name {
    font-size: 0.9rem;
    margin: 8px 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-category {
    font-size: 0.75rem;
    margin: 2px 0;
  }
  .product-price {
    font-size: 0.9rem;
    margin: 6px 0;
    font-weight: 700;
  }
  .rating {
    font-size: 0.7rem;
    margin: 4px 0;
  }
  .add-to-cart-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
    margin-top: 8px;
    width: 100%;
  }
  
  /* Grid */
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .benefit {
    padding: 14px 8px;
    min-height: 110px;
  }
  .benefit img {
    width: 40px;
    height: 40px;
  }
  .benefit span {
    font-size: 0.85rem;
  }
  
  /* Why Shop With Us - Small Mobile */
  .why-shop {
    padding: 30px 16px;
  }
  .why-shop h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  .why-shop-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .why-shop-card {
    padding: 18px 12px;
    min-height: 150px;
  }
  .why-shop-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .why-shop-card h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  .why-shop-card p {
    font-size: 0.8rem;
  }
  
  /* Services Grid - Small screens */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }
  .service-card img {
    height: 180px;
  }
  .service-card h3 {
    font-size: 0.95rem;
    margin: 10px;
  }
  .services-description {
    font-size: 0.9rem;
    padding: 0 8px;
    margin-bottom: 16px;
  }
  
  /* Footer - Small Mobile */
  .footer-newsletter {
    padding: 24px 16px;
  }
  .newsletter-content h3 {
    font-size: 1.1rem;
  }
  .newsletter-content p {
    font-size: 0.85rem;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }
  .footer-contact {
    grid-column: span 1;
  }
  .contact-item {
    font-size: 0.85rem;
  }
  
  .service-modal-content {
    padding: 24px 20px;
    max-width: 95%;
  }
  .service-modal-content h2 {
    font-size: 1.3rem;
  }
  .service-modal-content p {
    font-size: 0.95rem;
  }
  .service-request-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  /* Hero */
  .hero-pro h1 {
    font-size: 1.5rem;
  }
  .hero-pro p {
    font-size: 0.9rem;
  }
  .hero-pro .hero-panel {
    padding: 14px 16px;
    margin: 0 12px;
  }
  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  /* See More Button Mobile */
  .see-more-row {
    margin: 20px 0;
    padding: 0 12px;
    position: relative;
    z-index: 10;
  }
  .see-more-row .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-width: 120px;
    width: auto;
    display: inline-block;
    position: relative;
    z-index: 10;
    -webkit-tap-highlight-color: rgba(68,156,232,0.3);
    touch-action: manipulation;
  }
  
  /* Cart */
  .cart-item {
    grid-template-columns: 45px 1fr auto;
    gap: 8px;
    padding: 10px;
  }
  .cart-item img {
    width: 45px;
    height: 45px;
  }
  .cart-item-details h4 {
    font-size: 0.8rem;
  }
  .cart-item-price {
    font-size: 0.8rem;
  }
  
  /* Checkout */
  .checkout-modal {
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    margin: 0;
    padding: 10px;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
  }
  .checkout-modal > * {
    max-width: 100%;
    box-sizing: border-box;
  }
  .checkout-close {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
    font-size: 18px;
    line-height: 34px;
    z-index: 10004;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  .checkout-modal h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    padding-right: 38px;
    line-height: 1.3;
  }
  .checkout-hint {
    font-size: 0.8rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .checkout-summary {
    max-height: 160px;
    overflow-y: auto;
    margin-bottom: 14px;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .checkout-summary li {
    font-size: 0.85rem;
    padding: 5px 0;
  }
  .checkout-total {
    padding-top: 10px;
    margin-top: 10px;
  }
  .checkout-total span {
    font-size: 0.95rem;
  }
  .checkout-total strong {
    font-size: 1.2rem;
  }
  .checkout-form {
    margin-top: 12px;
    gap: 10px;
  }
  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select {
    font-size: 16px; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
    padding: 12px;
  }
  .checkout-form button[type="submit"] {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 16px;
  }
  
  /* Buttons */
  .cart-toggle {
    bottom: 12px;
    right: 12px;
    padding: 10px 14px;
    font-size: 0.8rem;
    min-width: 70px;
  }
  .back-to-top {
    bottom: 20px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 16px;
    line-height: 34px;
  }
  .cart-toast {
    bottom: 70px;
    right: 12px;
    left: 12px;
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  
  /* Footer */
  .site-footer {
    padding: 30px 16px 20px;
  }
  .site-footer h4 {
    font-size: 1rem;
  }
  .site-footer .footer-menu {
    font-size: 0.9rem;
  }
}

/* Landscape mode fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .checkout-modal {
    padding: 12px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .checkout-modal h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  .checkout-hint {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
  .checkout-summary {
    max-height: 100px;
    margin-bottom: 10px;
  }
  .checkout-form {
    gap: 8px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    padding: 10px;
  }
  .checkout-form textarea {
    min-height: 50px;
  }
  .checkout-form button[type="submit"] {
    padding: 12px;
    margin-top: 8px;
  }
}

/* CEO Message Section */
.ceo-message {
  background: linear-gradient(135deg, rgba(35,84,168,0.05) 0%, rgba(68,156,232,0.08) 100%);
  padding: 80px 30px;
  position: relative;
  overflow: hidden;
}

.ceo-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(35,84,168,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.ceo-message-container {
  max-width: 100%;
  padding: 0 4%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.ceo-message-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(35,84,168,0.12);
  position: relative;
  border: 1px solid rgba(68,156,232,0.1);
}

.ceo-quote-icon {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 80px;
  color: var(--clr-primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
  font-weight: bold;
}

.ceo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.ceo-header .ceo-image-wrapper {
  margin-bottom: 20px;
}

.ceo-header .ceo-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--clr-primary);
  box-shadow: 0 10px 30px rgba(35,84,168,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.ceo-header .ceo-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(35,84,168,0.35);
}

.ceo-message-content h2 {
  color: var(--clr-primary);
  font-size: 2.2rem;
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.ceo-message-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
  position: relative;
  z-index: 2;
}

.ceo-message-text:first-of-type {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--clr-primary);
}

.ceo-signature {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid rgba(68,156,232,0.2);
  text-align: right;
  position: relative;
  z-index: 2;
}

.ceo-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 5px;
}

.ceo-title {
  font-size: 1rem;
  color: #666;
  margin-bottom: 3px;
  font-style: italic;
}

.ceo-company {
  font-size: 0.95rem;
  color: var(--clr-accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .ceo-message {
    padding: 50px 20px;
  }
  
  .ceo-message-content {
    padding: 35px 25px;
  }
  
  .ceo-quote-icon {
    font-size: 60px;
    top: 15px;
    left: 20px;
  }
  
  .ceo-message-content h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .ceo-message-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .ceo-name {
    font-size: 1.2rem;
  }
  
  .ceo-header .ceo-image {
    width: 140px;
    height: 140px;
  }
  
  .ceo-signature {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
  }
}

/* Service Detail Page Styles */
.service-detail-section {
  padding: 40px 4%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.service-detail-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-detail-header {
  margin-bottom: 40px;
  text-align: center;
}

.service-detail-header img {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
}

.service-header-text h1 {
  color: var(--clr-primary);
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.service-intro {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.service-overview {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(68,156,232,0.05);
  border-radius: 8px;
  border-left: 4px solid var(--clr-primary);
}

.service-overview p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

.service-types {
  margin: 50px 0;
}

.service-types h3 {
  color: var(--clr-primary);
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.type-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.type-card-link:hover {
  border-color: #203A72;
  background: #f0f4fa;
}

.type-card h4 {
  color: var(--clr-primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.type-card p {
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.insurance-companies,
.tracking-companies {
  margin: 50px 0;
}

.insurance-companies h3,
.tracking-companies h3 {
  color: var(--clr-primary);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.companies-list ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.companies-list li {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--clr-primary);
  color: #444;
  line-height: 1.6;
}

.companies-list strong {
  color: var(--clr-primary);
  font-weight: 700;
}

.companies-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.company-logo-item {
  text-align: center;
  padding: 0;
  background: #f5f5f5;
  border-radius: 12px;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.company-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.company-logo-placeholder {
  width: 100%;
  height: 100px;
  margin: 0;
  background: var(--clr-primary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.company-logo-item p {
  margin: 0;
  padding: 15px 10px;
  color: var(--clr-primary);
  font-size: 0.85rem;
  line-height: 1.5;
  background: #ffffff;
}

.company-logo-item strong {
  color: var(--clr-primary);
  font-weight: 600;
  display: block;
}

/* ===== Insurance Company Cards (New) ===== */
.ins-companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.ins-company-card {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e8ecf2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.ins-company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(32, 58, 114, 0.12);
  border-color: #203A72;
}

.ins-company-card.ins-card-active {
  border-color: #203A72;
  box-shadow: 0 6px 20px rgba(32, 58, 114, 0.18);
  background: #f0f4fa;
}

.ins-logo-wrap {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
  background: #fff;
}

.ins-logo-wrap img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.ins-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 0;
}

.ins-company-card p {
  margin: 0;
  padding: 10px 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #203A72;
  line-height: 1.3;
}

/* Detail panel (shown on click) */
.ins-detail-panel {
  margin-top: 24px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid #203A72;
  box-shadow: 0 8px 30px rgba(32, 58, 114, 0.1);
  overflow: hidden;
  animation: insSlideDown 0.3s ease;
}

@keyframes insSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ins-detail-inner {
  padding: 28px;
  position: relative;
}

.ins-detail-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.ins-detail-close:hover {
  color: #333;
}

.ins-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.ins-detail-logo {
  width: 120px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.ins-detail-logo-fallback {
  width: 120px;
  height: 70px;
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  text-align: center;
  padding: 8px;
}

.ins-detail-info h4 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #1a1a1a;
}

.ins-detail-info p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
}

.ins-detail-link {
  font-size: 0.85rem;
  color: #203A72;
  text-decoration: none;
  font-weight: 600;
}

.ins-detail-link:hover {
  text-decoration: underline;
}

.ins-types-heading {
  font-size: 1.1rem;
  color: #203A72;
  margin: 0 0 16px;
  font-weight: 700;
}

.ins-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.ins-type-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f8f9fb;
  border-radius: 10px;
  border: 1px solid #e8ecf2;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ins-type-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ins-type-item.ins-type-featured {
  background: #f0f4fa;
  border-color: #c5d3eb;
  border-bottom: 3px solid #203A72;
}

.ins-type-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #203A72;
}

.ins-type-icon svg {
  width: 100%;
  height: 100%;
}

.ins-type-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.ins-detail-cta {
  text-align: center;
  padding-top: 4px;
}

.ins-detail-cta .btn {
  display: inline-block;
}

/* Insurance cards responsive */
@media (max-width: 768px) {
  .ins-companies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .ins-logo-wrap {
    height: 70px;
    padding: 10px;
  }

  .ins-logo-wrap img {
    max-height: 45px;
  }

  .ins-company-card p {
    font-size: 0.75rem;
    padding: 8px 6px 10px;
  }

  .ins-detail-header {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .ins-detail-inner {
    padding: 20px 16px;
  }

  .ins-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ins-type-item {
    padding: 10px 12px;
  }

  .ins-type-icon {
    width: 28px;
    height: 28px;
  }

  .ins-type-item span {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .ins-companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ins-types-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-benefits {
  margin: 50px 0;
}

.service-benefits h3 {
  color: var(--clr-primary);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}

.service-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clr-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.tracking-features {
  margin: 50px 0;
}

.tracking-features h3 {
  color: var(--clr-primary);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.tracking-features ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.tracking-features li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #555;
  line-height: 1.6;
}

.tracking-features li:before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--clr-primary);
  font-weight: bold;
  font-size: 1.5rem;
}

.rasco-section {
  margin: 50px 0;
  padding: 30px;
  background: rgba(68,156,232,0.05);
  border-radius: 10px;
  border-left: 4px solid var(--clr-primary);
}

.rasco-section h3 {
  color: var(--clr-primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.partner-info h4 {
  color: var(--clr-primary);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.partner-info p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1rem;
}

.location-note-box {
  margin: 40px 0;
  padding: 20px;
  background: rgba(68,156,232,0.1);
  border-radius: 8px;
  text-align: center;
}

.location-note-box p {
  margin: 0 0 15px;
  color: var(--clr-primary);
  font-size: 1.1rem;
}

.whatsapp-contact {
  margin-top: 15px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #25D366;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37,211,102,0.3);
  color: #ffffff !important;
}

.whatsapp-btn span {
  font-size: 1.2rem;
}

.service-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #e5e7eb;
}

.service-cta .btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  white-space: normal;
  max-width: 100%;
}

.error-message {
  text-align: center;
  padding: 60px 20px;
}

.error-message h2 {
  color: var(--clr-primary);
  margin-bottom: 20px;
}

.error-message p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .service-detail-section {
    padding: 20px;
  }

  .service-detail-container {
    padding: 25px;
  }

  .service-header-text h1 {
    font-size: 2rem;
  }

  .service-intro {
    font-size: 1rem;
  }

  .types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .companies-list ul {
    grid-template-columns: 1fr;
  }

  .tracking-features ul {
    grid-template-columns: 1fr;
  }

  .companies-logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .company-logo-placeholder {
    width: 100px;
    height: 100px;
    font-size: 1rem;
  }

  .company-logo-item p {
    font-size: 0.85rem;
  }
}

/* ============================================ */
/*    CLEAN E-COMMERCE DESIGN (Katib Style)     */
/* ============================================ */

/* --- Global Clean Overrides --- */
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  background: #fff;
  color: #333;
}

/* --- Header: Clean white, subtle border --- */
.header {
  background: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #eee;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
}

.header.header-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-nav a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--clr-primary);
}

.header-nav a.nav-cta {
  background: var(--clr-primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.header-nav a.nav-cta:hover {
  background: #1a4590;
}

/* --- Search: Simple clean input --- */
.search {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.search:focus-within {
  border-color: var(--clr-primary);
  box-shadow: none;
}

/* --- Section Badge: Simple pill --- */
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show .section-badge,
.section-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stats Section: Clean white cards --- */
.stats-section {
  background: #f8f9fa;
  padding: 50px 20px;
}

.stats-section::before,
.stats-section::after {
  display: none !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  display: inline;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}

/* --- Hero Slider: Clean controls --- */
.hero-arrow {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: none;
}

.hero-arrow:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dots button.active {
  background: #fff;
  transform: scale(1.2);
}

/* --- Trust Bar: Clean horizontal strip --- */
.trust {
  background: #f8f9fa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.trust .items {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-item {
  background: transparent;
  border: none;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  margin-right: 8px;
  flex-shrink: 0;
}

/* --- Section Headings: Professional with animated underline --- */
.product-section h2,
.services-list h2,
.why-shop h2,
.reviews-hero h2,
.overview-inner h2,
.ceo-message-content h2,
section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  position: relative;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.reveal.show h2 {
  opacity: 1;
  transform: translateY(0);
}

.product-section h2::after,
.services-list h2::after,
.why-shop h2::after,
.reviews-hero h2::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  margin: 10px auto 0;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.reveal.show h2::after {
  width: 60px;
}

/* Section subtitle/paragraph fade-in */
section p.section-sub,
.product-section > p,
.why-shop > p,
.reviews-hero p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.reveal.show p.section-sub,
.reveal.show > p {
  opacity: 1;
  transform: translateY(0);
}

/* --- Card Image Wrapper: Simple zoom on hover --- */
.card-image-wrapper {
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

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

.card:hover .card-image-wrapper img,
.service-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

/* --- Service Cards: Clean white cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 14px 16px 4px;
}

.service-hint {
  font-size: 0.8rem;
  color: #999;
  padding: 0 16px 14px;
}

/* --- About/Overview: Clean layout --- */
.overview-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  border-left: 3px solid var(--clr-primary);
  background: #fff;
}

.overview-inner::before {
  display: none !important;
}

.overview-inner h2 {
  color: var(--clr-primary);
}

.overview-inner p {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- CEO Message: Clean card layout --- */
.ceo-message {
  background: #f8f9fa !important;
  padding: 60px 20px;
  overflow: visible;
}

.ceo-message::before {
  display: none !important;
}

.ceo-message-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.ceo-message-content {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 50px 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
}

.ceo-quote-icon {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4rem;
  color: var(--clr-primary);
  opacity: 0.1;
  line-height: 1;
  font-family: Georgia, serif;
}

.ceo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ceo-header .ceo-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--clr-primary);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(35, 84, 168, 0.2);
}

.ceo-header .ceo-image-wrapper img,
.ceo-header .ceo-image {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: none !important;
  box-shadow: none !important;
  display: block;
}

.ceo-header h2,
.ceo-message-content h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
}

.ceo-message-text {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-align: left;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.ceo-signature {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  text-align: center;
}

.ceo-name {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1.05rem;
}

.ceo-title {
  color: #666;
  font-size: 0.9rem;
}

.ceo-company {
  color: var(--clr-primary);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Reviews: Clean panel --- */
.reviews-stage {
  padding: 60px 20px;
  background: #fff;
}

.reviews-hero h2 {
  color: #1a1a1a;
}

.reviews-shell {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.reviews-image img {
  transition: transform 0.3s ease;
}

.reviews-panel:hover .reviews-image img {
  transform: scale(1.03);
}

.reviews-copy h3 {
  color: #1a1a1a;
}

.reviews-arrow {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reviews-arrow:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* --- Why Choose Us: Clean cards --- */
.why-shop {
  padding: 60px 20px;
  background: #f8f9fa;
}

.why-shop h2 {
  color: #1a1a1a;
}

.why-shop-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.why-shop-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.why-shop-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.why-shop-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.why-shop-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.why-shop-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* --- Footer: Light gray background --- */
.site-footer {
  background: #f5f5f5;
  color: #333;
}

.footer-newsletter {
  background: var(--clr-primary);
  color: #fff;
  padding: 40px 20px;
}

.newsletter-content h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 16px auto 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 0.9rem;
  outline: none;
}

.newsletter-submit {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 0 5px 5px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-submit:hover {
  background: #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-grid h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-brand p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: var(--clr-primary);
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #555;
}

.footer-contact .contact-icon {
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #eee;
  color: #333;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--clr-primary);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 16px 20px;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #888;
}

/* --- Back to Top: Simple circle --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
  background: #1a4590;
  transform: translateY(-2px);
}

/* --- Reveal Animations: Professional fade-up --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal.x {
  transform: translateY(20px);
}

.reveal.x.show {
  transform: translateY(0);
}

.reveal.r {
  transform: translateY(20px);
}

.reveal.r.show {
  transform: translateY(0);
}

/* --- Cart Drawer: Clean white --- */
.cart-drawer {
  background: #fff !important;
  backdrop-filter: none !important;
  border-left: 1px solid #eee;
}

.cart-backdrop,
.checkout-backdrop {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: none;
}

.checkout-modal {
  background: #fff !important;
  backdrop-filter: none !important;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* --- Form Inputs: Clean borders --- */
.contact-form input,
.contact-form textarea,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.get-quote-form-page input,
.get-quote-form-page textarea,
.get-quote-form-page select {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus,
.get-quote-form-page input:focus,
.get-quote-form-page textarea:focus,
.get-quote-form-page select:focus {
  border-color: var(--clr-primary);
  outline: none;
  box-shadow: none;
}

/* --- Buttons: Solid colors, simple hover --- */
.btn-primary,
.btn.primary {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover,
.btn.primary:hover {
  background: #1a4590;
}

.get-quote-submit-page {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.get-quote-submit-page:hover {
  background: #1a4590;
}

.quote-return-btn {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.quote-return-btn:hover {
  background: #1a4590;
}

/* --- Contact Page: Clean layout --- */
.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 30px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.contact-card p {
  color: #666;
  font-size: 0.9rem;
}

.contact-card a {
  color: var(--clr-primary);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-help {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
}

.contact-help h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.contact-help p {
  color: #555;
  line-height: 1.7;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
}

.contact-form-wrap h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* --- Quote Page: Clean form --- */
.quote-page {
  background: #f8f9fa;
}

.quote-page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
}

.quote-page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
}

.quote-page-divider {
  width: 50px;
  height: 3px;
  background: var(--clr-primary);
  margin: 12px auto 30px;
  border-radius: 2px;
}

/* --- Quote Success: Clean confirmation --- */
.quote-success-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.quote-success-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
}

.quote-success-icon {
  width: 60px;
  height: 60px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

/* --- Services Page: Clean layout --- */
.services-hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.services-hero h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
}

.services-hero p {
  color: #666;
  font-size: 0.95rem;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.services-left p {
  color: #555;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.services-right a {
  display: block;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.services-right a:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

.request-info {
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
}

.request-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.request-info p {
  color: #555;
  line-height: 1.7;
}

/* --- Product Cards: Clean e-commerce style --- */
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.product-card img {
  width: 100%;
  transition: transform 0.3s ease;
}

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

.product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
}

.product-price {
  color: var(--clr-primary);
  font-weight: 700;
}

.add-to-cart-btn {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.add-to-cart-btn:hover {
  background: #1a4590;
}

/* --- Product Detail: Clean 2-column --- */
.product-detail-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-image {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  display: block;
}

.product-detail-info h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
}

.product-detail-category {
  display: inline-block;
  background: #f8f9fa;
  color: #666;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin: 8px 0;
}

.product-detail-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.product-detail-description {
  color: #555;
  line-height: 1.7;
}

/* --- Quantity Selector --- */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.quantity-selector label {
  font-weight: 600;
  color: #333;
}

.qty-controls {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.qty-btn {
  background: #f8f9fa;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
  transition: background 0.3s ease;
}

.qty-btn:hover {
  background: #eee;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 0.9rem;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.add-to-cart-detail-btn {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-to-cart-detail-btn:hover {
  background: #1a4590;
}

/* --- Recommended Products --- */
.recommended-products {
  margin-top: 50px;
}

.recommended-products h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* --- Service Modal: Clean --- */
.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: none;
}

.service-modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border: 1px solid #eee;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  float: right;
  transition: color 0.3s ease;
}

.service-modal-close:hover {
  color: #333;
}

/* =========================================
   Insurance Showcase Section (Homepage)
   ========================================= */

.ins-showcase {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0f2244 0%, #1a3a6e 50%, #203A72 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ins-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ins-showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.ins-showcase-content .section-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.ins-showcase-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 16px 0 12px;
  line-height: 1.2;
  color: #fff;
}

.ins-showcase-content > p {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Highlights */
.ins-showcase-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.ins-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ins-highlight-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.ins-highlight div:last-child {
  display: flex;
  flex-direction: column;
}

.ins-highlight strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.ins-highlight span {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-top: 2px;
}

/* CTAs */
.ins-showcase-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ins-cta-main {
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 10px;
  background: #fff !important;
  color: #203A72 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ins-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.ins-cta-secondary {
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.4) !important;
  color: #fff !important;
  background: transparent !important;
}

.ins-cta-secondary:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* Partners panel */
.ins-showcase-partners {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
}

.ins-partners-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.6;
  margin: 0 0 18px;
  text-align: center;
  font-weight: 600;
}

.ins-partners-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.ins-partner-logo {
  background: #fff;
  border-radius: 10px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: transform 0.2s;
}

.ins-partner-logo:hover {
  transform: scale(1.05);
}

.ins-partner-logo img {
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.ins-partner-logo span {
  color: #203A72;
  font-weight: 700;
  font-size: 0.75rem;
}

.ins-showcase-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ins-type-tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* Featured insurance service card */
.ins-service-featured {
  border: 2px solid #203A72 !important;
  position: relative;
}

.ins-service-featured::after {
  content: 'Popular';
  position: absolute;
  top: 12px;
  right: 12px;
  background: #203A72;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.ins-service-featured .service-hint {
  color: #203A72 !important;
  font-weight: 600 !important;
}

/* Floating Insurance CTA */
.ins-floating-cta {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(32, 58, 114, 0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.ins-floating-cta.ins-float-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ins-floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(32, 58, 114, 0.5);
}

.ins-floating-cta svg {
  flex-shrink: 0;
}

/* Responsive - Insurance Showcase */
@media (max-width: 900px) {
  .ins-showcase-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ins-showcase-content h2 {
    font-size: 1.6rem;
  }

  .ins-showcase {
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {
  .ins-showcase-content {
    overflow: hidden;
    max-width: 100%;
  }

  .ins-showcase-content h2 {
    font-size: 1.3rem;
  }

  .ins-showcase {
    padding: 30px 14px;
    overflow: hidden;
  }

  .ins-showcase-cta {
    flex-direction: column;
    gap: 10px;
  }

  .ins-cta-main, .ins-cta-secondary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }

  .ins-showcase-cta {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .ins-showcase-partners {
    padding: 16px;
    border-radius: 12px;
  }

  .ins-partners-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .ins-partner-logo {
    height: 38px;
    padding: 5px;
    border-radius: 8px;
  }

  .ins-partner-logo img {
    max-height: 22px;
  }

  .ins-partner-logo span {
    font-size: 0.65rem;
  }

  .ins-showcase-types {
    gap: 6px;
  }

  .ins-type-tag {
    padding: 4px 10px;
    font-size: 0.7rem;
  }

  .ins-highlight {
    padding: 10px 14px !important;
  }

  .ins-floating-cta span {
    display: none;
  }

  .ins-floating-cta {
    padding: 12px;
    border-radius: 50%;
    bottom: 80px;
    left: 10px;
  }
}

/* =========================================
   Lead Capture Popup
   ========================================= */

.lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lead-overlay.lead-visible {
  opacity: 1;
  visibility: visible;
}

.lead-popup {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s ease;
}

.lead-visible .lead-popup {
  transform: translateY(0) scale(1);
}

.lead-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 0;
}

.lead-close:hover {
  opacity: 1;
}

.lead-header {
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  padding: 32px 28px 24px;
  text-align: center;
}

.lead-header h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.lead-header p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

.lead-form {
  padding: 24px 28px 28px;
}

.lead-field {
  margin-bottom: 14px;
}

.lead-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde0e6;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f9fafb;
}

.lead-field input:focus {
  outline: none;
  border-color: #203A72;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(32, 58, 114, 0.1);
}

.lead-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 4px;
}

.lead-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(32, 58, 114, 0.3);
}

.lead-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.lead-privacy {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 14px 0 0;
}

/* Success state */
.lead-success {
  padding: 40px 28px;
  text-align: center;
}

.lead-success-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}

.lead-success h3 {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.lead-success p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 22px;
}

@media (max-width: 480px) {
  .lead-popup {
    width: 95%;
    border-radius: 12px;
  }

  .lead-header {
    padding: 24px 20px 18px;
  }

  .lead-header h3 {
    font-size: 1.3rem;
  }

  .lead-form {
    padding: 18px 20px 22px;
  }
}

/* =========================================
   SALES ENGAGEMENT: Pulse Glow on CTAs
   ========================================= */
@keyframes ctaPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(68,156,232,0.5); }
  50% { box-shadow: 0 0 20px 6px rgba(68,156,232,0.35); }
}

.ins-cta-main {
  animation: ctaPulseGlow 2.5s ease-in-out infinite;
}

.ins-cta-main:hover {
  animation: none;
  box-shadow: 0 6px 24px rgba(68,156,232,0.4);
}

/* =========================================
   SALES ENGAGEMENT: Savings Banner
   ========================================= */
.ins-savings-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(16,185,129,0.08));
  border: 1.5px solid rgba(34,197,94,0.3);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.ins-savings-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(34,197,94,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}

.ins-savings-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ins-savings-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.ins-savings-amount {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

.ins-savings-amount strong {
  color: #4ade80;
  font-size: 1.3rem;
}

@keyframes savingsPulse {
  0%, 100% { transform: scale(1); opacity: 0.08; }
  50% { transform: scale(1.5); opacity: 0; }
}

.ins-savings-pulse {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #4ade80;
  border-radius: 50%;
  animation: savingsPulse 2s ease-in-out infinite;
}

/* =========================================
   SALES ENGAGEMENT: Urgency Counter
   ========================================= */
.ins-urgency-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  margin-bottom: 14px;
}

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

.ins-urgency-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: urgencyBlink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.ins-urgency-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}

.ins-urgency-text strong {
  color: #fbbf24;
  font-size: 1rem;
}

/* =========================================
   SALES ENGAGEMENT: How It Works Section
   ========================================= */
.ins-how-it-works {
  background: linear-gradient(180deg, #f0f6ff 0%, #fff 100%);
  padding: 60px 4%;
  text-align: center;
}

.ins-how-it-works h2 {
  font-size: 1.8rem;
  color: var(--clr-primary);
  margin: 12px 0 6px;
}

.ins-hiw-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

.ins-hiw-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto 36px;
}

.ins-hiw-step {
  flex: 1;
  max-width: 280px;
  padding: 0 16px;
  position: relative;
}

.ins-hiw-number {
  position: absolute;
  top: -8px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: var(--clr-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(68,156,232,0.3);
}

.ins-hiw-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #203A72, #4069a0);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(32,58,114,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ins-hiw-step:hover .ins-hiw-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(32,58,114,0.3);
}

.ins-hiw-step h3 {
  font-size: 1.05rem;
  color: #1a1a1a;
  margin: 0 0 8px;
  font-weight: 700;
}

.ins-hiw-step p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.ins-hiw-connector {
  display: flex;
  align-items: center;
  padding-top: 30px;
  color: var(--clr-accent);
  opacity: 0.5;
  flex-shrink: 0;
}

.ins-hiw-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ins-hiw-free-tag {
  font-size: 0.82rem;
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .ins-hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .ins-hiw-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .ins-hiw-step {
    max-width: 100%;
  }
}

/* =========================================
   PRODUCT SECTION V2 - Premium Redesign
   ========================================= */
.product-section-v2 {
  background: #fff !important;
}

.ps2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
  text-align: left;
  padding-bottom: 48px;
}

.ps2-header-content {
  flex: 1;
  min-width: 0;
}

.ps2-badge {
  display: inline-block;
  background: rgba(68,156,232,0.15);
  color: var(--clr-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(68,156,232,0.25);
  margin-bottom: 16px;
}

.product-section-v2 .ps2-header h2 {
  color: #111 !important;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
  opacity: 1;
  transform: none;
}

.product-section-v2 .ps2-header h2::after {
  display: none;
}

.product-section-v2 .ps2-header p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 520px;
  opacity: 1;
  transform: none;
}

.ps2-highlights {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ps2-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 0.85rem;
  font-weight: 600;
}

.ps2-highlight svg {
  color: var(--clr-accent);
  flex-shrink: 0;
}

/* Stat Ring */
.ps2-header-visual {
  flex-shrink: 0;
}

.ps2-stat-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(68,156,232,0.12), rgba(68,156,232,0.04));
  border: 3px solid rgba(68,156,232,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
}

.ps2-stat-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(68,156,232,0.2);
  animation: ps2RingSpin 25s linear infinite;
}

@keyframes ps2RingSpin {
  to { transform: rotate(360deg); }
}

.ps2-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--clr-primary);
  line-height: 1;
}

.ps2-stat-number sup {
  font-size: 1.1rem;
  color: var(--clr-accent);
}

.ps2-stat-label {
  font-size: 0.72rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile: Stack layout */
@media (max-width: 768px) {
  .product-section-v2 {
    background: #fff !important;
  }

  .ps2-header {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding-bottom: 36px;
  }

  .product-section-v2 .ps2-header p {
    max-width: 100%;
  }

  .ps2-highlights {
    justify-content: center;
  }

  .ps2-stat-ring {
    width: 120px;
    height: 120px;
  }

  .ps2-stat-number {
    font-size: 1.8rem;
  }

  .product-section-v2 .ps2-header h2 {
    font-size: 1.6rem;
  }
}

/* =========================================
   SALES ENGAGEMENT: Sticky Mobile CTA Bar
   ========================================= */
.ins-mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  padding: 10px 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.ins-mobile-cta-bar.visible {
  transform: translateY(0);
}

.ins-mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s;
}

.ins-mobile-cta-btn:active {
  transform: scale(0.97);
}

.ins-mobile-cta-btn.primary {
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
}

.ins-mobile-cta-btn.secondary {
  background: #f0f6ff;
  color: var(--clr-primary);
  border: 1.5px solid rgba(35,84,168,0.2);
}

@media (max-width: 768px) {
  .ins-mobile-cta-bar {
    display: flex;
  }

  /* Add bottom padding to body so content isn't hidden behind sticky bar */
  body {
    padding-bottom: 76px;
  }
}

/* =========================================
   SALES ENGAGEMENT: Social Proof Toast
   ========================================= */
.social-proof-toast {
  position: fixed;
  bottom: 90px;
  left: 16px;
  z-index: 9998;
  pointer-events: none;
}

@media (min-width: 769px) {
  .social-proof-toast {
    bottom: 24px;
  }
}

.sp-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  min-width: 280px;
  max-width: 360px;
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
  pointer-events: auto;
}

.sp-toast.sp-show {
  transform: translateX(0);
  opacity: 1;
}

.sp-toast-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.sp-toast-content {
  flex: 1;
}

.sp-toast-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.sp-toast-detail {
  font-size: 0.75rem;
  color: #666;
}

.sp-toast-detail strong {
  color: #16a34a;
}

.sp-toast-time {
  font-size: 0.68rem;
  color: #999;
  margin-top: 2px;
}

/* =========================================
   Motor Insurance Comparison Page
   ========================================= */

.motor-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 0;
  font-size: 14px;
  color: #666;
}

.motor-breadcrumb a {
  color: #203A72;
  text-decoration: none;
}

.motor-breadcrumb a:hover {
  text-decoration: underline;
}

.motor-breadcrumb span {
  color: #333;
  font-weight: 600;
}

.motor-hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.motor-hero h1 {
  font-size: 2rem;
  color: #1a1a1a;
  margin: 12px 0 8px;
}

.motor-hero p {
  color: #555;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Calculator Card */
.motor-calculator {
  max-width: 700px;
  margin: 30px auto;
  padding: 0 20px;
}

.motor-calc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.motor-calc-header {
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  padding: 24px 28px;
}

.motor-calc-header h2 {
  margin: 0 0 4px;
  font-size: 1.3rem;
}

.motor-calc-header p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.motor-calc-body {
  padding: 28px;
}

.motor-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.motor-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.motor-field select,
.motor-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #f9fafb;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.motor-field select:focus,
.motor-field input:focus {
  outline: none;
  border-color: #203A72;
  background: #fff;
}

.motor-compare-btn {
  width: 100%;
  margin-top: 22px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
}

/* Results Section */
.motor-results {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.motor-results-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.motor-results-header {
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  padding: 20px 28px;
}

.motor-results-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.motor-results-summary {
  padding: 20px 28px 10px;
  font-size: 14px;
  color: #444;
}

.motor-results-summary p {
  margin: 4px 0;
}

.motor-table-wrapper {
  overflow-x: auto;
  padding: 0 20px 24px;
}

.motor-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.motor-results-table th {
  background: #f0f4fa;
  color: #203A72;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #dde4f0;
  white-space: nowrap;
}

.motor-results-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}

.motor-results-table tr:hover {
  background: #f8fafd;
}

.motor-apply-btn {
  padding: 8px 18px !important;
  font-size: 13px !important;
  border-radius: 6px;
  white-space: nowrap;
}

/* Apply Modal */
.motor-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.motor-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.motor-modal-header {
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

.motor-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.motor-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.motor-modal-close:hover {
  opacity: 1;
}

.motor-apply-form {
  padding: 24px;
}

.motor-form-field {
  margin-bottom: 14px;
}

.motor-form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.motor-form-field input,
.motor-form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.motor-form-field input:focus,
.motor-form-field textarea:focus {
  outline: none;
  border-color: #203A72;
}

.motor-form-field textarea {
  resize: none;
}

.motor-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  margin-top: 6px;
}

/* Alert */
.motor-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  border: 2px solid #203A72;
  color: #203A72;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  z-index: 11000;
  min-width: 280px;
  max-width: 380px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.motor-alert-show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.motor-alert-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.motor-alert-message {
  font-size: 13px;
  color: #444;
}

/* Info Steps */
.motor-info {
  max-width: 900px;
  margin: 50px auto 30px;
  padding: 0 20px;
  text-align: center;
}

.motor-info h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 30px;
}

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

.motor-info-item {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.motor-info-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #203A72, #4069a0);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.motor-info-item h3 {
  font-size: 1rem;
  color: #203A72;
  margin: 0 0 8px;
}

.motor-info-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.motor-back-link {
  text-align: center;
  padding: 20px 20px 40px;
}

/* Motor Insurance Responsive */
@media (max-width: 768px) {
  .motor-form-grid {
    grid-template-columns: 1fr;
  }

  .motor-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .motor-hero h1 {
    font-size: 1.5rem;
  }

  .motor-results-table {
    font-size: 13px;
  }

  .motor-results-table th,
  .motor-results-table td {
    padding: 10px;
  }

  /* Card-style layout for mobile */
  .motor-results-table thead {
    display: none;
  }

  .motor-results-table,
  .motor-results-table tbody,
  .motor-results-table tr,
  .motor-results-table td {
    display: block;
    width: 100%;
  }

  .motor-results-table tr {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .motor-results-table tr:hover {
    background: #f8fafd;
  }

  .motor-results-table td {
    padding: 4px 0;
    border-bottom: none;
    white-space: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .motor-results-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #203A72;
    font-size: 12px;
    text-transform: uppercase;
    min-width: 100px;
  }

  .motor-results-table td:last-child {
    justify-content: center;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #eee;
  }

  .motor-results-table td:last-child::before {
    display: none;
  }

  .motor-apply-btn {
    width: 100%;
    text-align: center;
  }

  .motor-table-wrapper {
    padding: 0 12px 20px;
  }

  .motor-results-summary {
    padding: 16px 16px 8px;
  }
}

@media (max-width: 480px) {
  .motor-calc-header,
  .motor-results-header,
  .motor-modal-header {
    padding: 16px 18px;
  }

  .motor-calc-body {
    padding: 20px 18px;
  }

  .motor-apply-form {
    padding: 18px;
  }
}

/* --- Responsive: Tablet --- */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    border-radius: 5px;
  }

  .newsletter-submit {
    border-radius: 5px;
  }

  .ceo-header {
    flex-direction: column;
    text-align: center;
  }

  .ceo-message-content {
    padding: 24px;
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

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

/* ===== Legal Pages (Licenses, Privacy Policy, Terms of Service) ===== */
.legal-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-page h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.legal-page h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #1a3a5c;
}

.legal-page h3 {
  font-size: 1.15rem;
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal-page p {
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-page ul li {
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-page section {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .legal-page {
    margin: 20px auto;
    padding: 16px;
  }

  .legal-page h1 {
    font-size: 1.5rem;
  }

  .legal-page h2 {
    font-size: 1.15rem;
    margin-top: 20px;
  }

  .legal-page h3 {
    font-size: 1rem;
  }

  .legal-page p,
  .legal-page ul li {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .legal-page ul {
    padding-left: 16px;
  }

  .legal-page section {
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .legal-page {
    margin: 12px auto;
    padding: 12px;
  }

  .legal-page h1 {
    font-size: 1.3rem;
  }

  .legal-page h2 {
    font-size: 1.05rem;
  }

  .legal-page p,
  .legal-page ul li {
    font-size: 0.88rem;
  }
}
