/* =============================================
   SurgicalAdvanced CMS - Main Stylesheet
   Modern, Professional Medical Instruments Theme
   ============================================= */

/* CSS Variables */
:root {
  --primary: #1a3c6e;
  --primary-light: #2554a0;
  --primary-dark: #0f2444;
  --secondary: #e63946;
  --accent: #2196F3;
  --accent-2: #ff9800;
  --success: #28a745;
  --dark: #1a1a2e;
  --light-bg: #f8f9fc;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --border: #dee2e6;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--font-heading); }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: var(--transition);
}
.top-bar-link:hover { color: var(--accent-2); }
.top-bar-link i { margin-right: 5px; color: var(--accent-2); }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 12px;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--accent-2);
  color: white;
  transform: translateY(-2px);
}

/* =============================================
   NAVBAR
   ============================================= */
.main-navbar {
  background: var(--primary);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  z-index: 1000;
}

.navbar-logo { height: 50px; width: auto; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-primary { font-size: 20px; font-weight: 800; color: var(--white); font-family: var(--font-heading); }
.logo-secondary { font-size: 11px; color: var(--accent-2); letter-spacing: 2px; text-transform: uppercase; }

.main-navbar .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  padding: 20px 14px !important;
  font-size: 14px;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-2);
  transition: var(--transition);
  border-radius: 2px 2px 0 0;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-item.active > .nav-link {
  color: var(--white) !important;
  background: rgba(255,255,255,0.1);
}
.main-navbar .nav-link:hover::after { width: 80%; }

.main-navbar .dropdown-menu {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  margin-top: 0;
  animation: fadeInDown 0.2s ease;
  min-width: 200px;
}

.main-navbar .dropdown-item {
  padding: 9px 20px;
  font-size: 14px;
  color: #444;
  transition: var(--transition);
}
.main-navbar .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(26,60,110,0.08), rgba(33,150,243,0.08));
  color: var(--primary);
  padding-left: 26px;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navbar Search */
.navbar-search { max-width: 280px; }
.navbar-search .form-control {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  border-radius: 25px 0 0 25px;
  padding: 8px 16px;
  font-size: 13px;
}
.navbar-search .form-control::placeholder { color: rgba(255,255,255,0.6); }
.navbar-search .form-control:focus {
  background: rgba(255,255,255,0.2);
  box-shadow: none;
  border-color: var(--accent-2);
  color: white;
}
.btn-search {
  background: var(--accent-2);
  border: none;
  color: white;
  border-radius: 0 25px 25px 0;
  padding: 8px 16px;
}
.btn-search:hover { background: var(--secondary); color: white; }

/* Quote cart icon */
.nav-quote-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,.12); color: white; border-radius: 50%; font-size: 16px; transition: background .2s; }
.nav-quote-btn:hover { background: var(--accent-2); color: white; }
.quote-badge { position: absolute; top: -4px; right: -4px; background: var(--secondary); color: white; font-size: 10px; font-weight: 700; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; line-height: 1; }

.nav-compare-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,.12); color: white; border-radius: 50%; font-size: 15px; transition: background .2s; }
.nav-compare-btn:hover { background: var(--accent); color: white; }
.compare-badge { position: absolute; top: -4px; right: -4px; background: #22c55e; color: #fff; font-size: 10px; font-weight: 700; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; line-height: 1; }

.nav-wishlist-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,.12); color: white; border-radius: 50%; font-size: 16px; transition: background .2s; }
.nav-wishlist-btn:hover { background: var(--secondary); color: white; }
.wishlist-badge { position: absolute; top: -4px; right: -4px; background: #ff9800; color: #fff; font-size: 10px; font-weight: 700; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* Nav user/login buttons */
.nav-user-btn { color: white; text-decoration: none; font-size: 13px; padding: 6px 12px; background: rgba(255,255,255,.12); border-radius: 20px; display: inline-flex; align-items: center; transition: background .2s; }
.nav-user-btn:hover { background: rgba(255,255,255,.22); color: white; }
.btn-nav-login { color: white; text-decoration: none; font-size: 12px; padding: 6px 14px; background: rgba(255,255,255,.12); border-radius: 20px; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; transition: background .2s; white-space: nowrap; }
.btn-nav-login:hover { background: rgba(255,255,255,.22); color: white; }
.btn-nav-register { color: white; text-decoration: none; font-size: 12px; padding: 6px 14px; background: var(--accent-2); border-radius: 20px; display: inline-flex; align-items: center; transition: background .2s; white-space: nowrap; }
.btn-nav-register:hover { background: #e88900; color: white; }

/* Mobile Offcanvas */
#mobileMenu { background: var(--primary-dark); color: white; }
#mobileMenu .nav-link { color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 12px 0; }
#mobileMenu .nav-link:hover { color: var(--accent-2); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider-section { position: relative; overflow: hidden; }

.hero-swiper { height: 600px; }
@media (max-width: 768px) { .hero-swiper { height: 400px; } }

.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.swiper-slide-active .hero-slide-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,20,50,0.75) 0%, rgba(26,60,110,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 600px;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) { .hero-content { height: 400px; } }

.hero-badge {
  display: inline-block;
  background: rgba(255,152,0,0.2);
  border: 1px solid var(--accent-2);
  color: var(--accent-2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-title .accent-word { color: var(--accent-2); }

.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  max-width: 520px;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-btns { animation: fadeInUp 0.6s ease 0.8s both; }
.btn-hero-primary {
  background: var(--secondary);
  color: white;
  border: 2px solid var(--secondary);
  padding: 13px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230,57,70,0.4);
}
.btn-hero-secondary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 13px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  margin-left: 12px;
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

/* Slider Nav */
.swiper-button-next,
.swiper-button-prev {
  width: 48px !important;
  height: 48px !important;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover { background: var(--secondary); }
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 16px !important; color: white; }

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5) !important;
  width: 8px !important;
  height: 8px !important;
}
.swiper-pagination-bullet-active {
  background: var(--accent-2) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.section-header { margin-bottom: 50px; }
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26,60,110,0.1), rgba(33,150,243,0.1));
  color: var(--primary);
  border: 1px solid rgba(26,60,110,0.2);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 15px;
}
.section-title .text-primary-grad {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-divider .line {
  height: 3px;
  width: 50px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}
.section-divider .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.stat-item { text-align: center; padding: 10px; }
.stat-number {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1;
  font-family: var(--font-heading);
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-section { background: var(--light-bg); }

.category-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  border: 1px solid transparent;
  display: block;
  color: inherit;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: inherit;
}

.category-card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card-image img { transform: scale(1.08); }

.category-card-icon-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  backdrop-filter: blur(5px);
}

.category-card-body { padding: 20px; }
.category-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  transition: var(--transition);
}
.category-card:hover .category-name { color: var(--primary); }
.category-desc { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.category-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  background: var(--light-bg);
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--gray);
  font-weight: 500;
}

/* Category without image (icon style) */
.category-icon-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  display: block;
  color: inherit;
}
.category-icon-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: currentColor;
  color: inherit;
}
.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin: 0 auto 15px;
  transition: var(--transition);
}
.category-icon-card:hover .category-icon { transform: scale(1.1) rotate(5deg); }

/* =============================================
   PRODUCT CARDS
   ============================================= */
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border);
  height: 100%;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: var(--transition);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(15,36,68,0.18);
  border-color: rgba(26,60,110,0.45);
}
.product-card:hover::after {
  border-color: rgba(26,60,110,0.28);
}

.product-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  cursor: pointer;
}
.product-action-btn:hover { background: var(--primary); color: white; }
.product-action-btn.wishlist-btn.is-active {
  background: var(--secondary);
  color: #fff;
}
.product-action-btn.wishlist-btn.is-active:hover {
  background: #b92b35;
  color: #fff;
}
.product-action-btn.compare-btn.is-active {
  background: #1a3c6e;
  color: #fff;
}
.product-action-btn.compare-btn.is-active:hover {
  background: #10284c;
  color: #fff;
}

.wishlist-inline-btn.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}
.wishlist-inline-btn.is-active:hover {
  background: #c52835;
  border-color: #c52835;
  color: #fff;
}

.compare-inline-btn.is-active {
  background: #1a3c6e;
  border-color: #1a3c6e;
  color: #fff;
}
.compare-inline-btn.is-active:hover {
  background: #10284c;
  border-color: #10284c;
  color: #fff;
}

.product-card-body { padding: 16px; }

.product-category-link {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-article {
  font-size: 12px;
  color: var(--gray);
  font-family: monospace;
  margin-bottom: 8px;
}
.product-article span { color: var(--primary); font-weight: 600; }

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}
.product-price.quote { font-size: 14px; color: var(--gray); font-weight: 500; }

.btn-product-detail {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  transition: var(--transition);
  display: block;
  text-align: center;
}
.btn-product-detail:hover {
  background: linear-gradient(135deg, var(--secondary), #c0392b);
  color: white;
  transform: translateY(-1px);
}

/* =============================================
   MANUFACTURING PROCESS
   ============================================= */
.manufacturing-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0d2137 50%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}
.manufacturing-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="50" fill="rgba(255,255,255,0.02)"/></svg>') repeat;
  background-size: 200px;
}

.manufacturing-section .section-title { color: white; }
.manufacturing-section .section-subtitle { color: rgba(255,255,255,0.75); }
.manufacturing-section .section-badge { background: rgba(255,152,0,0.15); color: var(--accent-2); border-color: rgba(255,152,0,0.3); }

.process-step {
  position: relative;
  padding: 30px 25px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  margin-bottom: 20px;
}
.process-step:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.process-step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: var(--accent-2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.process-step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  margin-bottom: 15px;
}

.process-step-title {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.process-step-desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-section { background: var(--light-bg); }

.gallery-main-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gallery-main-image img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  background: #fff;
  transition: var(--transition);
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.gallery-thumb {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  aspect-ratio: 1;
}
.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: var(--transition);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: white; }

.testimonial-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.1;
  font-family: serif;
  line-height: 1;
}
.testimonial-content {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.testimonial-name { font-weight: 700; color: var(--dark); font-size: 15px; }
.testimonial-company { font-size: 12px; color: var(--gray); }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail-section {
  padding: 40px 0 70px;
  background: linear-gradient(180deg, #f0f4fa 0%, #fff 30%);
}

.product-main-image-wrap {
  position: sticky;
  top: 20px;
}

.cloud-zoom-wrap {
  position: relative;
  display: block;
}
.cloud-zoom-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.3s ease;
}

.product-thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.product-thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #fff;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-thumb.active,
.product-thumb:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(26,60,110,0.2); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }

.product-detail-info {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8edf5;
  padding: 32px;
  box-shadow: 0 2px 20px rgba(26,60,110,0.07);
}
.product-detail-info h1 {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.2;
}

.product-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.product-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray);
}
.product-meta-item strong { color: var(--dark); }

.product-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}
.product-detail-price.quote { font-size: 18px; color: var(--gray); }

.product-desc-short {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}

.sizes-section h6 { font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.size-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.size-tag {
  padding: 6px 14px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
}
.size-tag:hover,
.size-tag.active { border-color: var(--primary); background: var(--primary); color: white; }

.btn-inquiry {
  background: linear-gradient(135deg, var(--secondary), #c0392b);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-inquiry:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230,57,70,0.4);
  color: white;
}

/* Add to Quote button */
.btn-add-quote {
  background: linear-gradient(135deg, #1a3c6e, #2563eb);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-add-quote:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,60,110,.4); color: white; }
.btn-add-quote:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Pricing tiers box */
.pricing-tiers-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 16px; }
.pricing-tiers-title { font-weight: 700; color: #1a3c6e; font-size: 14px; margin-bottom: 10px; }



.btn-whatsapp-inquiry {
  background: #25d366;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-whatsapp-inquiry:hover {
  background: #128c7e;
  color: white;
  transform: translateY(-3px);
}

/* Cloud Zoom Effect */
.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(26,60,110,0.13);
  background: #fff;
  border: 1px solid #e8edf5;
  width: 100%;
  height: 440px;
}
/* Zoom hint badge */
.zoom-hint-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,60,110,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.zoom-container:hover .zoom-hint-badge { opacity: 0; }
.zoom-lens {
  position: absolute;
  border: 2px solid var(--primary);
  background: rgba(26,60,110,0.1);
  pointer-events: none;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: none;
  z-index: 10;
}
.zoom-result {
  position: absolute;
  top: 0;
  left: calc(100% + 16px);
  width: 310px;
  height: 310px;
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  background: white;
  z-index: 200;
  pointer-events: none;
}
.zoom-result img { position: absolute; max-width: none; }

.product-barcode-card {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 360px;
  margin-bottom: 18px;
}
.product-barcode-card svg {
  width: 100%;
  height: 84px;
  display: block;
}

/* =============================================
   BLOG
   ============================================= */
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-image {
  height: 220px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 22px; }
.blog-date { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.blog-title { font-size: 17px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 10px; }
.blog-excerpt { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 15px; }
.btn-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.btn-read-more:hover { color: var(--secondary); gap: 10px; }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 8px;
  border: 2px solid var(--border);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,60,110,0.1);
}
.contact-form .btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
}
.contact-form .btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius-lg);
  padding: 35px;
  height: 100%;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.contact-info-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
}

.footer-top { padding: 70px 0 50px; }

.footer-logo { height: 50px; filter: brightness(0) invert(1); }
.footer-brand { color: white; font-size: 22px; }
.footer-about-text { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.7); }

.footer-title {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--accent-2); padding-left: 5px; }
.footer-links a i { font-size: 12px; color: var(--accent-2); }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.footer-contact-list li i { color: var(--accent-2); margin-top: 3px; min-width: 16px; }
.footer-contact-list a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.footer-contact-list a:hover { color: var(--accent-2); }

.footer-posts { list-style: none; padding: 0; margin: 0; }
.footer-posts li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-posts a { color: rgba(255,255,255,0.75); font-size: 13px; transition: var(--transition); }
.footer-posts a:hover { color: var(--accent-2); }

.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  transition: var(--transition);
}
.social-btn:hover { transform: translateY(-4px) scale(1.1); color: white; }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.footer-bottom .text-muted { color: rgba(255,255,255,0.65) !important; }

/* =============================================
   WHATSAPP & BACK TO TOP
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; background: #128c7e; }

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  animation: pulse 2s infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #333;
  color: white;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--secondary); transform: translateY(-3px); }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-section {
  background: linear-gradient(135deg, var(--light-bg), #e3e8f0);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--gray); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray); }

/* =============================================
   SEARCH RESULTS
   ============================================= */
.search-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 50px 0;
  color: white;
}
.search-hero h1 { font-size: 28px; margin-bottom: 20px; }
.search-form-large .form-control {
  height: 56px;
  font-size: 16px;
  border-radius: 10px 0 0 10px;
  border: none;
}
.search-form-large .btn { height: 56px; padding: 0 30px; border-radius: 0 10px 10px 0; background: var(--secondary); border: none; color: white; font-size: 16px; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   UTILITIES
   ============================================= */
.bg-primary-grad { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.bg-dark-grad { background: linear-gradient(135deg, var(--dark), var(--primary-dark)); }
.text-primary-c { color: var(--primary) !important; }
.text-secondary-c { color: var(--secondary) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-custom { box-shadow: var(--shadow) !important; }
.shadow-custom-lg { box-shadow: var(--shadow-lg) !important; }

/* =============================================
   PARALLAX SHOWCASE + ADVANCED CAPABILITIES
   ============================================= */
.parallax-showcase-section {
  position: relative;
  padding: 90px 0;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow: hidden;
}

.parallax-showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,152,0,0.24), transparent 38%),
    radial-gradient(circle at 90% 76%, rgba(33,150,243,0.25), transparent 40%);
  pointer-events: none;
}

.parallax-title {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.parallax-title span {
  color: #ffbc4c;
  display: block;
}

.parallax-subtitle {
  color: rgba(255,255,255,0.84);
  font-size: 16px;
  max-width: 650px;
}

.parallax-metric-panel {
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.22);
}

.parallax-metric-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
}

.parallax-metric-item:last-child {
  border-bottom: none;
}

.parallax-metric-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9800, #e65100);
  color: #fff;
}

.parallax-metric-title {
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.parallax-metric-text {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

.advanced-capabilities {
  background:
    radial-gradient(circle at 88% 8%, rgba(33,150,243,0.12), transparent 38%),
    radial-gradient(circle at 2% 88%, rgba(230,57,70,0.08), transparent 34%),
    #f8fbff;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.advanced-card {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 16px;
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.advanced-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(20,44,88,0.14);
}

.advanced-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #1a3c6e, #2554a0);
  margin-bottom: 12px;
}

.advanced-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0f2444;
}

.advanced-card p {
  margin: 0;
  color: #52627d;
  font-size: 14px;
  line-height: 1.65;
}

.advanced-progress-wrap {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(12,34,70,0.1);
}

.advanced-progress-wrap h4 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #10274b;
}

.advanced-progress-item {
  margin-bottom: 16px;
}

.advanced-progress-item span {
  font-size: 14px;
  color: #334866;
}

.advanced-progress-item strong {
  color: #1a3c6e;
  font-size: 14px;
}

.advanced-progress-bar {
  margin-top: 7px;
  height: 10px;
  border-radius: 999px;
  background: #e9eff8;
  overflow: hidden;
}

.advanced-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9800, #e63946);
}

.dynamic-home-section {
  position: relative;
  overflow: hidden;
}

.dynamic-feature-card {
  background: #fff;
  border: 1px solid #e4edf8;
  border-radius: 14px;
  padding: 22px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dynamic-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(16,39,75,0.13);
}

.dynamic-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3c6e, #2554a0);
  color: #fff;
  margin-bottom: 12px;
}

.dynamic-feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f2444;
}

.dynamic-feature-card p {
  margin: 0;
  color: #52627d;
  font-size: 14px;
}

.dynamic-stat-item {
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e2e8f0;
}

.export-map-section {
  background: linear-gradient(130deg, #0f2444, #16355f);
}

.export-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.export-map-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.export-map-country {
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.export-map-region {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  margin-top: 4px;
}

.export-map-status {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(34,197,94,0.2);
  border: 1px solid rgba(34,197,94,0.4);
  color: #d1fae5;
}

.compare-table-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}

.compare-table {
  margin: 0;
}

.compare-table th {
  background: #f8fbff;
  font-size: 14px;
}

.compare-table td {
  font-size: 14px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  .main-navbar .nav-link { padding: 10px 0 !important; }
  .section-pad { padding: 50px 0; }
  .section-title { font-size: 28px; }
  .parallax-showcase-section {
    padding: 72px 0;
    background-attachment: scroll;
  }
  .advanced-grid {
    grid-template-columns: 1fr;
  }
  .export-map-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-swiper { height: 350px; }
  .hero-content { height: 350px; }
  .hero-title { font-size: 22px; }
  .btn-hero-secondary { display: none; }
  .stats-bar .stat-number { font-size: 28px; }
  .category-card-image { height: 140px; }
  .product-card-image { height: 180px; }
  .footer-top { padding: 40px 0 30px; }
  .zoom-result { display: none !important; }
  .cloud-zoom-wrap { display: block; }
  .zoom-container { height: 320px; }
  .product-detail-info { padding: 20px 16px; }
}

@media (max-width: 480px) {
  .top-bar { display: none; }
  .hero-swiper { height: 280px; }
  .hero-content { height: 280px; }
}
